//
// GManager::getSaveString from 0x1004ac040 to 0x1004ac0b5 (117 bytes)
//
// 1 xrefs:
// > GManager::getCompressedSaveString @ 0x1004ac0e5
//
// 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
//
__int64 __fastcall GManager::getSaveString(__int64 a1, __int64 a2)
{
DS_Dictionary *v3; // r14
pugi::xml_node *begin; // rdi
v3 = (DS_Dictionary *)operator new(0xF0u);
sub_100179B00(v3);
(*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a2 + 888LL))(a2, v3);
DS_Dictionary::saveRootSubDictToString(a1, (__int64)v3);
begin = v3->dictTree.__begin_;
if ( begin )
{
v3->dictTree.__end_ = begin;
operator delete(begin);
}
pugi::xml_document::dxml_document(v3);
operator delete(v3);
return a1;
}