//
// GameObject::shouldLockX from 0x643078 to 0x64325c (484 bytes)
//
// 3 xrefs:
// > GameObject::customSetup @ 0x64e0fc
// > LevelEditorLayer::addSpecial @ 0x6705e0
// > ??> @ 0xb8a10
//
// 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::shouldLockX(GameObject *a1)
{
int m_objectID; // w0
m_objectID = a1->m_objectID;
if ( m_objectID > 1917 )
{
if ( m_objectID > 3021 )
{
if ( m_objectID <= 3609 )
return m_objectID >= 3602
|| m_objectID >= 3023 && (m_objectID <= 3024 || (unsigned int)(m_objectID - 3029) <= 2);
if ( m_objectID == 3640 )
return 1;
if ( m_objectID <= 3640 )
return (unsigned int)(m_objectID - 3612) <= 1;
return (unsigned int)(m_objectID - 3660) <= 2;
}
else
{
if ( m_objectID >= 3006 )
return 1;
if ( m_objectID <= 2068 )
{
if ( m_objectID < 2067 && m_objectID != 2015 )
{
if ( m_objectID > 2015 )
{
if ( m_objectID != 2062 )
return 0;
}
else if ( (unsigned int)(m_objectID - 1934) > 1 )
{
return 0;
}
}
return 1;
}
if ( m_objectID == 2925 )
return 1;
if ( m_objectID <= 2925 )
return (unsigned int)(m_objectID - 2900) <= 1;
return m_objectID == 2999;
}
}
else
{
if ( m_objectID >= 1912 || m_objectID == 915 )
return 1;
if ( m_objectID <= 915 )
{
if ( m_objectID == 105 )
return 1;
if ( m_objectID <= 105 )
{
if ( m_objectID < 22 )
return 0;
return m_objectID <= 34 || (unsigned int)(m_objectID - 55) <= 4;
}
else
{
if ( m_objectID == 744 )
return 1;
if ( m_objectID <= 744 )
return (unsigned int)(m_objectID - 200) <= 3;
return (unsigned int)(m_objectID - 899) <= 2;
}
}
else
{
if ( m_objectID <= 1347 )
{
if ( m_objectID < 1346 && m_objectID != 1049 )
{
if ( m_objectID > 1049 )
return m_objectID == 1268 || m_objectID == 1334;
if ( (unsigned int)(m_objectID - 1006) > 1 )
return 0;
}
return 1;
}
if ( m_objectID == 1812 )
return 1;
if ( m_objectID <= 1812 )
return m_objectID == 1616;
return (unsigned int)(m_objectID - 1814) <= 1;
}
}
}