//
// cocos2d::CCGridBase::beforeDraw from 0x5c7374 to 0x5c7394 (32 bytes)
//
// 6 xrefs:
// > ShaderLayer::visit @ 0x54f234
// > cocos2d::extension::CCScrollView::visit @ 0x5a8e14
// > cocos2d::CCNode::visit @ 0x5be196
// > cocos2d::CCRenderTexture::visit @ 0x5d8002
// > cocos2d::CCParticleBatchNode::visit @ 0x5dd174
// > cocos2d::CCSpriteBatchNode::visit @ 0x5e7b00
//
// 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::CCGridBase::beforeDraw(cocos2d::CCGridBase *a1)
{
a1->m_directorProjection = cocos2d::CCDirector::sharedDirector()->m_eProjection;
cocos2d::CCGridBase::set2DProjection(a1);
cocos2d::CCGrabber::beforeRender(a1->m_pGrabber, a1->m_pTexture);
}