//
// GameObject::isSpecialObject from 0x1401a2ac0 to 0x1401a2b30 (112 bytes)
//
// 2 xrefs:
// > EditorUI::updateDeleteButtons @ 0x1400e78ee
// > EditorUI::updateDeleteButtons @ 0x1400e7a95
//
// 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::isSpecialObject(GameObject *a1)
{
int m_objectID; // edx
int v2; // edx
int v3; // edx
int v4; // edx
int v6; // edx
int v7; // edx
m_objectID = a1->m_objectID;
if ( m_objectID <= 1327 )
{
if ( m_objectID != 1327 )
{
switch ( m_objectID )
{
case 914:
case 918:
case 919:
case 920:
case 921:
case 923:
case 924:
return 1;
default:
return 0;
}
}
return 1;
}
if ( m_objectID > 1937 )
{
v6 = m_objectID - 1938;
if ( !v6 )
return 1;
v7 = v6 - 1;
if ( !v7 )
return 1;
return v7 == 73;
}
else
{
if ( m_objectID == 1937 )
return 1;
v2 = m_objectID - 1328;
if ( !v2 )
return 1;
v3 = v2 - 256;
if ( !v3 )
return 1;
v4 = v3 - 31;
if ( !v4 )
return 1;
return v4 == 321;
}
}