//
// sub_1001623B0 from 0x1001623b0 to 0x10016241e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x100161d8d
// > ??> @ 0x100161d99
//
// 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_1001623B0(__int64 a1)
{
_QWORD *v2; // r14
void *v3; // rdi
_QWORD *v4; // r15
void *v5; // rdi
v2 = *(_QWORD **)(a1 + 16);
if ( v2 )
{
do
{
v4 = (_QWORD *)*v2;
v5 = (void *)v2[3];
if ( v5 )
{
v2[4] = v5;
operator delete(v5);
}
operator delete(v2);
v2 = v4;
}
while ( v4 );
}
v3 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v3 )
operator delete(v3);
}