//
// cocos2d::ccGLBlendResetToCache from 0x18008b2b0 to 0x18008b316 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfb68
//
// 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:22:06 +0000
//
void __fastcall cocos2d::ccGLBlendResetToCache(cocos2d *this)
{
GLenum v1; // edi
GLenum v2; // ebx
_glewBlendEquation(32774);
v1 = dword_1801ACFB8;
v2 = dword_1801ACFBC;
if ( dword_1801ACFB8 != 1 || dword_1801ACFBC )
{
glEnable(0xBE2u);
glBlendFunc(v1, v2);
}
else
{
glDisable(0xBE2u);
}
}