//
// GameObject::isColorTrigger from 0x1005cb5c0 to 0x1005cb604 (68 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::addSpecial @ 0x1000e00d3
// > LevelEditorLayer::removeSpecial @ 0x1000e251e
//
// 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::isColorTrigger(GameObject *a1)
{
int m_objectID; // ecx
bool result; // al
unsigned int v3; // ecx
int v4; // edx
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID <= 898 )
{
if ( (unsigned int)(m_objectID - 29) < 2 || m_objectID == 105 || m_objectID == 744 )
return result;
return 0;
}
v3 = m_objectID - 899;
if ( v3 > 0x10 )
return 0;
v4 = 65539;
if ( !_bittest(&v4, v3) )
return 0;
return result;
}