//
// cocos2d::CCSpriteBatchNode::visit from 0x7f234c to 0x7f23b6 (106 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:01:05 +0000
//
_DWORD *__fastcall cocos2d::CCSpriteBatchNode::visit(cocos2d::CCSpriteBatchNode *this)
{
_DWORD *result; // r0
cocos2d::CCGridBase *v3; // r0
int v4; // r2
unsigned __int8 *v5; // r0
result = (_DWORD *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67));
if ( result && *((_BYTE *)this + 238) )
{
kmGLPushMatrix();
v3 = *((cocos2d::CCGridBase **)this + 47);
if ( v3 && *((_BYTE *)v3 + 52) )
{
cocos2d::CCGridBase::beforeDraw(v3);
cocos2d::CCNode::transformAncestors(this);
}
(*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_DWORD *)this + 300))(this);
cocos2d::CCNode::transform(this);
(*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_DWORD *)this + 372))(this);
v5 = *((unsigned __int8 **)this + 47);
if ( v5 )
{
if ( v5[52] )
cocos2d::CCGridBase::afterDraw((cocos2d::CCGridBase *)v5, this, v4, v5[52]);
}
return kmGLPopMatrix();
}
return result;
}