From f3fca3a6028916e9478b08b9621dabab7985d747 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:52:52 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Window/UIWindow.cpp Batch #11071 by dori: 2 byte-identical, 0 confirmed by peer review. - fn_16933 UIWindow::Slot10: byte-identical - fn_16988 UIWindow::ResetCursor: byte-identical Peer-reviewed-by: Yommy, KWDev, cremane Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UIWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Window/UIWindow.cpp b/Source/UI/Window/UIWindow.cpp index b9d016bb2..cb582d61a 100644 --- a/Source/UI/Window/UIWindow.cpp +++ b/Source/UI/Window/UIWindow.cpp @@ -308,7 +308,7 @@ bool UIWindow::CanHitTest() { // OFFSET: 0x00A7BB00 // FUNCTION: fn_16933 void UIWindow::Slot10(int, int, std::intptr_t) { - static_cast(g_charViewMode)->SendMsg(18, 0, 0, 0, 0); + g_modeMgr.gameMode->SendMsg(18, 0, 0, 0, 0); } // OFFSET: 0x005CA0F0 @@ -411,7 +411,7 @@ void UIWindow::Slot29(int, int) { // OFFSET: 0x00A81D60 // FUNCTION: fn_16988 void UIWindow::ResetCursor(int, int) { - static_cast(g_charViewMode)->SetCursorAction(0); + g_modeMgr.gameMode->SetCursorAction(0); } // OFFSET: 0x005C7240