//
// cocos2d::ccGLInvalidateStateCache from 0x180088290 to 0x18008833d (173 bytes)
//
// 3 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x1800bef58
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b58c8
//
// 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 cocos2d::ccGLInvalidateStateCache(cocos2d *this)
{
kmGLFreeAll(this);
dword_1801A2FE0 = -1;
byte_1801A87A4 = 0;
byte_1801A87A5 = 0;
byte_1801A87A6 = 0;
dword_1801A2FE4 = -1;
qword_1801A2FF0 = -1;
qword_1801A2FF8 = -1;
qword_1801A3000 = -1;
qword_1801A3008 = -1;
qword_1801A3010 = -1;
qword_1801A3018 = -1;
qword_1801A3020 = -1;
qword_1801A3028 = -1;
dword_1801A2FE8 = -1;
dword_1801A2FEC = -1;
dword_1801A87A8 = 0;
}