From 4e1eaa1cdf2c6f92f8731ab5f51587e5d4ed0cd8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 13:40:56 +0000 Subject: [PATCH] Decompile 6 functions in Source/UI/UIReputeWnd.cpp, Source/UI/UIReputeWnd.h, ... Batch #7999 by eAthena: 0 byte-identical, 6 confirmed by peer review. - fn_04309 UIReputeWnd::UIReputeWnd: logic confirmed by peer review - fn_09631 UICheckAttendanceWnd::UICheckAttendanceWnd: logic confirmed by peer review - fn_09659 CMergeItemWnd::CMergeItemWnd: logic confirmed by peer review - fn_09786 UICaptchaRegisterWnd::UICaptchaRegisterWnd: logic confirmed by peer review - fn_09792 UIMacroBlackListCheckWnd::UIMacroBlackListCheckWnd: logic confirmed by peer review - fn_10625 UIClanInfoManageWnd::UIClanInfoManageWnd: logic confirmed by peer review Peer-reviewed-by: secret, gordaoprogramas, System4z, Tanke, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Clan/UIClanWnd.cpp | 2 ++ Source/UI/Items/MergeItemWnd.cpp | 6 ++++++ Source/UI/UICaptchaRegisterWnd.cpp | 4 ++++ Source/UI/UICheckAttendanceWnd.cpp | 6 ++++++ Source/UI/UIMacroBlackListCheckWnd.cpp | 4 ++++ Source/UI/UIReputeWnd.cpp | 4 ++++ 6 files changed, 26 insertions(+) diff --git a/Source/UI/Clan/UIClanWnd.cpp b/Source/UI/Clan/UIClanWnd.cpp index dddf1808..68e38e4e 100644 --- a/Source/UI/Clan/UIClanWnd.cpp +++ b/Source/UI/Clan/UIClanWnd.cpp @@ -16,6 +16,8 @@ #include // OFFSET: 0x0084CBD0 +// FUNCTION: fn_10625 +UIClanInfoManageWnd::UIClanInfoManageWnd(UIWindowContext& windows, UIFrameContext& frames) : UIClanWnd(windows, frames), m_emblem(nullptr) {} // OFFSET: 0x0084CEF0 // FUNCTION: fn_10628 diff --git a/Source/UI/Items/MergeItemWnd.cpp b/Source/UI/Items/MergeItemWnd.cpp index 7d2ff826..b6fd7085 100644 --- a/Source/UI/Items/MergeItemWnd.cpp +++ b/Source/UI/Items/MergeItemWnd.cpp @@ -42,6 +42,12 @@ struct ClientItemLists { }; // OFFSET: 0x007DEC20 +// FUNCTION: fn_09659 +CMergeItemWnd::CMergeItemWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), m_cellSize(35), m_gridTop(20), m_gridLeft(10), + m_marginRight(10), m_marginBottom(30), m_slotOffsetX(5), m_slotOffsetY(2), m_checkOffsetX(0), m_checkOffsetY(20), m_slotRadius(10), m_minSelection(2), + m_mergeButton(nullptr), m_cancelButton(nullptr), m_closeButton(nullptr), m_items(), m_resizer(nullptr), m_scrollBar(nullptr), m_itemCount(0), m_columns(0), + m_rows(0), m_visibleCount(0), m_scrollRow(0), m_scrollable(0) {} // OFFSET: 0x007DEF00 diff --git a/Source/UI/UICaptchaRegisterWnd.cpp b/Source/UI/UICaptchaRegisterWnd.cpp index 27c58e5b..48b4898b 100644 --- a/Source/UI/UICaptchaRegisterWnd.cpp +++ b/Source/UI/UICaptchaRegisterWnd.cpp @@ -52,6 +52,10 @@ static_assert(sizeof(CaptchaRegisterPacket) == 20); } // OFFSET: 0x007EA1C0 +// FUNCTION: fn_09786 +UICaptchaRegisterWnd::UICaptchaRegisterWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), m_pathText(nullptr), m_fileComboBox(nullptr), + m_captchaBitmap(nullptr), m_editCtrl(nullptr), registerButton(nullptr), m_selectedFile(), m_decompressedData(nullptr), m_decompressedSize(0) {} // OFFSET: 0x007EA3B0 // FUNCTION: fn_09788 diff --git a/Source/UI/UICheckAttendanceWnd.cpp b/Source/UI/UICheckAttendanceWnd.cpp index fcfa30e7..fa8b86e6 100644 --- a/Source/UI/UICheckAttendanceWnd.cpp +++ b/Source/UI/UICheckAttendanceWnd.cpp @@ -40,6 +40,12 @@ struct CheckAttendanceRequestPacket { }; // OFFSET: 0x007DC6B0 +// FUNCTION: fn_09631 +UICheckAttendanceWnd::UICheckAttendanceWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), m_blinking(0), m_checkedDays(0), m_daysLeft(0), + m_highlight(0), m_notice(nullptr) { + this->m_rewardCount = static_cast(g_checkAttendanceMgr->m_rewards.size()); +} // OFFSET: 0x007DCAD0 diff --git a/Source/UI/UIMacroBlackListCheckWnd.cpp b/Source/UI/UIMacroBlackListCheckWnd.cpp index 3f5e090a..a37d57b0 100644 --- a/Source/UI/UIMacroBlackListCheckWnd.cpp +++ b/Source/UI/UIMacroBlackListCheckWnd.cpp @@ -25,6 +25,10 @@ namespace { } // OFFSET: 0x007EB0A0 +// FUNCTION: fn_09792 +UIMacroBlackListCheckWnd::UIMacroBlackListCheckWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), digitButtons(), resetButton(nullptr), + unknown_00E4(0), inputLength(0), input(), code(), charSizes(), charFlags(), charColors(), duration(0), startTick(0) {} // OFFSET: 0x007EB230 // FUNCTION: fn_09794 diff --git a/Source/UI/UIReputeWnd.cpp b/Source/UI/UIReputeWnd.cpp index 7d1e821c..f9846f2d 100644 --- a/Source/UI/UIReputeWnd.cpp +++ b/Source/UI/UIReputeWnd.cpp @@ -27,6 +27,10 @@ CReputeMgr* Singleton::GetInstance() { } // OFFSET: 0x0060EF80 +// FUNCTION: fn_04309 +UIReputeWnd::UIReputeWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), m_groupCombo(nullptr), m_searchEdit(nullptr), + m_perPage(8), m_page(1), m_pageCount(1), m_groupSelected(false), m_totalPoints(0), m_reputes() {} // OFFSET: 0x0060F170 // FUNCTION: fn_04312