//
// cocos2d::CCProgressTimer::setType from 0x7df650 to 0x7df678 (40 bytes)
//
// 7 xrefs:
// > CCCountdown::init @ 0x3c5156
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x7db338
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x7db3ec
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x7db4a0
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x7db57c
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x7db654
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x7db72c
//
// 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
//
void __fastcall cocos2d::CCProgressTimer::setType(_DWORD *a1, int a2)
{
void *v4; // r0
if ( a2 != a1[70] )
{
v4 = (void *)a1[74];
if ( v4 )
{
free(v4);
a1[74] = 0;
a1[73] = 0;
}
a1[70] = a2;
}
}