//
// cocos2d::CCParticleSystem::addParticle from 0x1007c8ce0 to 0x1007c8d2a (74 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCParticleSystem::addParticle(cocos2d::CCParticleSystem *a1)
{
__int64 m_uParticleCount; // r14
unsigned int m_uTotalParticles; // r15d
m_uParticleCount = a1->m_uParticleCount;
m_uTotalParticles = a1->m_uTotalParticles;
if ( (_DWORD)m_uParticleCount != m_uTotalParticles )
{
cocos2d::CCParticleSystem::initParticle(
a1,
(cocos2d::sCCParticle *)((char *)a1->m_pParticles + 148 * m_uParticleCount));
++a1->m_uParticleCount;
}
return (_DWORD)m_uParticleCount != m_uTotalParticles;
}