//
// cocos2d::CCGrabber::grab from 0xd4de58 to 0xd4dec8 (112 bytes)
//
// 2 xrefs:
// > cocos2d::CCGridBase::initWithSize @ 0xd4eb80
// > ??> @ 0x69118
//
// 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 13:07:39 +0000
//
__int64 __fastcall cocos2d::CCGrabber::grab(cocos2d::CCGrabber *this, cocos2d::CCTexture2D *a2)
{
glGetIntegerv();
glBindFramebuffer();
(*(void (__fastcall **)(cocos2d::CCTexture2D *))(*(_QWORD *)a2 + 104LL))(a2);
glFramebufferTexture2D();
glCheckFramebufferStatus();
return glBindFramebuffer();
}