//
// ParticleGameObject::createAndAddCustomParticle from 0x8716f4 to 0x871738 (68 bytes)
//
// 2 xrefs:
// > ParticleGameObject::customObjectSetup @ 0x89c714
// > ??> @ 0xa0870
//
// 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 12:55:46 +0000
//
__int64 __fastcall ParticleGameObject::createAndAddCustomParticle(ParticleGameObject *this)
{
__int64 v1; // x2
v1 = *((_BYTE *)this + 1448) >> 1;
if ( (*((_BYTE *)this + 1448) & 1) != 0 )
v1 = *((_QWORD *)this + 182);
if ( v1 )
{
*((_BYTE *)this + 808) = 1;
ParticleGameObject::updateParticleStruct(this);
*((_BYTE *)this + 808) = 1;
}
return 0;
}