From 0910593ee1cb1510ded090031494946cdb4b8b69 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 18:11:46 +0000 Subject: [PATCH] Decompile fn_15035 (CUIEquipmentPropertiesWnd::Slot15) Batch #14633 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_15035 CUIEquipmentPropertiesWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Item/UIEquipmentPropertiesWnd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/UI/Item/UIEquipmentPropertiesWnd.cpp b/Source/UI/Item/UIEquipmentPropertiesWnd.cpp index 30f0f36d6..86f291b4c 100644 --- a/Source/UI/Item/UIEquipmentPropertiesWnd.cpp +++ b/Source/UI/Item/UIEquipmentPropertiesWnd.cpp @@ -554,7 +554,11 @@ void CUIEquipmentPropertiesWnd::Slot15(int width, int height) { this->tabs = new CUITab(); this->tabs->SetSize(18, 265); this->tabs->Move(3, 18); - this->tabs->SetOnChange([this](CUITabButton* button) { this->OnChangeTab(button); }); + { + CUITab* tabs = this->tabs; + const std::function handler = [this](CUITabButton* button) { this->OnChangeTab(button); }; + tabs->onChange = handler; + } this->AddChild(this->tabs); CUITabButton* allButton = new CUITabButton();