//
// cocos2d::CCGrabber::beforeRender from 0x5c68d6 to 0x5c6914 (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCGridBase::beforeDraw @ 0x5c7390
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCGrabber::beforeRender(cocos2d::CCGrabber *a1, cocos2d::CCTexture2D *a2)
{
glGetIntegerv(0x8CA6u, &a1->m_oldFBO);
glBindFramebuffer();
glGetFloatv(0xC22u, a1->m_oldClearColor);
glClearColor(0.0, 0.0, 0.0, 0.0);
j_glClear(0x4100u);
}