From 2d0c2866a08ae2fbade5d9a4634abf9e8d98facf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 23:33:51 +0000 Subject: [PATCH] Decompile fn_10630 (UIClanInfoManageWnd::Paint) Batch #11225 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_10630 UIClanInfoManageWnd::Paint: logic confirmed by peer review Peer-reviewed-by: Yommy, Tanke, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Clan/UIClanWnd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/UI/Clan/UIClanWnd.cpp b/Source/UI/Clan/UIClanWnd.cpp index c175d27a..af9467bf 100644 --- a/Source/UI/Clan/UIClanWnd.cpp +++ b/Source/UI/Clan/UIClanWnd.cpp @@ -108,16 +108,16 @@ void UIClanInfoManageWnd::Paint() { this->FillRegion(200, 155, 168, 48, RGB(red, green, blue)); int row = 0; int y = 157; - for (const auto& relation : g_clanInfo->m_relations) { + for (auto relation = g_clanInfo->m_relations.begin(); relation != g_clanInfo->m_relations.end(); ++relation) { if (y >= 205) { break; } - if (relation.first == 0) { + if (relation->first == 0) { if (row == this->unknown_00BC) { SkinPaletteChannels(ResourceMgr::Instance(), 6, 2, red, green, blue); this->FillRegion(204, y, 80, 16, RGB(red, green, blue)); } - this->DrawTextAt(204, y, relation.second.c_str(), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(204, y, relation->second.c_str(), 0, 0, 12, 0, 0, 0); ++row; y += 16; } @@ -127,16 +127,16 @@ void UIClanInfoManageWnd::Paint() { this->FillRegion(200, 229, 168, 48, RGB(red, green, blue)); row = 0; y = 231; - for (const auto& relation : g_clanInfo->m_relations) { + for (auto relation = g_clanInfo->m_relations.begin(); relation != g_clanInfo->m_relations.end(); ++relation) { if (y >= 279) { break; } - if (relation.first == 1) { + if (relation->first == 1) { if (row == this->unknown_00C0) { SkinPaletteChannels(ResourceMgr::Instance(), 6, 2, red, green, blue); this->FillRegion(204, y, 80, 16, RGB(red, green, blue)); } - this->DrawTextAt(204, y, relation.second.c_str(), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(204, y, relation->second.c_str(), 0, 0, 12, 0, 0, 0); ++row; y += 16; }