//
// GameObject::isEditorSpawnableTrigger from 0x64aee8 to 0x64b160 (632 bytes)
//
// 2 xrefs:
// > GameObject::customSetup @ 0x64e1cc
// > ??> @ 0xbf9a0
//
// 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; // w0
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 <= 3615 )
{
if ( m_objectID >= 3612 )
return 1;
if ( m_objectID <= 3031 )
return m_objectID >= 3029 || m_objectID == 3024;
if ( m_objectID == 3033 )
return 1;
if ( m_objectID >= 3033 )
return (unsigned int)(m_objectID - 3602) <= 7;
return 0;
}
if ( m_objectID <= 3641 )
return m_objectID >= 3640 || (unsigned int)(m_objectID - 3617) <= 3;
if ( m_objectID == 3655 )
return 1;
if ( m_objectID < 3655 )
return 0;
return (unsigned int)(m_objectID - 3660) <= 2;
}
else
{
if ( m_objectID == 2907 )
return 1;
if ( m_objectID > 2907 )
{
if ( m_objectID <= 2925 )
return m_objectID >= 2919 || (unsigned int)(m_objectID - 2909) <= 8;
if ( m_objectID == 2999 )
return 1;
if ( m_objectID >= 2999 )
return (unsigned int)(m_objectID - 3006) <= 0xA;
return 0;
}
if ( m_objectID <= 2901 )
return m_objectID >= 2899 || (unsigned int)(m_objectID - 2066) <= 2;
return (unsigned int)(m_objectID - 2903) <= 2;
}
}
else
{
if ( m_objectID == 1595 )
return 1;
if ( m_objectID > 1595 )
{
if ( m_objectID <= 1914 )
{
if ( m_objectID >= 1912 || m_objectID == 1811 )
return 1;
if ( m_objectID <= 1811 )
return m_objectID >= 1611 && (m_objectID <= 1613 || m_objectID == 1616);
if ( m_objectID >= 1814 )
return m_objectID <= 1815 || m_objectID == 1817;
return 0;
}
if ( m_objectID == 1932 )
return 1;
if ( m_objectID > 1932 )
{
if ( m_objectID >= 1934 )
return m_objectID <= 1935 || m_objectID == 2015;
return 0;
}
return (unsigned int)(m_objectID - 1916) <= 1;
}
else
{
if ( m_objectID == 915 )
return 1;
if ( m_objectID > 915 )
{
if ( m_objectID == 1268 )
return 1;
if ( m_objectID <= 1268 )
return m_objectID >= 1006 && (m_objectID <= 1007 || m_objectID == 1049);
if ( m_objectID >= 1346 )
return m_objectID <= 1347 || m_objectID == 1585;
return 0;
}
if ( m_objectID == 105 )
return 1;
if ( m_objectID > 105 )
{
if ( m_objectID == 744 )
return 1;
if ( m_objectID >= 744 )
return (unsigned int)(m_objectID - 899) <= 2;
return 0;
}
return (unsigned int)(m_objectID - 29) <= 1;
}
}
}