// // DS_Dictionary::setRectForKey from 0xdbcfac to 0xdbd364 (952 bytes) // // 2 xrefs: // > DS_Dictionary::setRectForKey @ 0xdbd368 // > @ 0xe06c8 // // 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:45 +0000 // __int64 __fastcall DS_Dictionary::setRectForKey( DS_Dictionary *this, const char *a2, const cocos2d::CCRect *a3, unsigned __int8 a4) { const char *v7; // x1 const char *v8; // x0 const char *v9; // x1 const char *v10; // x1 const char *v11; // x1 const char *v12; // x1 const char *v14; // x1 int v15; // [xsp+68h] [xbp+68h] __int64 inserted; // [xsp+70h] [xbp+70h] BYREF __int64 v17; // [xsp+78h] [xbp+78h] BYREF __int64 i; // [xsp+80h] [xbp+80h] BYREF __int64 v19[2]; // [xsp+88h] [xbp+88h] BYREF char *v20; // [xsp+98h] [xbp+98h] __int64 (__fastcall **v21)(); // [xsp+A0h] [xbp+A0h] __int64 v22; // [xsp+A8h] [xbp+A8h] __int64 (__fastcall **v23)(); // [xsp+B0h] [xbp+B0h] BYREF __int64 (__fastcall **v24)(); // [xsp+B8h] [xbp+B8h] BYREF __int64 v25; // [xsp+C0h] [xbp+C0h] BYREF __int64 v26; // [xsp+F8h] [xbp+F8h] __int64 v27; // [xsp+100h] [xbp+100h] void *v28; // [xsp+108h] [xbp+108h] __int64 v29; // [xsp+110h] [xbp+110h] int v30; // [xsp+118h] [xbp+118h] _QWORD v31[18]; // [xsp+120h] [xbp+120h] BYREF int v32; // [xsp+1B0h] [xbp+1B0h] v21 = (__int64 (__fastcall **)())&unk_143EFC8; v15 = a4; v31[0] = &unk_143EFF0; v22 = 0; std::ios_base::init((std::ios_base *)v31, &v24); v32 = -1; v21 = off_143F0E8; v31[0] = off_143F138; v23 = off_143F110; v31[17] = 0; std::streambuf::basic_streambuf(&v24); v26 = 0; v24 = off_143EEF0; v27 = 0; v30 = 24; v28 = nullptr; v29 = 0; v19[0] = 0; v19[1] = 0; v20 = nullptr; std::stringbuf::str((__int64)&v24, (__int64)v19); std::string::~string((__int64)v19); std::__put_character_sequence>(&v23, (__int64)"{{", 2); std::ostream::operator<<(&v23, *(float *)a3); std::__put_character_sequence>(&v23, (__int64)&byte_1169BE0, 1); std::ostream::operator<<(&v23, *((float *)a3 + 1)); std::__put_character_sequence>(&v23, (__int64)"},{", 3); std::ostream::operator<<(&v23, *((float *)a3 + 2)); std::__put_character_sequence>(&v23, (__int64)&byte_1169BE0, 1); std::ostream::operator<<(&v23, *((float *)a3 + 3)); std::__put_character_sequence>(&v23, (__int64)"}}", 2); DS_Dictionary::removeKey(this, a2); pugi::xml_node::xml_node((pugi::xml_node *)&inserted); if ( v15 ) { if ( *((_BYTE *)this + 232) ) v7 = "key"; else v7 = "k"; for ( i = pugi::xml_node::child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v7); pugi::xml_node::operator void (*)(pugi::xml_node***)(&i); i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v9) ) { v8 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i); if ( !(unsigned int)alphaNumericallyLessThan(v8, a2) ) { if ( *((_BYTE *)this + 232) ) v14 = "key"; else v14 = "k"; inserted = pugi::xml_node::insert_child_before( (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v14, (const pugi::xml_node *)&i); goto LABEL_14; } if ( *((_BYTE *)this + 232) ) v9 = "key"; else v9 = "k"; } } if ( *((_BYTE *)this + 232) ) v10 = "key"; else v10 = "k"; inserted = pugi::xml_node::append_child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v10); LABEL_14: i = pugi::xml_node::append_child(&inserted, 3); pugi::xml_node::set_value((pugi::xml_node *)&i, a2); if ( *((_BYTE *)this + 232) ) v11 = "string"; else v11 = "s"; v17 = pugi::xml_node::insert_child_after( (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v11, (const pugi::xml_node *)&inserted); i = pugi::xml_node::append_child(&v17, 3); std::stringbuf::str((__int64)&v24, v19); v12 = (char *)v19 + 1; if ( (v19[0] & 1) != 0 ) v12 = v20; pugi::xml_node::set_value((pugi::xml_node *)&i, v12); if ( (v19[0] & 1) != 0 ) operator delete(v20); v21 = off_143F0E8; v31[0] = off_143F138; v23 = off_143F110; v24 = off_143EEF0; if ( (v26 & 1) != 0 ) operator delete(v28); v24 = off_143EE50; std::locale::~locale((std::locale *)&v25); v31[0] = off_143EED0; std::ios_base::~ios_base((std::ios_base *)v31); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source