//
// SetupCameraOffsetTrigger::sliderXChanged from 0x1404170e0 to 0x14041712d (77 bytes)
//
// 2 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x140416020
// > ??> @ 0x1406d8f9c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupCameraOffsetTrigger::sliderXChanged(SetupCameraOffsetTrigger *a1, cocos2d::CCObject *a2)
{
float Value; // xmm0_4
Value = SliderThumb::getValue((SliderThumb *)a2);
a1->m_offsetX = (int)(float)(floorf((float)(Value - 0.5) * 200.0) * 3.0);
SetupCameraOffsetTrigger::updateValueXLabel(a1);
SetupCameraOffsetTrigger::updateMoveCommandPosX(a1);
}