From 20dcd579c1abe90d41bbf220887ec8c5d29f994c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:11:49 +0000 Subject: [PATCH] Decompile fn_10865 (UIStaticBitmap::Slot28) Batch #10961 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10865 UIStaticBitmap::Slot28: 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/UIStaticBitmap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/UIStaticBitmap.cpp b/Source/UI/UIStaticBitmap.cpp index dd9f13c2..a00934f3 100644 --- a/Source/UI/UIStaticBitmap.cpp +++ b/Source/UI/UIStaticBitmap.cpp @@ -5,6 +5,7 @@ #include "UI/Buttons/UIButton.h" #include "UI/UIStaticBitmap.h" #include "Client/Mode/CMode.h" +#include "Client/Mode/ModeMgr.h" // OFFSET: 0x00850430 // FUNCTION: fn_10676 @@ -80,7 +81,7 @@ void UIStaticBitmap::Slot28(int x, int y) { screenY = (screenY + window->geometry.y); } - static_cast(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), screenX, screenY, -1, false, true); + g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), screenX, screenY, -1, false, true); } }