//
// cocos2d::CCProgressTimer::setType from 0xd69330 to 0xd69374 (68 bytes)
//
// 8 xrefs:
// > CCCountdown::init @ 0x68f7f4
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xd62694
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xd6278c
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xd62888
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xd629bc
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xd62af0
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xd62c20
// > ??> @ 0x4e538
//
// 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:55 +0000
//
void __fastcall cocos2d::CCProgressTimer::setType(__int64 a1, int a2)
{
void *v3; // x0
if ( *(_DWORD *)(a1 + 340) != a2 )
{
v3 = *(void **)(a1 + 368);
if ( v3 )
{
free(v3);
*(_QWORD *)(a1 + 368) = 0;
*(_DWORD *)(a1 + 360) = 0;
}
*(_DWORD *)(a1 + 340) = a2;
}
}