// // DS_Dictionary::getKey from 0xb42e78 to 0xb42f4c (212 bytes) // // 4 xrefs: // > CCAnimateFrameCache::addDict @ 0x572280 // > CCAnimateFrameCache::addDict @ 0x5725f0 // > DS_Dictionary::getArrayForKey @ 0xb46f5c // > @ 0xad0b8 // // 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 // __int64 *__usercall DS_Dictionary::getKey@(__int64 *__return_ptr a1@, DS_Dictionary *this@, int a3@) { int v5; // w19 char *v7; // x0 pugi::xml_node v8; // [xsp+48h] [xbp+48h] BYREF pugi::xml_node v9; // [xsp+50h] [xbp+50h] BYREF v5 = 0; for ( v8._root = (pugi::xml_node_struct *)pugi::xml_node::first_child(this->dictTree.m_finish - 1); ; v8._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v9) ) { if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v8) ) { *a1 = (__int64)&byte_124B6C8; return a1; } if ( v5 == a3 ) break; v9._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v8); ++v5; } v7 = (char *)pugi::xml_node::child_value(&v8); sub_D153B8((int)a1, v7); return a1; }