From 3faa8ef8551f131817c5c8a0f2f4929eb1dc7a8a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 08:57:57 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/Enchant/UIEnchantUI.cpp Batch #14428 by secret: 4 byte-identical, 0 confirmed by peer review. - fn_14823 EnchantUI::CUISlot0::Slot15: byte-identical - fn_14824 EnchantUI::CUISlot1::Slot15: byte-identical - fn_14825 EnchantUI::CUISlot2::Slot15: byte-identical - fn_14826 EnchantUI::CUISlot3::Slot15: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Enchant/UIEnchantUI.cpp | 56 ++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/Source/UI/Enchant/UIEnchantUI.cpp b/Source/UI/Enchant/UIEnchantUI.cpp index 6501cb6e8..9bfa13e38 100644 --- a/Source/UI/Enchant/UIEnchantUI.cpp +++ b/Source/UI/Enchant/UIEnchantUI.cpp @@ -564,14 +564,20 @@ void CUISlot0::Slot15(int width, int height) { CUISlot::Slot15(width, height); this->radioButton->Move(59, 1); this->radioButton->SetOnSelect([this](CUIRadioButton* button) { this->SelectSlot(button); }); - this->radioButton->disabled = 0; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->disabled = 0; + radioButton->Invalidate(); + } this->radioButton->SetImages( std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_select.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_over.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp") ); - this->radioButton->checked = false; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->checked = false; + radioButton->Invalidate(); + } this->itemIcon->Move(69, 11); this->itemIcon->unknown_0084 = 1; this->itemIcon->unknown_0085 = 1; @@ -600,14 +606,20 @@ void CUISlot1::Slot15(int width, int height) { CUISlot::Slot15(width, height); this->radioButton->Move(59, 1); this->radioButton->SetOnSelect([this](CUIRadioButton* button) { this->SelectSlot(button); }); - this->radioButton->disabled = 0; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->disabled = 0; + radioButton->Invalidate(); + } this->radioButton->SetImages( std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_select.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_over.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp") ); - this->radioButton->checked = false; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->checked = false; + radioButton->Invalidate(); + } this->itemIcon->Move(69, 11); this->itemIcon->unknown_0084 = 1; this->itemIcon->unknown_0085 = 1; @@ -636,14 +648,20 @@ void CUISlot2::Slot15(int width, int height) { CUISlot::Slot15(width, height); this->radioButton->Move(3, 1); this->radioButton->SetOnSelect([this](CUIRadioButton* button) { this->SelectSlot(button); }); - this->radioButton->disabled = 0; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->disabled = 0; + radioButton->Invalidate(); + } this->radioButton->SetImages( std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_select.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_over.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp") ); - this->radioButton->checked = false; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->checked = false; + radioButton->Invalidate(); + } this->itemIcon->Move(13, 11); this->itemIcon->unknown_0084 = 1; this->itemIcon->unknown_0085 = 1; @@ -672,14 +690,20 @@ void CUISlot3::Slot15(int width, int height) { CUISlot::Slot15(width, height); this->radioButton->Move(3, 1); this->radioButton->SetOnSelect([this](CUIRadioButton* button) { this->SelectSlot(button); }); - this->radioButton->disabled = 0; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->disabled = 0; + radioButton->Invalidate(); + } this->radioButton->SetImages( std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_select.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_over.bmp"), std::string("유저인터페이스\\EnchantUI\\btn_socket_out.bmp") ); - this->radioButton->checked = false; - this->radioButton->Invalidate(); + { + CUIRadioButton* radioButton = this->radioButton; + radioButton->checked = false; + radioButton->Invalidate(); + } this->itemIcon->Move(13, 11); this->itemIcon->unknown_0084 = 1; this->itemIcon->unknown_0085 = 1;