//
// cocos2d::CCProgressTimer::setType from 0x5d72a0 to 0x5d72c8 (40 bytes)
//
// 7 xrefs:
// > CCCountdown::init @ 0x2e5416
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x5d31a8
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x5d325c
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x5d3310
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x5d33ec
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x5d34c4
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x5d359c
//
// 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
//
void cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimer *a1, cocos2d::CCProgressTimerType a2)
{
cocos2d::ccV2F_C4B_T2F *m_pVertexData; // r0
if ( a2 != a1->m_eType )
{
m_pVertexData = a1->m_pVertexData;
if ( m_pVertexData )
{
free(m_pVertexData);
a1->m_pVertexData = nullptr;
a1->m_nVertexDataCount = 0;
}
a1->m_eType = a2;
}
}