Decompile fn_11081 (UITVBitmapButton::UITVBitmapButton)

Batch #8198 by Montyla: 0 byte-identical, 1 confirmed by peer review.

- fn_11081 UITVBitmapButton::UITVBitmapButton: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, eAthena, gordaoprogramas, System4z
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 15:03:04 +00:00
commit 573f015775
3 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,7 @@ class UITVBitmapButton : public UIBitmapButton {
friend class UITreeView;
public:
UITVBitmapButton();
// INLINED
UITVBitmapButton(UIWindowContext& windowContext, UIButtonContext& buttonContext) : UIBitmapButton(windowContext, buttonContext), m_value(0) {
}

View file

@ -10,6 +10,7 @@ class UITVTextButton : public UIButton {
friend class UITreeView;
public:
UITVTextButton();
// INLINED
UITVTextButton(UIWindowContext& windowContext, UIButtonContext& buttonContext)
: UIButton(windowContext, buttonContext), unknown_00B4(0), unknown_00B5(0), unknown_00B6(0), m_border(0), m_fill(0), m_fillColor(0xFFFFFF),

View file

@ -3370,3 +3370,11 @@ void UIRPImageWnd::Paint() {
this->DrawNamed(this->m_context->primitives, 0, 0, this->m_imageName.c_str(), 0xFFFFFFFF, 0, 0);
}
}
// OFFSET: 0x0086EBB0
// FUNCTION: fn_11081
UITVBitmapButton::UITVBitmapButton()
: UIBitmapButton(*reinterpret_cast<UIWindowContext*>(nullptr), *reinterpret_cast<UIButtonContext*>(nullptr)), m_value(0) {
}
// OFFSET: 0x0086EC10