From 282cf84976884df269fece7488ad824e45082710 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 14:31:26 +0000 Subject: [PATCH] Decompile fn_09222 (UIAchUpperWnd::Paint) Batch #13261 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_09222 UIAchUpperWnd::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/Text/UIAchWnd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/Text/UIAchWnd.cpp b/Source/UI/Text/UIAchWnd.cpp index 378c34f6..916124e6 100644 --- a/Source/UI/Text/UIAchWnd.cpp +++ b/Source/UI/Text/UIAchWnd.cpp @@ -545,8 +545,8 @@ void UIAchUpperWnd::Paint() { this->DrawRightAlignedText(130, 13, FormatOwnedString("%d/%d", this->unknown_0094, this->unknown_0098).c_str(), 0, 0, 11, 0, 0); this->DrawCenteredText(353, 6, FormatOwnedString("%d", g_session.unknown_614C).c_str(), 46, 0, 12, 0x582708, 1); this->DrawCenteredText(16, 19, FormatOwnedString("%d", g_session.unknown_6150).c_str(), 15, 0, 12, 0x44C58, 1); - for (UIWindow* button : this->buttons) { - button->Show(0); + for (int index = 0; index < 2; ++index) { + this->buttons[index]->Show(0); } visible = 0; @@ -560,8 +560,8 @@ void UIAchUpperWnd::Paint() { this->DrawRightAlignedText(737, 15, FormatOwnedString("(%d/%d)", this->unknown_009C, this->unknown_00A0).c_str(), 0, 0, 11, 0x582708, 0); this->DrawCenteredText(353, 6, FormatOwnedString("%d", g_session.unknown_614C).c_str(), 46, 0, 12, 0x582708, 1); this->DrawCenteredText(16, 19, FormatOwnedString("%d", g_session.unknown_6150).c_str(), 15, 0, 12, 0x44C58, 1); - for (UIWindow* button : this->buttons) { - button->Show(1); + for (int index = 0; index < 2; ++index) { + this->buttons[index]->Show(1); } visible = 1;