//
// cocos2d::CCBezierBy::initWithDuration from 0x5b8480 to 0x5b84b4 (52 bytes)
//
// 3 xrefs:
// > cocos2d::CCBezierBy::create @ 0x5b84d6
// > cocos2d::CCBezierBy::copyWithZone @ 0x5b85b6
// > cocos2d::CCBezierTo::copyWithZone @ 0x5b8620
//
// 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
//
bool __fastcall cocos2d::CCBezierBy::initWithDuration(
cocos2d::CCBezierBy *this,
float a2,
const cocos2d::_ccBezierConfig *a3)
{
int v5; // r2
bool v6; // r3
_BOOL4 v7; // r6
int v8; // r2
bool v9; // r3
int v10; // r2
bool v11; // r3
v7 = cocos2d::CCActionInterval::initWithDuration(this, a2);
if ( v7 )
{
cocos2d::CCPoint::operator=((PlayerObject *)(this + 1), *(float *)&a3, v5, v6);
cocos2d::CCPoint::operator=(
(PlayerObject *)((char *)this + 88),
COERCE_FLOAT((const cocos2d::_ccBezierConfig *)((char *)a3 + 8)),
v8,
v9);
cocos2d::CCPoint::operator=(
(PlayerObject *)((char *)this + 96),
COERCE_FLOAT((const cocos2d::_ccBezierConfig *)((char *)a3 + 16)),
v10,
v11);
}
return v7;
}