//
// DS_Dictionary::DS_Dictionary from 0x5feb58 to 0x5febfc (164 bytes)
//
// 8 xrefs:
// > CCAnimateFrameCache::addSpriteFramesWithFile @ 0x2e4c4a
// > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x2e506a
// > GManager::getSaveString @ 0x2f0212
// > GManager::loadFromString @ 0x2f02a2
// > GManager::saveGMTo @ 0x2f0352
// > GManager::loadDataFromFile @ 0x2f0438
// > CCContentManager::addDict @ 0x5fc3e4
// > CCContentManager::addDictDS @ 0x5fc484
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Alternative name is '_ZN13DS_DictionaryC2Ev'
DS_Dictionary *DS_Dictionary::DS_Dictionary(DS_Dictionary *a1)
{
char **p_dictTree; // r9
_DWORD *v3; // r9
pugi::xml_node v5; // [sp+4h] [bp-4h] BYREF
pugi::xml_node v6; // [sp+8h] [bp+0h] BYREF
p_dictTree = (char **)&a1->dictTree;
pugi::xml_document::xml_document(&a1->doc);
a1->dictTree.m_start = nullptr;
a1->dictTree.m_finish = nullptr;
a1->dictTree.m_reserveEnd = nullptr;
a1->compatible = 0;
pugi::xml_node::xml_node(&v6);
std::vector
::emplace_back(p_dictTree, &v6);
v5._root = (pugi::xml_node_struct *)pugi::xml_node::append_child(&a1->doc, "plist");
v6._root = (pugi::xml_node_struct *)pugi::xml_node::append_attribute(&v5, "version");
pugi::xml_attribute::operator=(&v6, "1.0");
pugi::xml_node::append_child(&v5, "dict");
v3 = (_DWORD *)std::vector::back((int)p_dictTree);
v6._root = (pugi::xml_node_struct *)pugi::xml_node::child(&a1->doc, "plist");
*v3 = pugi::xml_node::child(&v6, "dict");
return a1;
}