{"type": "func", "start": 4294998960, "end": 4294999199, "name": "EditorUI::sliderChanged", "pseudocode": "// \n// EditorUI::sliderChanged from 0x100007bb0 to 0x100007c9f (239 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x100005442\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 12:18:48 +0000\n// \n\n__int64 __fastcall EditorUI::sliderChanged(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r14\n  int SectionCount; // eax\n  int v4; // ecx\n  __m128 v5; // xmm0\n  __int64 v6; // rax\n  _BYTE v8[8]; // [rsp+8h] [rbp-38h] BYREF\n  __m128 v9; // [rsp+10h] [rbp-30h]\n  float XMin; // [rsp+20h] [rbp-20h]\n  float v11; // [rsp+24h] [rbp-1Ch]\n\n  v9.i32[0] = SliderThumb::getValue(a2);\n  v2 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);\n  XMin = EditorUI::getXMin(a1, 0);\n  SectionCount = LevelEditorLayer::getSectionCount(*(_QWORD *)(a1 + 1440));\n  v4 = 100;\n  if ( SectionCount >= 101 )\n    v4 = SectionCount;\n  v5 = 0;\n  v11 = (float)v4 * 100.0;\n  *(double *)v5.i64 = (*(double (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL));\n  v5.f32[0] = (float)((float)(v5.f32[0] * v11) * v9.f32[0]) - XMin;\n  v9 = _mm_xor_ps(v5, (__m128)xmmword_100A035F0);\n  v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL));\n  sub_100278250(v8, v9.f32[0], *(float *)(v6 + 4));\n  (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v2 + 184LL))(v2, v8);\n  return EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);\n}", "assembly": "; \n; EditorUI::sliderChanged from 0x100007bb0 to 0x100007c9f (239 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x100005442\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 12:18:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100007bb0\nmov     rbp, rsp                                                       ; +0x1, 0x100007bb1\npush    r15                                                            ; +0x4, 0x100007bb4\npush    r14                                                            ; +0x6, 0x100007bb6\npush    rbx                                                            ; +0x8, 0x100007bb8\nsub     rsp, 28h                                                       ; +0x9, 0x100007bb9\nmov     rbx, rdi                                                       ; +0xd, 0x100007bbd\nmov     rdi, rsi                                                       ; +0x10, 0x100007bc0\ncall    SliderThumb__getValue                                          ; +0x13, 0x100007bc3\nmovss   dword ptr [rbp+var_30], xmm0                                   ; +0x18, 0x100007bc8\nmov     rax, [rbx+5A0h]                                                ; +0x1d, 0x100007bcd\nmov     r14, [rax+0F50h]                                               ; +0x24, 0x100007bd4\nmov     rdi, rbx                                                       ; +0x2b, 0x100007bdb\nxor     esi, esi                                                       ; +0x2e, 0x100007bde\ncall    EditorUI__getXMin                                              ; +0x30, 0x100007be0\nmovss   [rbp+var_20], xmm0                                             ; +0x35, 0x100007be5\nmov     rdi, [rbx+5A0h]                                                ; +0x3a, 0x100007bea\ncall    LevelEditorLayer__getSectionCount                              ; +0x41, 0x100007bf1\ncmp     eax, 65h ; 'e'                                                 ; +0x46, 0x100007bf6\nmov     ecx, 64h ; 'd'                                                 ; +0x49, 0x100007bf9\ncmovge  ecx, eax                                                       ; +0x4e, 0x100007bfe\nxorps   xmm0, xmm0                                                     ; +0x51, 0x100007c01\ncvtsi2ss xmm0, ecx                                                     ; +0x54, 0x100007c04\nmulss   xmm0, cs:dword_100A03584                                       ; +0x58, 0x100007c08\nmovss   [rbp+var_1C], xmm0                                             ; +0x60, 0x100007c10\nmov     rax, [rbx+5A0h]                                                ; +0x65, 0x100007c15\nmov     rdi, [rax+0F50h]                                               ; +0x6c, 0x100007c1c\nmov     rax, [rdi]                                                     ; +0x73, 0x100007c23\ncall    qword ptr [rax+0A8h]                                           ; +0x76, 0x100007c26\nmulss   xmm0, [rbp+var_1C]                                             ; +0x7c, 0x100007c2c\nmulss   xmm0, dword ptr [rbp+var_30]                                   ; +0x81, 0x100007c31\nsubss   xmm0, [rbp+var_20]                                             ; +0x86, 0x100007c36\nxorps   xmm0, cs:xmmword_100A035F0                                     ; +0x8b, 0x100007c3b\nmovaps  [rbp+var_30], xmm0                                             ; +0x92, 0x100007c42\nmov     rax, [rbx+5A0h]                                                ; +0x96, 0x100007c46\nmov     rdi, [rax+0F50h]                                               ; +0x9d, 0x100007c4d\nmov     rax, [rdi]                                                     ; +0xa4, 0x100007c54\ncall    qword ptr [rax+0C0h]                                           ; +0xa7, 0x100007c57\nmovss   xmm1, dword ptr [rax+4]                                        ; +0xad, 0x100007c5d\nlea     r15, [rbp+var_38]                                              ; +0xb2, 0x100007c62\nmov     rdi, r15                                                       ; +0xb6, 0x100007c66\nmovaps  xmm0, [rbp+var_30]                                             ; +0xb9, 0x100007c69\ncall    sub_100278250                                                  ; +0xbd, 0x100007c6d\nmov     rax, [r14]                                                     ; +0xc2, 0x100007c72\nmov     rdi, r14                                                       ; +0xc5, 0x100007c75\nmov     rsi, r15                                                       ; +0xc8, 0x100007c78\ncall    qword ptr [rax+0B8h]                                           ; +0xcb, 0x100007c7b\nmovss   xmm0, cs:dword_100A03580                                       ; +0xd1, 0x100007c81\nmov     rdi, rbx                                                       ; +0xd9, 0x100007c89\nmovaps  xmm1, xmm0                                                     ; +0xdc, 0x100007c8c\ncall    EditorUI__constrainGameLayerPosition                           ; +0xdf, 0x100007c8f\nadd     rsp, 28h                                                       ; +0xe4, 0x100007c94\npop     rbx                                                            ; +0xe8, 0x100007c98\npop     r14                                                            ; +0xe9, 0x100007c99\npop     r15                                                            ; +0xeb, 0x100007c9b\npop     rbp                                                            ; +0xed, 0x100007c9d\nretn                                                                   ; +0xee, 0x100007c9e", "xrefs": ["EditorUI::init @ 0x100005442"], "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"}