// // LevelEditorLayer::tryUpdateSpeedObject from 0x10035e2ac to 0x10035e3a4 (248 bytes) // // 3 xrefs: // > LevelEditorLayer::addSpecial @ 0x100359e90 // > LevelEditorLayer::removeSpecial @ 0x10035b7a0 // > EditorUI::onToggleGuide @ 0x1003e773c // // 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 LevelEditorLayer::tryUpdateSpeedObject(LevelEditorLayer *a1, EffectGameObject *a2, bool a3) { bool v5; // w22 int m_objectID; // w23 bool isSpeedObject; // w21 DrawGridLayer *m_drawGridLayer; // x0 int v9; // w0 DrawGridLayer *v10; // x0 v5 = !a2->m_shouldPreview || a3; m_objectID = a2->m_objectID; isSpeedObject = GameObject::isSpeedObject(a2); if ( m_objectID > 659 ) { if ( m_objectID != 660 && m_objectID != 1933 && m_objectID != 1331 ) goto LABEL_11; } else if ( m_objectID != 13 && m_objectID != 47 && m_objectID != 111 ) { goto LABEL_11; } m_drawGridLayer = a1->m_drawGridLayer; if ( !v5 ) { DrawGridLayer::addToGuides(m_drawGridLayer, a2); if ( isSpeedObject ) goto LABEL_16; goto LABEL_14; } sub_10024A444((__int64)m_drawGridLayer->m_guideObjects); LABEL_11: if ( isSpeedObject ) goto LABEL_16; LABEL_14: v9 = ((__int64 (__fastcall *)(EffectGameObject *))a2->canReverse)(a2); if ( !v9 ) return v9; if ( !a2->m_isReverse ) { LOBYTE(v9) = 0; return v9; } LABEL_16: v10 = a1->m_drawGridLayer; if ( v5 ) DrawGridLayer::removeFromSpeedObjects(v10, a2); else DrawGridLayer::addToSpeedObjects(v10, a2); LOBYTE(v9) = 1; return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source