//
// cocos2d::CCProgressTo::create from 0x180039400 to 0x180039499 (153 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0cc0
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCProgressTo *__fastcall cocos2d::CCProgressTo::create(float a1, float a2)
{
cocos2d::CCActionInterval *v2; // rbx
v2 = (cocos2d::CCActionInterval *)operator new(0x68u);
if ( v2 )
{
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2->m_pTarget = 0;
*(_OWORD *)&v2->m_fDuration = 0;
v2[1].__vftable = nullptr;
cocos2d::CCAction::CCAction(v2);
v2->m_fDuration = 0.0;
v2->__vftable = (cocos2d::CCActionInterval_vtbl *)&cocos2d::CCProgressTo::`vftable';
}
else
{
v2 = nullptr;
}
if ( cocos2d::CCActionInterval::initWithDuration(v2, a1) )
*(float *)&v2[1].__vftable = a2;
cocos2d::CCObject::autorelease(v2);
return (struct cocos2d::CCProgressTo *)v2;
}