//
// DS_Dictionary::removeKey_1 from 0x10017d740 to 0x10017d82a (234 bytes)
//
// 6 xrefs:
// > DS_Dictionary::setVec2ForKey @ 0x10017f4b1
// > DS_Dictionary::setRectForKey @ 0x10017f9f5
// > DS_Dictionary::setStringArrayForKey @ 0x10017fc9d
// > DS_Dictionary::setVec2ArrayForKey @ 0x10017fef0
// > DS_Dictionary::setRectArrayForKey @ 0x100180300
// > DS_Dictionary::getArrayForKey @ 0x100180acb
//
// 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_1(DS_Dictionary *a1, const char *a2)
{
std::__vector_base
::pointer v4; // rdi
const char *v5; // rsi
const char *v6; // rax
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) )
{
while ( 1 )
{
v6 = (const char *)sub_10063B880(v10);
if ( !strcmp(v6, a2) )
break;
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);
}
}