//
// GManager::getCompressedSaveString from 0x140077380 to 0x140077449 (201 bytes)
//
// 3 xrefs:
// > GJAccountManager::backupAccount @ 0x140307738
// > GJAccountManager::backupAccount @ 0x1403077a6
// > ??> @ 0x140911b94
//
// This function is hookable on this platform (idp: pc, 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:25:51 +0000
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall GManager::getCompressedSaveString(__int64 a1, __int64 a2)
{
DS_Dictionary *v4; // rdi
DS_Dictionary *v6; // [rsp+38h] [rbp-40h]
_BYTE v7[32]; // [rsp+40h] [rbp-38h] BYREF
v6 = (DS_Dictionary *)operator new(0xF0u);
v4 = DS_Dictionary::DS_Dictionary(v6);
(*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 896LL))(a1, v4);
DS_Dictionary::saveRootSubDictToString(v4, v7);
if ( v4 )
{
DS_Dictionary::~DS_Dictionary(v4);
j_j_free(v4);
}
cocos2d::ZipUtils::compressString(a2, v7, 0, 0xFFFFFFFFLL, 11);
sub_14003D310((__int64)v7);
return a2;
}