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).
This commit is contained in:
ragnarok-clanker 2026-10-30 09:19:48 +00:00
commit 72988372fc

View file

@ -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<CBitmapRes*>(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<CBitmapRes*>(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