// // PulseEffectAction::step from 0x10000d3f8 to 0x10000d468 (112 bytes) // // 3 xrefs: // > GJEffectManager::updatePulseEffects @ 0x10000fd24 // > GJEffectManager::updatePulseEffects @ 0x10000fde0 // > GJEffectManager::runPulseEffect @ 0x1000144d0 // // 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 __fastcall PulseEffectAction::step(PulseEffectAction *a1, float a2) { float v2; // s0 float v3; // s0 float m_fadeInTime; // s1 float v5; // s2 float m_holdTime; // s3 float m_fadeOutTime; // s4 if ( !a1->m_disabled ) { v2 = a1->m_deltaTime + a2; a1->m_deltaTime = v2; v3 = v2 + a1->m_startTime; m_fadeInTime = a1->m_fadeInTime; if ( v3 >= m_fadeInTime ) { m_holdTime = a1->m_holdTime; v5 = 1.0; if ( (float)(m_fadeInTime + m_holdTime) < v3 ) { m_fadeOutTime = a1->m_fadeOutTime; v5 = 0.0; if ( m_fadeOutTime > 0.0 ) v5 = 1.0 - (float)((float)((float)(v3 - m_fadeInTime) - m_holdTime) / m_fadeOutTime); } } else { v5 = v3 / m_fadeInTime; } a1->m_currentValue = v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source