//
// cocos2d::CCSpriteBatchNode::updateBlendFunc from 0xd89660 to 0xd896b0 (80 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0xd89710
// > cocos2d::CCSpriteBatchNode::setTexture @ 0xd898e4
// > ??> @ 0x42760
//
// 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 13:08:14 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *this)
{
cocos2d::CCTexture2D *v2; // x0
int v3; // w0
v2 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 96LL))(*((_QWORD *)this + 41));
if ( (unsigned __int8)cocos2d::CCTexture2D::hasPremultipliedAlpha(v2) )
v3 = 1;
else
v3 = 770;
*((_DWORD *)this + 84) = v3;
*((_DWORD *)this + 85) = 771;
return 771;
}