{"type": "func", "start": 5371338000, "end": 5371338075, "name": "SetupMoveCommandPopup::triggerValueFromSliderValue", "pseudocode": "// \n// SetupMoveCommandPopup::triggerValueFromSliderValue from 0x140281d10 to 0x140281d5b (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14056d078\n// > <???> @ 0x1406d1424\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\nfloat SetupMoveCommandPopup::triggerValueFromSliderValue(SetupMoveCommandPopup *a1, int a2, float a3)\n{\n  if ( a1->m_smallStep || (unsigned int)(a2 - 28) > 1 && a2 != 396 )\n    return SetupTriggerPopup::triggerValueFromSliderValue(a1, a2, a3);\n  else\n    return floorf((float)(a3 - 0.5) * 200.0) * 3.0;\n}", "assembly": "; \n; SetupMoveCommandPopup::triggerValueFromSliderValue from 0x140281d10 to 0x140281d5b (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14056d078\n; > <???> @ 0x1406d1424\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\nsub     rsp, 28h                                                       ; +0x0, 0x140281d10\ncmp     byte ptr [rcx+3A8h], 0                                         ; +0x4, 0x140281d14\njnz     short loc_140281D52                                            ; +0xb, 0x140281d1b\nlea     eax, [rdx-1Ch]                                                 ; +0xd, 0x140281d1d\ncmp     eax, 1                                                         ; +0x10, 0x140281d20\njbe     short loc_140281D2D                                            ; +0x13, 0x140281d23\ncmp     edx, 18Ch                                                      ; +0x15, 0x140281d25\njnz     short loc_140281D52                                            ; +0x1b, 0x140281d2b\nsubss   xmm2, cs:dword_140622B08                                       ; +0x1d, 0x140281d2d\nmulss   xmm2, cs:dword_1406233D0                                       ; +0x25, 0x140281d35\nmovaps  xmm0, xmm2; X                                                  ; +0x2d, 0x140281d3d\ncall    floorf                                                         ; +0x30, 0x140281d40\nmulss   xmm0, cs:flt_140622F28                                         ; +0x35, 0x140281d45\nadd     rsp, 28h                                                       ; +0x3d, 0x140281d4d\nretn                                                                   ; +0x41, 0x140281d51\nadd     rsp, 28h                                                       ; +0x42, 0x140281d52\njmp     SetupTriggerPopup__triggerValueFromSliderValue                 ; +0x46, 0x140281d56", "xrefs": ["<???> @ 0x14056d078", "<???> @ 0x1406d1424"], "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"}