//
// GManager::loadFromCompressedString from 0x140077450 to 0x140077530 (224 bytes)
//
// 3 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x140308c5c
// > GJAccountManager::onSyncAccountCompleted @ 0x140308c6d
// > ??> @ 0x140911ba0
//
// 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
void __fastcall GManager::loadFromCompressedString(__int64 a1, _QWORD *a2)
{
_QWORD *v2; // rbx
DS_Dictionary *v4; // rbx
char RootSubDictFromString; // al
_BYTE *v6; // rdx
DS_Dictionary *v7; // [rsp+20h] [rbp-38h]
_QWORD v8[4]; // [rsp+28h] [rbp-30h] BYREF
v2 = a2;
cocos2d::ZipUtils::decompressString(v8, a2, 0, 11);
v2[2] = 0;
if ( v2[3] > 0xFu )
v2 = (_QWORD *)*v2;
*(_BYTE *)v2 = 0;
v7 = (DS_Dictionary *)operator new(0xF0u);
v4 = DS_Dictionary::DS_Dictionary(v7);
RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString(v4, v8);
v8[2] = 0;
v6 = v8;
if ( v8[3] > 0xFu )
v6 = (_BYTE *)v8[0];
*v6 = 0;
if ( RootSubDictFromString )
(*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 920LL))(a1, v4);
if ( v4 )
{
DS_Dictionary::~DS_Dictionary(v4);
j_j_free(v4);
}
sub_14003D310((__int64)v8);
}