//
// EffectGameObject::updateSpeedModType from 0x75e7ac to 0x75e8b4 (264 bytes)
//
// 3 xrefs:
// > PlayLayer::addObject @ 0x5cc684
// > DrawGridLayer::addToSpeedObjects @ 0x665184
// > ??> @ 0x3d188
//
// 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 EffectGameObject::updateSpeedModType(EffectGameObject *a1)
{
int m_objectID; // w2
__int16 v2; // w1
__int16 v3; // w1
__int16 v4; // w1
__int16 v5; // w1
__int16 v6; // w1
m_objectID = a1->m_objectID;
if ( m_objectID == 1934 )
{
if ( a1->m_isReverse )
v5 = -1;
else
v5 = -3;
a1->m_speedModType = v5;
}
else if ( m_objectID > 1934 )
{
if ( m_objectID != 2902 )
{
if ( m_objectID <= 2902 )
{
v2 = -2;
if ( m_objectID == 1935 || (v2 = -4, m_objectID == 2900) )
{
LABEL_7:
if ( a1->m_isReverse )
v2 = -1;
a1->m_speedModType = v2;
return;
}
goto LABEL_14;
}
if ( m_objectID != 3022 && m_objectID != 3027 )
{
LABEL_14:
if ( a1->m_isReverse )
v3 = -1;
else
v3 = 0;
a1->m_speedModType = v3;
return;
}
}
if ( a1->m_isReverse )
v6 = -1;
else
v6 = -5;
a1->m_speedModType = v6;
}
else
{
if ( m_objectID != 203 )
{
if ( m_objectID > 203 )
{
v2 = 4;
if ( m_objectID == 1334 )
goto LABEL_7;
if ( m_objectID == 1917 )
{
a1->m_speedModType = -1;
return;
}
}
else
{
v2 = 1;
if ( m_objectID == 200 )
goto LABEL_7;
v2 = 2;
if ( m_objectID == 202 )
goto LABEL_7;
}
goto LABEL_14;
}
if ( a1->m_isReverse )
v4 = -1;
else
v4 = 3;
a1->m_speedModType = v4;
}
}