//
// GameObject::isConfigurablePortal from 0x100262d60 to 0x100262ddc (124 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1003e5578
//
// 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::isConfigurablePortal(GameObject *a1)
{
int m_objectID; // w8
bool result; // w0
bool v3; // zf
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID <= 285 )
{
v3 = (unsigned int)m_objectID > 0x2F || ((1LL << m_objectID) & 0x800000003000LL) == 0;
if ( v3 && m_objectID != 111 )
return 0;
}
else if ( m_objectID > 744 )
{
if ( m_objectID != 745 && m_objectID != 1331 && m_objectID != 1933 )
return 0;
}
else if ( (unsigned int)(m_objectID - 286) >= 2 && m_objectID != 660 )
{
return 0;
}
return result;
}