//
// cocos2d::CCParticleSystem::addParticle from 0x1008b0580 to 0x1008b05ca (74 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall cocos2d::CCParticleSystem::addParticle(__int64 a1)
{
__int64 v1; // r14
int v2; // r15d
v1 = *(unsigned int *)(a1 + 456);
v2 = *(_DWORD *)(a1 + 660);
if ( (_DWORD)v1 != v2 )
{
cocos2d::CCParticleSystem::initParticle(a1, *(_QWORD *)(a1 + 416) + 148 * v1);
++*(_DWORD *)(a1 + 456);
}
return (_DWORD)v1 != v2;
}