//
// cocos2d::CCParticleSystem::addParticle from 0xafead8 to 0xafeb30 (88 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystem::update @ 0xaff0b8
// > ??> @ 0x44928
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool cocos2d::CCParticleSystem::addParticle(cocos2d::CCParticleSystem *a1)
{
_BOOL4 isFull; // w1
bool result; // w0
isFull = cocos2d::CCParticleSystem::isFull(a1);
result = 0;
if ( !isFull )
{
cocos2d::CCParticleSystem::initParticle(
a1,
(cocos2d::sCCParticle *)((char *)a1->m_pParticles + 148 * a1->m_uParticleCount));
++a1->m_uParticleCount;
return 1;
}
return result;
}