// // OpacityEffectAction::step from 0x1002d9340 to 0x1002d93a5 (101 bytes) // // 1 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x1000ef62b // // 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 OpacityEffectAction::step(OpacityEffectAction *a1, float a2) { float v2; // xmm0_4 float v3; // xmm0_4 float m_duration; // xmm1_4 float v5; // xmm2_4 if ( !a1->m_finished && !a1->m_disabled ) { v2 = a2 + a1->m_deltaTime; a1->m_deltaTime = v2; v3 = v2 + a1->m_deltaTimeRelated; m_duration = a1->m_duration; if ( v3 >= a1->m_duration ) { v5 = 1.0; } else { v5 = 0.0; if ( v3 > 0.0 ) v5 = v3 / m_duration; } a1->m_currentValue = (float)((float)(a1->m_toValue - a1->m_fromValue) * v5) + a1->m_fromValue; a1->m_finished = v3 >= m_duration; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source