//
// GameObject::updateParticleOpacity from 0x44c034 to 0x44c080 (76 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 11:48:34 +0000
//
_DWORD *__fastcall GameObject::updateParticleOpacity(_DWORD *this, unsigned int a2)
{
_DWORD *v2; // r4
int v3; // r3
v2 = this;
v3 = *(this + 165);
if ( v3 )
{
if ( a2 > 0x32 )
{
this = (_DWORD *)(*(int (__fastcall **)(_DWORD *))(*this + 176))(this);
if ( this )
{
this = (_DWORD *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v2[165] + 632))(v2[165]);
if ( !this )
return (_DWORD *)cocos2d::CCParticleSystem::resumeSystem((cocos2d::CCParticleSystem *)v2[165]);
}
}
else
{
this = (_DWORD *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v3 + 632))(*(this + 165));
if ( this )
return (_DWORD *)cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)v2[165]);
}
}
return this;
}