{"type": "func", "start": 5373411584, "end": 5373411679, "name": "MusicBrowser::onPlaybackControl", "pseudocode": "// \n// MusicBrowser::onPlaybackControl from 0x14047c100 to 0x14047c15f (95 bytes)\n// \n// 2 xrefs:\n// > MusicBrowser::init @ 0x14047b9ab\n// > <???> @ 0x140928604\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=1\n__int64 __fastcall MusicBrowser::onPlaybackControl(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  _QWORD *v3; // rcx\n  void *v4; // [rsp+38h] [rbp+10h]\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  if ( !(_DWORD)result )\n  {\n    v3 = (_QWORD *)qword_14090BF60;\n    if ( !qword_14090BF60 )\n    {\n      v4 = operator new(0x8A8u);\n      qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v4);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      v3 = (_QWORD *)qword_14090BF60;\n    }\n    return FMODAudioEngine::stopAndRemoveMusic(v3, 0);\n  }\n  return result;\n}", "assembly": "; \n; MusicBrowser::onPlaybackControl from 0x14047c100 to 0x14047c15f (95 bytes)\n; \n; 2 xrefs:\n; > MusicBrowser::init @ 0x14047b9ab\n; > <???> @ 0x140928604\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; \nsub     rsp, 28h                                                       ; +0x0, 0x14047c100\nmov     rax, [rdx]                                                     ; +0x4, 0x14047c104\nmov     rcx, rdx                                                       ; +0x7, 0x14047c107\ncall    qword ptr [rax+38h]                                            ; +0xa, 0x14047c10a\ntest    eax, eax                                                       ; +0xd, 0x14047c10d\njnz     short loc_14047C15A                                            ; +0xf, 0x14047c10f\nmov     rcx, cs:qword_14090BF60                                        ; +0x11, 0x14047c111\ntest    rcx, rcx                                                       ; +0x18, 0x14047c118\njnz     short loc_14047C14F                                            ; +0x1b, 0x14047c11b\nmov     ecx, 8A8h; Size                                                ; +0x1d, 0x14047c11d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x14047c122\nmov     [rsp+28h+arg_8], rax                                           ; +0x27, 0x14047c127\nmov     rcx, rax                                                       ; +0x2c, 0x14047c12c\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x2f, 0x14047c12f\nnop                                                                    ; +0x34, 0x14047c134\nmov     cs:qword_14090BF60, rax                                        ; +0x35, 0x14047c135\nmov     rcx, [rax]                                                     ; +0x3c, 0x14047c13c\nmov     rdx, [rcx+48h]                                                 ; +0x3f, 0x14047c13f\nmov     rcx, rax                                                       ; +0x43, 0x14047c143\ncall    rdx                                                            ; +0x46, 0x14047c146\nmov     rcx, cs:qword_14090BF60                                        ; +0x48, 0x14047c148\nxor     edx, edx                                                       ; +0x4f, 0x14047c14f\nadd     rsp, 28h                                                       ; +0x51, 0x14047c151\njmp     FMODAudioEngine__stopAndRemoveMusic                            ; +0x55, 0x14047c155\nadd     rsp, 28h                                                       ; +0x5a, 0x14047c15a\nretn                                                                   ; +0x5e, 0x14047c15e", "xrefs": ["MusicBrowser::init @ 0x14047b9ab", "<???> @ 0x140928604"], "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"}