From ff22a0f12e248aeb2cce4316b9fbcb8cd68a401b Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 18:33:51 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/Acceptance/UIChooseSellBuyWnd.cpp, Source/UI/Items/UICardItemIllustWnd.h, ... Batch #2691 by youko: 0 byte-identical, 4 confirmed by peer review. - fn_12135 UIListBox::LineCount: logic confirmed by peer review - fn_12160 UICardItemIllustWnd::Slot15: logic confirmed by peer review - fn_12134 UIMenuWnd::ItemAt: logic confirmed by peer review (already on main) - fn_23473 CSession::ItemBitmapPath: logic confirmed by peer review (already on main) Peer-reviewed-by: willerthal Reviewed-by: ragnarok-clanker --- Source/UI/Acceptance/UIChooseSellBuyWnd.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index 7e42afc..2c073c5 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -1281,6 +1281,10 @@ int UIChooseSellBuyWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, } // OFFSET: 0x008D9AD0 +// FUNCTION: fn_12135 +int UIListBox::LineCount() const { + return static_cast(this->lines.size()); +} // OFFSET: 0x008DA450 // FUNCTION: fn_12146 @@ -1289,3 +1293,9 @@ bool UInCashWnd::Slot03() { } // OFFSET: 0x008DBD00 +// FUNCTION: fn_12160 +void UICardItemIllustWnd::Slot15(int, int) { + this->unknown_00E4 = 0; + this->m_name = LookupMessage(527); + this->AddCloseButton(*this->m_controls, "", 0); +}