//
// GameObject::isBasicTrigger from 0x1401a35f0 to 0x1401a366c (124 bytes)
//
// 3 xrefs:
// > EditorUI::editButtonUsable @ 0x140119e21
// > EditorUI::editObject @ 0x14011c02f
// > EditorUI::editObject @ 0x14011da58
//
// 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::isBasicTrigger(GameObject *a1)
{
int m_objectID; // edx
int v2; // edx
int v3; // edx
int v4; // edx
int v6; // edx
int v7; // edx
int v8; // edx
int v9; // edx
m_objectID = a1->m_objectID;
if ( m_objectID <= 1612 )
{
if ( m_objectID != 1612 )
{
switch ( m_objectID )
{
case 22:
case 23:
case 24:
case 25:
case 26:
case 27:
case 28:
case 32:
case 33:
case 55:
case 56:
case 57:
case 58:
case 59:
return 1;
default:
return 0;
}
}
return 1;
}
if ( m_objectID > 3017 )
{
v6 = m_objectID - 3018;
if ( !v6 )
return 1;
v7 = v6 - 1;
if ( !v7 )
return 1;
v8 = v7 - 1;
if ( !v8 )
return 1;
v9 = v8 - 1;
if ( !v9 )
return 1;
return v9 == 2;
}
else
{
if ( m_objectID == 3017 )
return 1;
v2 = m_objectID - 1613;
if ( !v2 )
return 1;
v3 = v2 - 205;
if ( !v3 )
return 1;
v4 = v3 - 1;
if ( !v4 )
return 1;
return v4 == 96;
}
}