//
// DS_Dictionary::saveRootSubDictToString from 0x18001e320 to 0x18001e397 (119 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8cd4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:27 +0000
//
__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_180082A40(a1, &v8, "plist");
v5 = sub_180082670(v4, &v7, "gjver");
sub_1800823B0(v5, "2.0");
pugi::xml_document::save_string(v3, a2, (unsigned int)"\t", 4, 0);
return a2;
}