//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x871738 to 0x8717b0 (120 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x78d9c0
// > LevelEditorLayer::updatePreviewParticle @ 0x78da00
// > ??> @ 0xdc7f8
//
// 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 12:55:46 +0000
//
__int64 __fastcall ParticleGameObject::updateParticlePreviewArtOpacity(ParticleGameObject *this, float a2)
{
__int64 v4; // x0
__int64 result; // x0
v4 = (*(__int64 (__fastcall **)(ParticleGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 912LL))(v4, (unsigned int)a2);
result = *((_QWORD *)this + 111);
if ( result )
{
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 480LL))(result, 1);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 912LL))(result, (unsigned int)a2);
}
return result;
}