//
// SpawnTriggerAction::step from 0x4995e6 to 0x499618 (50 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateSpawnTriggers @ 0x4a26ec
//
// 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 SpawnTriggerAction::step(SpawnTriggerAction *a1, float a2)
{
double v2; // d7
double m_duration; // d6
if ( !a1->m_finished && !a1->m_disabled )
{
v2 = a2 + a1->m_deltaTime;
m_duration = a1->m_duration;
a1->m_deltaTime = v2;
a1->m_finished = v2 >= m_duration;
}
}