//
// cocos2d::CCGridBase::beforeDraw from 0x1003e0be8 to 0x1003e0c1c (52 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::visit @ 0x10026f878
// > cocos2d::CCNode::visit @ 0x1002d8ef8
// > ShaderLayer::visit @ 0x1003110a4
// > cocos2d::CCRenderTexture::visit @ 0x100467824
//
// This function is hookable on this platform (idp: arm, 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:04:22 +0000
//
void __fastcall cocos2d::CCGridBase::beforeDraw(__int64 a1)
{
*(_DWORD *)(a1 + 112) = *(_DWORD *)(cocos2d::CCDirector::sharedDirector() + 316);
cocos2d::CCGridBase::set2DProjection();
cocos2d::CCGrabber::beforeRender(*(_QWORD *)(a1 + 88));
}