//
// GameObject::isStoppableTrigger from 0x1005b6170 to 0x1005b62a7 (311 bytes)
//
// 1 xrefs:
// > GameObject::customSetup @ 0x1005aab0f
//
// 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::isStoppableTrigger(GameObject *a1)
{
int m_objectID; // ecx
bool result; // al
int v3; // esi
unsigned __int64 v4; // rdx
__int64 v5; // rsi
int v6; // esi
unsigned int v7; // ecx
int v8; // esi
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 1912 )
{
if ( m_objectID > 2902 )
{
v4 = (unsigned int)(m_objectID - 2999);
if ( (unsigned int)v4 > 0x22 || (v5 = 0x400020F81LL, !_bittest64(&v5, v4)) )
{
if ( (unsigned int)(m_objectID - 3602) > 0xD || (v6 = 12293, !_bittest(&v6, m_objectID - 3602)) )
{
if ( m_objectID != 2903 )
return 0;
}
}
return result;
}
if ( m_objectID > 2014 )
{
if ( m_objectID == 2015 || m_objectID == 2067 )
return result;
}
else if ( m_objectID == 1913 || m_objectID == 1916 )
{
return result;
}
return 0;
}
if ( m_objectID > 1267 )
{
if ( m_objectID <= 1811 )
{
if ( (unsigned int)(m_objectID - 1595) > 0x14 || (v8 = 1114113, !_bittest(&v8, m_objectID - 1595)) )
{
if ( (unsigned int)(m_objectID - 1346) >= 2 && m_objectID != 1268 )
return 0;
}
return result;
}
v7 = m_objectID - 1812;
if ( v7 <= 3 && v7 != 1 )
return result;
return 0;
}
if ( m_objectID <= 898 )
{
if ( (unsigned int)(m_objectID - 29) < 2 || m_objectID == 105 || m_objectID == 744 )
return result;
return 0;
}
if ( (unsigned int)(m_objectID - 899) > 0x10 || (v3 = 65543, !_bittest(&v3, m_objectID - 899)) )
{
if ( (unsigned int)(m_objectID - 1006) >= 2 )
return 0;
}
return result;
}