//
// cocos2d::CCBezierBy::initWithDuration from 0x180035440 to 0x1800354a4 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b075c
//
// 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
//
char __fastcall cocos2d::CCBezierBy::initWithDuration(
cocos2d::CCBezierBy *this,
float a2,
const struct cocos2d::_ccBezierConfig *a3)
{
cocos2d::CCBezierBy *v4; // rbx
this->m_fDuration = a2;
if ( a2 == 0.0 )
this->m_fDuration = 0.00000011920929;
v4 = this + 1;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
cocos2d::CCSize::operator=((_DWORD *)this + 24, a3);
cocos2d::CCSize::operator=(&v4->m_uID, (_DWORD *)a3 + 2);
cocos2d::CCSize::operator=(
&v4->cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag,
(_DWORD *)a3 + 4);
return 1;
}