//
// sub_1002EFD90 from 0x1002efd90 to 0x1002efe18 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x1002fb853
//
// 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_1002EFD90(__int64 a1, _QWORD *a2)
{
_QWORD *v2; // rbx
void *v3; // rdi
_QWORD *v4; // r14
__int64 v5; // r15
__int64 v6; // r12
void *v7; // rdi
if ( a2 )
{
v2 = a2;
do
{
v4 = (_QWORD *)*v2;
v5 = v2[3];
if ( v5 )
{
v6 = v2[4];
v3 = (void *)v2[3];
if ( v6 != v5 )
{
do
{
v7 = *(void **)(v6 - 24);
if ( v7 )
{
*(_QWORD *)(v6 - 16) = v7;
operator delete(v7);
}
v6 -= 64;
}
while ( v6 != v5 );
v3 = (void *)v2[3];
}
v2[4] = v5;
operator delete(v3);
}
operator delete(v2);
v2 = v4;
}
while ( v4 );
}
}