//
// cocos2d::CCParticleBatchNode::visit from 0x7e58f6 to 0x7e594a (84 bytes)
//
// 0 xrefs:
//
// 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:53 +0000
//
cocos2d::CCNode *__fastcall cocos2d::CCParticleBatchNode::visit(cocos2d::CCNode *this)
{
cocos2d::CCNode *v1; // r4
cocos2d::CCGridBase *v2; // r0
int v3; // r2
unsigned __int8 *v4; // r0
v1 = this;
if ( *((_BYTE *)this + 238) )
{
kmGLPushMatrix();
v2 = *((cocos2d::CCGridBase **)v1 + 47);
if ( v2 && *((_BYTE *)v2 + 52) )
{
cocos2d::CCGridBase::beforeDraw(v2);
cocos2d::CCNode::transformAncestors(v1);
}
cocos2d::CCNode::transform(v1);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v1 + 372))(v1);
v4 = *((unsigned __int8 **)v1 + 47);
if ( v4 )
{
if ( v4[52] )
cocos2d::CCGridBase::afterDraw((cocos2d::CCGridBase *)v4, v1, v3, v4[52]);
}
return (cocos2d::CCNode *)kmGLPopMatrix();
}
return this;
}