//
// DS_Dictionary::removeAllKeys from 0x18001d030 to 0x18001d0fd (205 bytes)
//
// 4 xrefs:
// > ??> @ 0x18013c0dc
// > ??> @ 0x18013c0ec
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8c08
//
// This function is hookable on this platform (idp: pc, 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 11:21:27 +0000
//
void __fastcall DS_Dictionary::removeAllKeys(DS_Dictionary *this)
{
bool v1; // zf
const char *v3; // r8
__int64 v4; // rcx
__int64 v5; // rbx
__int64 v6; // rax
const char *v7; // r8
char v8; // [rsp+30h] [rbp+8h] BYREF
char v9; // [rsp+38h] [rbp+10h] BYREF
v1 = *((_BYTE *)this + 232) == 0;
v3 = "k";
v4 = *((_QWORD *)this + 27);
if ( !v1 )
v3 = "key";
sub_180082A40(v4 - 8, &v8, v3);
while ( sub_1800823F0(&v8) )
{
v5 = *((_QWORD *)this + 27);
v6 = sub_180084AC0(&v8, &v9);
sub_180087700(v5 - 8, v6);
sub_180087700(*((_QWORD *)this + 27) - 8LL, &v8);
v7 = "k";
if ( *((_BYTE *)this + 232) )
v7 = "key";
sub_180082A40(*((_QWORD *)this + 27) - 8LL, &v8, v7);
}
}