//
// cocos2d::CCRenderTexture::visit from 0x1005f5ff0 to 0x1005f6077 (135 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097bdf8
//
// 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 *a1)
{
cocos2d::CCGridBase *m_pGrid; // rdi
cocos2d::CCGridBase *v3; // rdi
if ( a1->m_bVisible )
{
sub_100207E70();
m_pGrid = a1->m_pGrid;
if ( m_pGrid && m_pGrid->m_bActive )
{
cocos2d::CCGridBase::beforeDraw(m_pGrid);
cocos2d::CCNode::transformAncestors(a1);
}
cocos2d::CCNode::transform(a1);
((void (__fastcall *)(cocos2d::CCSprite *))a1->m_pSprite->visit)(a1->m_pSprite);
((void (__fastcall *)(cocos2d::CCRenderTexture *))a1->draw)(a1);
v3 = a1->m_pGrid;
if ( v3 )
{
if ( v3->m_bActive )
cocos2d::CCGridBase::afterDraw(v3, a1);
}
sub_100207EB0((__int64)v3);
a1->m_uOrderOfArrival = 0;
}
}