//
// cocos2d::ccGLBlendFunc from 0x5e4bc4 to 0x5e4c06 (66 bytes)
//
// 20 xrefs:
// > cocos2d::CCLightning::draw @ 0x2e6104
// > CCCircleWave::draw @ 0x2fbcec
// > CCCircleWave::draw @ 0x2fbdd2
// > CCAlertCircle::draw @ 0x2fbdf2
// > CCAlertCircle::draw @ 0x2fbe46
// > CCLightStrip::draw @ 0x2fc5aa
// > CCLightStrip::draw @ 0x2fc6ac
// > CCSpriteWithHue::draw @ 0x306cbc
// > DrawGridLayer::draw @ 0x36af06
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0x5a41b0
// > cocos2d::CCAtlasNode::draw @ 0x5bc57a
// > cocos2d::CCDirector::setAlphaBlending @ 0x5c3184
// > cocos2d::CCDrawNode::draw @ 0x5c549e
// > cocos2d::CCLayerColor::draw @ 0x5ceede
// > cocos2d::CCMotionStreak::draw @ 0x5d67ce
// > cocos2d::CCProgressTimer::draw @ 0x5d7134
// > cocos2d::CCParticleBatchNode::draw @ 0x5dd124
// > cocos2d::CCParticleSystemQuad::draw @ 0x5dd904
// > cocos2d::CCSprite::draw @ 0x5e698c
// > cocos2d::CCSpriteBatchNode::draw @ 0x5e7a70
//
// 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_ABACE0 || a2 != dword_ABACE4 )
{
dword_ABACE0 = a1;
dword_ABACE4 = a2;
if ( a1 != 1 || a2 )
{
glEnable(0xBE2u);
j_glBlendFunc(a1, a2);
}
else
{
j_glDisable(0xBE2u);
}
}
}