//
// sub_1003EE1E0 from 0x1003ee1e0 to 0x1003ee22a (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x1003efa1a
//
// 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_1003EE1E0(__int64 *a1)
{
__int64 v2; // rdi
v2 = *a1;
*a1 = 0;
if ( v2 )
{
if ( *((_BYTE *)a1 + 16) == 1 && (*(_BYTE *)(v2 + 40) & 1) != 0 )
operator delete(*(void **)(v2 + 56));
operator delete((void *)v2);
}
}