Decompile fn_10866 (UIStaticText::Slot28)

Batch #11049 by dori: 0 byte-identical, 1 confirmed by peer review.

- fn_10866 UIStaticText::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).
This commit is contained in:
ragnarok-clanker 2026-11-05 00:40:03 +00:00
commit 924afcc36d

View file

@ -4,6 +4,7 @@
#include "UI/Buttons/UIBmpTextButton.h"
#include "UI/Text/UIStaticText.h"
#include "Client/Mode/CMode.h"
#include "Client/Mode/ModeMgr.h"
#include <cstdio>
@ -198,7 +199,7 @@ void UIStaticText::Slot28(int, int) {
y = (y + node->geometry.y);
}
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true);
g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true);
}
// OFFSET: 0x0085FAB0