{"type": "func", "start": 5370470656, "end": 5370470840, "name": "EditorUI::updateSlider", "pseudocode": "// \n// EditorUI::updateSlider from 0x1401ae100 to 0x1401ae1b8 (184 bytes)\n// \n// 11 xrefs:\n// > EditorUI::init @ 0x1401ab274\n// > EditorUI::centerCameraOnPoint @ 0x1401b1538\n// > EditorUI::onCreateObject @ 0x1401b2e93\n// > EditorUI::updateZoom @ 0x1401b4da5\n// > EditorUI::ccTouchMoved @ 0x1401c0ccf\n// > sub_1401C4B40 @ 0x1401c5047\n// > EditorUI::updatePanDecay @ 0x1401c530c\n// > LevelEditorLayer::init @ 0x1403eeb80\n// > LevelEditorLayer::init @ 0x1403eebb7\n// > LevelEditorLayer::onStopPlaytest @ 0x1404006c4\n// > <???> @ 0x140919d9c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:54 +0000\n// \n\n__int64 __fastcall EditorUI::updateSlider(__int64 a1)\n{\n  float v2; // xmm6_4\n  double XMin; // xmm0_8\n  __int64 v4; // rax\n  float v5; // xmm6_4\n  __int64 v6; // rbx\n  int v7; // eax\n\n  v2 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL));\n  XMin = EditorUI::getXMin(a1);\n  v4 = *(_QWORD *)(a1 + 1512);\n  v5 = -(float)(v2 - *(float *)&XMin);\n  v6 = (__int64)(*(_QWORD *)(v4 + 13984) - *(_QWORD *)(v4 + 13976)) >> 3;\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 4296) + 168LL))(*(_QWORD *)(v4 + 4296));\n  v7 = 100;\n  if ( (int)v6 > 100 )\n    v7 = v6;\n  return Slider::setValue(\n           *(_QWORD *)(a1 + 888),\n           fminf(1.0, fmaxf(0.0, v5 / (float)(*(float *)&XMin * (float)((float)v7 * 100.0)))));\n}", "assembly": "; \n; EditorUI::updateSlider from 0x1401ae100 to 0x1401ae1b8 (184 bytes)\n; \n; 11 xrefs:\n; > EditorUI::init @ 0x1401ab274\n; > EditorUI::centerCameraOnPoint @ 0x1401b1538\n; > EditorUI::onCreateObject @ 0x1401b2e93\n; > EditorUI::updateZoom @ 0x1401b4da5\n; > EditorUI::ccTouchMoved @ 0x1401c0ccf\n; > sub_1401C4B40 @ 0x1401c5047\n; > EditorUI::updatePanDecay @ 0x1401c530c\n; > LevelEditorLayer::init @ 0x1403eeb80\n; > LevelEditorLayer::init @ 0x1403eebb7\n; > LevelEditorLayer::onStopPlaytest @ 0x1404006c4\n; > <???> @ 0x140919d9c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:54 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401ae100\npush    rdi                                                            ; +0x5, 0x1401ae105\nsub     rsp, 30h                                                       ; +0x6, 0x1401ae106\nmov     rax, [rcx+5E8h]                                                ; +0xa, 0x1401ae10a\nmov     rdi, rcx                                                       ; +0x11, 0x1401ae111\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x14, 0x1401ae114\nmov     rcx, [rax+10C8h]                                               ; +0x19, 0x1401ae119\nmov     rax, [rcx]                                                     ; +0x20, 0x1401ae120\ncall    qword ptr [rax+0C8h]                                           ; +0x23, 0x1401ae123\nmov     rcx, rdi                                                       ; +0x29, 0x1401ae129\nmovss   xmm6, dword ptr [rax]                                          ; +0x2c, 0x1401ae12c\ncall    EditorUI__getXMin                                              ; +0x30, 0x1401ae130\nmov     rax, [rdi+5E8h]                                                ; +0x35, 0x1401ae135\nsubss   xmm6, xmm0                                                     ; +0x3c, 0x1401ae13c\nmov     rbx, [rax+36A0h]                                               ; +0x40, 0x1401ae140\nsub     rbx, [rax+3698h]                                               ; +0x47, 0x1401ae147\nmov     rcx, [rax+10C8h]                                               ; +0x4e, 0x1401ae14e\nxorps   xmm6, cs:xmmword_140836CC0                                     ; +0x55, 0x1401ae155\nsar     rbx, 3                                                         ; +0x5c, 0x1401ae15c\nmov     rax, [rcx]                                                     ; +0x60, 0x1401ae160\ncall    qword ptr [rax+0A8h]                                           ; +0x63, 0x1401ae163\nmov     rcx, [rdi+378h]                                                ; +0x69, 0x1401ae169\nmov     eax, 64h ; 'd'                                                 ; +0x70, 0x1401ae170\ncmp     ebx, eax                                                       ; +0x75, 0x1401ae175\ncmovg   eax, ebx                                                       ; +0x77, 0x1401ae177\nmovd    xmm1, eax                                                      ; +0x7a, 0x1401ae17a\ncvtdq2ps xmm1, xmm1                                                    ; +0x7e, 0x1401ae17e\nmulss   xmm1, cs:dword_1408357B0                                       ; +0x81, 0x1401ae181\nmulss   xmm0, xmm1                                                     ; +0x89, 0x1401ae189\nmovss   xmm1, cs:flt_140835080                                         ; +0x8d, 0x1401ae18d\ndivss   xmm6, xmm0                                                     ; +0x95, 0x1401ae195\nxorps   xmm0, xmm0                                                     ; +0x99, 0x1401ae199\nmaxss   xmm0, xmm6                                                     ; +0x9c, 0x1401ae19c\nminss   xmm1, xmm0                                                     ; +0xa0, 0x1401ae1a0\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa4, 0x1401ae1a4\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa9, 0x1401ae1a9\nadd     rsp, 30h                                                       ; +0xae, 0x1401ae1ae\npop     rdi                                                            ; +0xb2, 0x1401ae1b2\njmp     Slider__setValue                                               ; +0xb3, 0x1401ae1b3", "xrefs": ["EditorUI::init @ 0x1401ab274", "EditorUI::centerCameraOnPoint @ 0x1401b1538", "EditorUI::onCreateObject @ 0x1401b2e93", "EditorUI::updateZoom @ 0x1401b4da5", "EditorUI::ccTouchMoved @ 0x1401c0ccf", "sub_1401C4B40 @ 0x1401c5047", "EditorUI::updatePanDecay @ 0x1401c530c", "LevelEditorLayer::init @ 0x1403eeb80", "LevelEditorLayer::init @ 0x1403eebb7", "LevelEditorLayer::onStopPlaytest @ 0x1404006c4", "<???> @ 0x140919d9c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}