From 094bb8ea4542bdf00784b309e50a287db190cfd6 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sun, 1 Nov 2026 05:41:05 +0000 Subject: [PATCH] Decompile fn_20498 (YExcel::BasicExcel::BasicExcel) Batch #9211 by KWDev: 0 byte-identical, 1 confirmed by peer review. - fn_20498 YExcel::BasicExcel::BasicExcel: logic confirmed by peer review Peer-reviewed-by: secret, superintelligence, seumadruga Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/TableMng.cpp | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/Source/Contents/TableMng.cpp b/Source/Contents/TableMng.cpp index e48464be..5b43462d 100644 --- a/Source/Contents/TableMng.cpp +++ b/Source/Contents/TableMng.cpp @@ -4,6 +4,7 @@ #include #include #include +#include namespace YExcel { class BasicExcelCell { @@ -28,6 +29,29 @@ public: BasicExcelCell* Cell(size_t row, size_t col); }; +class CompoundDocument { +public: + CompoundDocument(); + ~CompoundDocument(); + +private: + unsigned char m_data[0x330]; +}; + +class Workbook { +public: + Workbook(); + ~Workbook(); + +private: + unsigned char m_data[0x158]; +}; + +class Worksheet { +public: + ~Worksheet(); +}; + class BasicExcel { public: BasicExcel(); @@ -39,9 +63,18 @@ public: BasicExcelWorksheet* GetWorksheet(size_t sheetIndex); private: - unsigned char m_data[0x5A8]; + /* 0000 */ CompoundDocument file_; + /* 0330 */ Workbook workbook_; + /* 0488 */ std::vector worksheets_; + /* 0494 */ std::vector yesheets_; + unsigned char m_tail[0x5A8 - 0x4A0]; }; static_assert(sizeof(BasicExcel) == 0x5A8); + +// OFFSET: 0x00C83CD0 +// FUNCTION: fn_20498 +BasicExcel::BasicExcel() { +} } using YExcel::BasicExcel;