// // ShaderLayer::triggerShockLine from 0x1404849f0 to 0x140484e91 (1185 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x14022137c // > @ 0x1406a6484 // > @ 0x1406a64b8 // > @ 0x1406dbc3c // // 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 ShaderLayer::triggerShockLine( ShaderLayer *a1, float a2, float a3, bool a4, bool a5, bool a6, bool a7, float a8, float a9, float a10, float a11, float a12, float a13, int a14, bool a15, bool a16, bool a17, float a18, bool a19, float a20, int a21, float a22) { ShaderLayer *v22; // rbx double m_time; // xmm3_8 float v25; // xmm6_4 float m_shockLineSpeed; // xmm1_4 float m_shockLineThickness; // xmm1_4 float m_shockLineStrength; // xmm1_4 float m_shockLineWidth; // xmm1_4 float m_shockLineFadeIn; // xmm1_4 float m_shockLineFadeOut; // xmm1_4 float m_shockLineScreenOffset; // xmm1_4 float m_shockLineMaxSize; // xmm1_4 float m_shockLineTimeOffset; // xmm1_4 v22 = a1; m_time = a1->m_state.m_time; if ( a19 ) { v25 = a20; a1->m_state.m_shockLineTime = (float)((float)(m_time - a1->m_state.m_shockLineStartTime) * a1->m_state.m_shockLineSpeed) + a1->m_state.m_shockLineTime; } else { v25 = 0.0; a1->m_state.m_shockLineTargetID = a14; a1->m_state.m_shockLineTarget = a15; a1->m_state.m_shockLineCenterMoving = a16; a1->m_state.m_shockLineRelative = a17; a1->m_state.m_shockLineDirection = a5; a1->m_state.m_shockLineDual = a6; a1->m_state.m_shockLineInvert = a7; a1->m_state.m_shockLineTime = 0.0; a1->m_state.m_shockLineCenterDirty = 1; a1->m_state.m_shockLineAxis = a4; } a1->m_state.m_shockLineStartTime = m_time; if ( a2 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineSpeed = 0.0; } else { if ( a1->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&a1->m_state, 62); m_shockLineSpeed = v22->m_state.m_shockLineSpeed; a1 = v22; } ShaderLayer::tweenValue(a1, m_shockLineSpeed, a2, 62, v25, a21, a22); } if ( a3 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineThickness = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 63); m_shockLineThickness = v22->m_state.m_shockLineThickness; } ShaderLayer::tweenValue(v22, m_shockLineThickness, a3, 63, v25, a21, a22); } if ( a8 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineStrength = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 64); m_shockLineStrength = v22->m_state.m_shockLineStrength; } ShaderLayer::tweenValue(v22, m_shockLineStrength, a8, 64, v25, a21, a22); } if ( a9 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineWidth = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 65); m_shockLineWidth = v22->m_state.m_shockLineWidth; } ShaderLayer::tweenValue(v22, m_shockLineWidth, a9, 65, v25, a21, a22); } if ( a10 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineFadeIn = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 66); m_shockLineFadeIn = v22->m_state.m_shockLineFadeIn; } ShaderLayer::tweenValue(v22, m_shockLineFadeIn, a10, 66, v25, a21, a22); } if ( a11 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineFadeOut = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 67); m_shockLineFadeOut = v22->m_state.m_shockLineFadeOut; } ShaderLayer::tweenValue(v22, m_shockLineFadeOut, a11, 67, v25, a21, a22); } if ( a13 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineScreenOffset = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 68); m_shockLineScreenOffset = v22->m_state.m_shockLineScreenOffset; } ShaderLayer::tweenValue(v22, m_shockLineScreenOffset, a13, 68, v25, a21, a22); } if ( a18 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineMaxSize = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 69); m_shockLineMaxSize = v22->m_state.m_shockLineMaxSize; } ShaderLayer::tweenValue(v22, m_shockLineMaxSize, a18, 69, v25, a21, a22); } if ( a12 != -909190.0 ) { if ( v25 <= 0.0 ) { m_shockLineTimeOffset = 0.0; } else { if ( v22->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v22->m_state, 70); m_shockLineTimeOffset = v22->m_state.m_shockLineTimeOffset; } ShaderLayer::tweenValue(v22, m_shockLineTimeOffset, a12, 70, v25, a21, a22); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source