//
// cocos2d::CCPointArray::setControlPoints from 0x5b096a to 0x5b0998 (46 bytes)
//
// 2 xrefs:
// > cocos2d::CCPointArray::copyWithZone @ 0x5b1014
// > cocos2d::CCPointArray::reverse @ 0x5b10ce
//
// 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 cocos2d::CCPointArray::setControlPoints(cocos2d::CCPointArray *a1, std::vector *a2)
{
cocos2d::CCObject *(__fastcall *i)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *); // r6
cocos2d::CCPointArray_vtbl *v5; // r5
void *v6; // t1
for ( i = a1[1].copyWithZone;
;
i = (cocos2d::CCObject *(__fastcall *)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *))((char *)i + 4) )
{
v5 = a1[1].__vftable;
if ( i == (cocos2d::CCObject *(__fastcall *)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *))v5->~CCPointArray )
break;
v6 = *(void **)i;
operator delete(v6);
}
if ( v5->copyWithZone )
operator delete(v5->copyWithZone);
operator delete(v5);
a1[1].__vftable = (cocos2d::CCPointArray_vtbl *)a2;
}