//
// cocos2d::CCBezierTo::create from 0x1003a31a0 to 0x1003a326d (205 bytes)
//
// 9 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x100083ac5
// > PlayLayer::playEndAnimationToPos @ 0x100083c8a
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100083fce
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100084127
// > GameObject::playPickupAnimation @ 0x1002481f1
// > sub_10039E030 @ 0x10039e3ca
// > LevelPage::playCoinEffect @ 0x1004245ac
// > sub_100499DE0 @ 0x10049a17a
// > sub_1006D3C70 @ 0x1006d400a
//
// 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:29:20 +0000
//
_OWORD *__fastcall cocos2d::CCBezierTo::create(_QWORD *a1, __m128 a2)
{
_OWORD *v2; // rbx
__m128 v4; // xmm0
v2 = operator new(0xA0u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
v2[6] = 0;
v2[7] = 0;
v2[8] = 0;
v2[9] = 0;
sub_1003A6370(v2);
v4 = _mm_cmpeq_ss((__m128)0LL, a2);
*((_QWORD *)v2 + 10) = _mm_andnot_ps(v4, a2).u32[0] | v4.i32[0] & 0x34000000;
*((_BYTE *)v2 + 88) = 1;
sub_100278300((_OWORD *)((char *)v2 + 132), a1);
sub_100278300((_OWORD *)((char *)v2 + 140), a1 + 1);
sub_100278300((_OWORD *)((char *)v2 + 148), a1 + 2);
cocos2d::CCObject::autorelease(v2);
return v2;
}