//
// cocos2d::CCParticleSystem::setBatchNode from 0x180069070 to 0x1800690c0 (80 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab15
// > ??> @ 0x1800ff318
// > ??> @ 0x1801438a8
//
// 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
//
void __fastcall cocos2d::CCParticleSystem::setBatchNode(
cocos2d::CCParticleSystem *this,
struct cocos2d::CCParticleBatchNode *a2)
{
unsigned int i; // eax
if ( this->m_pBatchNode != a2 )
{
this->m_pBatchNode = a2;
if ( a2 )
{
for ( i = 0; i < this->m_uTotalParticles; ++i )
*((_DWORD *)&this->m_pParticles->modeA.dir.x + 37 * i) = i;
}
}
}