//
// cocos2d::CCParticleSystem::updateBlendFunc from 0x7e309a to 0x7e30de (68 bytes)
//
// 0 xrefs:
//
// 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:51 +0000
//
cocos2d::CCTexture2D *__fastcall cocos2d::CCParticleSystem::updateBlendFunc(cocos2d::CCParticleSystem *this)
{
cocos2d::CCTexture2D *result; // r0
result = *((cocos2d::CCTexture2D **)this + 146);
if ( result )
{
result = (cocos2d::CCTexture2D *)cocos2d::CCTexture2D::hasPremultipliedAlpha(result);
*((_BYTE *)this + 596) = 0;
if ( *((_DWORD *)this + 146) )
{
if ( *((_DWORD *)this + 147) == 1 && *((_DWORD *)this + 148) == 771 )
{
if ( result )
{
*((_BYTE *)this + 596) = 1;
}
else
{
*((_DWORD *)this + 148) = 771;
*((_DWORD *)this + 147) = 770;
}
}
}
}
return result;
}