//
// cocos2d::CCProgressTimer::create from 0x5d7e5c to 0x5d7e90 (52 bytes)
//
// 9 xrefs:
// > CCCountdown::init @ 0x2e540c
// > LevelInfoLayer::onPlay @ 0x3b2660
// > cocos2d::extension::CCControlPotentiometer::create @ 0x5a6ff6
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x5d3194
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x5d3248
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x5d32fc
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x5d33d8
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x5d34b0
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x5d3588
//
// 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
//
cocos2d::CCProgressTimer *cocos2d::CCProgressTimer::create(cocos2d::CCSprite *a1)
{
cocos2d::CCProgressTimer *v2; // r4
cocos2d::CCProgressTimer_vtbl *v3; // r3
cocos2d::CCProgressTimer *v4; // r0
v2 = (cocos2d::CCProgressTimer *)operator new(0x140u);
cocos2d::CCProgressTimer::CCProgressTimer(v2);
if ( cocos2d::CCProgressTimer::initWithSprite(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~CCProgressTimer_0(v4);
}
return v2;
}