//
// cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad from 0x1002f07a4 to 0x1002f0820 (124 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad @ 0x1002f0824
// > sub_1002F0828 @ 0x1002f0830
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:02:55 +0000
//
__int64 __fastcall cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad(__int64 a1)
{
void *v2; // x0
void *v3; // x0
*(_QWORD *)a1 = off_100927C80;
*(_QWORD *)(a1 + 320) = off_100928300;
if ( !*(_QWORD *)(a1 + 432) )
{
v2 = *(void **)(a1 + 784);
if ( v2 )
{
free(v2);
*(_QWORD *)(a1 + 784) = 0;
}
v3 = *(void **)(a1 + 792);
if ( v3 )
{
free(v3);
*(_QWORD *)(a1 + 792) = 0;
}
glDeleteBuffers(2, (const GLuint *)(a1 + 804));
glDeleteVertexArraysOES(1, a1 + 800);
cocos2d::ccGLBindVAO(0);
}
return cocos2d::CCParticleSystem::dCCParticleSystem(a1);
}