//
// EffectGameObject::canSpawnTriggers from 0x3ea864 to 0x3ea8fc (152 bytes)
//
// 5 xrefs:
// > processTraceOutSource @ 0x3775a4
// > processTraceOutSource @ 0x377888
// > processTrace @ 0x37934c
// > processTrace @ 0x379c3a
// > EffectGameObject::customSetup @ 0x3eaa6e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool EffectGameObject::canSpawnTriggers(EffectGameObject *a1)
{
int m_objectID; // r3
bool v2; // zf
int v3; // r2
m_objectID = a1->m_objectID;
if ( m_objectID == 1912 )
return 1;
if ( m_objectID > 1912 )
{
if ( m_objectID == 3607 )
return 1;
if ( m_objectID > 3607 )
{
if ( m_objectID == 3620 )
return 1;
if ( m_objectID > 3620 )
{
if ( m_objectID == 3640 )
return 1;
v3 = 3643;
}
else
{
v3 = 3609;
}
}
else
{
if ( m_objectID == 2068 || m_objectID == 3604 )
return 1;
v3 = 2063;
}
}
else
{
if ( m_objectID <= 1595 )
{
if ( m_objectID >= 1594 || m_objectID == 1268 || m_objectID == 1329 )
return 1;
v2 = m_objectID == 142;
goto LABEL_22;
}
if ( m_objectID == 1811 || m_objectID == 1815 )
return 1;
v3 = 1611;
}
v2 = m_objectID == v3;
LABEL_22:
if ( !v2 )
return a1->m_objectType == Collectible;
return 1;
}