//
// cocos2d::CCPointArray::dCCPointArray from 0x1002d0d80 to 0x1002d0df7 (119 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCPointArray::dCCPointArray(_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);
}