//
// sub_1002EFB20 from 0x1002efb20 to 0x1002efb85 (101 bytes)
//
// 3 xrefs:
// > ??> @ 0x1002f0f05
// > ??> @ 0x1002f0f2e
// > ??> @ 0x1004eccef
//
// 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_1002EFB20(void **a1)
{
char *v1; // r15
char *v3; // r14
void *v4; // rdi
v1 = (char *)*a1;
if ( *a1 )
{
v3 = (char *)a1[1];
v4 = *a1;
if ( v3 != v1 )
{
do
{
v3 -= 448;
sub_1002EFB90(v3);
}
while ( v3 != v1 );
v4 = *a1;
}
a1[1] = v1;
operator delete(v4);
}
}