//
// cocos2d::CCParticleSystem::setBatchNode from 0x18006b1f0 to 0x18006b240 (80 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ccd5
// > ??> @ 0x180105780
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:54 +0000
//
void __fastcall cocos2d::CCParticleSystem::setBatchNode(
cocos2d::CCParticleSystem *this,
struct cocos2d::CCParticleBatchNode *a2)
{
unsigned int i; // eax
if ( *((struct cocos2d::CCParticleBatchNode **)this + 55) != a2 )
{
*((_QWORD *)this + 55) = a2;
if ( a2 )
{
for ( i = 0; i < *((_DWORD *)this + 167); ++i )
*(_DWORD *)(148LL * i + *((_QWORD *)this + 53) + 72) = i;
}
}
}