//
// sub_10008F8F0 from 0x10008f8f0 to 0x10008f981 (145 bytes)
//
// 3 xrefs:
// > ??> @ 0x10008f377
// > ??> @ 0x1000f367a
// > ??> @ 0x1000f3691
//
// 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:20:07 +0000
//
void __fastcall sub_10008F8F0(__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);
}