// // DS_Dictionary::setBoolForKey from 0xdb6a94 to 0xdb6c34 (416 bytes) // // 2 xrefs: // > DS_Dictionary::setBoolForKey @ 0xdb6c38 // > @ 0xd0438 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:42 +0000 // __int64 __fastcall DS_Dictionary::setBoolForKey(DS_Dictionary *this, const char *a2, char a3, unsigned __int8 a4) { int v6; // w19 const char *v8; // x1 const char *v9; // x1 const char *v10; // x0 const char *v11; // x1 __int64 inserted; // x0 const char *v13; // x1 const char *v14; // x1 __int64 v15; // [xsp+58h] [xbp+58h] BYREF __int64 i; // [xsp+60h] [xbp+60h] BYREF v6 = a4; if ( a3 ) { pugi::xml_node::xml_node((pugi::xml_node *)&v15); if ( v6 ) { if ( *((_BYTE *)this + 232) ) v8 = "key"; else v8 = "k"; for ( i = pugi::xml_node::child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v8); pugi::xml_node::operator void (*)(pugi::xml_node***)(&i); i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v9) ) { v10 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i); if ( !(unsigned int)alphaNumericallyLessThan(v10, a2) ) { if ( *((_BYTE *)this + 232) ) v11 = "key"; else v11 = "k"; inserted = pugi::xml_node::insert_child_before( (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v11, (const pugi::xml_node *)&i); goto LABEL_19; } if ( *((_BYTE *)this + 232) ) v9 = "key"; else v9 = "k"; } } if ( *((_BYTE *)this + 232) ) v13 = "key"; else v13 = "k"; inserted = pugi::xml_node::append_child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v13); LABEL_19: v15 = inserted; i = pugi::xml_node::append_child(&v15, 3); pugi::xml_node::set_value((pugi::xml_node *)&i, a2); if ( *((_BYTE *)this + 232) ) v14 = "true"; else v14 = "t"; pugi::xml_node::insert_child_after( (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v14, (const pugi::xml_node *)&v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source