//
// cocos2d::CCParticleBatchNode::visit from 0x1003b2080 to 0x1003b20f0 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b376f8
//
// 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 12:29:26 +0000
//
__int64 __fastcall cocos2d::CCParticleBatchNode::visit(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rdi
__int64 result; // rax
if ( *(_BYTE *)(a1 + 286) == 1 )
{
kmGLPushMatrix();
v2 = *(_QWORD *)(a1 + 200);
if ( v2 && *(_BYTE *)(v2 + 56) == 1 )
{
cocos2d::CCGridBase::beforeDraw(v2);
cocos2d::CCNode::transformAncestors(a1);
}
cocos2d::CCNode::transform(a1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 744LL))(a1);
v3 = *(_QWORD *)(a1 + 200);
if ( v3 )
{
if ( *(_BYTE *)(v3 + 56) == 1 )
cocos2d::CCGridBase::afterDraw(v3, a1);
}
return kmGLPopMatrix(v3);
}
return result;
}