// // DS_Dictionary::removeKey from 0x18001d0b0 to 0x18001d1bc (268 bytes) // // 8 xrefs: // > DS_Dictionary::getArrayForKey @ 0x180019d70 // > DS_Dictionary::setRectArrayForKey @ 0x18001f545 // > DS_Dictionary::setRectForKey @ 0x18001fb6a // > DS_Dictionary::setStringArrayForKey @ 0x18001fdbd // > DS_Dictionary::setVec2ArrayForKey @ 0x180020465 // > DS_Dictionary::setVec2ForKey @ 0x1800209f8 // > @ 0x1801438a8 // > @ 0x1801aeb60 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall DS_Dictionary::removeKey(DS_Dictionary *this, const char *a2) { bool v2; // zf const char *v4; // r8 std::_Vector_val>::pointer Mylast; // rcx __int64 v7; // rax const char *v8; // r8 int v9; // ecx int v10; // edx const char *v11; // r8 std::_Vector_val>::pointer v12; // rbx __int64 v13; // rax __int64 v14; // [rsp+30h] [rbp+8h] BYREF char v15; // [rsp+40h] [rbp+18h] BYREF v2 = !this->compatible; v4 = "k"; Mylast = this->dictTree._Mypair._Myval2._Mylast; if ( !v2 ) v4 = "key"; sub_18007FB10(&Mylast[-1], &v14, v4); if ( sub_18007F4E0(&v14) ) { while ( 1 ) { v7 = sub_18007FB70(&v14); v8 = &a2[-v7]; do { v9 = (unsigned __int8)v8[v7]; v10 = *(unsigned __int8 *)v7 - v9; if ( v10 ) break; ++v7; } while ( v9 ); if ( !v10 ) break; v11 = "k"; if ( this->compatible ) v11 = "key"; v14 = *(_QWORD *)sub_180081A50(&v14, &v15, v11); if ( !sub_18007F4E0(&v14) ) return; } v12 = this->dictTree._Mypair._Myval2._Mylast; v13 = sub_180081AB0(&v14, &v15); sub_180084730(&v12[-1], v13); sub_180084730(&this->dictTree._Mypair._Myval2._Mylast[-1], &v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source