// // DS_Dictionary::stepIntoSubDictWithKey from 0x5ff02c to 0x5ff0f6 (202 bytes) // // 12 xrefs: // > CCAnimateFrameCache::addDict @ 0x2e497a // > CCAnimateFrameCache::addDict @ 0x2e499e // > CCAnimateFrameCache::addDict @ 0x2e49e2 // > CCAnimateFrameCache::addDict @ 0x2e4a22 // > CCAnimateFrameCache::addDict @ 0x2e4ab0 // > DS_Dictionary::decodeObjectForKey @ 0x5ff11c // > DS_Dictionary::setBoolMapForKey @ 0x5ff2b0 // > DS_Dictionary::setDictForKey @ 0x5ff48a // > DS_Dictionary::getDictForKey @ 0x5ff51a // > DS_Dictionary::getArrayForKey @ 0x5ff828 // > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x5ffa96 // > DS_Dictionary::addBoolValuesToMapForKey @ 0x5ffb80 // // 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) { char **p_dictTree; // r6 pugi::xml_node *v5; // r0 const char *v6; // r1 int v7; // r0 const char *v8; // r0 pugi::xml_node_struct *v9; // r0 char *v10; // r2 const char *v11; // r0 const char *v12; // r1 char *v14; // [sp+Ch] [bp-18h] pugi::xml_node v15; // [sp+14h] [bp-10h] BYREF pugi::xml_node v16; // [sp+18h] [bp-Ch] BYREF p_dictTree = (char **)&a1->dictTree; v5 = (pugi::xml_node *)std::vector::back((int)&a1->dictTree); if ( a1->compatible ) v6 = "key"; else v6 = "k"; for ( v15._root = (pugi::xml_node_struct *)pugi::xml_node::child(v5, v6); ; v15._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v15, v12) ) { v7 = pugi::xml_node::operator void (*)(pugi::xml_node***)(&v15); if ( !v7 ) break; v8 = (const char *)pugi::xml_node::child_value(&v15); if ( !strcmp(v8, a2) ) { v9 = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v15); v10 = a1->compatible ? "dict" : "d"; v16._root = v9; v14 = v10; v11 = (const char *)pugi::xml_node::name(&v16); if ( !strcmp(v14, v11) ) { std::vector::push_back(p_dictTree, &v16); LOBYTE(v7) = 1; return v7; } } if ( a1->compatible ) v12 = "key"; else v12 = "k"; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source