//
// cocos2d::CCGrabber::beforeRender from 0x180022550 to 0x1800225af (95 bytes)
//
// 2 xrefs:
// > cocos2d::CCGridBase::beforeDraw @ 0x180022bec
// > ??> @ 0x1801b8fbc
//
// 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::CCGrabber::beforeRender(__int64 a1)
{
glGetIntegerv(0x8CA6u, (GLint *)(a1 + 60));
_glewBindFramebuffer(36160, *(unsigned int *)(a1 + 56));
glGetFloatv(0xC22u, (GLfloat *)(a1 + 64));
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(0x4100u);
}