Decompile fn_16096 (CUIMacroReport::CUIMacroReport)

Batch #7769 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_16096 CUIMacroReport::CUIMacroReport: logic confirmed by peer review

Peer-reviewed-by: Yommy, Snow
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-31 11:49:04 +00:00
commit d310aaeb03
2 changed files with 19 additions and 3 deletions

View file

@ -29,6 +29,13 @@ static_assert(sizeof(ReportUserPacket) == 0x89);
static_assert(offsetof(ReportUserPacket, type) == 0x22);
static_assert(offsetof(ReportUserPacket, message) == 0x24);
// OFFSET: 0x00A477F0
// FUNCTION: fn_16096
CUIMacroReport::CUIMacroReport()
: m_background(nullptr), m_titleBar(nullptr), m_messageEdit(nullptr), unknown_00E4(nullptr), unknown_00E8(nullptr), unknown_00EC(nullptr),
unknown_00F0(nullptr), m_firstTypeButton(nullptr), m_secondTypeButton(nullptr), unknown_00FC(nullptr), unknown_0100(0), m_reportType(0) {
}
// OFFSET: 0x00A47A30
// FUNCTION: fn_16098
void CUIMacroReport::OnButtonClick() {

View file

@ -5,21 +5,30 @@
#include <string>
class CUIControl;
class CUIEditBox;
class CUIRadioButton;
class CUIStaticImage;
class CUITitleBar;
class CUIMacroReport : public CUIFrameWnd {
public:
/* 00D8 */ unsigned char unknown_00D8[0x08];
/* 00D8 */ CUIStaticImage* m_background;
/* 00DC */ CUITitleBar* m_titleBar;
/* 00E0 */ CUIEditBox* m_messageEdit;
/* 00E4 */ unsigned char unknown_00E4[0x10];
/* 00E4 */ CUIControl* unknown_00E4;
/* 00E8 */ CUIControl* unknown_00E8;
/* 00EC */ CUIControl* unknown_00EC;
/* 00F0 */ CUIControl* unknown_00F0;
/* 00F4 */ CUIRadioButton* m_firstTypeButton;
/* 00F8 */ CUIRadioButton* m_secondTypeButton;
/* 00FC */ unsigned char unknown_00FC[0x04];
/* 00FC */ CUIControl* unknown_00FC;
/* 0100 */ int unknown_0100;
/* 0104 */ int m_reportType;
/* 0108 */ std::string unknown_0108;
CUIMacroReport();
void Slot16() override;
virtual void Reset();