From 87de6ed80fe45e35ba56100ebba5ae05f5944fc0 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:01:25 +0000 Subject: [PATCH] Decompile fn_10879 (UIResizer::ResetCursor) Batch #12907 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_10879 UIResizer::ResetCursor: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UIResizer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/UI/Window/UIResizer.cpp b/Source/UI/Window/UIResizer.cpp index bf2eff72..24018a6e 100644 --- a/Source/UI/Window/UIResizer.cpp +++ b/Source/UI/Window/UIResizer.cpp @@ -111,7 +111,9 @@ void UIResizer::Slot27(int x, int y) { // OFFSET: 0x0085FA20 // FUNCTION: fn_10879 void UIResizer::ResetCursor(int x, int y) { - if (g_windowMgr.Capture() == this || (x >= 0 && x < this->geometry.width && y >= 0 && y <= this->geometry.height)) { + if (g_windowMgr.Capture() == this) { + g_modeMgr.gameMode->SetCursorAction(2); + } else if (x >= 0 && x < this->geometry.width && y >= 0 && y <= this->geometry.height) { g_modeMgr.gameMode->SetCursorAction(2); } else if (g_windowMgr.Capture() != this) { g_modeMgr.gameMode->SetCursorAction(0);