//
// cocos2d::CCGrabber::beforeRender from 0x10004793c to 0x100047994 (88 bytes)
//
// 1 xrefs:
// > cocos2d::CCGridBase::beforeDraw @ 0x1003e0c18
//
// 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 10:57:39 +0000
//
void __fastcall cocos2d::CCGrabber::beforeRender(__int64 a1)
{
glGetIntegerv(0x8CA6u, (GLint *)(a1 + 60));
glBindFramebuffer(0x8D40u, *(_DWORD *)(a1 + 56));
glGetFloatv(0xC22u, (GLfloat *)(a1 + 64));
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(0x4100u);
}