//
// cocos2d::CCParticleSystem::dCCParticleSystem from 0x1008b03f0 to 0x1008b0461 (113 bytes)
//
// 6 xrefs:
// > ??> @ 0x1006da38d
// > ??> @ 0x1006da40d
// > cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad @ 0x1006da4b5
// > ??> @ 0x1006da5b7
// > ??> @ 0x1006da69b
// > ??> @ 0x1006db952
//
// 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:37:20 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::dCCParticleSystem(__int64 a1)
{
void *v2; // rdi
_DWORD *v3; // rdi
*(_QWORD *)a1 = off_100BAC648;
*(_QWORD *)(a1 + 320) = off_100BACCC8;
v2 = *(void **)(a1 + 416);
if ( v2 )
{
free(v2);
*(_QWORD *)(a1 + 416) = 0;
}
v3 = *(_DWORD **)(a1 + 664);
if ( v3 )
cocos2d::CCObject::release(v3);
if ( (*(_BYTE *)(a1 + 328) & 1) != 0 )
operator delete(*(void **)(a1 + 344));
return cocos2d::CCNode::dCCNode(a1);
}