//
// sub_180021F50 from 0x180021f50 to 0x180021f95 (69 bytes)
//
// 2 xrefs:
// > cocos2d::CCGridBase::initWithSize @ 0x18002367d
// > ??> @ 0x1801aeeb4
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall sub_180021F50(__int64 a1)
{
cocos2d::CCObject::CCObject((cocos2d::CCObject *)a1);
*(_QWORD *)a1 = &cocos2d::CCGrabber::`vftable';
*(_DWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 60) = 0;
*(_OWORD *)(a1 + 64) = 0;
_glewGenFramebuffers(1);
return a1;
}