//
// cocos2d::CCPointArray::removeControlPointAtIndex from 0x1800260f0 to 0x180026136 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af3ac
//
// 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::removeControlPointAtIndex(cocos2d::CCPointArray *this, unsigned int a2)
{
_QWORD *v2; // rdi
void **v3; // rcx
void *v4; // rbx
v2 = *((_QWORD **)this + 7);
v3 = (void **)(*v2 + 8LL * a2);
v4 = *v3;
memmove(v3, v3 + 1, v2[1] - (_QWORD)(v3 + 1));
v2[1] -= 8LL;
j_j_free_0(v4);
}