// // cocos2d::CCProgressTimer::setType from 0x18005e1c0 to 0x18005e209 (73 bytes) // // 8 xrefs: // > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800577b1 // > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578c1 // > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579d1 // > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ade // > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057bae // > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c81 // > @ 0x1801438a8 // > @ 0x1801b3288 // // 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 // __int64 __fastcall cocos2d::CCProgressTimer::setType( cocos2d::CCProgressTimer *this, enum cocos2d::CCProgressTimerType a2) { cocos2d::ccV2F_C4B_T2F *m_pVertexData; // rcx __int64 result; // rax if ( a2 != this->m_eType ) { m_pVertexData = this->m_pVertexData; if ( m_pVertexData ) { free(m_pVertexData); result = 0; this->m_pVertexData = nullptr; this->m_nVertexDataCount = 0; } this->m_eType = a2; } return result; }