From b44c12fc0fab4d32d3beedff17d8c3cf483e587b Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 13:48:07 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/Window/UIChangeNameWnd.cpp, Source/UI/Window/UIEscOptionWnd.cpp, ... Batch #8062 by secret: 0 byte-identical, 4 confirmed by peer review. - fn_12515 UIMemorialDunWnd::UIMemorialDunWnd: logic confirmed by peer review - fn_12517 UINavigationHelpWnd::UINavigationHelpWnd: logic confirmed by peer review - fn_12519 UIPartyBookingHelpWnd::UIPartyBookingHelpWnd: logic confirmed by peer review - fn_12520 UIQuickSlotWnd::UIQuickSlotWnd: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Shortcuts/UIQuickSlotWnd.cpp | 9 +++++++++ Source/UI/Shortcuts/UIShortCutWnd.cpp | 4 ++++ Source/UI/Window/UINavigationHelpWnd.cpp | 4 ++++ Source/UI/Window/UIPartyBookingHelpWnd.cpp | 4 ++++ 4 files changed, 21 insertions(+) diff --git a/Source/UI/Shortcuts/UIQuickSlotWnd.cpp b/Source/UI/Shortcuts/UIQuickSlotWnd.cpp index a8a70f61..c9400a46 100644 --- a/Source/UI/Shortcuts/UIQuickSlotWnd.cpp +++ b/Source/UI/Shortcuts/UIQuickSlotWnd.cpp @@ -173,3 +173,12 @@ void UIQuickSlotWnd::Slot32(int x, int y) { } // OFFSET: 0x009118C0 +// FUNCTION: fn_12520 +UIQuickSlotWnd::UIQuickSlotWnd(UIWindowContext& windows, UIFrameContext& frames, QuickSlotPainting& painting) + : UIFrameWnd(windows, frames, 0), m_selected(-1), m_painting(&painting) { + for (int i = 0; i < 2; ++i) { + this->m_entries[i].skill = 0; + this->m_entries[i].id = 0; + this->m_entries[i].count = 0; + } +} diff --git a/Source/UI/Shortcuts/UIShortCutWnd.cpp b/Source/UI/Shortcuts/UIShortCutWnd.cpp index ff2475f1..0fc02f6a 100644 --- a/Source/UI/Shortcuts/UIShortCutWnd.cpp +++ b/Source/UI/Shortcuts/UIShortCutWnd.cpp @@ -1032,6 +1032,10 @@ bool UINavigationWnd::LoadRoute(int index) { } // OFFSET: 0x00911490 +// FUNCTION: fn_12515 +UIMemorialDunWnd::UIMemorialDunWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls) + : UIFrameWnd(windows, frames, 0), m_partyButton(nullptr), m_controls(&controls) { +} // OFFSET: 0x00912460 // FUNCTION: fn_12530 diff --git a/Source/UI/Window/UINavigationHelpWnd.cpp b/Source/UI/Window/UINavigationHelpWnd.cpp index 2ffeae9d..4cbf5f12 100644 --- a/Source/UI/Window/UINavigationHelpWnd.cpp +++ b/Source/UI/Window/UINavigationHelpWnd.cpp @@ -66,3 +66,7 @@ int UINavigationHelpWnd::SendMsg(UIWindow*, int message, std::intptr_t a, std::i } // OFFSET: 0x009115B0 +// FUNCTION: fn_12517 +UINavigationHelpWnd::UINavigationHelpWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UITextViewerContext& text) + : UIFrameWnd(windows, frames, 0), m_controls(&controls), m_text(&text), m_viewer(nullptr), unknown_00B8(0) { +} diff --git a/Source/UI/Window/UIPartyBookingHelpWnd.cpp b/Source/UI/Window/UIPartyBookingHelpWnd.cpp index 672be828..4cf166ba 100644 --- a/Source/UI/Window/UIPartyBookingHelpWnd.cpp +++ b/Source/UI/Window/UIPartyBookingHelpWnd.cpp @@ -53,3 +53,7 @@ int UIPartyBookingHelpWnd::SendMsg(UIWindow* sender, int message, std::intptr_t } // OFFSET: 0x00911860 +// FUNCTION: fn_12519 +UIPartyBookingHelpWnd::UIPartyBookingHelpWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UITextViewerContext& text) + : UIFrameWnd(windows, frames, 0), m_controls(&controls), m_text(&text) { +}