//
// GManager::loadFromCompressedString from 0x6a8dbc to 0x6a8e7c (192 bytes)
//
// 3 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x989e58
// > GJAccountManager::onSyncAccountCompleted @ 0x989e64
// > ??> @ 0x1009a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:47 +0000
//
__int64 __fastcall GManager::loadFromCompressedString(__int64 a1, __int64 a2)
{
void *v5[3]; // [xsp+30h] [xbp+30h] BYREF
cocos2d::ZipUtils::decompressString(v5, a2, 0, 11);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
**(_BYTE **)(a2 + 16) = 0;
*(_QWORD *)(a2 + 8) = 0;
}
else
{
*(_BYTE *)(a2 + 1) = 0;
*(_BYTE *)a2 = 0;
}
GManager::loadFromString(a1, (__int64)v5);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
return _stack_chk_guard;
}