//
// cocos2d::ccGLInvalidateStateCache from 0x5e4b48 to 0x5e4b86 (62 bytes)
//
// 2 xrefs:
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit @ 0x2bdb52
// > cocos2d::CCDirector::purgeDirector @ 0x5c396e
//
// 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 cocos2d::ccGLInvalidateStateCache()
{
int v0; // r2
kmGLFreeAll();
v0 = 0;
dword_ABAC98 = -1;
byte_AC9240 = 0;
byte_AC9241 = 0;
byte_AC9242 = 0;
dword_ABAC9C = -1;
do
dword_ABACA0[v0++] = -1;
while ( v0 != 16 );
dword_ABACE0 = -1;
dword_ABACE4 = -1;
dword_AC9244 = 0;
}