//
// SetupCameraOffsetTrigger::sliderYChanged from 0x1405ae790 to 0x1405ae7dd (77 bytes)
//
// 3 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x1405ad452
// > SetupCameraOffsetTrigger::init @ 0x1405ada8c
// > ??> @ 0x14092d950
//
// 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 11:34:41 +0000
//
__int64 __fastcall SetupCameraOffsetTrigger::sliderYChanged(__int64 a1, float *a2)
{
float Value; // xmm0_4
Value = SliderThumb::getValue(a2);
*(_DWORD *)(a1 + 1092) = (int)(float)(floorf((float)(Value - 0.5) * 200.0) * 3.0);
SetupCameraOffsetTrigger::updateValueYLabel(a1);
return SetupCameraOffsetTrigger::updateMoveCommandPosY(a1);
}