//
// SetupMGTrigger::sliderYChanged from 0x10050b3a0 to 0x10050b3ef (79 bytes)
//
// 1 xrefs:
// > sub_100509EF0 @ 0x10050aca5
//
// This function is hookable on this platform (idp: pc, 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 12:31:34 +0000
//
__int64 __fastcall SetupMGTrigger::sliderYChanged(__int64 a1, float *a2)
{
__m128 Value; // xmm0
Value = SliderThumb::getValue(a2);
Value.f32[0] = (float)(Value.f32[0] + -0.5) * 200.0;
*(_DWORD *)(a1 + 1088) = (int)(float)(_mm_round_ss(Value, Value, 9).f32[0] * 3.0);
sub_10050B460(a1);
return sub_10050BBE0(a1);
}