// // DS_Dictionary::getNumKeys from 0xb42de4 to 0xb42e78 (148 bytes) // // 5 xrefs: // > CCAnimateFrameCache::addDict @ 0x572254 // > CCAnimateFrameCache::addDict @ 0x5722b0 // > CCAnimateFrameCache::addDict @ 0x572488 // > DS_Dictionary::getArrayForKey @ 0xb46f1c // > @ 0xc6e58 // // 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 // unsigned int DS_Dictionary::getNumKeys(DS_Dictionary *a1) { unsigned int v1; // w20 pugi::xml_node v3; // [xsp+38h] [xbp+38h] BYREF pugi::xml_node v4; // [xsp+40h] [xbp+40h] BYREF v1 = 0; for ( v3._root = (pugi::xml_node_struct *)pugi::xml_node::first_child(a1->dictTree.m_finish - 1); pugi::xml_node::operator void (*)(pugi::xml_node***)(&v3); v3._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v4) ) { ++v1; v4._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v3); } return v1; }