// // DS_Dictionary::stepIntoSubDictWithKey from 0xb45f04 to 0xb46064 (352 bytes) // // 13 xrefs: // > CCAnimateFrameCache::addDict @ 0x57224c // > CCAnimateFrameCache::addDict @ 0x57228c // > CCAnimateFrameCache::addDict @ 0x5722f8 // > CCAnimateFrameCache::addDict @ 0x5723b0 // > CCAnimateFrameCache::addDict @ 0x572614 // > DS_Dictionary::decodeObjectForKey @ 0xb460bc // > DS_Dictionary::setBoolMapForKey @ 0xb4631c // > DS_Dictionary::setDictForKey @ 0xb46744 // > DS_Dictionary::getDictForKey @ 0xb46b64 // > DS_Dictionary::getArrayForKey @ 0xb46ffc // > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0xb49a24 // > DS_Dictionary::addBoolValuesToMapForKey @ 0xb4a02c // > @ 0xa0080 // // 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 // bool DS_Dictionary::stepIntoSubDictWithKey(DS_Dictionary *a1, const char *a2) { _BOOL4 compatible; // w1 pugi::xml_node *v5; // x0 const char *v6; // x1 const char *v7; // x1 __int64 v8; // x0 const char *v9; // x0 const char *v10; // x27 const char *v11; // x0 pugi::xml_node *m_finish; // x1 pugi::xml_node v14; // [xsp+68h] [xbp+68h] BYREF pugi::xml_node v15; // [xsp+70h] [xbp+70h] BYREF compatible = a1->compatible; v5 = a1->dictTree.m_finish - 1; if ( compatible ) v6 = "key"; else v6 = "k"; for ( v14._root = (pugi::xml_node_struct *)pugi::xml_node::child(v5, v6); ; v14._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v14, v7) ) { v8 = pugi::xml_node::operator void (*)(pugi::xml_node***)(&v14); if ( !v8 ) break; v9 = (const char *)pugi::xml_node::child_value(&v14); if ( !strcmp(v9, a2) ) { v15._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v14); v10 = a1->compatible ? "dict" : &byte_F27208; v11 = (const char *)pugi::xml_node::name(&v15); if ( !strcmp(v10, v11) ) { m_finish = a1->dictTree.m_finish; if ( m_finish == a1->dictTree.m_reserveEnd ) { std::vector::_M_emplace_back_aux((__int64)&a1->dictTree, &v15); LOBYTE(v8) = 1; } else { if ( m_finish ) m_finish->_root = v15._root; a1->dictTree.m_finish = m_finish + 1; LOBYTE(v8) = 1; } return v8; } } v7 = "key"; if ( !a1->compatible ) v7 = "k"; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source