//
// cocos2d::CCSpriteBatchNode::updateBlendFunc from 0x100176610 to 0x100176654 (68 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *a1)
{
cocos2d::CCTexture2D *v1; // rax
bool hasPremultipliedAlpha; // al
GLenum v3; // ecx
v1 = (cocos2d::CCTexture2D *)((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getTexture)(a1->m_pobTextureAtlas);
hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(v1);
v3 = 770;
if ( hasPremultipliedAlpha )
v3 = 1;
a1->m_blendFunc.src = v3;
a1->m_blendFunc.dst = 771;
}