//
// cocos2d::CCMotionStreak::~CCMotionStreak from 0x18005c9d0 to 0x18005caa5 (213 bytes)
//
// 4 xrefs:
// > sub_18005CAB0 @ 0x18005cb0e
// > sub_18005CAB0 @ 0x18005cacc
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b30d8
//
// 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::CCMotionStreak::~CCMotionStreak(cocos2d::CCMotionStreak *this)
{
cocos2d::CCTexture2D *m_pTexture; // rcx
float *m_pPointState; // rcx
cocos2d::CCPoint *m_pPointVertexes; // rcx
cocos2d::ccVertex2F *m_pVertices; // rcx
GLubyte *m_pColorPointer; // rcx
cocos2d::ccTex2F *m_pTexCoords; // rcx
this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMotionStreak_vtbl *)&cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCRGBAProtocol'};
this->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCMotionStreak::`vftable';
m_pTexture = this->m_pTexture;
if ( m_pTexture )
cocos2d::CCObject::release(m_pTexture);
m_pPointState = this->m_pPointState;
if ( m_pPointState )
{
free(m_pPointState);
this->m_pPointState = nullptr;
}
m_pPointVertexes = this->m_pPointVertexes;
if ( m_pPointVertexes )
{
free(m_pPointVertexes);
this->m_pPointVertexes = nullptr;
}
m_pVertices = this->m_pVertices;
if ( m_pVertices )
{
free(m_pVertices);
this->m_pVertices = nullptr;
}
m_pColorPointer = this->m_pColorPointer;
if ( m_pColorPointer )
{
free(m_pColorPointer);
this->m_pColorPointer = nullptr;
}
m_pTexCoords = this->m_pTexCoords;
if ( m_pTexCoords )
{
free(m_pTexCoords);
this->m_pTexCoords = nullptr;
}
cocos2d::CCNodeRGBA::~CCNodeRGBA(this);
}