//
// cocos2d::CCPointArray::setControlPoints from 0x1002bd9d0 to 0x1002bda48 (120 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::setControlPoints(__int64 a1, __int64 a2)
{
void ***v2; // r15
void **v3; // r12
v2 = *(void ****)(a1 + 56);
v3 = *v2;
if ( *v2 == v2[1] )
{
if ( v3 )
{
LABEL_3:
v2[1] = v3;
operator delete(v3);
}
}
else
{
do
{
if ( *v3 )
{
operator delete(*v3);
v2 = *(void ****)(a1 + 56);
}
++v3;
}
while ( v3 != v2[1] );
v3 = *v2;
if ( *v2 )
goto LABEL_3;
}
operator delete(v2);
*(_QWORD *)(a1 + 56) = a2;
}