//
// cocos2d::CCAtlasNode::updateBlendFunc from 0xd3c1dc to 0xd3c228 (76 bytes)
//
// 3 xrefs:
// > cocos2d::CCAtlasNode::initWithTexture @ 0xd3c2a4
// > cocos2d::CCAtlasNode::setTexture @ 0xd3c43c
// > ??> @ 0xa64f8
//
// 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:07:26 +0000
//
__int64 __fastcall cocos2d::CCAtlasNode::updateBlendFunc(cocos2d::CCAtlasNode *this)
{
cocos2d::CCTexture2D *v2; // x0
__int64 result; // x0
v2 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 47) + 96LL))(*((_QWORD *)this + 47));
result = (unsigned __int8)cocos2d::CCTexture2D::hasPremultipliedAlpha(v2);
if ( !(_BYTE)result )
{
*((_DWORD *)this + 97) = 770;
*((_DWORD *)this + 98) = 771;
return 771;
}
return result;
}