//
// cocos2d::CCProgressFromTo::initWithDuration from 0x5ba2e4 to 0x5ba2f8 (20 bytes)
//
// 2 xrefs:
// > cocos2d::CCProgressFromTo::create @ 0x5ba32c
// > cocos2d::CCProgressFromTo::copyWithZone @ 0x5ba3a0
//
// 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 cocos2d::CCProgressFromTo::initWithDuration(cocos2d::CCProgressFromTo *a1, float a2, float a3, float a4)
{
_BOOL4 v7; // r0
v7 = cocos2d::CCActionInterval::initWithDuration(a1, a2);
if ( v7 )
{
*(float *)&a1[1].__vftable = a4;
*(float *)&a1[1].m_uID = a3;
}
return v7;
}