From f8100a11bc2760936b1f2a60753f85bc9a250587 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 03:22:35 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Lists/UIScrollBar.cpp Batch #11535 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_11262 UIBasicSkillCtrl::Slot10: byte-identical - fn_11474 UIScrollBar::ResetCursor: byte-identical Peer-reviewed-by: Yommy, KWDev, kyoshi, Tanke Merged automatically: every function is byte-identical to the original. --- Source/UI/Lists/UIScrollBar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Lists/UIScrollBar.cpp b/Source/UI/Lists/UIScrollBar.cpp index 489941a4..6cdfac70 100644 --- a/Source/UI/Lists/UIScrollBar.cpp +++ b/Source/UI/Lists/UIScrollBar.cpp @@ -346,7 +346,7 @@ void UIScrollBar::ResetCursor(int x, int y) { if (this->maximum == 0) { UIWindow::ResetCursor(x, y); } else { - static_cast(g_charViewMode)->SetCursorAction(2); + g_modeMgr.gameMode->SetCursorAction(2); } } @@ -937,7 +937,7 @@ void UIBasicSkillCtrl::Slot10(int, int, std::intptr_t argument3) { } } } - static_cast(g_charViewMode)->SendMsg(18, 0, 0, 0, 0); + g_modeMgr.gameMode->SendMsg(18, 0, 0, 0, 0); } // OFFSET: 0x0087E190