//
// GJGameLevel::getFullSaveString from 0x80651c to 0x8065c8 (172 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::prepareSaveData @ 0x7a4d84
// > ??> @ 0x420b8
//
// 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 12:54:45 +0000
//
__int64 __usercall GJGameLevel::getFullSaveString@(GJGameLevel *this@, __int64 a2@)
{
DS_Dictionary *v4; // x19
char *v5; // x0
char *v6; // x2
v4 = (DS_Dictionary *)operator new(0xF0u);
DS_Dictionary::DS_Dictionary(v4);
(*(void (__fastcall **)(GJGameLevel *, DS_Dictionary *))(*(_QWORD *)this + 48LL))(this, v4);
DS_Dictionary::saveRootSubDictToString(v4);
v5 = *((char **)v4 + 26);
if ( v5 )
{
v6 = *((char **)v4 + 27);
if ( v5 != v6 )
*((_QWORD *)v4 + 27) = &v6[8 * ~((unsigned __int64)(v6 - 8 - v5) >> 3)];
operator delete(v5);
}
pugi::xml_document::~xml_document(v4);
operator delete(v4);
return a2;
}