{"type": "func", "start": 5373413472, "end": 5373413625, "name": "MusicBrowser::musicActionFinished", "pseudocode": "// \n// MusicBrowser::musicActionFinished from 0x14047c860 to 0x14047c8f9 (153 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b6028\n// > <???> @ 0x140928640\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\n__int64 __fastcall MusicBrowser::musicActionFinished(__int64 a1, int a2)\n{\n  __int64 v3; // rcx\n  void *v5; // [rsp+40h] [rbp+18h]\n\n  if ( a2 != 2 || !*(_BYTE *)(a1 + 208) )\n    return MusicBrowser::trySetupMusicBrowser(a1 - 664);\n  *(_BYTE *)(a1 + 248) = 1;\n  v3 = qword_14090C070;\n  if ( !qword_14090C070 )\n  {\n    v5 = operator new(0x3D0u);\n    qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n    v3 = qword_14090C070;\n  }\n  if ( *(_QWORD *)(v3 + 384) )\n  {\n    *(_BYTE *)(a1 + 208) = 0;\n    return MusicDownloadManager::tryUpdateMusicLibrary(v3);\n  }\n  else\n  {\n    *(_BYTE *)(a1 + 208) = 1;\n    return MusicDownloadManager::getCustomContentURL(v3);\n  }\n}", "assembly": "; \n; MusicBrowser::musicActionFinished from 0x14047c860 to 0x14047c8f9 (153 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b6028\n; > <???> @ 0x140928640\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, 0x14047c860\nsub     rsp, 20h                                                       ; +0x2, 0x14047c862\nmov     rbx, rcx                                                       ; +0x6, 0x14047c866\ncmp     edx, 2                                                         ; +0x9, 0x14047c869\njnz     short loc_14047C8E8                                            ; +0xc, 0x14047c86c\ncmp     byte ptr [rcx+0D0h], 0                                         ; +0xe, 0x14047c86e\njz      short loc_14047C8E8                                            ; +0x15, 0x14047c875\nmov     byte ptr [rcx+0F8h], 1                                         ; +0x17, 0x14047c877\nmov     rcx, cs:qword_14090C070                                        ; +0x1e, 0x14047c87e\ntest    rcx, rcx                                                       ; +0x25, 0x14047c885\njnz     short loc_14047C8BC                                            ; +0x28, 0x14047c888\nmov     ecx, 3D0h; Size                                                ; +0x2a, 0x14047c88a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2f, 0x14047c88f\nmov     [rsp+28h+arg_10], rax                                          ; +0x34, 0x14047c894\nmov     rcx, rax                                                       ; +0x39, 0x14047c899\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x3c, 0x14047c89c\nnop                                                                    ; +0x41, 0x14047c8a1\nmov     cs:qword_14090C070, rax                                        ; +0x42, 0x14047c8a2\nmov     rcx, [rax]                                                     ; +0x49, 0x14047c8a9\nmov     rdx, [rcx+48h]                                                 ; +0x4c, 0x14047c8ac\nmov     rcx, rax                                                       ; +0x50, 0x14047c8b0\ncall    rdx                                                            ; +0x53, 0x14047c8b3\nmov     rcx, cs:qword_14090C070                                        ; +0x55, 0x14047c8b5\ncmp     qword ptr [rcx+180h], 0                                        ; +0x5c, 0x14047c8bc\njnz     short loc_14047C8D7                                            ; +0x64, 0x14047c8c4\nmov     byte ptr [rbx+0D0h], 1                                         ; +0x66, 0x14047c8c6\nadd     rsp, 20h                                                       ; +0x6d, 0x14047c8cd\npop     rbx                                                            ; +0x71, 0x14047c8d1\njmp     MusicDownloadManager__getCustomContentURL                      ; +0x72, 0x14047c8d2\nmov     byte ptr [rbx+0D0h], 0                                         ; +0x77, 0x14047c8d7\nadd     rsp, 20h                                                       ; +0x7e, 0x14047c8de\npop     rbx                                                            ; +0x82, 0x14047c8e2\njmp     MusicDownloadManager__tryUpdateMusicLibrary                    ; +0x83, 0x14047c8e3\nadd     rcx, 0FFFFFFFFFFFFFD68h                                        ; +0x88, 0x14047c8e8\nadd     rsp, 20h                                                       ; +0x8f, 0x14047c8ef\npop     rbx                                                            ; +0x93, 0x14047c8f3\njmp     MusicBrowser__trySetupMusicBrowser                             ; +0x94, 0x14047c8f4", "xrefs": ["<???> @ 0x1407b6028", "<???> @ 0x140928640"], "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"}