//
// DS_Dictionary::removeAllKeys from 0x10017d830 to 0x10017d90a (218 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::removeAllKeys(DS_Dictionary *a1)
{
std::__vector_base
::pointer v2; // rdi
const char *v3; // r12
const char *v4; // rsi
const char *v5; // r13
std::__vector_base::pointer v6; // r12
std::__vector_base::pointer v7; // rdi
const char *v8; // rsi
__int64 v9; // [rsp+8h] [rbp-38h] BYREF
_QWORD v10[6]; // [rsp+10h] [rbp-30h] BYREF
v2 = a1->dictTree.__end_ - 1;
v3 = "key";
v4 = "k";
if ( a1->compatible )
v4 = "key";
for ( v10[0] = sub_10063B550(v2, v4); sub_10063B3F0(v10); v10[0] = sub_10063B550(&a1->dictTree.__end_[-1], v8) )
{
v5 = v3;
v6 = a1->dictTree.__end_ - 1;
v9 = sub_10063B780(v10);
v7 = v6;
v3 = v5;
sub_10063D220(v7, &v9);
sub_10063D220(&a1->dictTree.__end_[-1], v10);
v8 = "k";
if ( a1->compatible )
v8 = v5;
}
}