//
// cocos2d::CCParticleSystem::setBatchNode from 0x7e2f8e to 0x7e2fba (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x7e6a4a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:51 +0000
//
_DWORD *__fastcall cocos2d::CCParticleSystem::setBatchNode(_DWORD *result, int a2)
{
unsigned int i; // r3
if ( result[89] != a2 )
{
result[89] = a2;
if ( a2 )
{
for ( i = 0; i < result[145]; ++i )
*(_DWORD *)(result[86] + 148 * i + 72) = i;
}
}
return result;
}