//
// ShaderLayer::updateMotionBlurSpeedY from 0x1003d0af0 to 0x1003d0b33 (67 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x10013b6d7
//
// 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; // xmm2_4
m_motionBlurFollowEaseY = a1->m_state.m_motionBlurFollowEaseY;
if ( m_motionBlurFollowEaseY > 1.0 )
{
if ( a3 > 0.0 )
m_motionBlurFollowEaseY = m_motionBlurFollowEaseY / a3;
a2 = (float)((float)(a2 - a1->m_state.m_motionBlurSpeedY) / m_motionBlurFollowEaseY)
+ a1->m_state.m_motionBlurSpeedY;
}
a1->m_state.m_motionBlurSpeedY = a2;
}