//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x140642880 to 0x1406428fd (125 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x14040122b
// > ??> @ 0x1409310e8
//
// This function is hookable on this platform (idp: pc, 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 11:35:35 +0000
//
__int64 __fastcall ParticleGameObject::updateParticlePreviewArtOpacity(_QWORD *a1, float a2)
{
__int64 result; // rax
int v4; // edi
__int64 v5; // rcx
result = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 472LL))(a1, 1);
v4 = (int)a2;
if ( result )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(result + 320) + 40LL))(
result + 320,
(unsigned __int8)v4);
v5 = a1[112];
if ( v5 )
{
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 472LL))(v5, 1);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(result + 320) + 40LL))(
result + 320,
(unsigned __int8)v4);
}
return result;
}