//
// cocos2d::CCPointArray::insertControlPoint from 0xd27c50 to 0xd27cd8 (136 bytes)
//
// 2 xrefs:
// > cocos2d::CCCardinalSplineBy::reverse @ 0xd27df8
// > ??> @ 0xbffc8
//
// This function is hookable on this platform (idp: arm, 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 13:07:15 +0000
//
__int64 __fastcall cocos2d::CCPointArray::insertControlPoint(
cocos2d::CCPointArray *this,
cocos2d::CCPoint *a2,
unsigned int a3)
{
cocos2d::CCPoint *v5; // x21
_QWORD *v6; // x0
cocos2d::CCPoint *v9; // [xsp+40h] [xbp+40h] BYREF
v5 = (cocos2d::CCPoint *)operator new(8u);
cocos2d::CCPoint::CCPoint(v5, *(float *)a2, *((float *)a2 + 1));
v6 = *((_QWORD **)this + 7);
v9 = v5;
std::vector::insert(v6, (char *)(*v6 + 8LL * a3), &v9);
return _stack_chk_guard;
}