//
// cocos2d::CCProgressFromTo::initWithDuration from 0x1800394b0 to 0x180039500 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0ccc
//
// 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::CCProgressFromTo::initWithDuration(
cocos2d::CCProgressFromTo *this,
float a2,
float a3,
float a4)
{
if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )
return 0;
*((float *)this + 24) = a4;
*((float *)this + 25) = a3;
return 1;
}