//
// cocos2d::CCPointArray::setControlPoints from 0xab4ee4 to 0xab4f54 (112 bytes)
//
// 3 xrefs:
// > cocos2d::CCPointArray::copyWithZone @ 0xab5da8
// > cocos2d::CCPointArray::reverse @ 0xab5f5c
// > ??> @ 0xb92c8
//
// 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::CCPointArray_vtbl *v2; // x20
void **copyWithZone; // x19
cocos2d::CCObject *(__fastcall *v6)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *); // x0
void *v7; // t1
cocos2d::CCPointArray_vtbl *v8; // x0
v2 = a1[1].__vftable;
copyWithZone = (void **)v2->copyWithZone;
v6 = (cocos2d::CCObject *(__fastcall *)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *))v2->~CCPointArray;
if ( v2->copyWithZone != v6 )
{
do
{
v7 = *copyWithZone++;
operator delete(v7);
v8 = a1[1].__vftable;
}
while ( (void **)v8->~CCPointArray != copyWithZone );
v2 = a1[1].__vftable;
v6 = v8->copyWithZone;
}
if ( v6 )
operator delete(v6);
operator delete(v2);
a1[1].__vftable = (cocos2d::CCPointArray_vtbl *)a2;
}