//
// GManager::getSaveString from 0x2f0204 to 0x2f0242 (62 bytes)
//
// 1 xrefs:
// > GManager::getCompressedSaveString @ 0x2f025e
//
// 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
//
GManager *__fastcall GManager::getSaveString(GManager *this, int a2)
{
DS_Dictionary *v4; // r4
v4 = (DS_Dictionary *)operator new(0xD8u);
DS_Dictionary::DS_Dictionary(v4);
(*(void (__fastcall **)(int, DS_Dictionary *))(*(_DWORD *)a2 + 444))(a2, v4);
DS_Dictionary::saveRootSubDictToString((DS_Dictionary *)this);
std::_Vector_base
::~_Vector_base((void **)&v4->dictTree.m_start);
pugi::xml_document::~xml_document(&v4->doc);
operator delete(v4);
return this;
}