//
// cocos2d::CCAtlasNode::updateBlendFunc from 0x7c30b6 to 0x7c30dc (38 bytes)
//
// 2 xrefs:
// > cocos2d::CCAtlasNode::initWithTexture @ 0x7c3132
// > cocos2d::CCAtlasNode::setTexture @ 0x7c320c
//
// 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:00:22 +0000
//
int __fastcall cocos2d::CCAtlasNode::updateBlendFunc(cocos2d::CCAtlasNode *this)
{
cocos2d::CCTexture2D *v2; // r0
int result; // r0
v2 = (cocos2d::CCTexture2D *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 76) + 48))(*((_DWORD *)this + 76));
result = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2);
if ( !result )
{
*((_DWORD *)this + 78) = 770;
*((_DWORD *)this + 79) = 771;
}
return result;
}