From 520da3b3fd35cb0c6d1fdffbea9751399da3671a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 23:37:25 +0000 Subject: [PATCH] Decompile fn_09502 (UICashEmotionSprBtn::Slot28) Batch #11252 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_09502 UICashEmotionSprBtn::Slot28: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/CashEmotionMgr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Contents/CashEmotionMgr.cpp b/Source/Contents/CashEmotionMgr.cpp index 0870e4a8..0c6b628c 100644 --- a/Source/Contents/CashEmotionMgr.cpp +++ b/Source/Contents/CashEmotionMgr.cpp @@ -3831,7 +3831,9 @@ void UICashEmotionSprBtn::Slot28(int x, int y) { int screenY = -20; this->ToScreen(screenX, screenY); - static_cast(g_charViewMode)->ShowTooltip(this->m_tooltip.c_str(), screenX, screenY, -1, false, false); + if (CMode* mode = g_modeMgr.gameMode) { + mode->ShowTooltip(this->m_tooltip.c_str(), screenX, screenY, -1, false, false); + } } if (!this->m_disabled) {