//
// DS_Dictionary::removeKey from 0x10017d660 to 0x10017d738 (216 bytes)
//
// 0 xrefs:
//
// 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 *a1, unsigned int a2)
{
std::__vector_base
::pointer v4; // rdi
const char *v5; // rsi
unsigned int v6; // r14d
const char *v7; // rsi
std::__vector_base::pointer v8; // r14
__int64 v9; // [rsp+8h] [rbp-38h] BYREF
_QWORD v10[6]; // [rsp+10h] [rbp-30h] BYREF
v4 = a1->dictTree.__end_ - 1;
v5 = "k";
if ( a1->compatible )
v5 = "key";
v10[0] = sub_10063B550(v4, v5);
if ( sub_10063B3F0(v10) )
{
v6 = a2 + 1;
while ( --v6 )
{
v7 = "key";
if ( !a1->compatible )
v7 = "k";
v10[0] = sub_10063B730(v10, v7);
if ( !sub_10063B3F0(v10) )
return;
}
v8 = a1->dictTree.__end_ - 1;
v9 = sub_10063B780(v10);
sub_10063D220(v8, &v9);
sub_10063D220(&a1->dictTree.__end_[-1], v10);
}
}