//
// GManager::getSaveString from 0x6a8ba4 to 0x6a8c50 (172 bytes)
//
// 2 xrefs:
// > GManager::getCompressedSaveString @ 0x6a8c7c
// > ??> @ 0xc63a0
//
// This function is hookable on this platform (idp: arm, 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:50:47 +0000
//
__int64 __usercall GManager::getSaveString@(GManager *this@, __int64 a2@)
{
DS_Dictionary *v4; // x19
char *v5; // x0
char *v6; // x2
v4 = (DS_Dictionary *)operator new(0xF0u);
DS_Dictionary::DS_Dictionary(v4);
(*(void (__fastcall **)(GManager *, DS_Dictionary *))(*(_QWORD *)this + 904LL))(this, v4);
DS_Dictionary::saveRootSubDictToString(v4);
v5 = *((char **)v4 + 26);
if ( v5 )
{
v6 = *((char **)v4 + 27);
if ( v5 != v6 )
*((_QWORD *)v4 + 27) = &v6[8 * ~((unsigned __int64)(v6 - 8 - v5) >> 3)];
operator delete(v5);
}
pugi::xml_document::~xml_document(v4);
operator delete(v4);
return a2;
}