//
// cocos2d::CCProgressTo::create from 0x180039b40 to 0x180039bd9 (153 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801badec
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:36 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCProgressTo *__fastcall cocos2d::CCProgressTo::create(float a1, float a2)
{
__int64 v2; // rbx
v2 = sub_1800E4AC0(0x68u);
if ( v2 )
{
*(_OWORD *)v2 = 0;
*(_OWORD *)(v2 + 16) = 0;
*(_OWORD *)(v2 + 32) = 0;
*(_OWORD *)(v2 + 48) = 0;
*(_OWORD *)(v2 + 64) = 0;
*(_OWORD *)(v2 + 80) = 0;
*(_QWORD *)(v2 + 96) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v2);
*(_DWORD *)(v2 + 80) = 0;
*(_QWORD *)v2 = &cocos2d::CCProgressTo::`vftable';
}
else
{
v2 = 0;
}
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v2, a1) )
*(float *)(v2 + 96) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (struct cocos2d::CCProgressTo *)v2;
}