From 9ed375583d0632cbb6bf6b7e7c43ddf4861ddb30 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 18:45:16 +0000 Subject: [PATCH] Confirm fn_14408 (CUIBasicButton::SetAutoWidth) Batch #11011 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review. - fn_14408 CUIBasicButton::SetAutoWidth: logic confirmed by peer review (already on main) Peer-reviewed-by: Tanke, dori, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIControl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Window/UIControl.cpp b/Source/UI/Window/UIControl.cpp index 1c6435720..78eab702c 100644 --- a/Source/UI/Window/UIControl.cpp +++ b/Source/UI/Window/UIControl.cpp @@ -2813,7 +2813,7 @@ namespace AdventureGuide { // OFFSET: 0x009D9150 // FUNCTION: fn_14276 -CUIItemInfo::CUIItemInfo() +__declspec(noinline) CUIItemInfo::CUIItemInfo() : CUIListItem(), unknown_00E8(), unknown_00F0(nullptr), unknown_00F4(nullptr), unknown_00F8(nullptr), itemId(-1), type(21), location(-1), unknown_0108() { } @@ -2826,7 +2826,7 @@ CUIMonsterInfo::CUIMonsterInfo() // OFFSET: 0x009D9420 // FUNCTION: fn_14280 -CUIQuestInfo::CUIQuestInfo() +__declspec(noinline) CUIQuestInfo::CUIQuestInfo() : CUIListItem(), unknown_00E8(nullptr), unknown_00EC(nullptr), unknown_00F0(nullptr), unknown_00F4(nullptr), unknown_00F8(), questId(0) { } @@ -3050,7 +3050,7 @@ void CUITextButton::SetFont(const std::string& name) { // OFFSET: 0x009ED470 // FUNCTION: fn_14576 -void CUITextButton::SetText(const std::string& value) { +__declspec(noinline) void CUITextButton::SetText(const std::string& value) { this->text = value; this->UpdateText(); }