//
// GameObject::isSpeedObject from 0x359500 to 0x359552 (82 bytes)
//
// 4 xrefs:
// > PlayLayer::addObject @ 0x311536
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x36a7e2
// > EditorUI::moveObject @ 0x38108e
// > EditorUI::onCreateObject @ 0x3a3d64
//
// 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 GameObject::isSpeedObject(GameObject *a1)
{
int m_objectID; // r3
int v2; // r2
m_objectID = a1->m_objectID;
if ( m_objectID >= 1936 )
{
if ( m_objectID == 2902 )
return 1;
if ( m_objectID > 2902 )
{
if ( m_objectID == 3022 )
return 1;
v2 = 3027;
}
else
{
v2 = 2900;
}
return m_objectID == v2;
}
if ( m_objectID >= 1934 || m_objectID == 1334 )
return 1;
if ( m_objectID > 1334 )
{
v2 = 1917;
return m_objectID == v2;
}
return (unsigned int)(m_objectID - 200) <= 3;
}