//
// cocos2d::CCBezierBy::initWithDuration from 0x10018bd8c to 0x10018bdec (96 bytes)
//
// 3 xrefs:
// > cocos2d::CCBezierBy::create @ 0x10018bd48
// > cocos2d::CCBezierBy::copyWithZone @ 0x10018befc
// > cocos2d::CCBezierTo::copyWithZone @ 0x10018c2c0
//
// 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::CCBezierBy::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 + 92), a2);
sub_1000229D0((_QWORD *)(a1 + 100), a2 + 1);
sub_1000229D0((_QWORD *)(a1 + 108), a2 + 2);
return 1;
}