{"type": "func", "start": 5369175088, "end": 5369175230, "name": "Slider::setValue", "pseudocode": "// \n// Slider::setValue from 0x140071c30 to 0x140071cbe (142 bytes)\n// \n// 62 xrefs:\n// > ColorSelectLiveOverlay::selectColor @ 0x14008d3c8\n// > ColorSelectLiveOverlay::selectColor @ 0x14008d3e0\n// > ColorSelectLiveOverlay::selectColor @ 0x14008d3f8\n// > ColorSelectLiveOverlay::selectColor @ 0x14008d40c\n// > ColorSelectPopup::init @ 0x14008e40f\n// > ColorSelectPopup::onDefault @ 0x140091031\n// > ColorSelectPopup::textChanged @ 0x140093096\n// > ConfigureHSVWidget::updateSliders @ 0x140097929\n// > ConfigureHSVWidget::updateSliders @ 0x140097965\n// > ConfigureHSVWidget::updateSliders @ 0x1400979a8\n// > ConfigureHSVWidget::onToggleSConst @ 0x140097af8\n// > ConfigureHSVWidget::onToggleVConst @ 0x140097b78\n// > ConfigureHSVWidget::onResetHSV @ 0x140097bf6\n// > ConfigureHSVWidget::onResetHSV @ 0x140097c0a\n// > ConfigureHSVWidget::onResetHSV @ 0x140097c1e\n// > ConfigureValuePopup::init @ 0x140098e16\n// > ConfigureValuePopup::textChanged @ 0x140099534\n// > CustomizeObjectLayer::init @ 0x1400a7187\n// > EditorUI::updateSlider @ 0x1400e2bf7\n// > GJScaleControl::loadValues @ 0x14012a1bc\n// > GJScaleControl::loadValues @ 0x14012a25e\n// > GJScaleControl::loadValues @ 0x14012a29a\n// > GJScaleControl::loadValues @ 0x14012a2ea\n// > GJScaleControl::ccTouchMoved @ 0x14012a8bb\n// > GJScaleControl::ccTouchMoved @ 0x14012ab07\n// > GJScaleControl::ccTouchMoved @ 0x14012ab3f\n// > GJFollowCommandLayer::init @ 0x140270e6f\n// > GJFollowCommandLayer::init @ 0x14027125b\n// > GJFollowCommandLayer::textChanged @ 0x14027260b\n// > GJPFollowCommandLayer::init @ 0x14028af57\n// > GJPFollowCommandLayer::init @ 0x14028b349\n// > GJPFollowCommandLayer::textChanged @ 0x14028c857\n// > GJPFollowCommandLayer::textChanged @ 0x14028c952\n// > GJPFollowCommandLayer::textChanged @ 0x14028ca54\n// > MusicBrowser::update @ 0x140339697\n// > MusicBrowser::update @ 0x1403396e1\n// > OptionsLayer::customSetup @ 0x140372573\n// > OptionsLayer::customSetup @ 0x1403726f4\n// > PauseLayer::customSetup @ 0x14037d108\n// > PauseLayer::customSetup @ 0x14037d1d9\n// > SetupCameraOffsetTrigger::init @ 0x140415ba1\n// > SetupCameraOffsetTrigger::init @ 0x1404163ef\n// > SetupCameraOffsetTrigger::textChanged @ 0x140417747\n// > SetupMGTrigger::init @ 0x14042797d\n// > SetupMGTrigger::init @ 0x1404281d8\n// > SetupMGTrigger::textChanged @ 0x14042881d\n// > SetupOpacityPopup::init @ 0x14042b18a\n// > SetupOpacityPopup::textChanged @ 0x14042b9e9\n// > CreateParticlePopup::createParticleSlider @ 0x140430de4\n// > CreateParticlePopup::updateSliderForType @ 0x1404349a6\n// > SetupPulsePopup::textChanged @ 0x14043c729\n// > SetupPulsePopup::textChanged @ 0x14043c829\n// > SetupPulsePopup::textChanged @ 0x14043c929\n// > SetupRandTriggerPopup::init @ 0x140440761\n// > SetupShakePopup::init @ 0x140455820\n// > SetupShakePopup::textChanged @ 0x14045625a\n// > SetupShakePopup::textChanged @ 0x14045648a\n// > SetupTimeWarpPopup::init @ 0x14046389a\n// > SetupTriggerPopup::textChanged @ 0x140475a0d\n// > SetupTriggerPopup::updateValueControls @ 0x140477cf9\n// > SetupTriggerPopup::updateSlider @ 0x1404780a1\n// > <???> @ 0x1406c62a0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid Slider::setValue(Slider *a1, float a2)\n{\n  float Value; // xmm0_4\n  float m_width; // xmm3_4\n  cocos2d::CCSprite_vtbl *v5; // rbx\n  const cocos2d::CCRect *v6; // rax\n  cocos2d::CCRect v7; // [rsp+30h] [rbp-18h] BYREF\n\n  SliderThumb::setValue(a1->m_touchLogic->m_thumb, a2);\n  Value = SliderThumb::getValue(a1->m_touchLogic->m_thumb);\n  m_width = a1->m_width;\n  if ( (float)(m_width * Value) <= m_width )\n    m_width = a1->m_width * Value;\n  v5 = a1->m_sliderBar->__vftable;\n  v6 = (const cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v7, 0.0, 0.0, m_width, a1->m_height);\n  v5->setTextureRect_0(a1->m_sliderBar, v6);\n}", "assembly": "; \n; Slider::setValue from 0x140071c30 to 0x140071cbe (142 bytes)\n; \n; 62 xrefs:\n; > ColorSelectLiveOverlay::selectColor @ 0x14008d3c8\n; > ColorSelectLiveOverlay::selectColor @ 0x14008d3e0\n; > ColorSelectLiveOverlay::selectColor @ 0x14008d3f8\n; > ColorSelectLiveOverlay::selectColor @ 0x14008d40c\n; > ColorSelectPopup::init @ 0x14008e40f\n; > ColorSelectPopup::onDefault @ 0x140091031\n; > ColorSelectPopup::textChanged @ 0x140093096\n; > ConfigureHSVWidget::updateSliders @ 0x140097929\n; > ConfigureHSVWidget::updateSliders @ 0x140097965\n; > ConfigureHSVWidget::updateSliders @ 0x1400979a8\n; > ConfigureHSVWidget::onToggleSConst @ 0x140097af8\n; > ConfigureHSVWidget::onToggleVConst @ 0x140097b78\n; > ConfigureHSVWidget::onResetHSV @ 0x140097bf6\n; > ConfigureHSVWidget::onResetHSV @ 0x140097c0a\n; > ConfigureHSVWidget::onResetHSV @ 0x140097c1e\n; > ConfigureValuePopup::init @ 0x140098e16\n; > ConfigureValuePopup::textChanged @ 0x140099534\n; > CustomizeObjectLayer::init @ 0x1400a7187\n; > EditorUI::updateSlider @ 0x1400e2bf7\n; > GJScaleControl::loadValues @ 0x14012a1bc\n; > GJScaleControl::loadValues @ 0x14012a25e\n; > GJScaleControl::loadValues @ 0x14012a29a\n; > GJScaleControl::loadValues @ 0x14012a2ea\n; > GJScaleControl::ccTouchMoved @ 0x14012a8bb\n; > GJScaleControl::ccTouchMoved @ 0x14012ab07\n; > GJScaleControl::ccTouchMoved @ 0x14012ab3f\n; > GJFollowCommandLayer::init @ 0x140270e6f\n; > GJFollowCommandLayer::init @ 0x14027125b\n; > GJFollowCommandLayer::textChanged @ 0x14027260b\n; > GJPFollowCommandLayer::init @ 0x14028af57\n; > GJPFollowCommandLayer::init @ 0x14028b349\n; > GJPFollowCommandLayer::textChanged @ 0x14028c857\n; > GJPFollowCommandLayer::textChanged @ 0x14028c952\n; > GJPFollowCommandLayer::textChanged @ 0x14028ca54\n; > MusicBrowser::update @ 0x140339697\n; > MusicBrowser::update @ 0x1403396e1\n; > OptionsLayer::customSetup @ 0x140372573\n; > OptionsLayer::customSetup @ 0x1403726f4\n; > PauseLayer::customSetup @ 0x14037d108\n; > PauseLayer::customSetup @ 0x14037d1d9\n; > SetupCameraOffsetTrigger::init @ 0x140415ba1\n; > SetupCameraOffsetTrigger::init @ 0x1404163ef\n; > SetupCameraOffsetTrigger::textChanged @ 0x140417747\n; > SetupMGTrigger::init @ 0x14042797d\n; > SetupMGTrigger::init @ 0x1404281d8\n; > SetupMGTrigger::textChanged @ 0x14042881d\n; > SetupOpacityPopup::init @ 0x14042b18a\n; > SetupOpacityPopup::textChanged @ 0x14042b9e9\n; > CreateParticlePopup::createParticleSlider @ 0x140430de4\n; > CreateParticlePopup::updateSliderForType @ 0x1404349a6\n; > SetupPulsePopup::textChanged @ 0x14043c729\n; > SetupPulsePopup::textChanged @ 0x14043c829\n; > SetupPulsePopup::textChanged @ 0x14043c929\n; > SetupRandTriggerPopup::init @ 0x140440761\n; > SetupShakePopup::init @ 0x140455820\n; > SetupShakePopup::textChanged @ 0x14045625a\n; > SetupShakePopup::textChanged @ 0x14045648a\n; > SetupTimeWarpPopup::init @ 0x14046389a\n; > SetupTriggerPopup::textChanged @ 0x140475a0d\n; > SetupTriggerPopup::updateValueControls @ 0x140477cf9\n; > SetupTriggerPopup::updateSlider @ 0x1404780a1\n; > <???> @ 0x1406c62a0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140071c30\npush    rdi                                                            ; +0x5, 0x140071c35\nsub     rsp, 40h                                                       ; +0x6, 0x140071c36\nmov     rdi, rcx                                                       ; +0xa, 0x140071c3a\nmov     rcx, [rcx+198h]                                                ; +0xd, 0x140071c3d\nmov     rcx, [rcx+1C8h]                                                ; +0x14, 0x140071c44\ncall    SliderThumb__setValue                                          ; +0x1b, 0x140071c4b\nmov     rax, [rdi+198h]                                                ; +0x20, 0x140071c50\nmov     rcx, [rax+1C8h]                                                ; +0x27, 0x140071c57\ncall    SliderThumb__getValue                                          ; +0x2e, 0x140071c5e\nmovss   xmm3, dword ptr [rdi+1B0h]                                     ; +0x33, 0x140071c63\nmovaps  xmm1, xmm3                                                     ; +0x3b, 0x140071c6b\nmulss   xmm1, xmm0                                                     ; +0x3e, 0x140071c6e\ncomiss  xmm1, xmm3                                                     ; +0x42, 0x140071c72\nja      short loc_140071C7A                                            ; +0x45, 0x140071c75\nmovaps  xmm3, xmm1                                                     ; +0x47, 0x140071c77\nmov     rax, [rdi+1A0h]                                                ; +0x4a, 0x140071c7a\nlea     rcx, [rsp+48h+var_18]                                          ; +0x51, 0x140071c81\nmovss   xmm0, dword ptr [rdi+1B4h]                                     ; +0x56, 0x140071c86\nxorps   xmm2, xmm2                                                     ; +0x5e, 0x140071c8e\nxorps   xmm1, xmm1                                                     ; +0x61, 0x140071c91\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x64, 0x140071c94\nmov     rbx, [rax]                                                     ; +0x6a, 0x140071c9a\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x6d, 0x140071c9d\nmov     rcx, [rdi+1A0h]                                                ; +0x73, 0x140071ca3\nmov     rdx, rax                                                       ; +0x7a, 0x140071caa\ncall    qword ptr [rbx+3D0h]                                           ; +0x7d, 0x140071cad\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x83, 0x140071cb3\nadd     rsp, 40h                                                       ; +0x88, 0x140071cb8\npop     rdi                                                            ; +0x8c, 0x140071cbc\nretn                                                                   ; +0x8d, 0x140071cbd", "xrefs": ["ColorSelectLiveOverlay::selectColor @ 0x14008d3c8", "ColorSelectLiveOverlay::selectColor @ 0x14008d3e0", "ColorSelectLiveOverlay::selectColor @ 0x14008d3f8", "ColorSelectLiveOverlay::selectColor @ 0x14008d40c", "ColorSelectPopup::init @ 0x14008e40f", "ColorSelectPopup::onDefault @ 0x140091031", "ColorSelectPopup::textChanged @ 0x140093096", "ConfigureHSVWidget::updateSliders @ 0x140097929", "ConfigureHSVWidget::updateSliders @ 0x140097965", "ConfigureHSVWidget::updateSliders @ 0x1400979a8", "ConfigureHSVWidget::onToggleSConst @ 0x140097af8", "ConfigureHSVWidget::onToggleVConst @ 0x140097b78", "ConfigureHSVWidget::onResetHSV @ 0x140097bf6", "ConfigureHSVWidget::onResetHSV @ 0x140097c0a", "ConfigureHSVWidget::onResetHSV @ 0x140097c1e", "ConfigureValuePopup::init @ 0x140098e16", "ConfigureValuePopup::textChanged @ 0x140099534", "CustomizeObjectLayer::init @ 0x1400a7187", "EditorUI::updateSlider @ 0x1400e2bf7", "GJScaleControl::loadValues @ 0x14012a1bc", "GJScaleControl::loadValues @ 0x14012a25e", "GJScaleControl::loadValues @ 0x14012a29a", "GJScaleControl::loadValues @ 0x14012a2ea", "GJScaleControl::ccTouchMoved @ 0x14012a8bb", "GJScaleControl::ccTouchMoved @ 0x14012ab07", "GJScaleControl::ccTouchMoved @ 0x14012ab3f", "GJFollowCommandLayer::init @ 0x140270e6f", "GJFollowCommandLayer::init @ 0x14027125b", "GJFollowCommandLayer::textChanged @ 0x14027260b", "GJPFollowCommandLayer::init @ 0x14028af57", "GJPFollowCommandLayer::init @ 0x14028b349", "GJPFollowCommandLayer::textChanged @ 0x14028c857", "GJPFollowCommandLayer::textChanged @ 0x14028c952", "GJPFollowCommandLayer::textChanged @ 0x14028ca54", "MusicBrowser::update @ 0x140339697", "MusicBrowser::update @ 0x1403396e1", "OptionsLayer::customSetup @ 0x140372573", "OptionsLayer::customSetup @ 0x1403726f4", "PauseLayer::customSetup @ 0x14037d108", "PauseLayer::customSetup @ 0x14037d1d9", "SetupCameraOffsetTrigger::init @ 0x140415ba1", "SetupCameraOffsetTrigger::init @ 0x1404163ef", "SetupCameraOffsetTrigger::textChanged @ 0x140417747", "SetupMGTrigger::init @ 0x14042797d", "SetupMGTrigger::init @ 0x1404281d8", "SetupMGTrigger::textChanged @ 0x14042881d", "SetupOpacityPopup::init @ 0x14042b18a", "SetupOpacityPopup::textChanged @ 0x14042b9e9", "CreateParticlePopup::createParticleSlider @ 0x140430de4", "CreateParticlePopup::updateSliderForType @ 0x1404349a6", "SetupPulsePopup::textChanged @ 0x14043c729", "SetupPulsePopup::textChanged @ 0x14043c829", "SetupPulsePopup::textChanged @ 0x14043c929", "SetupRandTriggerPopup::init @ 0x140440761", "SetupShakePopup::init @ 0x140455820", "SetupShakePopup::textChanged @ 0x14045625a", "SetupShakePopup::textChanged @ 0x14045648a", "SetupTimeWarpPopup::init @ 0x14046389a", "SetupTriggerPopup::textChanged @ 0x140475a0d", "SetupTriggerPopup::updateValueControls @ 0x140477cf9", "SetupTriggerPopup::updateSlider @ 0x1404780a1", "<???> @ 0x1406c62a0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}