From f547282ea6b5476de0a48c8fa02e371863ff67a9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sun, 1 Nov 2026 04:54:15 +0000 Subject: [PATCH] Decompile fn_11082 (UITVTextButton::UITVTextButton) Batch #9262 by KWDev: 0 byte-identical, 1 confirmed by peer review. - fn_11082 UITVTextButton::UITVTextButton: logic confirmed by peer review Peer-reviewed-by: secret, superintelligence, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Buttons/UIButton.h | 1 + Source/UI/Buttons/UITextButton.cpp | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Source/UI/Buttons/UIButton.h b/Source/UI/Buttons/UIButton.h index 061d04d9..c8e96533 100644 --- a/Source/UI/Buttons/UIButton.h +++ b/Source/UI/Buttons/UIButton.h @@ -42,6 +42,7 @@ class UIButton : public UIWindow { friend class UIRodexInboxWnd; friend class UIMiniMapWnd; public: + UIButton(); UIButton(UIWindowContext& windowContext, UIButtonContext& buttonContext); ~UIButton() override; void Paint() override; diff --git a/Source/UI/Buttons/UITextButton.cpp b/Source/UI/Buttons/UITextButton.cpp index 4185648d..da14bb7c 100644 --- a/Source/UI/Buttons/UITextButton.cpp +++ b/Source/UI/Buttons/UITextButton.cpp @@ -3415,6 +3415,22 @@ UITVBitmapButton::UITVBitmapButton() } // OFFSET: 0x0086EC10 +// FUNCTION: fn_11082 +UITVTextButton::UITVTextButton() : UIButton() { + this->unknown_00B4 = 0; + this->unknown_00B5 = 0; + this->unknown_00B6 = 0; + this->m_border = 0; + this->m_value = 0; + this->m_fill = 0; + this->m_fillColor = 0xFFFFFF; + this->m_textColor = 0; + this->m_outlineColor = 0xFFFFFF; + this->m_highlightColor = 0; + this->m_outlined = 0; + this->m_fontHeight = 12; + this->m_fontFamily = 0; +} #include "Contents/Configuration/ServiceConfiguration.h" #include "Contents/TipOfTheDay.h"