//
// cocos2d::CCRenderTexture::visit from 0x1800607a0 to 0x180060826 (134 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f9f38
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b348c
//
// 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 __fastcall cocos2d::CCRenderTexture::visit(cocos2d::CCRenderTexture *this)
{
cocos2d::CCGridBase *m_pGrid; // rcx
cocos2d::CCGridBase *v3; // rcx
if ( this->m_bVisible )
{
kmGLPushMatrix();
m_pGrid = this->m_pGrid;
if ( m_pGrid && m_pGrid->m_bActive )
{
cocos2d::CCGridBase::beforeDraw(m_pGrid);
cocos2d::CCNode::transformAncestors(this);
}
cocos2d::CCNode::transform(this);
((void (__fastcall *)(cocos2d::CCSprite *))this->m_pSprite->visit)(this->m_pSprite);
((void (__fastcall *)(cocos2d::CCRenderTexture *))this->draw)(this);
v3 = this->m_pGrid;
if ( v3 )
{
if ( v3->m_bActive )
cocos2d::CCGridBase::afterDraw(v3, this);
}
kmGLPopMatrix();
this->m_uOrderOfArrival = 0;
}
}