//
// GManager::getSaveString from 0x588428 to 0x5884b4 (140 bytes)
//
// 2 xrefs:
// > GManager::getCompressedSaveString @ 0x5884e0
// > ??> @ 0x96120
//
// 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 __usercall GManager::getSaveString@(GManager *this@, __int64 a2@)
{
DS_Dictionary *v4; // x19
pugi::xml_node *m_start; // x0
v4 = (DS_Dictionary *)operator new(0xF0u);
DS_Dictionary::DS_Dictionary(v4);
this->encodeDataTo(this, v4);
DS_Dictionary::saveRootSubDictToString(v4);
m_start = v4->dictTree.m_start;
if ( m_start )
operator delete(m_start);
pugi::xml_document::~xml_document(&v4->doc);
operator delete(v4);
return a2;
}