//
// sub_10063D220 from 0x10063d220 to 0x10063d287 (103 bytes)
//
// 6 xrefs:
// > DS_Dictionary::removeKey @ 0x10017d711
// > DS_Dictionary::removeKey @ 0x10017d724
// > DS_Dictionary::removeKey_1 @ 0x10017d803
// > DS_Dictionary::removeKey_1 @ 0x10017d816
// > DS_Dictionary::removeAllKeys @ 0x10017d8b4
// > DS_Dictionary::removeAllKeys @ 0x10017d8c7
//
// 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
//
char __fastcall sub_10063D220(_QWORD **a1, _QWORD *a2)
{
_QWORD *v2; // rax
_QWORD *v3; // rdi
__int64 v5; // rcx
__int64 v6; // rdx
__int64 v7; // rsi
_QWORD *v8; // rsi
v2 = *a1;
if ( !*a1 )
return 0;
v3 = (_QWORD *)*a2;
if ( !*a2 || (_QWORD *)v3[1] != v2 )
return 0;
v5 = v3[6];
if ( v5 )
{
v6 = v3[5];
v7 = v3[6];
LABEL_8:
*(_QWORD *)(v7 + 40) = v6;
goto LABEL_9;
}
v7 = v2[4];
v6 = v3[5];
if ( v7 )
goto LABEL_8;
LABEL_9:
v8 = (_QWORD *)(v6 + 48);
if ( !*(_QWORD *)(v6 + 48) )
v8 = v2 + 4;
*v8 = v5;
sub_10063D290(v3, *(_QWORD *)(*v2 & 0xFFFFFFFFFFFFFFE0LL));
return 1;
}