//
// GameObject::isConfigurablePortal from 0x64c23c to 0x64c2b4 (120 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x68d488
// > ??> @ 0x89d18
//
// 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::isConfigurablePortal(GameObject *a1)
{
int m_objectID; // w0
m_objectID = a1->m_objectID;
if ( m_objectID <= 287 )
{
if ( m_objectID < 286 && m_objectID != 47 )
{
if ( m_objectID <= 47 )
return (unsigned int)(m_objectID - 12) <= 1;
if ( m_objectID != 111 )
return 0;
}
return 1;
}
if ( m_objectID == 745 )
return 1;
if ( m_objectID > 745 )
return m_objectID == 1331 || m_objectID == 1933;
return m_objectID == 660;
}