//
// cocos2d::CCProgressTimer::create from 0xd6a2ec to 0xd6a35c (112 bytes)
//
// 10 xrefs:
// > CCCountdown::init @ 0x68f7e8
// > LevelInfoLayer::onPlay @ 0x7e7fd8
// > cocos2d::extension::CCControlPotentiometer::create @ 0xd152c8
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xd62678
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xd62770
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xd6286c
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xd629a0
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xd62ad4
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xd62c04
// > ??> @ 0x4f630
//
// This function is hookable on this platform (idp: arm, 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 13:07:56 +0000
//
cocos2d::CCProgressTimer *__fastcall cocos2d::CCProgressTimer::create(
cocos2d::CCProgressTimer *this,
cocos2d::CCSprite *a2)
{
cocos2d::CCProgressTimer *v2; // x19
v2 = (cocos2d::CCProgressTimer *)operator new(0x190u);
cocos2d::CCProgressTimer::CCProgressTimer(v2);
if ( (unsigned __int8)cocos2d::CCProgressTimer::initWithSprite(v2, this) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCProgressTimer *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}