From cd97dfd62a7412f9b378ab8022c8160afde13963 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 01:19:21 +0000 Subject: [PATCH] Decompile 6 functions in Source/UI/Cooldowns/CooldownState.cpp, Source/UI/Cooldowns/CooldownState.h, ... Batch #3674 by youko: 0 byte-identical, 6 confirmed by peer review. - fn_12503 CFlyingShipRouteInfo::CFlyingShipRouteInfo: logic confirmed by peer review - fn_12505 HotkeyInfo::HotkeyInfo: logic confirmed by peer review - fn_12507 FlyingShipRouteEntry::FlyingShipRouteEntry: logic confirmed by peer review - fn_12508 PartyBookingEntry::PartyBookingEntry: logic confirmed by peer review - fn_12510 UIBattleMsgOptionWnd::UIBattleMsgOptionWnd: logic confirmed by peer review - fn_12513 UIHotKeyWnd::UIHotKeyWnd: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/FlyingShipRouteInfo.cpp | 7 +++++ Source/Contents/Hotkeys/HotkeyInfo.cpp | 2 ++ Source/Contents/Party/PartyBookingMgr.cpp | 2 ++ Source/UI/Window/UIBattleMsgOptionWnd.cpp | 36 +++++++++++++++++++++++ Source/UI/Window/UIHotKeyWnd.cpp | 5 ++++ 5 files changed, 52 insertions(+) diff --git a/Source/Contents/FlyingShipRouteInfo.cpp b/Source/Contents/FlyingShipRouteInfo.cpp index c17083a4..3b03ccca 100644 --- a/Source/Contents/FlyingShipRouteInfo.cpp +++ b/Source/Contents/FlyingShipRouteInfo.cpp @@ -1,5 +1,12 @@ #include "Contents/FlyingShipRouteInfo.h" // OFFSET: 0x009105F0 +// FUNCTION: fn_12503 +CFlyingShipRouteInfo::CFlyingShipRouteInfo() + : unknown_0010(0), unknown_0014(0), unknown_0018(0), unknown_001C(0), unknown_0020(0), unknown_0024(0), unknown_0028(1), unknown_002C(0), unknown_0030(0), + unknown_0034(0) { +} // OFFSET: 0x00910A70 +// FUNCTION: fn_12507 +FlyingShipRouteEntry::FlyingShipRouteEntry(FlyingShipRouteEntry&& other) noexcept = default; diff --git a/Source/Contents/Hotkeys/HotkeyInfo.cpp b/Source/Contents/Hotkeys/HotkeyInfo.cpp index 64833fdf..51dd1e26 100644 --- a/Source/Contents/Hotkeys/HotkeyInfo.cpp +++ b/Source/Contents/Hotkeys/HotkeyInfo.cpp @@ -7,6 +7,8 @@ HotkeyInfo::HotkeyInfo() : key1(0), key2(0) { } // OFFSET: 0x00910960 +// FUNCTION: fn_12505 +HotkeyInfo::HotkeyInfo(const HotkeyInfo& other) = default; // OFFSET: 0x005F7C30 // FUNCTION: fn_04053 diff --git a/Source/Contents/Party/PartyBookingMgr.cpp b/Source/Contents/Party/PartyBookingMgr.cpp index 7d4e888e..587bdde0 100644 --- a/Source/Contents/Party/PartyBookingMgr.cpp +++ b/Source/Contents/Party/PartyBookingMgr.cpp @@ -11,6 +11,8 @@ #include // OFFSET: 0x00910B20 +// FUNCTION: fn_12508 +PartyBookingEntry::PartyBookingEntry(const PartyBookingEntry& other) = default; // OFFSET: 0x00B15C80 // FUNCTION: fn_18432 diff --git a/Source/UI/Window/UIBattleMsgOptionWnd.cpp b/Source/UI/Window/UIBattleMsgOptionWnd.cpp index f022c0a1..337f2181 100644 --- a/Source/UI/Window/UIBattleMsgOptionWnd.cpp +++ b/Source/UI/Window/UIBattleMsgOptionWnd.cpp @@ -19,3 +19,39 @@ void UIBattleMsgOptionWnd::Slot35(int delta) { } // OFFSET: 0x00910C40 +// FUNCTION: fn_12510 +UIBattleMsgOptionWnd::UIBattleMsgOptionWnd(UIWindowContext& windows, UIFrameContext& frames) : UIFrameWnd(windows, frames, 0) { + this->unknown_00B8 = -1; + this->messages.push_back(LookupMessage(0x50B)); + + this->unknown_0108 = -1; + this->unknown_0110 = 1; + this->unknown_010C = 0; + + this->messages.push_back(LookupMessage(0x4FD)); + this->messages.push_back(LookupMessage(0x4FE)); + this->messages.push_back(LookupMessage(0x4FF)); + this->messages.push_back(LookupMessage(0x500)); + this->messages.push_back(LookupMessage(0xFBF)); + this->messages.push_back(LookupMessage(0x501)); + this->messages.push_back(LookupMessage(0x502)); + this->messages.push_back(LookupMessage(0x503)); + this->messages.push_back(LookupMessage(0x504)); + this->messages.push_back(LookupMessage(0x505)); + this->messages.push_back(LookupMessage(0x506)); + this->messages.push_back(LookupMessage(0x507)); + this->messages.push_back(LookupMessage(0x508)); + this->messages.push_back(LookupMessage(0x533)); + this->messages.push_back(LookupMessage(0x60D)); + this->messages.push_back(LookupMessage(0x652)); + this->messages.push_back(LookupMessage(0x653)); + this->messages.push_back(LookupMessage(0x654)); + this->messages.push_back(LookupMessage(0x656)); + this->messages.push_back(LookupMessage(0x657)); + this->messages.push_back(LookupMessage(0x93D)); + this->messages.push_back(LookupMessage(0xBA4)); + this->messages.push_back(LookupMessage(0xFBC)); + this->messages.push_back(LookupMessage(0xFBE)); + + this->text = LookupMessage(0x509); +} diff --git a/Source/UI/Window/UIHotKeyWnd.cpp b/Source/UI/Window/UIHotKeyWnd.cpp index 5c056f59..4049d826 100644 --- a/Source/UI/Window/UIHotKeyWnd.cpp +++ b/Source/UI/Window/UIHotKeyWnd.cpp @@ -16,3 +16,8 @@ void UIHotKeyWnd::UpdatePageButtons() { } // OFFSET: 0x00911300 +// FUNCTION: fn_12513 +UIHotKeyWnd::UIHotKeyWnd(UIWindowContext& windows, UIFrameContext& frames) + : UIFrameWnd(windows, frames, 0), unknown_00B4(-1), unknown_00B8(18), unknown_00BC(17), unknown_00C0(0), unknown_00C4(20), unknown_00C8(3), unknown_00CC(3), + unknown_00D0(20), unknown_00D4(80), unknown_00D8(135), unknown_00FC(0), unknown_0104(0), unknown_010C(1), unknown_0110(0), unknown_0114(0) { +}