//
// sub_1002F0F50 from 0x1002f0f50 to 0x1002f0fb8 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x1002f0ef1
// > ??> @ 0x1002f0f42
//
// 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_1002F0F50(void ***a1)
{
void **v1; // r14
_QWORD *v2; // r15
_QWORD *v3; // rbx
void *v4; // rax
if ( !*((_BYTE *)a1 + 8) )
{
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v3 = v1[1];
v4 = **a1;
if ( v3 != v2 )
{
do
{
v3 -= 56;
sub_1002EFB90(v3);
}
while ( v3 != v2 );
v4 = **a1;
}
v1[1] = v2;
operator delete(v4);
}
}
}