//
// cocos2d::CCGridBase::beforeDraw from 0x7ce684 to 0x7ce6a4 (32 bytes)
//
// 6 xrefs:
// > ShaderLayer::visit @ 0x685564
// > cocos2d::extension::CCScrollView::visit @ 0x7aeb04
// > cocos2d::CCNode::visit @ 0x7c4bd6
// > cocos2d::CCRenderTexture::visit @ 0x7e03ae
// > cocos2d::CCParticleBatchNode::visit @ 0x7e5934
// > cocos2d::CCSpriteBatchNode::visit @ 0x7f23a0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:33 +0000
//
void __fastcall cocos2d::CCGridBase::beforeDraw(cocos2d::CCGridBase *this)
{
*((_DWORD *)this + 23) = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(this) + 244);
cocos2d::CCGridBase::set2DProjection(this);
cocos2d::CCGrabber::beforeRender(*((cocos2d::CCGrabber **)this + 20), *((cocos2d::CCTexture2D **)this + 17));
}