//
// GameObject::isSpecialObject from 0x1005cb760 to 0x1005cb7c9 (105 bytes)
//
// 2 xrefs:
// > EditorUI::updateDeleteButtons @ 0x1000321d1
// > EditorUI::updateDeleteButtons @ 0x100032409
//
// 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::isSpecialObject(GameObject *a1)
{
int m_objectID; // ecx
bool result; // al
int v3; // esi
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 1583 )
{
if ( m_objectID <= 1935 )
{
if ( m_objectID == 1584 || m_objectID == 1615 )
return result;
}
else if ( (unsigned int)(m_objectID - 1936) < 4 || m_objectID == 2012 )
{
return result;
}
return 0;
}
if ( (unsigned int)(m_objectID - 914) > 0xA || (v3 = 1777, !_bittest(&v3, m_objectID - 914)) )
{
if ( (unsigned int)(m_objectID - 1327) >= 2 )
return 0;
}
return result;
}