From 573f015775b01d70a2fa64e073f5416223f201bf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 15:03:04 +0000 Subject: [PATCH] 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). --- Source/UI/Buttons/UITVBitmapButton.h | 1 + Source/UI/Buttons/UITVTextButton.h | 1 + Source/UI/Buttons/UITextButton.cpp | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/Source/UI/Buttons/UITVBitmapButton.h b/Source/UI/Buttons/UITVBitmapButton.h index e55a89c0..b73b3c77 100644 --- a/Source/UI/Buttons/UITVBitmapButton.h +++ b/Source/UI/Buttons/UITVBitmapButton.h @@ -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) { } diff --git a/Source/UI/Buttons/UITVTextButton.h b/Source/UI/Buttons/UITVTextButton.h index 144c0e21..d5edfb7f 100644 --- a/Source/UI/Buttons/UITVTextButton.h +++ b/Source/UI/Buttons/UITVTextButton.h @@ -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), diff --git a/Source/UI/Buttons/UITextButton.cpp b/Source/UI/Buttons/UITextButton.cpp index 3088309b..a3484675 100644 --- a/Source/UI/Buttons/UITextButton.cpp +++ b/Source/UI/Buttons/UITextButton.cpp @@ -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(nullptr), *reinterpret_cast(nullptr)), m_value(0) { +} + +// OFFSET: 0x0086EC10