//
// cocos2d::CCProgressTimer::setType from 0x100604640 to 0x10060468f (79 bytes)
//
// 7 xrefs:
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x10028d6ec
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x10028d8fc
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x10028da6f
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x10028dc1f
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x10028de0f
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x10028dfbf
// > CCCountdown::init @ 0x1007c65ab
//
// 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 __fastcall cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimer *a1, cocos2d::CCProgressTimerType a2)
{
cocos2d::ccV2F_C4B_T2F *m_pVertexData; // rax
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;
}
}