//
// sub_1002D0E00 from 0x1002d0e00 to 0x1002d0e77 (119 bytes)
//
// 1 xrefs:
// > ??> @ 0x100907870
//
// 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
//
__int64 __fastcall sub_1002D0E00(_QWORD *a1)
{
void ***v1; // r14
void **v2; // r15
*a1 = off_100907868;
v1 = (void ***)a1[7];
v2 = *v1;
if ( *v1 == v1[1] )
{
if ( v2 )
{
LABEL_3:
v1[1] = v2;
operator delete(v2);
}
}
else
{
do
{
if ( *v2 )
{
operator delete(*v2);
v1 = (void ***)a1[7];
}
++v2;
}
while ( v2 != v1[1] );
v2 = *v1;
if ( *v1 )
goto LABEL_3;
}
operator delete(v1);
return cocos2d::CCObject::dCCObject(a1);
}