{"type": "func", "start": 5373411680, "end": 5373411966, "name": "MusicBrowser::sliderEnded", "pseudocode": "// \n// MusicBrowser::sliderEnded from 0x14047c160 to 0x14047c27e (286 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b5f98\n// > <???> @ 0x140928610\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:32:43 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nchar __fastcall MusicBrowser::sliderEnded(__int64 a1, __int64 a2)\n{\n  _QWORD *v3; // rcx\n  char result; // al\n  float Value; // xmm6_4\n  _QWORD *v6; // rcx\n  int v7; // ebx\n  __int64 v8; // rcx\n  void *v9; // [rsp+50h] [rbp+18h]\n  void *v10; // [rsp+50h] [rbp+18h]\n  void *v11; // [rsp+50h] [rbp+18h]\n\n  v3 = (_QWORD *)qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v9 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v9);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v3 = (_QWORD *)qword_14090BF60;\n  }\n  result = FMODAudioEngine::isMusicPlaying_1(v3, 0);\n  if ( result )\n  {\n    Value = SliderThumb::getValue(*(float **)(*(_QWORD *)(a2 + 408) + 456LL));\n    v6 = (_QWORD *)qword_14090BF60;\n    if ( !qword_14090BF60 )\n    {\n      v10 = operator new(0x8A8u);\n      qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v10);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      v6 = (_QWORD *)qword_14090BF60;\n    }\n    v7 = (int)(float)((float)(int)FMODAudioEngine::getMusicLengthMS(v6) * Value);\n    v8 = qword_14090BF60;\n    if ( !qword_14090BF60 )\n    {\n      v11 = operator new(0x8A8u);\n      qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v11);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      v8 = qword_14090BF60;\n    }\n    return FMODAudioEngine::setMusicTimeMS(v8, v7, 0, 0);\n  }\n  return result;\n}", "assembly": "; \n; MusicBrowser::sliderEnded from 0x14047c160 to 0x14047c27e (286 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b5f98\n; > <???> @ 0x140928610\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:32:43 +0000\n; \npush    rbx                                                            ; +0x0, 0x14047c160\nsub     rsp, 30h                                                       ; +0x2, 0x14047c162\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x14047c166\nmov     rbx, rdx                                                       ; +0xb, 0x14047c16b\nmov     rcx, cs:qword_14090BF60                                        ; +0xe, 0x14047c16e\ntest    rcx, rcx                                                       ; +0x15, 0x14047c175\njnz     short loc_14047C1AC                                            ; +0x18, 0x14047c178\nmov     ecx, 8A8h; Size                                                ; +0x1a, 0x14047c17a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x14047c17f\nmov     [rsp+38h+arg_10], rax                                          ; +0x24, 0x14047c184\nmov     rcx, rax                                                       ; +0x29, 0x14047c189\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x2c, 0x14047c18c\nnop                                                                    ; +0x31, 0x14047c191\nmov     cs:qword_14090BF60, rax                                        ; +0x32, 0x14047c192\nmov     rcx, [rax]                                                     ; +0x39, 0x14047c199\nmov     rdx, [rcx+48h]                                                 ; +0x3c, 0x14047c19c\nmov     rcx, rax                                                       ; +0x40, 0x14047c1a0\ncall    rdx                                                            ; +0x43, 0x14047c1a3\nmov     rcx, cs:qword_14090BF60                                        ; +0x45, 0x14047c1a5\nxor     edx, edx                                                       ; +0x4c, 0x14047c1ac\ncall    FMODAudioEngine__isMusicPlaying_1                              ; +0x4e, 0x14047c1ae\ntest    al, al                                                         ; +0x53, 0x14047c1b3\njz      loc_14047C273                                                  ; +0x55, 0x14047c1b5\nmov     rcx, [rbx+198h]                                                ; +0x5b, 0x14047c1bb\nmov     rcx, [rcx+1C8h]                                                ; +0x62, 0x14047c1c2\ncall    SliderThumb__getValue                                          ; +0x69, 0x14047c1c9\nmovaps  xmm6, xmm0                                                     ; +0x6e, 0x14047c1ce\nmov     rcx, cs:qword_14090BF60                                        ; +0x71, 0x14047c1d1\ntest    rcx, rcx                                                       ; +0x78, 0x14047c1d8\njnz     short loc_14047C20F                                            ; +0x7b, 0x14047c1db\nmov     ecx, 8A8h; Size                                                ; +0x7d, 0x14047c1dd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x82, 0x14047c1e2\nmov     [rsp+38h+arg_10], rax                                          ; +0x87, 0x14047c1e7\nmov     rcx, rax                                                       ; +0x8c, 0x14047c1ec\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x8f, 0x14047c1ef\nnop                                                                    ; +0x94, 0x14047c1f4\nmov     cs:qword_14090BF60, rax                                        ; +0x95, 0x14047c1f5\nmov     rcx, [rax]                                                     ; +0x9c, 0x14047c1fc\nmov     rdx, [rcx+48h]                                                 ; +0x9f, 0x14047c1ff\nmov     rcx, rax                                                       ; +0xa3, 0x14047c203\ncall    rdx                                                            ; +0xa6, 0x14047c206\nmov     rcx, cs:qword_14090BF60                                        ; +0xa8, 0x14047c208\ncall    FMODAudioEngine__getMusicLengthMS                              ; +0xaf, 0x14047c20f\nmov     eax, eax                                                       ; +0xb4, 0x14047c214\nxorps   xmm0, xmm0                                                     ; +0xb6, 0x14047c216\ncvtsi2ss xmm0, rax                                                     ; +0xb9, 0x14047c219\nmulss   xmm0, xmm6                                                     ; +0xbe, 0x14047c21e\ncvttss2si rbx, xmm0                                                    ; +0xc2, 0x14047c222\nmov     rcx, cs:qword_14090BF60                                        ; +0xc7, 0x14047c227\ntest    rcx, rcx                                                       ; +0xce, 0x14047c22e\njnz     short loc_14047C266                                            ; +0xd1, 0x14047c231\nmov     ecx, 8A8h; Size                                                ; +0xd3, 0x14047c233\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd8, 0x14047c238\nmov     [rsp+38h+arg_10], rax                                          ; +0xdd, 0x14047c23d\nmov     rcx, rax                                                       ; +0xe2, 0x14047c242\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xe5, 0x14047c245\nnop                                                                    ; +0xea, 0x14047c24a\nmov     cs:qword_14090BF60, rax                                        ; +0xeb, 0x14047c24b\nmov     rcx, [rax]                                                     ; +0xf2, 0x14047c252\nmov     r8, [rcx+48h]                                                  ; +0xf5, 0x14047c255\nmov     rcx, rax                                                       ; +0xf9, 0x14047c259\ncall    r8                                                             ; +0xfc, 0x14047c25c\nmov     rcx, cs:qword_14090BF60                                        ; +0xff, 0x14047c25f\nxor     r9d, r9d                                                       ; +0x106, 0x14047c266\nxor     r8d, r8d                                                       ; +0x109, 0x14047c269\nmov     edx, ebx                                                       ; +0x10c, 0x14047c26c\ncall    FMODAudioEngine__setMusicTimeMS                                ; +0x10e, 0x14047c26e\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x113, 0x14047c273\nadd     rsp, 30h                                                       ; +0x118, 0x14047c278\npop     rbx                                                            ; +0x11c, 0x14047c27c\nretn                                                                   ; +0x11d, 0x14047c27d", "xrefs": ["<???> @ 0x1407b5f98", "<???> @ 0x140928610"], "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"}