//
// cocos2d::CCSpriteBatchNode::visit from 0x5e7aac to 0x5e7b16 (106 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCSpriteBatchNode::visit(cocos2d::CCSpriteBatchNode *a1)
{
cocos2d::CCGridBase *m_pGrid; // r0
cocos2d::CCGridBase *v3; // r0
if ( a1->m_pobTextureAtlas->getTotalQuads(a1->m_pobTextureAtlas) && a1->m_bVisible )
{
kmGLPushMatrix();
m_pGrid = a1->m_pGrid;
if ( m_pGrid && m_pGrid->m_bActive )
{
cocos2d::CCGridBase::beforeDraw(m_pGrid);
cocos2d::CCNode::transformAncestors(a1);
}
a1->sortAllChildren(a1);
cocos2d::CCNode::transform(a1);
a1->draw(a1);
v3 = a1->m_pGrid;
if ( v3 )
{
if ( v3->m_bActive )
cocos2d::CCGridBase::afterDraw(v3, a1);
}
kmGLPopMatrix();
}
}