//
// GameObject::isSpeedObject from 0x64b628 to 0x64b6a0 (120 bytes)
//
// 7 xrefs:
// > PlayLayer::addObject @ 0x5cc66c
// > PlayLayer::addObject @ 0x5cc80c
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x6651fc
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x665258
// > EditorUI::moveObject @ 0x68efc8
// > EditorUI::onCreateObject @ 0x6bff48
// > ??> @ 0x9cdc8
//
// 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; // w0
m_objectID = a1->m_objectID;
if ( m_objectID <= 1935 )
{
if ( m_objectID < 1934 && m_objectID != 1334 )
{
if ( m_objectID <= 1334 )
return (unsigned int)(m_objectID - 200) <= 3;
if ( m_objectID != 1917 )
return 0;
}
return 1;
}
if ( m_objectID == 2902 )
return 1;
if ( m_objectID > 2902 )
return m_objectID == 3022 || m_objectID == 3027;
return m_objectID == 2900;
}