//
// DS_Dictionary::DS_Dictionary from 0xdba5ac to 0xdba6d4 (296 bytes)
//
// 19 xrefs:
// > CCAnimateFrameCache::addSpriteFramesWithFile @ 0x68e560
// > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x68ee7c
// > GManager::getSaveString @ 0x6a8bc8
// > GManager::loadFromString @ 0x6a8d14
// > GManager::saveGMTo @ 0x6a8ec0
// > GManager::loadDataFromFile @ 0x6a95f4
// > GJGameLevel::getFullSaveString @ 0x806540
// > GJGameLevel::getExportSaveString @ 0x8065ec
// > GameLevelManager::collectPlatformerJournalKeys @ 0x82fbf4
// > GameLevelManager::prunePlatformerJournalKeys @ 0x82ff20
// > sub_833644 @ 0x833694
// > GameLevelManager::writePlatformerSaveJournal @ 0x83cdb0
// > GameLevelManager::writePlatformerSaveJournal @ 0x83ce0c
// > GJGameLevel::createFromFullSaveString @ 0x83ea80
// > GameLevelManager::replayPlatformerSaveJournal @ 0x844f94
// > CCContentManager::addDict @ 0xdb49b8
// > CCContentManager::addDictDS @ 0xdb4b9c
// > ??> @ 0xb9a40
// > ??> @ 0xdd5d8
//
// 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 13:08:44 +0000
//
// Alternative name is '_ZN13DS_DictionaryC2Ev'
void __fastcall DS_Dictionary::DS_Dictionary(DS_Dictionary *this)
{
char *v2; // x21
__int64 *v3; // x0
__int64 v4; // x23
__int64 appended; // [xsp+48h] [xbp+48h] BYREF
__int64 v6; // [xsp+50h] [xbp+50h] BYREF
v2 = (char *)this + 208;
pugi::xml_document::xml_document(this);
*((_QWORD *)this + 26) = 0;
*((_QWORD *)v2 + 1) = 0;
*((_QWORD *)this + 28) = 0;
*((_BYTE *)this + 232) = 0;
pugi::xml_node::xml_node((pugi::xml_node *)&v6);
v3 = *((__int64 **)v2 + 1);
if ( (unsigned __int64)v3 >= *((_QWORD *)this + 28) )
{
std::vector
::__push_back_slow_path((char **)v2, &v6);
}
else
{
if ( v3 )
{
*v3 = v6;
v3 = *((__int64 **)v2 + 1);
}
*((_QWORD *)v2 + 1) = v3 + 1;
}
appended = pugi::xml_node::append_child(this, "plist");
v6 = pugi::xml_node::append_attribute((pugi::xml_node *)&appended, "version");
pugi::xml_attribute::operator=(&v6, "1.0");
pugi::xml_node::append_child((pugi::xml_node *)&appended, "dict");
v4 = *((_QWORD *)this + 27);
v6 = pugi::xml_node::child(this, "plist");
*(_QWORD *)(v4 - 8) = pugi::xml_node::child((pugi::xml_node *)&v6, "dict");
}