//
// cocos2d::CCProgressFromTo::create from 0x180039a90 to 0x180039b3f (175 bytes)
//
// 4 xrefs:
// > cocos2d::CCProgressFromTo::reverse @ 0x180039c8f
// > cocos2d::CCTransitionProgress::onEnter @ 0x1800595f2
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bade0
//
// 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::CCProgressFromTo *__fastcall cocos2d::CCProgressFromTo::create(float a1, float a2, float a3)
{
__int64 v3; // rbx
v3 = sub_1800E4AC0(0x68u);
if ( v3 )
{
*(_OWORD *)v3 = 0;
*(_OWORD *)(v3 + 16) = 0;
*(_OWORD *)(v3 + 32) = 0;
*(_OWORD *)(v3 + 48) = 0;
*(_OWORD *)(v3 + 64) = 0;
*(_OWORD *)(v3 + 80) = 0;
*(_QWORD *)(v3 + 96) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*(_DWORD *)(v3 + 80) = 0;
*(_QWORD *)v3 = &cocos2d::CCProgressFromTo::`vftable';
}
else
{
v3 = 0;
}
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v3, a1) )
{
*(float *)(v3 + 96) = a3;
*(float *)(v3 + 100) = a2;
}
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return (struct cocos2d::CCProgressFromTo *)v3;
}