//
// sub_1000982B0 from 0x1000982b0 to 0x100098328 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b4968
//
// 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_1000982B0(__int64 a1)
{
int v2; // eax
__int64 i; // r14
void *v4; // rdi
void *v5; // rdi
*(_QWORD *)a1 = &off_1008B4968;
v2 = *(_DWORD *)(a1 + 100);
if ( v2 > 0 )
{
for ( i = 0; i < v2; ++i )
{
v4 = *(void **)(*(_QWORD *)(a1 + 8) + 8 * i);
if ( v4 )
{
operator delete(v4);
v2 = *(_DWORD *)(a1 + 100);
}
}
}
v5 = *(void **)(a1 + 8);
if ( v5 != (void *)(a1 + 16) && v5 != nullptr )
operator delete[](v5);
}