//
// EffectGameObject::canSpawnTriggers from 0x4e854c to 0x4e85e4 (152 bytes)
//
// 5 xrefs:
// > processTraceOutSource @ 0x47ccf8
// > processTraceOutSource @ 0x47d4e8
// > processTrace @ 0x47e8f6
// > processTrace @ 0x47f5ca
// > EffectGameObject::customSetup @ 0x4e8756
//
// 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
//
bool __fastcall EffectGameObject::canSpawnTriggers(EffectGameObject *this)
{
int v1; // r3
bool v2; // zf
int v3; // r2
v1 = *((_DWORD *)this + 223);
if ( v1 == 1912 )
return 1;
if ( v1 > 1912 )
{
if ( v1 == 3607 )
return 1;
if ( v1 > 3607 )
{
if ( v1 == 3620 )
return 1;
if ( v1 > 3620 )
{
if ( v1 == 3640 )
return 1;
v3 = 3643;
}
else
{
v3 = 3609;
}
}
else
{
if ( v1 == 2068 || v1 == 3604 )
return 1;
v3 = 2063;
}
}
else
{
if ( v1 <= 1595 )
{
if ( v1 >= 1594 || v1 == 1268 || v1 == 1329 )
return 1;
v2 = v1 == 142;
goto LABEL_22;
}
if ( v1 == 1811 || v1 == 1815 )
return 1;
v3 = 1611;
}
v2 = v1 == v3;
LABEL_22:
if ( !v2 )
return *((_DWORD *)this + 196) == 30;
return 1;
}