//
// sub_1008D93F0 from 0x1008d93f0 to 0x1008d9489 (153 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d924a
//
// 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:37:42 +0000
//
void __fastcall sub_1008D93F0(__int64 a1)
{
__int64 v2; // r14
__int64 i; // r15
void *v4; // rdi
v2 = *(_QWORD *)(a1 + 8);
for ( i = *(_QWORD *)(a1 + 16); i != v2; i = *(_QWORD *)(a1 + 16) )
{
*(_QWORD *)(a1 + 16) = i - 88;
if ( (*(_BYTE *)(i - 32) & 1) != 0 )
{
operator delete(*(void **)(i - 16));
if ( (*(_BYTE *)(i - 56) & 1) != 0 )
{
LABEL_9:
operator delete(*(void **)(i - 40));
if ( (*(_BYTE *)(i - 80) & 1) == 0 )
continue;
goto LABEL_10;
}
}
else if ( (*(_BYTE *)(i - 56) & 1) != 0 )
{
goto LABEL_9;
}
if ( (*(_BYTE *)(i - 80) & 1) == 0 )
continue;
LABEL_10:
operator delete(*(void **)(i - 64));
}
v4 = *(void **)a1;
if ( *(_QWORD *)a1 )
operator delete(v4);
}