//
// ParticleGameObject::createAndAddCustomParticle from 0x100191f90 to 0x100191ffa (106 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:25:54 +0000
//
__int64 __fastcall ParticleGameObject::createAndAddCustomParticle(__int64 a1)
{
unsigned int v1; // eax
v1 = *(unsigned __int8 *)(a1 + 1448);
if ( (v1 & 1) != 0 )
{
if ( !*(_QWORD *)(a1 + 1456) )
return 0;
}
else if ( !(v1 >> 1) )
{
return 0;
}
*(_BYTE *)(a1 + 808) = 1;
if ( *(_BYTE *)(a1 + 1472) == 1 )
{
*(_BYTE *)(a1 + 1472) = 0;
GameToolbox::particleStringToStruct(a1 + 1448, a1 + 1480);
}
*(_BYTE *)(a1 + 808) = 1;
return 0;
}