//
// cocos2d::CCProgressTimer::create from 0x18005fc70 to 0x18005fce9 (121 bytes)
//
// 8 xrefs:
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800596b3
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597c3
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598d3
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599e3
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059ab3
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b83
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd4a4
//
// 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:50 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCProgressTimer *__fastcall cocos2d::CCProgressTimer::create(struct cocos2d::CCSprite *a1)
{
cocos2d::CCProgressTimer *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCProgressTimer *)sub_1800E4AC0(0x190u);
if ( v2 )
v3 = cocos2d::CCProgressTimer::CCProgressTimer(v2);
else
v3 = nullptr;
if ( cocos2d::CCProgressTimer::initWithSprite(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
if ( v3 )
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);
return nullptr;
}
}