{"type": "func", "start": 5369337120, "end": 5369337263, "name": "AudioAssetsBrowser::musicActionFinished", "pseudocode": "// \n// AudioAssetsBrowser::musicActionFinished from 0x140099520 to 0x1400995af (143 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14071a050\n// > <???> @ 0x140912d94\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:26:04 +0000\n// \n\n// Hidden C++ exception states: #wind=6\n__int64 __fastcall AudioAssetsBrowser::musicActionFinished(__int64 a1)\n{\n  __int64 v2; // rcx\n  void *v4; // [rsp+40h] [rbp+18h]\n\n  v2 = qword_14090C070;\n  if ( !qword_14090C070 )\n  {\n    v4 = operator new(0x3D0u);\n    qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n    v2 = qword_14090C070;\n  }\n  if ( *(_QWORD *)(v2 + 408) )\n  {\n    if ( !*(_QWORD *)(v2 + 384) )\n      MusicDownloadManager::getCustomContentURL();\n    return AudioAssetsBrowser::setupList(a1 - 672);\n  }\n  else if ( *(_QWORD *)(v2 + 384) )\n  {\n    return MusicDownloadManager::downloadSFXLibrary();\n  }\n  else\n  {\n    return MusicDownloadManager::getCustomContentURL();\n  }\n}", "assembly": "; \n; AudioAssetsBrowser::musicActionFinished from 0x140099520 to 0x1400995af (143 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14071a050\n; > <???> @ 0x140912d94\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:26:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x140099520\nsub     rsp, 20h                                                       ; +0x2, 0x140099522\nmov     rbx, rcx                                                       ; +0x6, 0x140099526\nmov     rcx, cs:qword_14090C070                                        ; +0x9, 0x140099529\ntest    rcx, rcx                                                       ; +0x10, 0x140099530\njnz     short loc_140099567                                            ; +0x13, 0x140099533\nmov     ecx, 3D0h; Size                                                ; +0x15, 0x140099535\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14009953a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x14009953f\nmov     rcx, rax                                                       ; +0x24, 0x140099544\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x27, 0x140099547\nnop                                                                    ; +0x2c, 0x14009954c\nmov     cs:qword_14090C070, rax                                        ; +0x2d, 0x14009954d\nmov     rcx, [rax]                                                     ; +0x34, 0x140099554\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x140099557\nmov     rcx, rax                                                       ; +0x3b, 0x14009955b\ncall    rdx                                                            ; +0x3e, 0x14009955e\nmov     rcx, cs:qword_14090C070                                        ; +0x40, 0x140099560\ncmp     qword ptr [rcx+198h], 0                                        ; +0x47, 0x140099567\njz      short loc_140099591                                            ; +0x4f, 0x14009956f\ncmp     qword ptr [rcx+180h], 0                                        ; +0x51, 0x140099571\njnz     short loc_140099580                                            ; +0x59, 0x140099579\ncall    MusicDownloadManager__getCustomContentURL                      ; +0x5b, 0x14009957b\nlea     rcx, [rbx-2A0h]                                                ; +0x60, 0x140099580\nadd     rsp, 20h                                                       ; +0x67, 0x140099587\npop     rbx                                                            ; +0x6b, 0x14009958b\njmp     AudioAssetsBrowser__setupList                                  ; +0x6c, 0x14009958c\ncmp     qword ptr [rcx+180h], 0                                        ; +0x71, 0x140099591\njnz     short loc_1400995A5                                            ; +0x79, 0x140099599\nadd     rsp, 20h                                                       ; +0x7b, 0x14009959b\npop     rbx                                                            ; +0x7f, 0x14009959f\njmp     MusicDownloadManager__getCustomContentURL                      ; +0x80, 0x1400995a0\nadd     rsp, 20h                                                       ; +0x85, 0x1400995a5\npop     rbx                                                            ; +0x89, 0x1400995a9\njmp     MusicDownloadManager__downloadSFXLibrary                       ; +0x8a, 0x1400995aa", "xrefs": ["<???> @ 0x14071a050", "<???> @ 0x140912d94"], "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"}