//
// LevelEditorLayer::updatePreviewParticle from 0x1000bcc70 to 0x1000bccf5 (133 bytes)
//
// 0 xrefs:
//
// 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:20:32 +0000
//
__int64 __fastcall LevelEditorLayer::updatePreviewParticle(__int64 a1, _BYTE *a2)
{
int v2; // eax
double v3; // xmm0_8
int v4; // ecx
if ( *(_BYTE *)(a1 + 14012) != 1 )
{
a2[1785] = 1;
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 1408LL))(a2);
v2 = 255;
LABEL_7:
v4 = 0;
if ( *(_DWORD *)(a1 + 1972) != 1 )
v4 = v2;
HIDWORD(v3) = 0;
*(float *)&v3 = (float)v4;
return ParticleGameObject::updateParticlePreviewArtOpacity(a2, v3);
}
a2[1785] = 0;
if ( (*(unsigned __int8 (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 352LL))(a2) )
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 1400LL))(a2);
v2 = 50;
v3 = 0.0;
if ( !*(_BYTE *)(a1 + 14015) )
goto LABEL_7;
return ParticleGameObject::updateParticlePreviewArtOpacity(a2, v3);
}