//
// PulseEffectAction::step from 0x5c2744 to 0x5c2776 (50 bytes)
//
// 3 xrefs:
// > GJEffectManager::updatePulseEffects @ 0x5c3762
// > GJEffectManager::updatePulseEffects @ 0x5c37f0
// > GJEffectManager::runPulseEffect @ 0x5ca42a
//
// 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 PulseEffectAction::step(int this, float a2)
{
int v2; // r4
float v3; // s15
float v4; // s14
float savedregs; // [sp+0h] [bp+0h]
v2 = this;
if ( !*(_BYTE *)this )
{
v3 = a2 + *(float *)(this + 16);
v4 = *(float *)(this + 68);
*(float *)(this + 16) = v3;
this = PulseEffectAction::valueForDelta(
COERCE_PULSEEFFECTACTION_(v3 + v4),
*(float *)(this + 4),
*(float *)(this + 8),
*(float *)(this + 12),
savedregs);
*(_DWORD *)(v2 + 24) = this;
}
return this;
}