From 06d4f9beec63e720a764ed2f66dacb5aab56e8f3 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 01:02:56 +0000 Subject: [PATCH] Decompile fn_11800 (UIChatRoomWnd::SendMsg) Batch #11064 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_11800 UIChatRoomWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIFrameWnd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Window/UIFrameWnd.cpp b/Source/UI/Window/UIFrameWnd.cpp index d181a51c..a4769536 100644 --- a/Source/UI/Window/UIFrameWnd.cpp +++ b/Source/UI/Window/UIFrameWnd.cpp @@ -690,12 +690,12 @@ int UIChatRoomWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std:: } else if (talkType == 51) { talkType = 52; } - static_cast(g_charViewMode)->SendMsg(42, talkType, reinterpret_cast(parts), 0, 0); + g_modeMgr.gameMode->SendMsg(42, talkType, reinterpret_cast(parts), 0, 0); } } else { g_windowMgr.unknown_04DC = buffer; const std::string name = this->memberList->lines[this->memberList->selected]; - static_cast(g_charViewMode)->SendMsg(11, reinterpret_cast(name.c_str()), 0, 0, 0); + g_modeMgr.gameMode->SendMsg(11, reinterpret_cast(name.c_str()), 0, 0, 0); } this->edit->PushHistory(); @@ -704,7 +704,7 @@ int UIChatRoomWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std:: return 0; } case 201: - static_cast(g_charViewMode)->SendMsg(48, 0, 0, 0, 0); + g_modeMgr.gameMode->SendMsg(48, 0, 0, 0, 0); return 0; case 347: g_windowMgr.SelectWhisperName(reinterpret_cast(b));