//
// cocos2d::ccGLBlendFunc from 0x7ef388 to 0x7ef3ca (66 bytes)
//
// 20 xrefs:
// > cocos2d::CCLightning::draw @ 0x3c5e5c
// > CCCircleWave::draw @ 0x3e5288
// > CCCircleWave::draw @ 0x3e536e
// > CCAlertCircle::draw @ 0x3e538e
// > CCAlertCircle::draw @ 0x3e53e2
// > CCLightStrip::draw @ 0x3e5ba6
// > CCLightStrip::draw @ 0x3e5ca8
// > CCSpriteWithHue::draw @ 0x3f28ac
// > DrawGridLayer::draw @ 0x4646ec
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0x7a9ec0
// > cocos2d::CCAtlasNode::draw @ 0x7c2f0a
// > cocos2d::CCDirector::setAlphaBlending @ 0x7ca428
// > cocos2d::CCDrawNode::draw @ 0x7cc7b2
// > cocos2d::CCLayerColor::draw @ 0x7d706e
// > cocos2d::CCMotionStreak::draw @ 0x7dea16
// > cocos2d::CCProgressTimer::draw @ 0x7df4e4
// > cocos2d::CCParticleBatchNode::draw @ 0x7e58e4
// > cocos2d::CCParticleSystemQuad::draw @ 0x7e60cc
// > cocos2d::CCSprite::draw @ 0x7f122c
// > cocos2d::CCSpriteBatchNode::draw @ 0x7f2310
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:02 +0000
//
void __fastcall cocos2d::ccGLBlendFunc(cocos2d *this, GLenum a2, unsigned int a3)
{
if ( this != (cocos2d *)dword_D1FEE0 || a2 != dword_D1FEE4 )
{
dword_D1FEE0 = (int)this;
dword_D1FEE4 = a2;
if ( this != (cocos2d *)((char *)&dword_0 + 1) || a2 )
{
glEnable(0xBE2u);
j_glBlendFunc((GLenum)this, a2);
}
else
{
sub_AF7C44(0xBE2u);
}
}
}