Decompile fn_09795 (UIMacroBlackListCheckWnd::Paint)

Batch #13225 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_09795 UIMacroBlackListCheckWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: Tanke, Toshiro, StrawberrysherbetIX
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-06 14:55:56 +00:00
commit 568aff211c

View file

@ -125,9 +125,10 @@ void UIMacroBlackListCheckWnd::Paint() {
const unsigned remainingMs = this->startTick + static_cast<unsigned>(this->duration) - timeGetTime();
const unsigned remainingSec = remainingMs / 1000u;
const unsigned remainingMin = remainingSec / 60u;
if (remainingSec < 60u) {
this->sub_A85850(
0x4F, 0xA4, FormatOwnedString(LookupMessage(0xFB3), 0, static_cast<int>(remainingSec / 60u), static_cast<int>(remainingSec)).c_str(), 0xA2, 6, 0xFF, 0, 0,
0x4F, 0xA4, FormatOwnedString(LookupMessage(0xFB3), 0, static_cast<int>(remainingMin), static_cast<int>(remainingSec)).c_str(), 0xA2, 6, 0xFF, 0, 0,
0xD, 1, 0
);
} else {