// // EffectGameObject::updateSpeedModType from 0x1003868d4 to 0x1003869a8 (212 bytes) // // 2 xrefs: // > PlayLayer::addObject @ 0x100119314 // > DrawGridLayer::addToSpeedObjects @ 0x10035e6c4 // // 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; // w8 __int16 v2; // w8 m_objectID = a1->m_objectID; if ( m_objectID <= 1933 ) { if ( m_objectID <= 202 ) { if ( m_objectID == 200 ) { v2 = 1; goto LABEL_25; } if ( m_objectID == 202 ) { v2 = 2; goto LABEL_25; } } else { switch ( m_objectID ) { case 203: v2 = 3; goto LABEL_25; case 1334: v2 = 4; goto LABEL_25; case 1917: v2 = -1; goto LABEL_25; } } } else if ( m_objectID > 2901 ) { if ( m_objectID == 2902 || m_objectID == 3022 || m_objectID == 3027 ) { v2 = -5; goto LABEL_25; } } else { switch ( m_objectID ) { case 1934: v2 = -3; goto LABEL_25; case 1935: v2 = -2; goto LABEL_25; case 2900: v2 = -4; goto LABEL_25; } } v2 = 0; LABEL_25: if ( a1->m_isReverse ) v2 = -1; a1->m_speedModType = v2; }