//
// GManager::loadFromCompressedString from 0x10024a850 to 0x10024a8c8 (120 bytes)
//
// 2 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x10039f90c
// > GJAccountManager::onSyncAccountCompleted @ 0x10039f918
//
// 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)
{
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_);
}