//
// GManager::getSaveString from 0x1004a4ee0 to 0x1004a4f55 (117 bytes)
//
// 1 xrefs:
// > GManager::getCompressedSaveString @ 0x1004a4f85
//
// 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 12:30:54 +0000
//
__int64 __fastcall GManager::getSaveString(__int64 a1, __int64 a2)
{
_QWORD *v3; // r14
void *v4; // rdi
v3 = operator new(0xF0u);
sub_100158EB0((__int64)v3);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a2 + 904LL))(a2, v3);
DS_Dictionary::saveRootSubDictToString(a1, (__int64)v3);
v4 = (void *)v3[26];
if ( v4 )
{
v3[27] = v4;
operator delete(v4);
}
pugi::xml_document::dxml_document(v3);
operator delete(v3);
return a1;
}