//
// cocos2d::CCBezierTo::initWithDuration from 0x10021f168 to 0x10021f1c8 (96 bytes)
//
// 1 xrefs:
// > cocos2d::CCBezierTo::create @ 0x10021f134
//
// This function is hookable on this platform (idp: arm, 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 11:01:07 +0000
//
__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_10002630C((_QWORD *)(a1 + 132), a2);
sub_10002630C((_QWORD *)(a1 + 140), a2 + 1);
sub_10002630C((_QWORD *)(a1 + 148), a2 + 2);
return 0;
}