//
// sub_1000D4688 from 0x1000d4688 to 0x1000d46f8 (112 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::prepareSaveData @ 0x10040bf04
//
// This function is hookable on this platform (idp: arm, 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 10:58:55 +0000
//
void __usercall sub_1000D4688(__int64 a1@, _QWORD *a2@)
{
_QWORD *v4; // x19
void *v5; // x0
void *v6; // x0
v4 = operator new(0xF0u);
j_DS_Dictionary::DS_Dictionary();
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 48LL))(a1, v4);
DS_Dictionary::saveRootSubDictToString(a2);
v5 = (void *)v4[26];
if ( v5 )
{
v4[27] = v5;
operator delete(v5);
}
v6 = (void *)pugi::xml_document::dxml_document(v4);
operator delete(v6);
}