//
// cocos2d::CCPointArray::removeControlPointAtIndex from 0x7b7006 to 0x7b7040 (58 bytes)
//
// 1 xrefs:
// > cocos2d::CCCardinalSplineBy::reverse @ 0x7b7aaa
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:12 +0000
//
void __fastcall cocos2d::CCPointArray::removeControlPointAtIndex(cocos2d::CCPointArray *this, unsigned int a2)
{
_DWORD *v2; // r5
void **v3; // r3
void *v4; // r6
size_t v5; // r4
char *v6; // r4
char *v7; // r3
v2 = *((_DWORD **)this + 13);
v3 = (void **)(*v2 + 4 * a2);
v4 = *v3;
v5 = v2[1] - (_DWORD)(v3 + 1);
if ( v5 >> 2 )
v3 = (void **)memmove(v3, v3 + 1, v5);
v6 = (char *)v3 + v5;
while ( 1 )
{
v7 = (char *)v2[1];
if ( v6 == v7 )
break;
v2[1] = v7 - 4;
}
operator delete(v4);
}