//
// cocos2d::ccGLBlendFunc from 0xb12100 to 0xb12184 (132 bytes)
//
// 22 xrefs:
// > cocos2d::CCLightning::draw @ 0x5756c8
// > CCCircleWave::draw @ 0x5a61a4
// > CCCircleWave::draw @ 0x5a61e8
// > CCAlertCircle::draw @ 0x5a6230
// > CCAlertCircle::draw @ 0x5a6288
// > CCLightStrip::draw @ 0x5a7070
// > CCLightStrip::draw @ 0x5a717c
// > CCSpriteWithHue::draw @ 0x5bcab4
// > DrawGridLayer::draw @ 0x6660c4
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0xa9f0a8
// > cocos2d::CCAtlasNode::draw @ 0xaca12c
// > cocos2d::CCDirector::setAlphaBlending @ 0xad6578
// > cocos2d::CCDirector::setAlphaBlending @ 0xad6580
// > cocos2d::CCDrawNode::draw @ 0xad9880
// > cocos2d::CCLayerColor::draw @ 0xaea38c
// > cocos2d::CCMotionStreak::draw @ 0xaf7328
// > cocos2d::CCProgressTimer::draw @ 0xaf803c
// > cocos2d::CCParticleBatchNode::draw @ 0xb01f34
// > cocos2d::CCParticleSystemQuad::draw @ 0xb030ec
// > cocos2d::CCSprite::draw @ 0xb15774
// > cocos2d::CCSpriteBatchNode::draw @ 0xb17104
// > ??> @ 0xb5a28
//
// 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::ccGLBlendFunc(unsigned int a1, unsigned int a2)
{
if ( a1 != dword_1230DE0 || a2 != dword_1230DE4 )
{
dword_1230DE0 = a1;
dword_1230DE4 = a2;
if ( a1 != 1 || a2 )
{
glEnable();
glBlendFunc();
}
else
{
glDisable();
}
}
}