//
// sub_1004F7F90 from 0x1004f7f90 to 0x1004f7fde (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x1004f7f75
//
// 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_1004F7F90(__int64 *a1)
{
__int64 v1; // rbx
v1 = *a1;
*a1 = 0;
if ( v1 )
{
if ( *((_BYTE *)a1 + 16) == 1 )
{
if ( (*(_BYTE *)(v1 + 56) & 1) != 0 )
operator delete(*(void **)(v1 + 72));
if ( (*(_BYTE *)(v1 + 32) & 1) != 0 )
operator delete(*(void **)(v1 + 48));
}
operator delete((void *)v1);
}
}