//
// GameObject::isColorTrigger from 0x100262740 to 0x100262794 (84 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::addSpecial @ 0x100359f20
// > LevelEditorLayer::removeSpecial @ 0x10035b81c
//
// 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; // w8
bool result; // w0
unsigned int v3; // w8
bool v4; // cc
int v5; // w8
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 898 )
{
v3 = m_objectID - 899;
v4 = v3 > 0x10;
v5 = (1 << v3) & 0x10003;
if ( v4 || v5 == 0 )
return 0;
}
else if ( (unsigned int)(m_objectID - 29) >= 2 && m_objectID != 105 && m_objectID != 744 )
{
return 0;
}
return result;
}