//
// cocos2d::CCParticleSystem::addParticle from 0xd6f8f8 to 0xd6f950 (88 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystem::update @ 0xd6fe80
// > ??> @ 0x619a8
//
// 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 13:07:59 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::addParticle(cocos2d::CCParticleSystem *this)
{
_BOOL4 isFull; // w1
__int64 result; // x0
isFull = cocos2d::CCParticleSystem::isFull(this);
result = 0;
if ( !isFull )
{
cocos2d::CCParticleSystem::initParticle(
(__int64)this,
*((_QWORD *)this + 52) + 148LL * *((unsigned int *)this + 114));
++*((_DWORD *)this + 114);
return 1;
}
return result;
}