//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x100192c50 to 0x100192cc8 (120 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::addSpecial @ 0x1000af769
// > LevelEditorLayer::updatePreviewParticle @ 0x1000bccf0
// > LevelEditorLayer::updatePreviewParticles @ 0x1000c1fce
//
// 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 12:25:54 +0000
//
__int64 __fastcall ParticleGameObject::updateParticlePreviewArtOpacity(_QWORD *a1, float a2)
{
__int64 result; // rax
__int64 v3; // rdi
result = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 480LL))(a1, 1);
if ( result )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 912LL))(result, (unsigned __int8)(int)a2);
v3 = a1[111];
if ( v3 )
{
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 480LL))(v3, 1);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 912LL))(result, (unsigned __int8)(int)a2);
}
return result;
}