//
// cocos2d::CCGridBase::beforeDraw from 0x180022690 to 0x1800226c1 (49 bytes)
//
// 6 xrefs:
// > cocos2d::CCNode::visit @ 0x1800057d2
// > cocos2d::CCRenderTexture::visit @ 0x1800607c9
// > cocos2d::CCParticleBatchNode::visit @ 0x180061ee9
// > cocos2d::CCSpriteBatchNode::visit @ 0x18008f5ca
// > ??> @ 0x1801438a8
// > ??> @ 0x1801aef68
//
// 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 *this)
{
this->m_directorProjection = cocos2d::CCDirector::sharedDirector()->m_eProjection;
cocos2d::CCGridBase::set2DProjection(this);
sub_180022040((__int64)this->m_pGrabber);
}