//
// cocos2d::CCBezierTo::create from 0x1003b9da0 to 0x1003b9e6d (205 bytes)
//
// 9 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x1000b61fd
// > PlayLayer::playEndAnimationToPos @ 0x1000b63c2
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x1000b670e
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x1000b6867
// > GameObject::playPickupAnimation @ 0x10025e261
// > SecretLayer4::playCoinEffect @ 0x1003b4fca
// > LevelPage::playCoinEffect @ 0x100436b0c
// > SecretLayer2::playCoinEffect @ 0x1004a11aa
// > SecretLayer::playCoinEffect @ 0x1005fd20a
//
// 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
//
_OWORD *__fastcall cocos2d::CCBezierTo::create(double *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_1003BCF70(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_10028CC90((_OWORD *)((char *)v2 + 132), a1);
sub_10028CC90((_OWORD *)((char *)v2 + 140), a1 + 1);
sub_10028CC90((_OWORD *)((char *)v2 + 148), a1 + 2);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}