//
// GManager::loadFromCompressedString from 0x1004ac1f0 to 0x1004ac252 (98 bytes)
//
// 2 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x1000d0b86
// > GJAccountManager::onSyncAccountCompleted @ 0x1000d0b9a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GManager::loadFromCompressedString(__int64 a1, __int64 a2, double a3)
{
std::string v3; // [rsp+8h] [rbp-28h] BYREF
cocos2d::ZipUtils::decompressString(&v3, (char *)a2, 0, 11, a3);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
**(_BYTE **)(a2 + 16) = 0;
*(_QWORD *)(a2 + 8) = 0;
}
else
{
*(_WORD *)a2 = 0;
}
GManager::loadFromString(a1, (__int64)&v3);
if ( (*(_BYTE *)&v3.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v3.__r_.__value_.__l.__data_);
}