//
// sub_1002FC260 from 0x1002fc260 to 0x1002fc2cf (111 bytes)
//
// 1 xrefs:
// > ??> @ 0x1002fc24b
//
// 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_1002FC260(void ***a1)
{
void **v2; // r14
char *v3; // r15
char *v4; // r12
void *v5; // rdi
void *v6; // rdi
if ( !*((_BYTE *)a1 + 8) )
{
v2 = *a1;
v3 = (char *)**a1;
if ( v3 )
{
v4 = (char *)v2[1];
v5 = **a1;
if ( v4 != v3 )
{
do
{
v6 = *((void **)v4 - 3);
if ( v6 )
{
*((_QWORD *)v4 - 2) = v6;
operator delete(v6);
}
v4 -= 64;
}
while ( v4 != v3 );
v5 = **a1;
}
v2[1] = v3;
operator delete(v5);
}
}
}