//
// cocos2d::ccGLBlendFunc from 0x1002219c4 to 0x1002219f0 (44 bytes)
//
// 15 xrefs:
// > CCLightStrip::draw @ 0x100035144
// > CCLightStrip::draw @ 0x100035220
// > cocos2d::CCDrawNode::draw @ 0x100045e88
// > cocos2d::CCLayerColor::draw @ 0x1001c8634
// > CCCircleWave::draw @ 0x1001fa9b4
// > CCCircleWave::draw @ 0x1001faab8
// > cocos2d::CCDirector::setGLDefaultValues @ 0x10020699c
// > cocos2d::CCMotionStreak::draw @ 0x100208c40
// > CCSpriteWithHue::draw @ 0x100238ac8
// > cocos2d::CCSpriteBatchNode::draw @ 0x1002701c0
// > cocos2d::CCSprite::draw @ 0x1002d4fc8
// > cocos2d::CCParticleSystemQuad::draw @ 0x1002f0f78
// > cocos2d::CCLightning::draw @ 0x1003e5e98
// > DrawGridLayer::draw @ 0x10040c7bc
// > cocos2d::CCProgressTimer::draw @ 0x10047edc8
//
// This function is hookable on this platform (idp: arm, 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:01:08 +0000
//
__int64 __fastcall cocos2d::ccGLBlendFunc(__int64 result, int a2)
{
if ( dword_1009D40BC != (_DWORD)result || dword_1009D40C0 != a2 )
{
dword_1009D40BC = result;
dword_1009D40C0 = a2;
return sub_1002219F0();
}
return result;
}