// // OpacityEffectAction::step from 0x8a3894 to 0x8a3904 (112 bytes) // // 3 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x66d700 // > GJEffectManager::updateOpacityEffects @ 0x8b6298 // > @ 0x43590 // // 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 OpacityEffectAction::step(OpacityEffectAction *a1, float a2) { float v2; // s0 float m_duration; // s2 float v4; // s1 float v5; // s4 float m_fromValue; // s3 float v7; // s0 if ( !a1->m_finished && !a1->m_disabled ) { v2 = a2 + a1->m_deltaTime; m_duration = a1->m_duration; v4 = v2 + a1->m_deltaTimeRelated; a1->m_deltaTime = v2; if ( v4 < m_duration ) { if ( v4 <= 0.0 ) v5 = 0.0; else v5 = v4 / m_duration; } else { v5 = 1.0; } m_fromValue = a1->m_fromValue; v7 = a1->m_toValue - m_fromValue; a1->m_finished = v4 >= m_duration; a1->m_currentValue = m_fromValue + (float)(v7 * v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source