From f5c402754304e5420fd75b2ed96cb09cfb074b0e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 10:31:28 +0000 Subject: [PATCH] Decompile fn_12388 (UIWaitWnd::SendMsg) Batch #12098 by franciscowallison: 1 byte-identical, 0 confirmed by peer review. - fn_12388 UIWaitWnd::SendMsg: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Acceptance/UIChooseSellBuyWnd.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index d17c8c93..9f219964 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -6037,12 +6037,15 @@ void UIStatusWnd::Slot11() { // OFFSET: 0x00907650 // FUNCTION: fn_12388 int UIWaitWnd::SendMsg(UIWindow*, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) { - if (message == 6) { + switch (message) { + case 6: if (argument1 == 185) { g_modeMgr.gameMode->SendMsg(10021, 0, 0, 0, 0); } - } else if (message == 88) { + break; + case 88: this->m_button->Move((this->geometry.width - this->m_button->BitmapWidth()) / 2, this->geometry.height - this->m_button->BitmapHeight() - 5); + break; } return 0;