//
// cocos2d::CCPointArray::removeControlPointAtIndex from 0xab5010 to 0xab506c (92 bytes)
//
// 2 xrefs:
// > cocos2d::CCCardinalSplineBy::reverse @ 0xab60c8
// > ??> @ 0xb48b8
//
// 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::removeControlPointAtIndex(cocos2d::CCPointArray *a1, unsigned int a2)
{
cocos2d::CCPointArray_vtbl *v2; // x19
void **v3; // x3
void **v4; // x0
void **v5; // x4
void *v6; // x20
v2 = a1[1].__vftable;
v3 = (void **)v2->~CCPointArray;
v4 = (void **)((char *)v2->copyWithZone + 8 * a2);
v5 = v4 + 1;
v6 = *v4;
if ( v4 + 1 != v3 && v3 - v5 )
{
memmove(v4, v4 + 1, (char *)v3 - (char *)v5);
v3 = (void **)v2->~CCPointArray;
}
v2->~CCPointArray = (void (__fastcall *)(cocos2d::CCPointArray *__hidden))(v3 - 1);
operator delete(v6);
}