//
// cocos2d::CCParticleSystem::setBatchNode from 0x5daad6 to 0x5dab02 (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x5de1fa
//
// 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 cocos2d::CCParticleSystem::setBatchNode(cocos2d::CCParticleSystem *a1, cocos2d::CCParticleBatchNode *a2)
{
unsigned int m_uTotalParticles; // r1
int i; // r3
if ( a1->m_pBatchNode != a2 )
{
a1->m_pBatchNode = a2;
if ( a2 )
{
m_uTotalParticles = a1->m_uTotalParticles;
for ( i = 0; i != m_uTotalParticles; ++i )
*((_DWORD *)&a1->m_pParticles->modeA.dir.x + 37 * i) = i;
}
}
}