//
// GameObject::ignoreEditorDuration from 0x64be20 to 0x64c1b0 (912 bytes)
//
// 2 xrefs:
// > GameObject::customSetup @ 0x64e89c
// > ??> @ 0x87630
//
// 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::ignoreEditorDuration(GameObject *a1)
{
int m_objectID; // w0
if ( a1->m_objectType == Collectible )
return 1;
m_objectID = a1->m_objectID;
if ( m_objectID > 1819 )
{
if ( m_objectID > 2926 )
{
if ( m_objectID > 3609 )
{
if ( m_objectID > 3643 )
{
if ( m_objectID == 3655 )
return 1;
if ( m_objectID <= 3655 )
return m_objectID == 3645;
return (unsigned int)(m_objectID - 3660) <= 2;
}
if ( m_objectID >= 3640 )
return 1;
if ( m_objectID >= 3612 )
return m_objectID <= 3615 || (unsigned int)(m_objectID - 3617) <= 3;
}
else
{
if ( m_objectID >= 3606 || m_objectID == 3027 )
return 1;
if ( m_objectID > 3027 )
{
if ( m_objectID != 3600 )
{
if ( m_objectID > 3600 )
{
if ( m_objectID != 3604 )
return 0;
}
else if ( (unsigned int)(m_objectID - 3029) > 4 )
{
return 0;
}
}
return 1;
}
if ( m_objectID >= 3004 )
return m_objectID <= 3010 || (unsigned int)(m_objectID - 3016) <= 8;
}
}
else
{
if ( m_objectID >= 2925 )
return 1;
if ( m_objectID <= 2064 )
{
if ( m_objectID < 2062 && m_objectID != 1915 )
{
if ( m_objectID <= 1915 )
{
if ( m_objectID != 1859 && m_objectID != 1912 && m_objectID != 1829 )
return 0;
}
else if ( m_objectID > 1935 )
{
if ( m_objectID != 2016 )
return 0;
}
else if ( m_objectID < 1931 && m_objectID != 1917 )
{
return 0;
}
}
return 1;
}
if ( m_objectID <= 2900 )
{
if ( m_objectID < 2899 )
{
if ( m_objectID > 2069 )
{
if ( m_objectID != 2866 )
return 0;
}
else if ( m_objectID < 2068 && m_objectID != 2066 )
{
return 0;
}
}
return 1;
}
if ( m_objectID >= 2902 )
return m_objectID <= 2905 || m_objectID == 2907;
}
return 0;
}
if ( m_objectID >= 1815 )
return 1;
if ( m_objectID <= 287 )
{
if ( m_objectID >= 286 )
return 1;
if ( m_objectID > 59 )
{
if ( m_objectID == 111 )
return 1;
if ( m_objectID <= 111 )
{
if ( m_objectID != 84 )
{
if ( m_objectID <= 84 )
{
if ( m_objectID != 67 )
return 0;
}
else if ( m_objectID != 99 && m_objectID != 101 )
{
return 0;
}
}
return 1;
}
if ( m_objectID >= 140 )
return m_objectID <= 142 || (unsigned int)(m_objectID - 200) <= 3;
}
else
{
if ( m_objectID >= 55 )
return 1;
if ( m_objectID <= 33 )
return m_objectID >= 31 || m_objectID >= 10 && (m_objectID <= 13 || (unsigned int)(m_objectID - 22) <= 6);
if ( m_objectID >= 35 )
return m_objectID <= 36 || (unsigned int)(m_objectID - 45) <= 2;
}
return 0;
}
if ( m_objectID == 1585 )
return 1;
if ( m_objectID > 1585 )
{
if ( m_objectID == 1616 )
return 1;
if ( m_objectID > 1616 )
{
if ( m_objectID == 1755 )
return 1;
if ( m_objectID <= 1755 )
return m_objectID == 1704 || m_objectID == 1751;
return (unsigned int)(m_objectID - 1811) <= 2;
}
if ( m_objectID >= 1594 )
return m_objectID <= 1595 || (unsigned int)(m_objectID - 1611) <= 2;
return 0;
}
if ( m_objectID == 1022 )
return 1;
if ( m_objectID <= 1022 )
{
if ( m_objectID != 745 )
{
if ( m_objectID > 745 )
return m_objectID == 747 || m_objectID == 749;
if ( m_objectID != 660 )
return 0;
}
return 1;
}
if ( m_objectID == 1268 )
return 1;
if ( m_objectID <= 1268 )
return m_objectID == 1049;
return (unsigned int)(m_objectID - 1329) <= 5;
}