// // DS_Dictionary::getIndexOfKey from 0x5fccd0 to 0x5fcd54 (132 bytes) // // 0 xrefs: // // 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::getIndexOfKey(DS_Dictionary *a1, const char *a2) { pugi::xml_node *v4; // r0 const char *v5; // r1 unsigned int v6; // r6 unsigned int result; // r0 const char *v8; // r0 const char *v9; // r1 pugi::xml_node v10[2]; // [sp+0h] [bp-8h] BYREF v10[0]._root = (pugi::xml_node_struct *)a1; v10[1]._root = (pugi::xml_node_struct *)a2; v4 = (pugi::xml_node *)std::vector::back((int)&a1->dictTree); if ( a1->compatible ) v5 = "key"; else v5 = "k"; v6 = 0; for ( v10[0]._root = (pugi::xml_node_struct *)pugi::xml_node::child(v4, v5); ; v10[0]._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(v10, v9) ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)(v10); if ( !result ) break; v8 = (const char *)pugi::xml_node::child_value(v10); if ( !strcmp(v8, a2) ) return v6; ++v6; if ( a1->compatible ) v9 = "key"; else v9 = "k"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source