// // EffectGameObject::updateSpeedModType from 0x1001bb320 to 0x1001bb3da (186 bytes) // // 4 xrefs: // > PlayLayer::addObject @ 0x1000b2a49 // > LevelEditorLayer::tryUpdateSpeedObject @ 0x1000ea368 // > DrawGridLayer::addToSpeedObjects @ 0x1000eaa40 // > LevelEditorLayer::reverseObjectChanged @ 0x1000f0676 // // 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 // void __fastcall EffectGameObject::updateSpeedModType(EffectGameObject *a1) { int m_objectID; // eax __int16 v2; // cx __int16 v3; // ax m_objectID = a1->m_objectID; if ( m_objectID <= 1933 ) { if ( m_objectID <= 202 ) { v2 = 1; if ( m_objectID == 200 ) goto LABEL_24; if ( m_objectID == 202 ) { v2 = 2; goto LABEL_24; } } else { switch ( m_objectID ) { case 203: v2 = 3; goto LABEL_24; case 1334: v2 = 4; goto LABEL_24; case 1917: v2 = -1; goto LABEL_24; } } } else if ( m_objectID > 2901 ) { if ( m_objectID == 2902 || m_objectID == 3022 || m_objectID == 3027 ) { v2 = -5; goto LABEL_24; } } else { switch ( m_objectID ) { case 1934: v2 = -3; goto LABEL_24; case 1935: v2 = -2; goto LABEL_24; case 2900: v2 = -4; goto LABEL_24; } } v2 = 0; LABEL_24: v3 = -1; if ( !a1->m_isReverse ) v3 = v2; a1->m_speedModType = v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source