From cd169a9f3bc36be09298030c823acfa6d77a293d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 23:28:57 +0000 Subject: [PATCH] Decompile fn_12901 (UIAccountLimitedToolWnd::Paint) Batch #6471 by willerthal: 0 byte-identical, 1 confirmed by peer review. - fn_12901 UIAccountLimitedToolWnd::Paint: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, superintelligence, KWDev, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIAccountLimitedToolWnd.cpp | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Source/UI/Window/UIAccountLimitedToolWnd.cpp b/Source/UI/Window/UIAccountLimitedToolWnd.cpp index d9434707..a7b16e0e 100644 --- a/Source/UI/Window/UIAccountLimitedToolWnd.cpp +++ b/Source/UI/Window/UIAccountLimitedToolWnd.cpp @@ -1,5 +1,34 @@ #include "UI/Window/UIAccountLimitedToolWnd.h" + #include "Contents/MessageTable.h" #include "UI/Buttons/UIButton.h" // OFFSET: 0x0094CF50 +// FUNCTION: fn_12901 +void UIAccountLimitedToolWnd::Paint() { + auto& controls = *this->m_controls; + this->DrawTitleBar(controls.fonts, controls.locale, false, LookupMessage(3650), 0); + this->DrawPanelBackground(17, 0, ""); + this->DrawTextAt(controls.fonts, controls.locale, 5, 28, LookupMessage(3651), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 5, 50, LookupMessage(3652), 0, 0, 12, 0, 0, 0); + this->FillRegion(3, 70, this->geometry.width - 6, 2, 0x99938A); + this->DrawTextAt(controls.fonts, controls.locale, 5, 80, LookupMessage(3653), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 5, 102, LookupMessage(3654), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 117, 102, "/", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 152, 102, "/", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 187, 102, "(YY/MM/DD)", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 296, 102, ":", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 335, 102, "(HH:MM)", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 5, 124, LookupMessage(3655), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 117, 124, "/", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 152, 124, "/", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 187, 124, "(YY/MM/DD)", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 296, 124, ":", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 335, 124, "(HH:MM)", 0, 0, 12, 0, 0, 0); + this->FillRegion(3, 144, this->geometry.width - 6, 2, 0x99938A); + this->DrawTextAt(controls.fonts, controls.locale, 5, 154, LookupMessage(3916), 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 172, 154, "(DD)", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 278, 154, ":", 0, 0, 12, 0, 0, 0); + this->DrawTextAt(controls.fonts, controls.locale, 322, 154, "(HH:MM)", 0, 0, 12, 0, 0, 0); + this->FillRegion(3, 174, this->geometry.width - 6, 2, 0x99938A); +}