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).
This commit is contained in:
ragnarok-clanker 2026-11-05 00:11:49 +00:00
commit 20dcd579c1

View file

@ -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<CMode*>(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);
}
}