//
// sub_100117310 from 0x100117310 to 0x1001173a1 (145 bytes)
//
// 2 xrefs:
// > ??> @ 0x1001172ea
// > ??> @ 0x100117301
//
// 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 sub_100117310(__int64 a1)
{
_QWORD *v2; // r14
void *v3; // rdi
_QWORD *v4; // r15
_QWORD *v5; // rdi
_QWORD *v6; // r12
void *v7; // rdi
v2 = *(_QWORD **)(a1 + 16);
if ( v2 )
{
do
{
v4 = (_QWORD *)*v2;
v5 = (_QWORD *)v2[5];
if ( v5 )
{
do
{
v6 = (_QWORD *)*v5;
operator delete(v5);
v5 = v6;
}
while ( v6 );
}
v7 = (void *)v2[3];
v2[3] = 0;
if ( v7 )
operator delete(v7);
operator delete(v2);
v2 = v4;
}
while ( v4 );
}
v3 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v3 )
operator delete(v3);
}