//
// cocos2d::CCGrabber::grab from 0x5c6884 to 0x5c68d6 (82 bytes)
//
// 1 xrefs:
// > cocos2d::CCGridBase::initWithSize @ 0x5c7156
//
// 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::grab(cocos2d::CCGrabber *a1, cocos2d::CCTexture2D *a2)
{
glGetIntegerv(0x8CA6u, &a1->m_oldFBO);
glBindFramebuffer();
a2->getName(a2);
glFramebufferTexture2D();
glCheckFramebufferStatus();
j_glBindFramebuffer();
}