// // LevelEditorLayer::tryUpdateSpeedObject from 0x36a7c6 to 0x36a858 (146 bytes) // // 3 xrefs: // > LevelEditorLayer::removeSpecial @ 0x36aa82 // > LevelEditorLayer::addSpecial @ 0x370c02 // > EditorUI::onToggleGuide @ 0x37e018 // // 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 LevelEditorLayer::tryUpdateSpeedObject(LevelEditorLayer *a1, EffectGameObject *a2, bool a3) { _BOOL4 v4; // r8 int m_objectID; // r5 _BOOL4 isSpeedObject; // r6 bool v8; // zf DrawGridLayer *m_drawGridLayer; // r0 DrawGridLayer *v10; // r0 v4 = !a2->m_shouldPreview || a3; m_objectID = a2->m_objectID; isSpeedObject = GameObject::isSpeedObject(a2); if ( m_objectID != 111 ) { if ( m_objectID > 111 ) { if ( m_objectID != 1331 && m_objectID != 1933 ) { v8 = m_objectID == 660; LABEL_11: if ( !v8 ) goto LABEL_16; } } else if ( m_objectID != 13 ) { v8 = m_objectID == 47; goto LABEL_11; } } m_drawGridLayer = a1->m_drawGridLayer; if ( v4 ) DrawGridLayer::removeFromGuides(m_drawGridLayer, a2); else DrawGridLayer::addToGuides(m_drawGridLayer, a2); LABEL_16: if ( isSpeedObject || ((int (__fastcall *)(EffectGameObject *))a2->canReverse)(a2) && a2->m_isReverse ) { v10 = a1->m_drawGridLayer; if ( v4 ) DrawGridLayer::removeFromSpeedObjects(v10, a2); else DrawGridLayer::addToSpeedObjects(v10, a2); LOBYTE(isSpeedObject) = 1; } return isSpeedObject; }
GD Web Decomp Icon

GD Web Decomp

Raw Source