//
// SpawnTriggerAction::step from 0x5c2776 to 0x5c27a8 (50 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateSpawnTriggers @ 0x5c4f48
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:53:50 +0000
//
int __fastcall SpawnTriggerAction::step(int this, float a2)
{
double v2; // d7
double v3; // d6
if ( !*(_BYTE *)this && !*(_BYTE *)(this + 1) )
{
v2 = a2 + *(double *)(this + 16);
v3 = *(double *)(this + 8);
*(double *)(this + 16) = v2;
*(_BYTE *)this = v2 >= v3;
}
return this;
}