// // DS_Dictionary::removeKey from 0x80aeb8 to 0x80af56 (158 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::removeKey(DS_Dictionary *this, unsigned int a2, int a3, int a4) { pugi::xml_node *v6; // r0 const char *v7; // r1 int v8; // r7 int result; // r0 pugi::xml_node *v10; // r7 const char *v11; // r1 unsigned int i; // [sp+4h] [bp-Ch] BYREF _DWORD v13[2]; // [sp+8h] [bp-8h] BYREF i = a2; v13[0] = a3; v13[1] = a4; v6 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); if ( *((_BYTE *)this + 212) ) v7 = "key"; else v7 = "k"; v8 = 0; for ( i = pugi::xml_node::child(v6, v7); ; i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v11) ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)(&i); if ( !result ) break; if ( v8 == a2 ) { v10 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); v13[0] = pugi::xml_node::next_sibling((pugi::xml_node *)&i); pugi::xml_node::remove_child(v10, (const pugi::xml_node *)v13); return pugi::xml_node::remove_child((pugi::xml_node *)(*((_DWORD *)this + 51) - 4), (const pugi::xml_node *)&i); } ++v8; if ( *((_BYTE *)this + 212) ) v11 = "key"; else v11 = "k"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source