//
// cocos2d::CCProgressTimer::setReverseProgress from 0x18005e0e0 to 0x18005e124 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3258
//
// 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::setReverseProgress(cocos2d::CCProgressTimer *this, bool a2)
{
cocos2d::ccV2F_C4B_T2F *m_pVertexData; // rcx
if ( this->m_bReverseDirection != a2 )
{
this->m_bReverseDirection = a2;
m_pVertexData = this->m_pVertexData;
if ( m_pVertexData )
{
free(m_pVertexData);
this->m_pVertexData = nullptr;
}
this->m_nVertexDataCount = 0;
}
}