//
// ParticleGameObject::updateSecondaryParticleOpacity from 0x100427fc0 to 0x100428000 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x100951a18
//
// 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 11:05:02 +0000
//
float __fastcall ParticleGameObject::updateSecondaryParticleOpacity(__int64 a1, unsigned int a2)
{
__int64 v2; // x8
__int64 v3; // x9
float result; // s0
v2 = *(_QWORD *)(a1 + 776);
if ( v2 )
{
if ( (*(_BYTE *)(a1 + 809) & 1) != 0 )
{
v3 = 620;
}
else
{
if ( *(_BYTE *)(a1 + 1768) != 1 )
return result;
v3 = 736;
}
result = (float)a2 / 255.0;
*(float *)(v2 + v3) = result;
}
return result;
}