//
// Slider::setValue from 0x1400849b0 to 0x140084a43 (147 bytes)
//
// 70 xrefs:
// > DeathMarkerSettingsPopup::init @ 0x14011c86c
// > DeathMarkerSettingsPopup::init @ 0x14011c893
// > DeathMarkerSettingsPopup::init @ 0x14011cd4f
// > ColorSelectLiveOverlay::selectColor @ 0x14012643c
// > ColorSelectLiveOverlay::selectColor @ 0x140126454
// > ColorSelectLiveOverlay::selectColor @ 0x14012646c
// > ColorSelectLiveOverlay::selectColor @ 0x140126480
// > ColorSelectPopup::init @ 0x140127290
// > ColorSelectPopup::onDefault @ 0x140129f67
// > ColorSelectPopup::textChanged @ 0x14012bf90
// > ConfigureHSVWidget::updateSliders @ 0x140130b31
// > ConfigureHSVWidget::updateSliders @ 0x140130b72
// > ConfigureHSVWidget::updateSliders @ 0x140130bb5
// > ConfigureHSVWidget::onToggleSConst @ 0x140130d08
// > ConfigureHSVWidget::onToggleVConst @ 0x140130d88
// > ConfigureHSVWidget::onResetHSV @ 0x140130e06
// > ConfigureHSVWidget::onResetHSV @ 0x140130e1a
// > ConfigureHSVWidget::onResetHSV @ 0x140130e2e
// > ConfigureValuePopup::init @ 0x1401322e0
// > ConfigureValuePopup::textChanged @ 0x140132a5e
// > CustomizeObjectLayer::init @ 0x1401411eb
// > EditorPauseLayer::volumeChanged @ 0x140180e1a
// > EditorPauseLayer::volumeChanged @ 0x140180e75
// > EditorPauseLayer::customSetup @ 0x14018216e
// > GJScaleControl::loadValues @ 0x1401a396d
// > GJScaleControl::loadValues @ 0x1401a3a0c
// > GJScaleControl::loadValues @ 0x1401a3a48
// > GJScaleControl::loadValues @ 0x1401a3a9e
// > GJScaleControl::ccTouchMoved @ 0x1401a40df
// > GJScaleControl::ccTouchMoved @ 0x1401a42f0
// > GJScaleControl::ccTouchMoved @ 0x1401a4325
// > GJScaleControl::onApplyScale @ 0x1401a4b99
// > GJScaleControl::onApplyScale @ 0x1401a4bd4
// > GJScaleControl::onApplyScale @ 0x1401a4c0b
// > EditorUI::updateSlider @ 0x1401ae1b3
// > MusicBrowser::update @ 0x14047bd05
// > MusicBrowser::update @ 0x14047bd54
// > OptionsLayer::volumeChanged @ 0x1404cadfa
// > OptionsLayer::volumeChanged @ 0x1404cae55
// > OptionsLayer::customSetup @ 0x1404cb6ea
// > OptionsLayer::customSetup @ 0x1404cb876
// > PauseLayer::volumeChanged @ 0x1404d687a
// > PauseLayer::volumeChanged @ 0x1404d68d5
// > PauseLayer::customSetup @ 0x1404d7fa4
// > PauseLayer::customSetup @ 0x1404d808a
// > SetupCameraModePopup::init @ 0x1405abdd0
// > SetupCameraOffsetTrigger::init @ 0x1405acfbe
// > SetupCameraOffsetTrigger::init @ 0x1405ad833
// > SetupCameraOffsetTrigger::textChanged @ 0x1405aedd0
// > SetupMGTrigger::init @ 0x1405bcf9b
// > SetupMGTrigger::init @ 0x1405bd805
// > SetupMGTrigger::textChanged @ 0x1405bde70
// > SetupOpacityPopup::init @ 0x1405c055e
// > SetupOpacityPopup::textChanged @ 0x1405c0e29
// > CreateParticlePopup::createParticleSlider @ 0x1405c6422
// > CreateParticlePopup::updateSliderForType @ 0x1405ca2cd
// > SetupPulsePopup::textChanged @ 0x1405d1df0
// > SetupPulsePopup::textChanged @ 0x1405d1ef4
// > SetupPulsePopup::textChanged @ 0x1405d2000
// > SetupRandTriggerPopup::init @ 0x1405d5894
// > SetupShakePopup::init @ 0x1405eb0e3
// > SetupShakePopup::textChanged @ 0x1405ebb43
// > SetupShakePopup::textChanged @ 0x1405ebd7f
// > SetupTimeWarpPopup::init @ 0x1405f9a24
// > SetupTriggerPopup::textChanged @ 0x14060ce70
// > SetupTriggerPopup::updateValueControls @ 0x14060f3c2
// > SetupTriggerPopup::updateSlider @ 0x14060f7d1
// > TimeSpeedControl::init @ 0x14066d9f6
// > ??> @ 0x1409124b8
// > ??> @ 0x1409124c4
//
// 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:25:56 +0000
//
__int64 __fastcall Slider::setValue(__int64 a1, float a2)
{
float Value; // xmm0_4
__int64 v4; // rdi
__int64 (__fastcall *v5)(__int64, __int64); // rbx
__int64 v6; // rax
_BYTE v8[24]; // [rsp+30h] [rbp-18h] BYREF
SliderThumb::setValue(*(float **)(*(_QWORD *)(a1 + 408) + 456LL), a2);
Value = SliderThumb::getValue(*(float **)(*(_QWORD *)(a1 + 408) + 456LL));
v4 = *(_QWORD *)(a1 + 416);
v5 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 992LL);
v6 = cocos2d::CCRect::CCRect(
(cocos2d::CCRect *)v8,
0.0,
0.0,
fminf(*(float *)(a1 + 432), *(float *)(a1 + 432) * Value),
*(float *)(a1 + 436));
return v5(v4, v6);
}