//
// cocos2d::CCGridBase::beforeDraw from 0xadc304 to 0xadc33c (56 bytes)
//
// 7 xrefs:
// > ShaderLayer::visit @ 0x9f7c04
// > cocos2d::extension::CCScrollView::visit @ 0xaa648c
// > cocos2d::CCNode::visit @ 0xacced4
// > cocos2d::CCRenderTexture::visit @ 0xaf94d8
// > cocos2d::CCParticleBatchNode::visit @ 0xb01fbc
// > cocos2d::CCSpriteBatchNode::visit @ 0xb171b8
// > ??> @ 0x660c0
//
// 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);
}