// // GameObject::isSpeedObject from 0x1005cb690 to 0x1005cb706 (118 bytes) // // 4 xrefs: // > EditorUI::onCreateObject @ 0x1000351d9 // > EditorUI::moveObject @ 0x10003e964 // > PlayLayer::addObject @ 0x1000b2a19 // > LevelEditorLayer::tryUpdateSpeedObject @ 0x1000ea26d // // 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; // ecx bool result; // al unsigned int v3; // ecx int v4; // edx 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; if ( v3 > 0x12 ) return 0; v4 = 393217; if ( !_bittest(&v4, v3) ) 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source