//
// ShaderLayer::updateMotionBlurSpeedY from 0x9f67e4 to 0x9f6818 (52 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x85f3e4
// > ??> @ 0xa6188
//
// 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; // s2
m_motionBlurFollowEaseY = a1->m_state.m_motionBlurFollowEaseY;
if ( m_motionBlurFollowEaseY > 1.0 )
{
if ( a3 > 0.0 )
m_motionBlurFollowEaseY = m_motionBlurFollowEaseY / a3;
a2 = a1->m_state.m_motionBlurSpeedY
+ (float)((float)(a2 - a1->m_state.m_motionBlurSpeedY) / m_motionBlurFollowEaseY);
}
a1->m_state.m_motionBlurSpeedY = a2;
}