//
// GameObject::ignoreEditorDuration from 0x100259d60 to 0x100259fb4 (596 bytes)
//
// 1 xrefs:
// > GameObject::customSetup @ 0x100257f44
//
// 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 __fastcall GameObject::ignoreEditorDuration(GameObject *a1)
{
bool result; // w0
int m_objectID; // w8
bool v3; // zf
unsigned int v5; // w8
unsigned int v6; // w8
__int64 v7; // x8
__int64 v8; // x9
bool v9; // zf
unsigned int v10; // w8
if ( a1->m_objectType == Collectible )
return 1;
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 1911 )
{
if ( m_objectID > 3003 )
{
if ( (unsigned int)(m_objectID - 3600) > 0x3E
|| ((1LL << ((unsigned __int8)m_objectID - 16)) & 0x70802F00001EF3D1LL) == 0 )
{
v5 = m_objectID - 3004;
if ( v5 > 0x1D || ((1 << v5) & 0x3E9FF07F) == 0 )
return 0;
}
return result;
}
v9 = (unsigned int)(m_objectID - 2866) > 0x3C
|| ((1LL << ((unsigned __int8)m_objectID - 50)) & 0x180002F600000001LL) == 0;
if ( !v9 || (unsigned int)(m_objectID - 1912) <= 0x17 && ((1 << (m_objectID - 120)) & 0xF80029) != 0 )
return result;
v10 = m_objectID - 2016;
if ( v10 <= 0x35 )
{
v7 = 1LL << v10;
v8 = 0x35C00000000001LL;
LABEL_34:
if ( (v7 & v8) != 0 )
return result;
}
return 0;
}
if ( m_objectID > 285 )
{
if ( m_objectID <= 1584 )
{
if ( m_objectID <= 1048 )
{
if ( m_objectID > 744 )
{
if ( ((unsigned int)(m_objectID - 745) > 4 || ((1 << (m_objectID + 23)) & 0x15) == 0) && m_objectID != 1022 )
return 0;
return result;
}
if ( (unsigned int)(m_objectID - 286) < 2 || m_objectID == 660 )
return result;
}
else if ( (unsigned int)(m_objectID - 1329) < 6 || m_objectID == 1049 || m_objectID == 1268 )
{
return result;
}
}
else
{
if ( (unsigned int)(m_objectID - 1811) <= 0x30
&& ((1LL << ((unsigned __int8)m_objectID - 19)) & 0x10000000401F7LL) != 0
|| (unsigned int)(m_objectID - 1585) <= 0x1F && ((1 << (m_objectID - 49)) & 0x9C000601) != 0 )
{
return result;
}
v6 = m_objectID - 1704;
if ( v6 <= 0x33 )
{
v7 = 1LL << v6;
v8 = 0x8800000000001LL;
goto LABEL_34;
}
}
return 0;
}
v3 = (unsigned int)(m_objectID - 10) > 0x39
|| ((1LL << ((unsigned __int8)m_objectID - 10)) & 0x203E03806E7F00FLL) == 0;
if ( v3
&& ((unsigned int)(m_objectID - 84) > 0x3A
|| ((1LL << ((unsigned __int8)m_objectID - 84)) & 0x700000008028001LL) == 0)
&& (unsigned int)(m_objectID - 200) >= 4 )
{
return 0;
}
return result;
}