//
// SetupCameraOffsetTrigger::sliderXChanged from 0x1405ae740 to 0x1405ae78d (77 bytes)
//
// 2 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x1405ad460
// > ??> @ 0x14092d944
//
// 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::sliderXChanged(__int64 a1, float *a2)
{
float Value; // xmm0_4
Value = SliderThumb::getValue(a2);
*(_DWORD *)(a1 + 1088) = (int)(float)(floorf((float)(Value - 0.5) * 200.0) * 3.0);
SetupCameraOffsetTrigger::updateValueXLabel(a1);
return SetupCameraOffsetTrigger::updateMoveCommandPosX(a1);
}