//
// GameObject::isEditorSpawnableTrigger from 0x358ff0 to 0x3591b0 (448 bytes)
//
// 1 xrefs:
// > GameObject::customSetup @ 0x3606be
//
// 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 GameObject::isEditorSpawnableTrigger(GameObject *a1)
{
int m_objectID; // r3
unsigned int v2; // r3
unsigned int v3; // r3
int v4; // r2
bool v6; // cc
m_objectID = a1->m_objectID;
if ( m_objectID == 2062 )
return 1;
if ( m_objectID > 2062 )
{
if ( m_objectID == 3022 )
return 1;
if ( m_objectID > 3022 )
{
if ( m_objectID < 3616 )
{
if ( m_objectID >= 3612 )
return 1;
if ( m_objectID > 3031 )
{
if ( m_objectID != 3033 )
{
if ( m_objectID < 3033 )
return 0;
v6 = (unsigned int)(m_objectID - 3602) > 7;
return !v6;
}
return 1;
}
if ( m_objectID >= 3029 )
return 1;
return m_objectID == 3024;
}
if ( m_objectID <= 3641 )
{
if ( m_objectID < 3640 )
{
v6 = (unsigned int)(m_objectID - 3617) > 3;
return !v6;
}
return 1;
}
if ( m_objectID == 3655 )
return 1;
if ( m_objectID < 3655 )
return 0;
v3 = m_objectID - 3660;
}
else
{
if ( m_objectID == 2907 )
return 1;
if ( m_objectID > 2907 )
{
if ( m_objectID > 2925 )
{
if ( m_objectID != 2999 )
{
if ( m_objectID < 2999 )
return 0;
v6 = (unsigned int)(m_objectID - 3006) > 0xA;
return !v6;
}
}
else if ( m_objectID < 2919 )
{
v6 = (unsigned int)(m_objectID - 2909) > 8;
return !v6;
}
return 1;
}
if ( m_objectID > 2901 )
{
v3 = m_objectID - 2903;
}
else
{
if ( m_objectID >= 2899 )
return 1;
v3 = m_objectID - 2066;
}
}
LABEL_70:
v6 = v3 > 2;
return !v6;
}
if ( m_objectID == 1595 )
return 1;
if ( m_objectID > 1595 )
{
if ( m_objectID > 1914 )
{
if ( m_objectID == 1932 )
return 1;
if ( m_objectID <= 1932 )
{
v2 = m_objectID - 1916;
goto LABEL_35;
}
if ( m_objectID < 1934 )
return 0;
if ( m_objectID < 1936 )
return 1;
v4 = 2015;
return m_objectID == v4;
}
if ( m_objectID >= 1912 || m_objectID == 1811 )
return 1;
if ( m_objectID > 1811 )
{
if ( m_objectID < 1814 )
return 0;
if ( m_objectID < 1816 )
return 1;
v4 = 1817;
return m_objectID == v4;
}
if ( m_objectID < 1611 )
return 0;
if ( m_objectID <= 1613 )
return 1;
return m_objectID == 1616;
}
if ( m_objectID == 915 )
return 1;
if ( m_objectID >= 916 )
{
if ( m_objectID == 1268 )
return 1;
if ( m_objectID > 1268 )
{
if ( m_objectID < 1346 )
return 0;
if ( m_objectID <= 1347 )
return 1;
v4 = 1585;
}
else
{
if ( m_objectID < 1006 )
return 0;
if ( m_objectID < 1008 )
return 1;
v4 = 1049;
}
return m_objectID == v4;
}
if ( m_objectID != 105 )
{
if ( m_objectID <= 105 )
{
v2 = m_objectID - 29;
LABEL_35:
v6 = v2 > 1;
return !v6;
}
if ( m_objectID != 744 )
{
if ( m_objectID < 744 )
return 0;
v3 = m_objectID - 899;
goto LABEL_70;
}
}
return 1;
}