//
// cocos2d::CCPointArray::replaceControlPoint from 0x180026850 to 0x180026887 (55 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b94cc
//
// 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::replaceControlPoint(
cocos2d::CCPointArray *this,
struct cocos2d::CCPoint *a2,
unsigned int a3)
{
_QWORD *v3; // rax
_DWORD *v4; // rcx
v3 = *((_QWORD **)this + 7);
if ( (__int64)(v3[1] - *v3) >> 3 <= (unsigned __int64)a3 )
std::vector::_Xlen();
v4 = *(_DWORD **)(*v3 + 8LL * a3);
*v4 = *(_DWORD *)a2;
v4[1] = *((_DWORD *)a2 + 1);
}