//
// DS_Dictionary::saveRootSubDictToString from 0xb42628 to 0xb426d0 (168 bytes)
//
// 3 xrefs:
// > GManager::getSaveString @ 0x58846c
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0xb427d0
// > ??> @ 0xb53e0
//
// 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 DS_Dictionary::saveRootSubDictToString@(DS_Dictionary *this@, __int64 a2@)
{
pugi::xml_node v5; // [xsp+38h] [xbp+38h] BYREF
__int64 appended; // [xsp+40h] [xbp+40h] BYREF
v5._root = (pugi::xml_node_struct *)pugi::xml_node::child(&this->doc, "plist");
appended = pugi::xml_node::append_attribute(&v5, "gjver");
pugi::xml_attribute::operator=(&appended, "2.0");
pugi::xml_document::save_string(this, "\t", 4, 0);
return a2;
}