//
// cocos2d::CCBezierTo::initWithDuration from 0x10018c1dc to 0x10018c23c (96 bytes)
//
// 1 xrefs:
// > cocos2d::CCBezierTo::create @ 0x10018c1a8
//
// 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
//
__int64 __fastcall cocos2d::CCBezierTo::initWithDuration(__int64 a1, double *a2, float a3)
{
if ( a3 == 0.0 )
a3 = 0.00000011921;
*(float *)(a1 + 80) = a3;
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
sub_1000229D0((_QWORD *)(a1 + 132), a2);
sub_1000229D0((_QWORD *)(a1 + 140), a2 + 1);
sub_1000229D0((_QWORD *)(a1 + 148), a2 + 2);
return 0;
}