//
// cocos2d::CCPointArray::removeControlPointAtIndex from 0x1002be0b0 to 0x1002be110 (96 bytes)
//
// 0 xrefs:
//
// 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 12:28:04 +0000
//
void __fastcall cocos2d::CCPointArray::removeControlPointAtIndex(__int64 a1, unsigned int a2)
{
_QWORD *v2; // r12
void **v3; // r15
void *v4; // rbx
size_t v5; // r14
v2 = *(_QWORD **)(a1 + 56);
v3 = (void **)(*v2 + 8LL * a2);
v4 = *v3;
v5 = v2[1] - (_QWORD)(v3 + 1);
if ( v5 )
memmove(v3, v3 + 1, v5);
v2[1] = (char *)v3 + v5;
if ( v4 )
operator delete(v4);
}