//
// sub_1002F0550 from 0x1002f0550 to 0x1002f059d (77 bytes)
//
// 4 xrefs:
// > ??> @ 0x1002f840e
// > ??> @ 0x1002f8919
// > ??> @ 0x1002fcbb5
// > ??> @ 0x1002fd21a
//
// 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_1002F0550(__int64 a1)
{
_QWORD *v2; // rdi
void *v3; // rax
v2 = *(_QWORD **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
{
v3 = (void *)v2[10];
if ( v3 )
{
v2[11] = v3;
operator delete(v3);
}
}
operator delete(v2);
}
}