From da71cf9d315a8fc4bb3101b4d98017ba63ac2ba9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 23:13:21 +0000 Subject: [PATCH] Decompile 4 functions in Source/Archive/GPak.cpp, Source/Archive/GPak.h Batch #3740 by Yommy: 0 byte-identical, 4 confirmed by peer review. - fn_05078 PakUniformRandom::PakUniformRandom: logic confirmed by peer review (annotation added to existing code) - fn_05080 PakAuxiliary::PakAuxiliary: logic confirmed by peer review (annotation added to existing code) - fn_05091 PakAuxiliary::~PakAuxiliary: logic confirmed by peer review (annotation added to existing code) - fn_05113 PakMaskedKey48::Unmask: logic confirmed by peer review (annotation added to existing code) Peer-reviewed-by: eAthena, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Archive/GPak.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Archive/GPak.cpp b/Source/Archive/GPak.cpp index 657df6ec7..68e1e0c39 100644 --- a/Source/Archive/GPak.cpp +++ b/Source/Archive/GPak.cpp @@ -871,10 +871,12 @@ HashSearchResult_655D70 HashTable_655340::sub_655D70(const short* key, unsigned } // OFFSET: 0x00656C70 +// FUNCTION: fn_05080 PakAuxiliary::PakAuxiliary() { } // OFFSET: 0x00657640 +// FUNCTION: fn_05091 PakAuxiliary::~PakAuxiliary() { } @@ -1230,6 +1232,7 @@ static_assert(offsetof(PakUniformRandom, m_distribution) == 0x1388); #endif // OFFSET: 0x00656B60 +// FUNCTION: fn_05078 PakUniformRandom::PakUniformRandom(int minimum, int maximum, unsigned int seed) : m_engine(seed), m_distribution(minimum, maximum) { } @@ -1245,6 +1248,7 @@ struct PakMaskedKey48 { }; // OFFSET: 0x00658E90 +// FUNCTION: fn_05113 PakKeyBlock48 PakMaskedKey48::Unmask() const { PakKeyBlock48 result; for (std::size_t i = 0; i < sizeof(result.bytes); ++i) {