//
// sub_1800224B0 from 0x1800224b0 to 0x180022508 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x1800ed1e0
// > ??> @ 0x1801b8fa4
//
// This function is hookable on this platform (idp: pc, 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 11:21:28 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall sub_1800224B0(cocos2d::CCObject *this, char a2)
{
*(_QWORD *)this = &cocos2d::CCGrabber::`vftable';
_glewDeleteFramebuffers(1, (char *)this + 56);
cocos2d::CCObject::~CCObject(this);
if ( (a2 & 1) != 0 )
j_j_free_0(this);
return this;
}