//
// ShaderLayer::updateMotionBlurSpeedY from 0xb2d214 to 0xb2d248 (52 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x9a2798
// > ??> @ 0xda248
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:41 +0000
//
__int64 __fastcall ShaderLayer::updateMotionBlurSpeedY(__int64 this, float a2, float a3)
{
float v3; // s2
v3 = *(float *)(this + 880);
if ( v3 > 1.0 )
{
if ( a3 > 0.0 )
v3 = v3 / a3;
a2 = *(float *)(this + 872) + (float)((float)(a2 - *(float *)(this + 872)) / v3);
}
*(float *)(this + 872) = a2;
return this;
}