//
// ShaderLayer::updateMotionBlurSpeedY from 0x54e3a2 to 0x54e3e0 (62 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x472644
//
// 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::updateMotionBlurSpeedY(ShaderLayer *a1, float a2, float a3)
{
float m_motionBlurFollowEaseY; // s14
float v4; // s15
m_motionBlurFollowEaseY = a1->m_state.m_motionBlurFollowEaseY;
v4 = a2;
if ( m_motionBlurFollowEaseY > 1.0 )
{
if ( a3 > 0.0 )
m_motionBlurFollowEaseY = m_motionBlurFollowEaseY / a3;
v4 = a1->m_state.m_motionBlurSpeedY
+ (float)((float)(a2 - a1->m_state.m_motionBlurSpeedY) / m_motionBlurFollowEaseY);
}
a1->m_state.m_motionBlurSpeedY = v4;
}