//
// DS_Dictionary::removeAllKeys from 0x10015cc20 to 0x10015ccfa (218 bytes)
//
// 0 xrefs:
//
// 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 12:25:06 +0000
//
__int64 __fastcall DS_Dictionary::removeAllKeys(__int64 a1)
{
__int64 v2; // rdi
const char *v3; // r12
const char *v4; // rsi
__int64 result; // rax
const char *v6; // r13
__int64 v7; // r12
__int64 v8; // rdi
const char *v9; // rsi
__int64 v10; // [rsp+8h] [rbp-38h] BYREF
_QWORD v11[6]; // [rsp+10h] [rbp-30h] BYREF
v2 = *(_QWORD *)(a1 + 216) - 8LL;
v3 = "key";
v4 = "k";
if ( *(_BYTE *)(a1 + 232) )
v4 = "key";
v11[0] = sub_100718180(v2, v4);
for ( result = sub_100718020(v11); result; result = sub_100718020(v11) )
{
v6 = v3;
v7 = *(_QWORD *)(a1 + 216) - 8LL;
v10 = sub_1007183B0(v11);
v8 = v7;
v3 = v6;
sub_100719E50(v8, &v10);
sub_100719E50(*(_QWORD *)(a1 + 216) - 8LL, v11);
v9 = "k";
if ( *(_BYTE *)(a1 + 232) )
v9 = v6;
v11[0] = sub_100718180(*(_QWORD *)(a1 + 216) - 8LL, v9);
}
return result;
}