rodecomp/Source/UI/Gauges/UIPetInfoBarGraph.cpp
ragnarok-clanker e7b1289f78 Decompile fn_11565 (UIBarGraph::SetValue)
Batch #4123 by Snow: 0 byte-identical, 1 confirmed by peer review.

- fn_11565 UIBarGraph::SetValue: logic confirmed by peer review

Peer-reviewed-by: youko, Gravity
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 01:19:43 +00:00

29 lines
665 B
C++

#include "UI/UIBarGraph.h"
// OFFSET: 0x0089B4D0
// FUNCTION: fn_11564
void UIBarGraph4::SetValues(const int* current, const int* maximum) {
this->m_current = current;
this->m_maximum = maximum;
}
// OFFSET: 0x0089B4F0
// FUNCTION: fn_11565
void UIBarGraph::SetValue(float value) {
this->m_value = value;
this->Invalidate();
}
// OFFSET: 0x0089B510
// FUNCTION: fn_11566
void UIINT64BarGraph::SetValues(std::int64_t current, std::int64_t maximum) {
this->m_current = current;
this->m_maximum = maximum;
}
// OFFSET: 0x0089B540
// FUNCTION: fn_11567
void UIPetInfoBarGraph::SetValue(int value) {
this->unknown_007C = value;
this->Invalidate();
}