//
// GameObject::isBasicTrigger from 0x1005cbc50 to 0x1005cbcb1 (97 bytes)
//
// 3 xrefs:
// > EditorUI::editObject @ 0x10002afd7
// > EditorUI::editObject @ 0x10002be84
// > EditorUI::editButtonUsable @ 0x100048263
//
// 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::isBasicTrigger(GameObject *a1)
{
int m_objectID; // ecx
bool result; // al
__int64 v3; // rsi
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 1817 )
{
if ( ((unsigned int)(m_objectID - 3017) > 6 || m_objectID == 3022)
&& (unsigned int)(m_objectID - 1818) >= 2
&& m_objectID != 1915 )
{
return 0;
}
}
else if ( (unsigned int)m_objectID > 0x3B || (v3 = 0xF8000031FC00000LL, !_bittest64(&v3, (unsigned int)m_objectID)) )
{
if ( (unsigned int)(m_objectID - 1612) >= 2 )
return 0;
}
return result;
}