From 72988372fcd3774f9fa6630be30225a46083ffba Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 09:19:48 +0000 Subject: [PATCH] Decompile fn_12683 (UISubChatMiniWnd::Paint) Batch #5176 by zindokar: 0 byte-identical, 1 confirmed by peer review. - fn_12683 UISubChatMiniWnd::Paint: logic confirmed by peer review Peer-reviewed-by: eAthena, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Shortcuts/UIShortCutWnd.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/UI/Shortcuts/UIShortCutWnd.cpp b/Source/UI/Shortcuts/UIShortCutWnd.cpp index fc3d16f2..8b995945 100644 --- a/Source/UI/Shortcuts/UIShortCutWnd.cpp +++ b/Source/UI/Shortcuts/UIShortCutWnd.cpp @@ -597,6 +597,15 @@ void UIWindowCallBtnWnd::Paint() { } // OFFSET: 0x00930550 +// FUNCTION: fn_12683 +void UISubChatMiniWnd::Paint() { + const char* firstName = g_subChatMiniFirstCollapsed ? "유저인터페이스\\basic_interface\\st_a.tga" : "유저인터페이스\\basic_interface\\st_b.tga"; + const auto* first = static_cast(ResourceMgr::Instance().Load(Resolve(firstName))); + const char* secondName = g_subChatMiniSecondCollapsed ? "유저인터페이스\\basic_interface\\bt_a.tga" : "유저인터페이스\\basic_interface\\bt_b.tga"; + const auto* second = static_cast(ResourceMgr::Instance().Load(Resolve(secondName))); + this->DrawBitmap(0, 0, first ? &first->image : nullptr, false); + this->DrawBitmap(this->m_rowHeight, 0, second ? &second->image : nullptr, false); +} // OFFSET: 0x00931330 // FUNCTION: fn_12701