//
// cocos2d::CCPointArray::removeControlPointAtIndex from 0x180026800 to 0x180026846 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b94c0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:30 +0000
//
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);
}