//
// cocos2d::CCParticleBatchNode::visit from 0xd724e0 to 0xd72564 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x7cb88
// > ??> @ 0x152cf80
//
// This function is hookable on this platform (idp: arm, 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 13:08:01 +0000
//
cocos2d::CCNode *__fastcall cocos2d::CCParticleBatchNode::visit(cocos2d::CCNode *this)
{
cocos2d::CCNode *v1; // x19
cocos2d::CCGridBase *v2; // x0
cocos2d::CCGridBase *v3; // x0
if ( *((_BYTE *)this + 286) )
{
v1 = this;
kmGLPushMatrix();
v2 = *((cocos2d::CCGridBase **)v1 + 25);
if ( v2 && *((_BYTE *)v2 + 56) )
{
cocos2d::CCGridBase::beforeDraw(v2);
cocos2d::CCNode::transformAncestors((__int64)v1);
}
cocos2d::CCNode::transform(v1);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v1 + 744LL))(v1);
v3 = *((cocos2d::CCGridBase **)v1 + 25);
if ( v3 )
{
if ( *((_BYTE *)v3 + 56) )
cocos2d::CCGridBase::afterDraw(v3, v1);
}
return (cocos2d::CCNode *)kmGLPopMatrix();
}
return this;
}