//
// DS_Dictionary::DS_Dictionary from 0x80cb30 to 0x80cbf4 (196 bytes)
//
// 17 xrefs:
// > CCAnimateFrameCache::addSpriteFramesWithFile @ 0x3c46d2
// > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x3c4bc2
// > GManager::loadFromString @ 0x3d40d6
// > GManager::getSaveString @ 0x3d4196
// > GManager::saveGMTo @ 0x3d433e
// > GManager::loadDataFromFile @ 0x3d4678
// > GJGameLevel::getFullSaveString @ 0x4aba16
// > GJGameLevel::getExportSaveString @ 0x4aba58
// > GameLevelManager::collectPlatformerJournalKeys @ 0x4b5bac
// > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d12
// > sub_4C60B4 @ 0x4c60de
// > GameLevelManager::writePlatformerSaveJournal @ 0x4caec2
// > GameLevelManager::writePlatformerSaveJournal @ 0x4caee2
// > GJGameLevel::createFromFullSaveString @ 0x4cc5b4
// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfaf2
// > CCContentManager::addDict @ 0x80a196
// > CCContentManager::addDictDS @ 0x80a246
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:32 +0000
//
// Alternative name is '_ZN13DS_DictionaryC2Ev'
void __fastcall DS_Dictionary::DS_Dictionary(DS_Dictionary *this)
{
_DWORD *v2; // r3
int v3; // r7
int appended; // [sp+4h] [bp-10h] BYREF
int v5; // [sp+8h] [bp-Ch] BYREF
pugi::xml_document::xml_document(this);
*((_DWORD *)this + 50) = 0;
*((_DWORD *)this + 51) = 0;
*((_DWORD *)this + 52) = 0;
*((_BYTE *)this + 212) = 0;
pugi::xml_node::xml_node((pugi::xml_node *)&v5);
v2 = *((_DWORD **)this + 51);
if ( (unsigned int)v2 >= *((_DWORD *)this + 52) )
{
std::vector
::__push_back_slow_path((int *)this + 50, &v5);
}
else
{
if ( v2 )
*v2 = v5;
*((_DWORD *)this + 51) += 4;
}
appended = pugi::xml_node::append_child(this, "plist");
v5 = pugi::xml_node::append_attribute((pugi::xml_node *)&appended, "version");
pugi::xml_attribute::operator=(&v5, "1.0");
pugi::xml_node::append_child((pugi::xml_node *)&appended, "dict");
v3 = *((_DWORD *)this + 51);
v5 = pugi::xml_node::child(this, "plist");
*(_DWORD *)(v3 - 4) = pugi::xml_node::child((pugi::xml_node *)&v5, "dict");
}