//
// SpawnTriggerAction::step from 0x8a39c8 to 0x8a39fc (52 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateSpawnTriggers @ 0x8a4e98
// > ??> @ 0x5f6e8
//
// 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 m_duration; // d1
double v3; // d0
if ( !a1->m_finished && !a1->m_disabled )
{
m_duration = a1->m_duration;
v3 = a2 + a1->m_deltaTime;
a1->m_deltaTime = v3;
a1->m_finished = v3 >= m_duration;
}
}