//
// GameObject::isSpeedObject from 0x100262820 to 0x1002628a8 (136 bytes)
//
// 4 xrefs:
// > PlayLayer::addObject @ 0x1001192dc
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x10035e2dc
// > EditorUI::onCreateObject @ 0x1003eb644
// > EditorUI::moveObject @ 0x1003eefec
//
// 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::isSpeedObject(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 <= 1916 )
{
if ( (unsigned int)(m_objectID - 200) >= 4 && m_objectID != 1334 )
return 0;
}
else if ( m_objectID <= 2899 )
{
v3 = m_objectID - 1917;
v4 = v3 > 0x12;
v5 = (1 << v3) & 0x60001;
if ( v4 || v5 == 0 )
return 0;
}
else
{
if ( m_objectID <= 3021 )
{
if ( m_objectID == 2900 || m_objectID == 2902 )
return result;
return 0;
}
if ( m_objectID != 3022 && m_objectID != 3027 )
return 0;
}
return result;
}