{"type": "func", "start": 5373411968, "end": 5373412095, "name": "MusicBrowser::onUpdateLibrary", "pseudocode": "// \n// MusicBrowser::onUpdateLibrary from 0x14047c280 to 0x14047c2ff (127 bytes)\n// \n// 2 xrefs:\n// > MusicBrowser::init @ 0x14047a84b\n// > <???> @ 0x14092861c\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::onUpdateLibrary(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rcx\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  *(_BYTE *)(a1 + 912) = a2 == 0;\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 + 872) = 0;\n    return MusicDownloadManager::tryUpdateMusicLibrary();\n  }\n  else\n  {\n    *(_BYTE *)(a1 + 872) = 1;\n    return MusicDownloadManager::getCustomContentURL();\n  }\n}", "assembly": "; \n; MusicBrowser::onUpdateLibrary from 0x14047c280 to 0x14047c2ff (127 bytes)\n; \n; 2 xrefs:\n; > MusicBrowser::init @ 0x14047a84b\n; > <???> @ 0x14092861c\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, 0x14047c280\nsub     rsp, 20h                                                       ; +0x2, 0x14047c282\nmov     rbx, rcx                                                       ; +0x6, 0x14047c286\ntest    rdx, rdx                                                       ; +0x9, 0x14047c289\nsetz    al                                                             ; +0xc, 0x14047c28c\nmov     [rcx+390h], al                                                 ; +0xf, 0x14047c28f\nmov     rcx, cs:qword_14090C070                                        ; +0x15, 0x14047c295\ntest    rcx, rcx                                                       ; +0x1c, 0x14047c29c\njnz     short loc_14047C2D3                                            ; +0x1f, 0x14047c29f\nmov     ecx, 3D0h; Size                                                ; +0x21, 0x14047c2a1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x26, 0x14047c2a6\nmov     [rsp+28h+arg_0], rax                                           ; +0x2b, 0x14047c2ab\nmov     rcx, rax                                                       ; +0x30, 0x14047c2b0\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x33, 0x14047c2b3\nnop                                                                    ; +0x38, 0x14047c2b8\nmov     cs:qword_14090C070, rax                                        ; +0x39, 0x14047c2b9\nmov     rcx, [rax]                                                     ; +0x40, 0x14047c2c0\nmov     rdx, [rcx+48h]                                                 ; +0x43, 0x14047c2c3\nmov     rcx, rax                                                       ; +0x47, 0x14047c2c7\ncall    rdx                                                            ; +0x4a, 0x14047c2ca\nmov     rcx, cs:qword_14090C070                                        ; +0x4c, 0x14047c2cc\ncmp     qword ptr [rcx+180h], 0                                        ; +0x53, 0x14047c2d3\njnz     short loc_14047C2EE                                            ; +0x5b, 0x14047c2db\nmov     byte ptr [rbx+368h], 1                                         ; +0x5d, 0x14047c2dd\nadd     rsp, 20h                                                       ; +0x64, 0x14047c2e4\npop     rbx                                                            ; +0x68, 0x14047c2e8\njmp     MusicDownloadManager__getCustomContentURL                      ; +0x69, 0x14047c2e9\nmov     byte ptr [rbx+368h], 0                                         ; +0x6e, 0x14047c2ee\nadd     rsp, 20h                                                       ; +0x75, 0x14047c2f5\npop     rbx                                                            ; +0x79, 0x14047c2f9\njmp     MusicDownloadManager__tryUpdateMusicLibrary                    ; +0x7a, 0x14047c2fa", "xrefs": ["MusicBrowser::init @ 0x14047a84b", "<???> @ 0x14092861c"], "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"}