//
// cocos2d::CCParticleSystem::dCCParticleSystem from 0x100227a5c to 0x100227abc (96 bytes)
//
// 4 xrefs:
// > j_cocos2d::CCParticleSystem::dCCParticleSystem @ 0x100227ac0
// > sub_100227AC4 @ 0x100227acc
// > sub_1002F0790 @ 0x1002f0798
// > cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad @ 0x1002f081c
//
// 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:01:11 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::dCCParticleSystem(__int64 a1)
{
void *v2; // x0
_DWORD *v3; // x0
*(_QWORD *)a1 = off_1008FEA20;
*(_QWORD *)(a1 + 320) = off_1008FF0A0;
v2 = *(void **)(a1 + 416);
if ( v2 )
{
free(v2);
*(_QWORD *)(a1 + 416) = 0;
}
v3 = *(_DWORD **)(a1 + 664);
if ( v3 )
cocos2d::CCObject::release(v3);
if ( *(char *)(a1 + 351) < 0 )
operator delete(*(void **)(a1 + 328));
return cocos2d::CCNode::dCCNode(a1);
}