//
// SpawnTriggerAction::step from 0x9f8ef4 to 0x9f8f28 (52 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateSpawnTriggers @ 0x9fde48
// > ??> @ 0x824c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:15 +0000
//
__int64 __fastcall SpawnTriggerAction::step(__int64 this, float a2)
{
double v2; // d1
double v3; // d0
if ( !*(_BYTE *)this && !*(_BYTE *)(this + 1) )
{
v2 = *(double *)(this + 8);
v3 = a2 + *(double *)(this + 16);
*(double *)(this + 16) = v3;
*(_BYTE *)this = v3 >= v2;
}
return this;
}