//
// ParticleGameObject::createAndAddCustomParticle from 0x4e7656 to 0x4e767c (38 bytes)
//
// 1 xrefs:
// > ParticleGameObject::customObjectSetup @ 0x4f6f68
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:06 +0000
//
int __fastcall ParticleGameObject::createAndAddCustomParticle(ParticleGameObject *this)
{
int v2; // r3
int v3; // r3
v2 = *((unsigned __int8 *)this + 1268);
if ( (v2 & 1) != 0 )
v3 = *((_DWORD *)this + 318);
else
v3 = v2 >> 1;
if ( v3 )
{
*((_BYTE *)this + 676) = 1;
ParticleGameObject::updateParticleStruct((int)this);
*((_BYTE *)this + 676) = 1;
}
return 0;
}