//
// cocos2d::CCParticleSystem::addParticle from 0x100227ad8 to 0x100227b30 (88 bytes)
//
// 1 xrefs:
// > cocos2d::CCParticleSystem::update @ 0x100228934
//
// 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
//
bool __fastcall cocos2d::CCParticleSystem::addParticle(__int64 a1)
{
int v1; // w20
int v2; // w21
v1 = *(_DWORD *)(a1 + 456);
v2 = *(_DWORD *)(a1 + 660);
if ( v1 != v2 )
{
cocos2d::CCParticleSystem::initParticle();
++*(_DWORD *)(a1 + 456);
}
return v1 != v2;
}