//
// cocos2d::CCGrabber::grab from 0x7cdb94 to 0x7cdbe6 (82 bytes)
//
// 1 xrefs:
// > cocos2d::CCGridBase::initWithSize @ 0x7ce466
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:32 +0000
//
int __fastcall cocos2d::CCGrabber::grab(GLint *this, cocos2d::CCTexture2D *a2)
{
glGetIntegerv(0x8CA6u, this + 14);
glBindFramebuffer();
(*(void (__fastcall **)(cocos2d::CCTexture2D *))(*(_DWORD *)a2 + 52))(a2);
glFramebufferTexture2D();
glCheckFramebufferStatus();
return j_glBindFramebuffer();
}