// // cocos2d::CCParticleSystem::~CCParticleSystem from 0x180065620 to 0x1800656dd (189 bytes) // // 7 xrefs: // > sub_180065850 @ 0x1800658ae // > cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad @ 0x18006a2c2 // > sub_1800E26B0 @ 0x1800e26b7 // > sub_180065850 @ 0x18006586c // > @ 0x18013a027 // > @ 0x1801438a8 // > @ 0x1801b3b58 // // 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::CCParticleSystem::~CCParticleSystem(cocos2d::CCParticleSystem *this) { cocos2d::tCCParticle *m_pParticles; // rcx cocos2d::CCTexture2D *m_pTexture; // rcx std::size_t m_capacity; // rdx char *m_bigStorage; // rcx this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCParticleSystem_vtbl *)&cocos2d::CCParticleSystem::`vftable'{for `cocos2d::CCNode'}; this->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCParticleSystem::`vftable'{for `cocos2d::CCTextureProtocol'}; m_pParticles = this->m_pParticles; if ( m_pParticles ) { free(m_pParticles); this->m_pParticles = nullptr; } m_pTexture = this->m_pTexture; if ( m_pTexture ) cocos2d::CCObject::release(m_pTexture); m_capacity = this->m_sPlistFile.m_data.m_capacity; if ( m_capacity > 0xF ) { m_bigStorage = this->m_sPlistFile.m_data.m_bigStorage; if ( m_capacity + 1 >= 0x1000 ) { if ( (unsigned __int64)&m_bigStorage[-*((_QWORD *)m_bigStorage - 1) - 8] > 0x1F ) invalid_parameter_noinfo_noreturn(); m_bigStorage = *((char **)m_bigStorage - 1); } j_j_free_0(m_bigStorage); } this->m_sPlistFile.m_data.m_size = 0; this->m_sPlistFile.m_data.m_capacity = 15; this->m_sPlistFile.m_data.m_smallStorage._Elems[0] = 0; cocos2d::CCNode::~CCNode(this); }