From 22ae45003d379f6b3e9caa4d0e48aff04fb16df9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 03:51:55 +0000 Subject: [PATCH] Decompile fn_11804 (UILoginOTPWnd::SendMsg) Batch #13606 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_11804 UILoginOTPWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIMessageBox.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/UI/Window/UIMessageBox.cpp b/Source/UI/Window/UIMessageBox.cpp index 4d80edf9a..c419c117b 100644 --- a/Source/UI/Window/UIMessageBox.cpp +++ b/Source/UI/Window/UIMessageBox.cpp @@ -3353,7 +3353,8 @@ quit: // OFFSET: 0x008BE200 // FUNCTION: fn_11804 int UILoginOTPWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) { - if (message == 6) { + switch (message) { + case 6: { if (a == 185) { if (g_windowMgr.Confirm(LookupMessage(17), 2, true, false, 0, "Message", 280, 120, 0) == 187) { g_modeMgr.gameMode->SendMsg(2, 0, 0, 0, 0); @@ -3371,10 +3372,14 @@ int UILoginOTPWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std:: g_windowMgr.Confirm(LookupMessage(3249), 0, true, false, 0, "Message", 280, 120, 0); } } - } else if (message == 60) { + + break; + } + case 60: { this->unknown_00B4->SetText(""); return 0; } + } return UIFrameWnd::SendMsg(sender, message, a, b, c, d); }