//
// cocos2d::CCGridBase::beforeDraw from 0x180022bc0 to 0x180022bf1 (49 bytes)
//
// 6 xrefs:
// > cocos2d::CCNode::visit @ 0x1800058d2
// > cocos2d::CCRenderTexture::visit @ 0x180062a09
// > cocos2d::CCParticleBatchNode::visit @ 0x180064309
// > cocos2d::CCSpriteBatchNode::visit @ 0x18009280a
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b904c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:28 +0000
//
void __fastcall cocos2d::CCGridBase::beforeDraw(cocos2d::CCGridBase *this)
{
*((_DWORD *)this + 28) = *((_DWORD *)cocos2d::CCDirector::sharedDirector() + 79);
cocos2d::CCGridBase::set2DProjection(this);
cocos2d::CCGrabber::beforeRender(*((_QWORD *)this + 11));
}