//
// cocos2d::CCPointArray::setControlPoints from 0x1002d0d00 to 0x1002d0d78 (120 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
//
void __fastcall cocos2d::CCPointArray::setControlPoints(cocos2d::CCPointArray *a1, std::vector *a2)
{
cocos2d::CCPointArray_vtbl *v2; // r15
void **copyWithZone; // r12
v2 = a1[1].__vftable;
copyWithZone = (void **)v2->copyWithZone;
if ( v2->copyWithZone == (cocos2d::CCObject *(__cdecl *)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *))v2->~CCPointArray )
{
if ( copyWithZone )
{
LABEL_3:
v2->~CCPointArray = (void (__cdecl *)(cocos2d::CCPointArray *__hidden))copyWithZone;
operator delete(copyWithZone);
}
}
else
{
do
{
if ( *copyWithZone )
{
operator delete(*copyWithZone);
v2 = a1[1].__vftable;
}
++copyWithZone;
}
while ( copyWithZone != (void **)v2->~CCPointArray );
copyWithZone = (void **)v2->copyWithZone;
if ( v2->copyWithZone )
goto LABEL_3;
}
operator delete(v2);
a1[1].__vftable = (cocos2d::CCPointArray_vtbl *)a2;
}