//
// cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad from 0x7e5fb8 to 0x7e6016 (94 bytes)
//
// 12 xrefs:
// > cocos2d::CCParticleRain::~CCParticleRain @ 0x7e2408
// > cocos2d::CCParticleSnow::~CCParticleSnow @ 0x7e2440
// > cocos2d::CCParticleSmoke::~CCParticleSmoke @ 0x7e2478
// > cocos2d::CCParticleExplosion::~CCParticleExplosion @ 0x7e24b0
// > cocos2d::CCParticleSpiral::~CCParticleSpiral @ 0x7e24e8
// > cocos2d::CCParticleMeteor::~CCParticleMeteor @ 0x7e2520
// > cocos2d::CCParticleFlower::~CCParticleFlower @ 0x7e2558
// > cocos2d::CCParticleGalaxy::~CCParticleGalaxy @ 0x7e2590
// > cocos2d::CCParticleSun::~CCParticleSun @ 0x7e25c8
// > cocos2d::CCParticleFireworks::~CCParticleFireworks @ 0x7e2600
// > cocos2d::CCParticleFire::~CCParticleFire @ 0x7e2638
// > cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad @ 0x7e6024
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:53 +0000
//
// Alternative name is '_ZN7cocos2d20CCParticleSystemQuadD1Ev'
void __fastcall cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad(cocos2d::CCParticleSystemQuad *this)
{
cocos2d::CCParticleSystemQuad *v1; // r4
int v2; // r5
void *v3; // r0
void *v4; // r0
cocos2d::CCNotificationCenter *v5; // r0
v1 = this;
v2 = *((_DWORD *)this + 89);
*(_DWORD *)this = &off_D10658;
*((_DWORD *)this + 66) = &off_D10998;
if ( !v2 )
{
v3 = *((void **)this + 175);
if ( v3 )
{
free(v3);
*((_DWORD *)v1 + 175) = 0;
}
v4 = *((void **)v1 + 176);
if ( v4 )
{
free(v4);
*((_DWORD *)v1 + 176) = 0;
}
this = (cocos2d::CCParticleSystemQuad *)glDeleteBuffers();
}
v5 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(this);
cocos2d::CCNotificationCenter::removeObserver(v5, v1, "event_come_to_foreground");
cocos2d::CCParticleSystem::~CCParticleSystem(v1);
}