From 568aff211c840931ac8b58697c6b4788724fac4c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 14:55:56 +0000 Subject: [PATCH] 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). --- Source/UI/UIMacroBlackListCheckWnd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/UIMacroBlackListCheckWnd.cpp b/Source/UI/UIMacroBlackListCheckWnd.cpp index 7d16dee3..15292f27 100644 --- a/Source/UI/UIMacroBlackListCheckWnd.cpp +++ b/Source/UI/UIMacroBlackListCheckWnd.cpp @@ -125,9 +125,10 @@ void UIMacroBlackListCheckWnd::Paint() { const unsigned remainingMs = this->startTick + static_cast(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(remainingSec / 60u), static_cast(remainingSec)).c_str(), 0xA2, 6, 0xFF, 0, 0, + 0x4F, 0xA4, FormatOwnedString(LookupMessage(0xFB3), 0, static_cast(remainingMin), static_cast(remainingSec)).c_str(), 0xA2, 6, 0xFF, 0, 0, 0xD, 1, 0 ); } else {