//
// cocos2d::CCProgressTimer::create from 0x18005dab0 to 0x18005db26 (118 bytes)
//
// 8 xrefs:
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180057793
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578a3
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579b3
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ac3
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057b93
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c63
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b31e0
//
// 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::CCProgressTimer *__fastcall cocos2d::CCProgressTimer::create(struct cocos2d::CCSprite *a1)
{
cocos2d::CCProgressTimer *v2; // rax
cocos2d::CCProgressTimer *v3; // rbx
v2 = (cocos2d::CCProgressTimer *)operator new(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::CCProgressTimer *, __int64))v3->~CCProgressTimer)(v3, 1);
return nullptr;
}
}