// // DS_Dictionary::setBoolForKey from 0x80b468 to 0x80b560 (248 bytes) // // 1 xrefs: // > DS_Dictionary::setBoolForKey @ 0x80b58e // // 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:30 +0000 // int __fastcall DS_Dictionary::setBoolForKey(int this, const char *a2, int a3, int a4) { int v6; // r4 const char *v7; // r1 const char *v8; // r1 const char *v9; // r0 const char *v10; // r1 const char *inserted; // r0 const char *v12; // r1 const char *v13; // r1 const char *v14; // [sp+4h] [bp-Ch] BYREF _DWORD v15[2]; // [sp+8h] [bp-8h] BYREF v14 = a2; v15[0] = a3; v15[1] = a4; v6 = this; if ( a3 ) { pugi::xml_node::xml_node((pugi::xml_node *)&v14); if ( a4 ) { if ( *(_BYTE *)(v6 + 212) ) v8 = "key"; else v8 = "k"; v15[0] = pugi::xml_node::child((pugi::xml_node *)(*(_DWORD *)(v6 + 204) - 4), v8); while ( pugi::xml_node::operator void (*)(pugi::xml_node***)(v15) ) { v9 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)v15); if ( !alphaNumericallyLessThan(v9, a2) ) { if ( *(_BYTE *)(v6 + 212) ) v10 = "key"; else v10 = "k"; inserted = (const char *)pugi::xml_node::insert_child_before( (pugi::xml_node *)(*(_DWORD *)(v6 + 204) - 4), v10, (const pugi::xml_node *)v15); goto LABEL_21; } if ( *(_BYTE *)(v6 + 212) ) v12 = "key"; else v12 = "k"; v15[0] = pugi::xml_node::next_sibling((pugi::xml_node *)v15, v12); } } if ( *(_BYTE *)(v6 + 212) ) v7 = "key"; else v7 = "k"; inserted = (const char *)pugi::xml_node::append_child((pugi::xml_node *)(*(_DWORD *)(v6 + 204) - 4), v7); LABEL_21: v14 = inserted; v15[0] = pugi::xml_node::append_child(&v14, 3); pugi::xml_node::set_value((pugi::xml_node *)v15, a2); if ( *(_BYTE *)(v6 + 212) ) v13 = "true"; else v13 = "t"; return pugi::xml_node::insert_child_after( (pugi::xml_node *)(*(_DWORD *)(v6 + 204) - 4), v13, (const pugi::xml_node *)&v14); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source