//
// cocos2d::CCGridBase::beforeDraw from 0x1004e3a10 to 0x1004e3a3f (47 bytes)
//
// 6 xrefs:
// > cocos2d::CCSpriteBatchNode::visit @ 0x10017686a
// > cocos2d::CCNode::visit @ 0x1002739c1
// > cocos2d::CCParticleBatchNode::visit @ 0x1003c8bd9
// > ShaderLayer::visit @ 0x1003d1c83
// > cocos2d::extension::CCScrollView::visit @ 0x1003f8a16
// > cocos2d::CCRenderTexture::visit @ 0x1005f6019
//
// 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::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);
}