//
// GManager::loadFromCompressedString from 0x1002e7a74 to 0x1002e7aec (120 bytes)
//
// 2 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x100445f24
// > GJAccountManager::onSyncAccountCompleted @ 0x100445f30
//
// 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 11:02:51 +0000
//
void __fastcall GManager::loadFromCompressedString(__int64 a1, __int64 a2)
{
std::string __p; // [xsp+8h] [xbp-28h] BYREF
cocos2d::ZipUtils::decompressString((void **)a2, 0, 11, &__p);
if ( *(char *)(a2 + 23) < 0 )
{
**(_BYTE **)a2 = 0;
*(_QWORD *)(a2 + 8) = 0;
}
else
{
*(_BYTE *)a2 = 0;
*(_BYTE *)(a2 + 23) = 0;
}
GManager::loadFromString(a1, (__int64)&__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}