//
// PulseEffectAction::step from 0x8a397c to 0x8a39c8 (76 bytes)
//
// 4 xrefs:
// > GJEffectManager::updatePulseEffects @ 0x8a4a14
// > GJEffectManager::updatePulseEffects @ 0x8a4b30
// > GJEffectManager::runPulseEffect @ 0x8afac8
// > ??> @ 0xb5d40
//
// 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 PulseEffectAction::step(PulseEffectAction *a1, float a2)
{
float v2; // s4
float m_fadeInTime; // s1
float m_holdTime; // s2
float m_fadeOutTime; // s3
float v6; // s0
if ( !a1->m_disabled )
{
v2 = a2 + a1->m_deltaTime;
m_fadeInTime = a1->m_fadeInTime;
m_holdTime = a1->m_holdTime;
m_fadeOutTime = a1->m_fadeOutTime;
v6 = v2 + a1->m_startTime;
a1->m_deltaTime = v2;
a1->m_currentValue = PulseEffectAction::valueForDelta(a1, v6, m_fadeInTime, m_holdTime, m_fadeOutTime);
}
}