//
// GManager::getCompressedSaveString from 0x14006a820 to 0x14006a8e1 (193 bytes)
//
// 3 xrefs:
// > GJAccountManager::backupAccount @ 0x140201b81
// > GJAccountManager::backupAccount @ 0x140201bec
// > ??> @ 0x1406c5f4c
//
// 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
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall GManager::getCompressedSaveString(__int64 a1, __int64 a2)
{
DS_Dictionary *v4; // rdi
DS_Dictionary *v6; // [rsp+28h] [rbp-40h]
_BYTE v7[32]; // [rsp+30h] [rbp-38h] BYREF
v6 = (DS_Dictionary *)operator new(0xF0u);
v4 = DS_Dictionary::DS_Dictionary(v6);
(*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 880LL))(a1, v4);
DS_Dictionary::saveRootSubDictToString(v4, v7);
if ( v4 )
{
DS_Dictionary::~DS_Dictionary(v4);
j_j_free(v4);
}
cocos2d::ZipUtils::compressString(a2, v7, 0, 11);
sub_14003A830((__int64)v7);
return a2;
}