//
// cocos2d::ccGLBlendResetToCache from 0x1800880e0 to 0x180088143 (99 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5898
//
// 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::ccGLBlendResetToCache(cocos2d *this)
{
GLenum v1; // edi
GLenum v2; // ebx
_glewBlendEquation(32774);
v1 = dword_1801A2FE8;
v2 = dword_1801A2FEC;
if ( dword_1801A2FE8 != 1 || dword_1801A2FEC )
{
glEnable(0xBE2u);
glBlendFunc(v1, v2);
}
else
{
glDisable(0xBE2u);
}
}