// // DS_Dictionary::getIndexOfKey from 0x80ad80 to 0x80ae06 (134 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:29 +0000 // int __fastcall DS_Dictionary::getIndexOfKey(DS_Dictionary *this, const char *a2) { pugi::xml_node *v4; // r0 const char *v5; // r1 int v6; // r6 int result; // r0 const char *v8; // r0 const char *v9; // r1 _DWORD v10[2]; // [sp+0h] [bp-8h] BYREF v10[0] = this; v10[1] = a2; v4 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); if ( *((_BYTE *)this + 212) ) v5 = "key"; else v5 = "k"; v6 = 0; for ( v10[0] = pugi::xml_node::child(v4, v5); ; v10[0] = pugi::xml_node::next_sibling((pugi::xml_node *)v10, v9) ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)(v10); if ( !result ) break; v8 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)v10); if ( !strcmp(v8, a2) ) return v6; ++v6; if ( *((_BYTE *)this + 212) ) v9 = "key"; else v9 = "k"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source