//
// cocos2d::CCPointArray::addControlPoint from 0x5b1030 to 0x5b106c (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCPointArray::addControlPoint(cocos2d::CCPointArray *a1, cocos2d::CCPoint a2)
{
float x; // r5
cocos2d::CCPointArray_vtbl *v3; // r6
cocos2d::CCPoint *v4; // r7
cocos2d::CCPointArray *v5; // [sp+0h] [bp-Ch] BYREF
cocos2d::CCPoint v6; // [sp+4h] [bp-8h]
v5 = a1;
v6 = a2;
x = a2.x;
v3 = a1[1].__vftable;
v4 = (cocos2d::CCPoint *)operator new(8u);
cocos2d::CCPoint::CCPoint(v4, *(float *)LODWORD(x), *(float *)(LODWORD(x) + 4));
v5 = (cocos2d::CCPointArray *)v4;
std::vector::emplace_back((void **)&v3->copyWithZone, &v5);
}