//
// ShaderLayer::updateMotionBlurSpeedY from 0x1002724c0 to 0x1002724f4 (52 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x1001f151c
//
// 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 ShaderLayer::updateMotionBlurSpeedY(ShaderLayer *a1, float a2, float a3)
{
float m_motionBlurFollowEaseY; // s2
float v4; // s1
m_motionBlurFollowEaseY = a1->m_state.m_motionBlurFollowEaseY;
if ( m_motionBlurFollowEaseY > 1.0 )
{
if ( a3 <= 0.0 )
v4 = a1->m_state.m_motionBlurFollowEaseY;
else
v4 = m_motionBlurFollowEaseY / a3;
a2 = a1->m_state.m_motionBlurSpeedY + (float)((float)(a2 - a1->m_state.m_motionBlurSpeedY) / v4);
}
a1->m_state.m_motionBlurSpeedY = a2;
}