//
// sub_1008D1690 from 0x1008d1690 to 0x1008d16df (79 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008cf791
// > ??> @ 0x1008cf7a2
// > ??> @ 0x1008d15e0
//
// 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:37 +0000
//
void __fastcall sub_1008D1690(__int64 a1)
{
if ( (*(_BYTE *)(a1 + 56) & 1) != 0 )
{
operator delete(*(void **)(a1 + 72));
if ( (*(_BYTE *)(a1 + 32) & 1) == 0 )
{
LABEL_3:
if ( (*(_BYTE *)(a1 + 8) & 1) == 0 )
return;
LABEL_7:
operator delete(*(void **)(a1 + 24));
return;
}
}
else if ( (*(_BYTE *)(a1 + 32) & 1) == 0 )
{
goto LABEL_3;
}
operator delete(*(void **)(a1 + 48));
if ( (*(_BYTE *)(a1 + 8) & 1) != 0 )
goto LABEL_7;
}