//
// cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad from 0x1006da420 to 0x1006da4ba (154 bytes)
//
// 4 xrefs:
// > sub_10047B860 @ 0x10047b865
// > sub_10047B870 @ 0x10047b879
// > sub_1006DA4D0 @ 0x1006da4d5
// > sub_1006DA4E0 @ 0x1006da4e9
//
// This function is hookable on this platform (idp: pc, 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 12:35:42 +0000
//
__int64 __fastcall cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad(__int64 a1)
{
void *v2; // rdi
void *v3; // rdi
*(_QWORD *)a1 = off_100B91928;
*(_QWORD *)(a1 + 320) = off_100B91FA8;
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));
glDeleteVertexArraysAPPLE(1, (const GLuint *)(a1 + 800));
cocos2d::ccGLBindVAO(0);
}
return cocos2d::CCParticleSystem::dCCParticleSystem(a1);
}