void* __fastcall zyra::features::view::hkDrawViewPunch(CPlayer_CameraServices* camera_services, float* a2, float* a3, float* a4)
{
static auto oDrawViewPunch = hooks::getOriginal<
void* (__fastcall*)(CPlayer_CameraServices*, float*, float*, float*)>
(_("DrawViewPunch"));
if (!noScreenShake || !camera_services || screenShake <= 0.0005f)
return oDrawViewPunch(camera_services, a2, a3, a4);
camera_services->m_vecCsViewPunchAngle() *= (1.f - screenShake);
return oDrawViewPunch(camera_services, a2, a3, a4);
}