// // DS_Dictionary::DS_Dictionary from 0xb47998 to 0xb47abc (292 bytes) // // 10 xrefs: // > CCAnimateFrameCache::addSpriteFramesWithFile @ 0x572b38 // > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x5738a4 // > GManager::getSaveString @ 0x58844c // > GManager::loadFromString @ 0x5885d0 // > GManager::saveGMTo @ 0x5887ac // > GManager::loadDataFromFile @ 0x588a14 // > CCContentManager::addDict @ 0xb411b4 // > CCContentManager::addDictDS @ 0xb41374 // > @ 0x8c220 // > @ 0xa8cd8 // // 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) { std::vector *p_dictTree; // x20 pugi::xml_node *m_finish; // x0 pugi::xml_node *v4; // x24 pugi::xml_node v6; // [xsp+48h] [xbp+48h] BYREF pugi::xml_node v7; // [xsp+50h] [xbp+50h] BYREF p_dictTree = &a1->dictTree; pugi::xml_document::xml_document(&a1->doc); a1->dictTree.m_start = nullptr; p_dictTree->m_finish = nullptr; p_dictTree->m_reserveEnd = nullptr; a1->compatible = 0; pugi::xml_node::xml_node(&v7); m_finish = p_dictTree->m_finish; if ( m_finish == p_dictTree->m_reserveEnd ) { std::vector::_M_emplace_back_aux((__int64)p_dictTree, &v7); } else { if ( m_finish ) m_finish->_root = v7._root; p_dictTree->m_finish = m_finish + 1; } v6._root = (pugi::xml_node_struct *)pugi::xml_node::append_child(&a1->doc, "plist"); v7._root = (pugi::xml_node_struct *)pugi::xml_node::append_attribute(&v6, "version"); pugi::xml_attribute::operator=(&v7, "1.0"); pugi::xml_node::append_child(&v6, "dict"); v4 = a1->dictTree.m_finish; v7._root = (pugi::xml_node_struct *)pugi::xml_node::child(&a1->doc, "plist"); v4[-1]._root = (pugi::xml_node_struct *)pugi::xml_node::child(&v7, "dict"); return (DS_Dictionary *)_stack_chk_guard; }