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).
This commit is contained in:
ragnarok-clanker 2026-10-30 01:19:21 +00:00
commit cd97dfd62a
5 changed files with 52 additions and 0 deletions

View file

@ -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;

View file

@ -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

View file

@ -11,6 +11,8 @@
#include <ctime>
// OFFSET: 0x00910B20
// FUNCTION: fn_12508
PartyBookingEntry::PartyBookingEntry(const PartyBookingEntry& other) = default;
// OFFSET: 0x00B15C80
// FUNCTION: fn_18432

View file

@ -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);
}

View file

@ -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) {
}