{"type": "func", "start": 5373412096, "end": 5373412220, "name": "MusicBrowser::trySetupMusicBrowser", "pseudocode": "// \n// MusicBrowser::trySetupMusicBrowser from 0x14047c300 to 0x14047c37c (124 bytes)\n// \n// 3 xrefs:\n// > MusicBrowser::init @ 0x14047ba8a\n// > MusicBrowser::musicActionFinished @ 0x14047c8f4\n// > <???> @ 0x140928628\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=4\n__int64 __fastcall MusicBrowser::trySetupMusicBrowser(__int64 a1)\n{\n  __int64 v2; // rcx\n  void *v4; // [rsp+38h] [rbp+10h]\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 + 448) )\n    return MusicBrowser::setupMusicBrowser(a1);\n  if ( *(_QWORD *)(v2 + 384) )\n    return MusicDownloadManager::downloadMusicLibrary();\n  return MusicDownloadManager::getCustomContentURL();\n}", "assembly": "; \n; MusicBrowser::trySetupMusicBrowser from 0x14047c300 to 0x14047c37c (124 bytes)\n; \n; 3 xrefs:\n; > MusicBrowser::init @ 0x14047ba8a\n; > MusicBrowser::musicActionFinished @ 0x14047c8f4\n; > <???> @ 0x140928628\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, 0x14047c300\nsub     rsp, 20h                                                       ; +0x2, 0x14047c302\nmov     rbx, rcx                                                       ; +0x6, 0x14047c306\nmov     rcx, cs:qword_14090C070                                        ; +0x9, 0x14047c309\ntest    rcx, rcx                                                       ; +0x10, 0x14047c310\njnz     short loc_14047C347                                            ; +0x13, 0x14047c313\nmov     ecx, 3D0h; Size                                                ; +0x15, 0x14047c315\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14047c31a\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x14047c31f\nmov     rcx, rax                                                       ; +0x24, 0x14047c324\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x27, 0x14047c327\nnop                                                                    ; +0x2c, 0x14047c32c\nmov     cs:qword_14090C070, rax                                        ; +0x2d, 0x14047c32d\nmov     rcx, [rax]                                                     ; +0x34, 0x14047c334\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x14047c337\nmov     rcx, rax                                                       ; +0x3b, 0x14047c33b\ncall    rdx                                                            ; +0x3e, 0x14047c33e\nmov     rcx, cs:qword_14090C070                                        ; +0x40, 0x14047c340\ncmp     qword ptr [rcx+1C0h], 0                                        ; +0x47, 0x14047c347\njz      short loc_14047C35E                                            ; +0x4f, 0x14047c34f\nmov     rcx, rbx                                                       ; +0x51, 0x14047c351\nadd     rsp, 20h                                                       ; +0x54, 0x14047c354\npop     rbx                                                            ; +0x58, 0x14047c358\njmp     MusicBrowser__setupMusicBrowser                                ; +0x59, 0x14047c359\ncmp     qword ptr [rcx+180h], 0                                        ; +0x5e, 0x14047c35e\njnz     short loc_14047C372                                            ; +0x66, 0x14047c366\nadd     rsp, 20h                                                       ; +0x68, 0x14047c368\npop     rbx                                                            ; +0x6c, 0x14047c36c\njmp     MusicDownloadManager__getCustomContentURL                      ; +0x6d, 0x14047c36d\nadd     rsp, 20h                                                       ; +0x72, 0x14047c372\npop     rbx                                                            ; +0x76, 0x14047c376\njmp     MusicDownloadManager__downloadMusicLibrary                     ; +0x77, 0x14047c377", "xrefs": ["MusicBrowser::init @ 0x14047ba8a", "MusicBrowser::musicActionFinished @ 0x14047c8f4", "<???> @ 0x140928628"], "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"}