//
// cocos2d::CCSpriteBatchNode::updateBlendFunc from 0x7f2c0e to 0x7f2c38 (42 bytes)
//
// 2 xrefs:
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x7f2c72
// > cocos2d::CCSpriteBatchNode::setTexture @ 0x7f2d7e
//
// 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:06 +0000
//
int __fastcall cocos2d::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *this)
{
cocos2d::CCTexture2D *v2; // r0
int result; // r0
int v4; // r3
v2 = (cocos2d::CCTexture2D *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 48))(*((_DWORD *)this + 67));
result = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2);
v4 = 770;
*((_DWORD *)this + 69) = 771;
if ( result )
v4 = 1;
*((_DWORD *)this + 68) = v4;
return result;
}