//
// sub_1000DF700 from 0x1000df700 to 0x1000df7c5 (197 bytes)
//
// 1 xrefs:
// > LevelSettingsObject::objectFromDict @ 0x1000db047
//
// 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:21:02 +0000
//
void __fastcall sub_1000DF700(_QWORD *a1)
{
_QWORD *v2; // r14
__int64 v3; // rsi
_QWORD *v4; // r12
void **v5; // r15
void *v6; // rdi
void **v7; // r13
if ( a1[3] )
{
v2 = (_QWORD *)a1[2];
if ( v2 )
{
do
{
v4 = (_QWORD *)*v2;
v5 = (void **)v2[5];
if ( v5 )
{
do
{
v7 = (void **)*v5;
if ( ((_BYTE)v5[3] & 1) != 0 )
operator delete(v5[5]);
operator delete(v5);
v5 = v7;
}
while ( v7 );
}
v6 = (void *)v2[3];
v2[3] = 0;
if ( v6 )
operator delete(v6);
operator delete(v2);
v2 = v4;
}
while ( v4 );
}
a1[2] = 0;
v3 = a1[1];
if ( v3 )
__bzero(*a1, 8 * v3);
a1[3] = 0;
}
}