//
// cocos2d::CCProgressTimer::setType from 0xaf8270 to 0xaf82b4 (68 bytes)
//
// 8 xrefs:
// > CCCountdown::init @ 0x574300
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xaf0934
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xaf0a2c
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xaf0b28
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xaf0c5c
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xaf0d90
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xaf0ec0
// > ??> @ 0x35538
//
// 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; // x0
if ( a1->m_eType != a2 )
{
m_pVertexData = a1->m_pVertexData;
if ( m_pVertexData )
{
free(m_pVertexData);
a1->m_pVertexData = nullptr;
a1->m_nVertexDataCount = 0;
}
a1->m_eType = a2;
}
}