//
// cocos2d::CCSpriteBatchNode::updateBlendFunc from 0xb18180 to 0xb181d0 (80 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0xb18230
// > cocos2d::CCSpriteBatchNode::setTexture @ 0xb18404
// > ??> @ 0x2be00
//
// 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::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *a1)
{
cocos2d::CCTexture2D *v2; // x0
GLenum v3; // w0
v2 = a1->m_pobTextureAtlas->getTexture(a1->m_pobTextureAtlas);
if ( cocos2d::CCTexture2D::hasPremultipliedAlpha(v2) )
v3 = 1;
else
v3 = 770;
a1->m_blendFunc.src = v3;
a1->m_blendFunc.dst = 771;
}