//
// cocos2d::CCBezierTo::initWithDuration from 0x5b8634 to 0x5b8666 (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCBezierTo::create @ 0x5b869c
//
// 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
//
int __fastcall cocos2d::CCBezierTo::initWithDuration(
cocos2d::CCBezierTo *this,
float a2,
const cocos2d::_ccBezierConfig *a3)
{
int v5; // r2
bool v6; // r3
int v7; // r2
bool v8; // r3
int v9; // r2
bool v10; // r3
if ( cocos2d::CCActionInterval::initWithDuration(this, a2) )
{
cocos2d::CCPoint::operator=((PlayerObject *)((char *)this + 120), *(float *)&a3, v5, v6);
cocos2d::CCPoint::operator=(
(PlayerObject *)((char *)this + 128),
COERCE_FLOAT((const cocos2d::_ccBezierConfig *)((char *)a3 + 8)),
v7,
v8);
cocos2d::CCPoint::operator=(
(PlayerObject *)((char *)this + 136),
COERCE_FLOAT((const cocos2d::_ccBezierConfig *)((char *)a3 + 16)),
v9,
v10);
}
return 0;
}