//
// sub_180022040 from 0x180022040 to 0x18002209b (91 bytes)
//
// 2 xrefs:
// > cocos2d::CCGridBase::beforeDraw @ 0x1800226bc
// > ??> @ 0x1801aeed8
//
// 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 __fastcall sub_180022040(__int64 a1)
{
glGetIntegerv(0x8CA6u, (GLint *)(a1 + 60));
_glewBindFramebuffer(36160, *(unsigned int *)(a1 + 56));
glGetFloatv(0xC22u, (GLfloat *)(a1 + 64));
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(0x4100u);
}