Decompile 3 functions in Source/UI/UIBarGraph.cpp, Source/UI/UIBarGraph.h, ...

Batch #7862 by secret: 0 byte-identical, 3 confirmed by peer review.

- fn_11023 UIBarGraph3::UIBarGraph3: logic confirmed by peer review
- fn_11045 UIINT64BarGraph::UIINT64BarGraph: logic confirmed by peer review
- fn_11066 UIPetInfoBarGraph::UIPetInfoBarGraph: logic confirmed by peer review

Peer-reviewed-by: eAthena, pedrao
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 12:11:27 +00:00
commit 831aeaac52
3 changed files with 32 additions and 4 deletions

View file

@ -9,11 +9,12 @@
#include <string>
#include <windows.h>
class UIBarGraph2 : public UIWindow {
class UIBarGraph2 : public UIBarGraph {
public:
explicit UIBarGraph2(UIWindowContext& context);
void Paint() override;
/* 007C */ float m_value;
/* 0080 */ int m_vertical;
/* 0084 */ unsigned char m_backgroundRed;
/* 0085 */ unsigned char unknown_0085[3];
@ -28,6 +29,13 @@ public:
/* 0098 */ unsigned char m_fillBlue;
};
// OFFSET: 0x0086C190
// OFFSET: 0x0086C240
// FUNCTION: fn_11023
UIBarGraph3::UIBarGraph3(UIWindowContext& context) : UIWindow(context, 0), m_current(nullptr), m_maximum(nullptr) {
}
// OFFSET: 0x0086C310
// FUNCTION: fn_11024
UIBarGraphHomun::UIBarGraphHomun(UIWindowContext& context) : UIWindow(context, 0) {