//
// DS_Dictionary::saveRootSubDictToString from 0x18001e220 to 0x18001e297 (119 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801aebfc
//
// 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 DS_Dictionary::saveRootSubDictToString(__int64 a1, __int64 a2)
{
int v3; // ebx
__int64 v4; // rax
__int64 v5; // rax
char v7; // [rsp+50h] [rbp+8h] BYREF
__int64 v8; // [rsp+58h] [rbp+10h] BYREF
v8 = a2;
v3 = a1;
v4 = sub_18007FB10(a1, &v8, "plist");
v5 = sub_18007F750(v4, &v7, "gjver");
sub_18007F4A0(v5, "2.0");
pugi::xml_document::save_string(v3, a2, (unsigned int)"\t", 4, 0);
return a2;
}