//
// cocos2d::CCProgressTimer::create from 0x7e0208 to 0x7e023c (52 bytes)
//
// 9 xrefs:
// > CCCountdown::init @ 0x3c514c
// > LevelInfoLayer::onPlay @ 0x49ba02
// > cocos2d::extension::CCControlPotentiometer::create @ 0x7acd06
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x7db324
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x7db3d8
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x7db48c
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x7db568
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x7db640
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x7db718
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:48 +0000
//
cocos2d::CCProgressTimer *__fastcall cocos2d::CCProgressTimer::create(
cocos2d::CCProgressTimer *this,
cocos2d::CCSprite *a2)
{
cocos2d::CCProgressTimer *v3; // r4
int v4; // r2
float v5; // r3
int v6; // r3
cocos2d::CCProgressTimer *v7; // r0
v3 = (cocos2d::CCProgressTimer *)operator new(0x140u);
cocos2d::CCProgressTimer::CCProgressTimer(v3);
if ( cocos2d::CCProgressTimer::initWithSprite(v3, this, v4, v5) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v6 = *(_DWORD *)v3;
v7 = v3;
v3 = nullptr;
(*(void (__fastcall **)(cocos2d::CCProgressTimer *))(v6 + 8))(v7);
}
return v3;
}