//
// EffectGameObject::updateSpeedModType from 0x3ea7ca to 0x3ea864 (154 bytes)
//
// 2 xrefs:
// > PlayLayer::addObject @ 0x31155c
// > DrawGridLayer::addToSpeedObjects @ 0x36a79c
//
// 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; // r3
__int16 v2; // r3
m_objectID = a1->m_objectID;
if ( m_objectID == 1934 )
{
v2 = -3;
goto LABEL_26;
}
if ( m_objectID > 1934 )
{
if ( m_objectID == 2902 )
goto LABEL_23;
if ( m_objectID <= 2902 )
{
if ( m_objectID == 1935 )
{
v2 = -2;
goto LABEL_26;
}
if ( m_objectID == 2900 )
{
v2 = -4;
goto LABEL_26;
}
goto LABEL_24;
}
if ( m_objectID == 3022 || m_objectID == 3027 )
{
LABEL_23:
v2 = -5;
goto LABEL_26;
}
LABEL_24:
v2 = 0;
goto LABEL_26;
}
if ( m_objectID == 203 )
{
v2 = 3;
goto LABEL_26;
}
if ( m_objectID > 203 )
{
if ( m_objectID == 1334 )
{
v2 = 4;
goto LABEL_26;
}
if ( m_objectID == 1917 )
{
v2 = -1;
goto LABEL_26;
}
goto LABEL_24;
}
if ( m_objectID != 200 )
{
if ( m_objectID == 202 )
{
v2 = 2;
goto LABEL_26;
}
goto LABEL_24;
}
v2 = 1;
LABEL_26:
if ( a1->m_isReverse )
v2 = -1;
a1->m_speedModType = v2;
}