//
// sub_1002D0E80 from 0x1002d0e80 to 0x1002d0f07 (135 bytes)
//
// 1 xrefs:
// > ??> @ 0x100907878
//
// 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_1002D0E80(_QWORD *__p)
{
void ***v1; // r14
void **v2; // r15
*__p = off_100907868;
v1 = (void ***)__p[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 ***)__p[7];
}
++v2;
}
while ( v2 != v1[1] );
v2 = *v1;
if ( *v1 )
goto LABEL_3;
}
operator delete(v1);
cocos2d::CCObject::dCCObject(__p);
operator delete(__p);
}