From ad9df70caed496c2878b8865d008f84a6806f2ce Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 04:41:39 +0000 Subject: [PATCH] Confirm 2 functions in Source/Contents/TableMng.cpp Batch #7158 by Lumen: 0 byte-identical, 2 confirmed by peer review. - fn_20931 CTableMng::ReadEntryQueue: logic confirmed by peer review (already on main) - fn_20932 CTableMng::ReadEntryQueueFromXls: logic confirmed by peer review (already on main) Peer-reviewed-by: eAthena, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/TableMng.cpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Source/Contents/TableMng.cpp b/Source/Contents/TableMng.cpp index 63f9cd05..91809fc7 100644 --- a/Source/Contents/TableMng.cpp +++ b/Source/Contents/TableMng.cpp @@ -70,13 +70,8 @@ public: class BasicExcel { public: - BasicExcel() { - reinterpret_cast(0x00C83CD0)(this); - } - - ~BasicExcel() { - reinterpret_cast(0x00C88ED0)(this); - } + BasicExcel(); + ~BasicExcel(); bool Load(const char* filename) { return reinterpret_cast(0x00C915E0)(this, filename); @@ -98,6 +93,14 @@ private: unsigned char m_data[0x5A8]; }; static_assert(sizeof(BasicExcel) == 0x5A8); + +__declspec(noinline) BasicExcel::BasicExcel() { + reinterpret_cast(0x00C83CD0)(this); +} + +__declspec(noinline) BasicExcel::~BasicExcel() { + reinterpret_cast(0x00C88ED0)(this); +} } // OFFSET: 0x00CA3400