Confirm 2 functions in Source/Archive/GPak.h, Source/Archive/GPak.cpp, ...

Batch #14094 by Yommy: 1 byte-identical, 1 confirmed by peer review.

- fn_18111 PakRegistry::Add: logic confirmed by peer review (already on main)
- fn_04013 myGPack::CGPakUpdate::Close: byte-identical (already on main)

Peer-reviewed-by: secret, Tanke, codeplay
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-11-07 12:38:26 +00:00
commit 2b9d2ff8b6
2 changed files with 6 additions and 6 deletions

View file

@ -1233,12 +1233,6 @@ PakState_656DF0::PakState_656DF0()
PakAuxiliary::~PakAuxiliary() {
}
// INLINED
CGPak::CGPak() : m_file(nullptr), m_version(0), m_entryCount(0), m_tableOffset(0), m_tableSize(0) {
this->Reset();
InitializeCriticalSection(&this->m_criticalSection);
}
// OFFSET: 0x00AE97D0
// FUNCTION: fn_18107
CGPak::~CGPak() {

View file

@ -85,4 +85,10 @@ protected:
static_assert(sizeof(CGPak) == 328);
#endif
// INLINED
inline CGPak::CGPak() : m_file(nullptr), m_version(0), m_entryCount(0), m_tableOffset(0), m_tableSize(0) {
this->Reset();
InitializeCriticalSection(&this->m_criticalSection);
}
#endif