//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x4e767c to 0x4e76e0 (100 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x462706
//
// 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:51:06 +0000
//
int __fastcall ParticleGameObject::updateParticlePreviewArtOpacity(ParticleGameObject *this, float a2)
{
int v4; // r0
int result; // r0
v4 = (*(int (__fastcall **)(ParticleGameObject *, int))(*(_DWORD *)this + 240))(this, 1);
if ( v4 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 456))(v4, (unsigned __int8)(unsigned int)a2);
result = *((_DWORD *)this + 189);
if ( result )
{
result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 240))(result, 1);
if ( result )
return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 456))(result, (unsigned __int8)(unsigned int)a2);
}
return result;
}