{"type": "func", "start": 5372989408, "end": 5372989573, "name": "SetupCameraModePopup::sliderChanged", "pseudocode": "// \n// SetupCameraModePopup::sliderChanged from 0x140414fe0 to 0x140415085 (165 bytes)\n// \n// 3 xrefs:\n// > SetupCameraModePopup::init @ 0x140414854\n// > SetupCameraModePopup::init @ 0x140414a55\n// > <???> @ 0x1406d8e88\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 SetupCameraModePopup::sliderChanged(SetupCameraModePopup *a1, cocos2d::CCObject *a2)\n{\n  float Value; // xmm0_4\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  if ( a2->getTag(a2) )\n  {\n    if ( a2->getTag(a2) == 1 )\n    {\n      a1->m_cameraPadding = Value;\n      SetupCameraModePopup::updateCameraPadding(a1);\n      SetupCameraModePopup::updateCameraPaddingLabel(a1);\n    }\n  }\n  else\n  {\n    a1->m_cameraEasing = (int)(float)(roundf(Value * 39.0) + 1.0);\n    SetupCameraModePopup::updateCameraEasing(a1);\n    SetupCameraModePopup::updateCameraEasingLabel(a1);\n  }\n}", "assembly": "; \n; SetupCameraModePopup::sliderChanged from 0x140414fe0 to 0x140415085 (165 bytes)\n; \n; 3 xrefs:\n; > SetupCameraModePopup::init @ 0x140414854\n; > SetupCameraModePopup::init @ 0x140414a55\n; > <???> @ 0x1406d8e88\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, 0x140414fe0\npush    rdi                                                            ; +0x5, 0x140414fe5\nsub     rsp, 30h                                                       ; +0x6, 0x140414fe6\nmov     rbx, rcx                                                       ; +0xa, 0x140414fea\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xd, 0x140414fed\nmov     rcx, rdx                                                       ; +0x12, 0x140414ff2\nmov     rdi, rdx                                                       ; +0x15, 0x140414ff5\ncall    SliderThumb__getValue                                          ; +0x18, 0x140414ff8\nmov     rax, [rdi]                                                     ; +0x1d, 0x140414ffd\nmov     rcx, rdi                                                       ; +0x20, 0x140415000\nmovaps  xmm6, xmm0                                                     ; +0x23, 0x140415003\ncall    qword ptr [rax+38h]                                            ; +0x26, 0x140415006\ntest    eax, eax                                                       ; +0x29, 0x140415009\njnz     short loc_14041504F                                            ; +0x2b, 0x14041500b\nmulss   xmm6, cs:dword_1406231AC                                       ; +0x2d, 0x14041500d\nmovaps  xmm0, xmm6; X                                                  ; +0x35, 0x140415015\ncall    cs:__imp_roundf                                                ; +0x38, 0x140415018\naddss   xmm0, cs:flt_140622C24                                         ; +0x3e, 0x14041501e\nmov     rcx, rbx                                                       ; +0x46, 0x140415026\ncvttss2si eax, xmm0                                                    ; +0x49, 0x140415029\nmov     [rbx+3C8h], eax                                                ; +0x4d, 0x14041502d\ncall    SetupCameraModePopup__updateCameraEasing                       ; +0x53, 0x140415033\nmov     rcx, rbx                                                       ; +0x58, 0x140415038\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x5b, 0x14041503b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x60, 0x140415040\nadd     rsp, 30h                                                       ; +0x65, 0x140415045\npop     rdi                                                            ; +0x69, 0x140415049\njmp     SetupCameraModePopup__updateCameraEasingLabel                  ; +0x6a, 0x14041504a\nmov     rax, [rdi]                                                     ; +0x6f, 0x14041504f\nmov     rcx, rdi                                                       ; +0x72, 0x140415052\ncall    qword ptr [rax+38h]                                            ; +0x75, 0x140415055\ncmp     eax, 1                                                         ; +0x78, 0x140415058\njnz     short loc_140415075                                            ; +0x7b, 0x14041505b\nmov     rcx, rbx                                                       ; +0x7d, 0x14041505d\nmovss   dword ptr [rbx+3E0h], xmm6                                     ; +0x80, 0x140415060\ncall    SetupCameraModePopup__updateCameraPadding                      ; +0x88, 0x140415068\nmov     rcx, rbx                                                       ; +0x8d, 0x14041506d\ncall    SetupCameraModePopup__updateCameraPaddingLabel                 ; +0x90, 0x140415070\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x95, 0x140415075\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x9a, 0x14041507a\nadd     rsp, 30h                                                       ; +0x9f, 0x14041507f\npop     rdi                                                            ; +0xa3, 0x140415083\nretn                                                                   ; +0xa4, 0x140415084", "xrefs": ["SetupCameraModePopup::init @ 0x140414854", "SetupCameraModePopup::init @ 0x140414a55", "<???> @ 0x1406d8e88"], "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"}