//
// cocos2d::CCProgressTimer::create from 0xaf9230 to 0xaf92a0 (112 bytes)
//
// 10 xrefs:
// > CCCountdown::init @ 0x5742f4
// > LevelInfoLayer::onPlay @ 0x6d8ea0
// > cocos2d::extension::CCControlPotentiometer::create @ 0xaa3868
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xaf0918
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xaf0a10
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xaf0b0c
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xaf0c40
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xaf0d74
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xaf0ea4
// > ??> @ 0x36348
//
// 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 *v1; // x19
v1 = (cocos2d::CCProgressTimer *)operator new(0x190u);
cocos2d::CCProgressTimer::CCProgressTimer(v1);
if ( cocos2d::CCProgressTimer::initWithSprite(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
v1->~CCProgressTimer_0(v1);
return nullptr;
}
}