{"type": "func", "start": 5370197776, "end": 5370197972, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x14016b710 to 0x14016b7d4 (196 bytes)\n// \n// 4 xrefs:\n// > CustomSongWidget::getSongInfoIfUnloaded @ 0x14016b63b\n// > LevelInfoLayer::init @ 0x14041e1d3\n// > CustomSongWidget::init @ 0x140169860\n// > <???> @ 0x140918104\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:27:29 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall CustomSongWidget::onGetSongInfo(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 336) )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 336LL))(*(_QWORD *)(a1 + 376), 0);\n    v2 = *(_QWORD *)(a1 + 480);\n    if ( v2 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 336LL))(v2, 0);\n    v3 = 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      v3 = qword_14090C070;\n    }\n    MusicDownloadManager::getSongInfo(v3, *(unsigned int *)(a1 + 504), 0);\n    (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 408) + 320LL))(\n      *(_QWORD *)(a1 + 408) + 320LL,\n      &unk_140702F74);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 408) + 936LL))(*(_QWORD *)(a1 + 408), 0);\n  }\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x14016b710 to 0x14016b7d4 (196 bytes)\n; \n; 4 xrefs:\n; > CustomSongWidget::getSongInfoIfUnloaded @ 0x14016b63b\n; > LevelInfoLayer::init @ 0x14041e1d3\n; > CustomSongWidget::init @ 0x140169860\n; > <???> @ 0x140918104\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:27:29 +0000\n; \npush    rbx                                                            ; +0x0, 0x14016b710\nsub     rsp, 20h                                                       ; +0x2, 0x14016b712\nmov     rbx, rcx                                                       ; +0x6, 0x14016b716\ncmp     qword ptr [rcx+150h], 0                                        ; +0x9, 0x14016b719\njz      loc_14016B7CE                                                  ; +0x11, 0x14016b721\nmov     rcx, [rcx+178h]                                                ; +0x17, 0x14016b727\nmov     rax, [rcx]                                                     ; +0x1e, 0x14016b72e\nxor     edx, edx                                                       ; +0x21, 0x14016b731\ncall    qword ptr [rax+150h]                                           ; +0x23, 0x14016b733\nmov     rcx, [rbx+1E0h]                                                ; +0x29, 0x14016b739\ntest    rcx, rcx                                                       ; +0x30, 0x14016b740\njz      short loc_14016B750                                            ; +0x33, 0x14016b743\nmov     rax, [rcx]                                                     ; +0x35, 0x14016b745\nxor     edx, edx                                                       ; +0x38, 0x14016b748\ncall    qword ptr [rax+150h]                                           ; +0x3a, 0x14016b74a\nmov     rcx, cs:qword_14090C070                                        ; +0x40, 0x14016b750\ntest    rcx, rcx                                                       ; +0x47, 0x14016b757\njnz     short loc_14016B78E                                            ; +0x4a, 0x14016b75a\nmov     ecx, 3D0h; Size                                                ; +0x4c, 0x14016b75c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x51, 0x14016b761\nmov     [rsp+28h+arg_0], rax                                           ; +0x56, 0x14016b766\nmov     rcx, rax                                                       ; +0x5b, 0x14016b76b\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x5e, 0x14016b76e\nnop                                                                    ; +0x63, 0x14016b773\nmov     cs:qword_14090C070, rax                                        ; +0x64, 0x14016b774\nmov     rcx, [rax]                                                     ; +0x6b, 0x14016b77b\nmov     rdx, [rcx+48h]                                                 ; +0x6e, 0x14016b77e\nmov     rcx, rax                                                       ; +0x72, 0x14016b782\ncall    rdx                                                            ; +0x75, 0x14016b785\nmov     rcx, cs:qword_14090C070                                        ; +0x77, 0x14016b787\nxor     r8d, r8d                                                       ; +0x7e, 0x14016b78e\nmov     edx, [rbx+1F8h]                                                ; +0x81, 0x14016b791\ncall    MusicDownloadManager__getSongInfo                              ; +0x87, 0x14016b797\nmov     rcx, [rbx+198h]                                                ; +0x8c, 0x14016b79c\nadd     rcx, 140h                                                      ; +0x93, 0x14016b7a3\nmov     rax, [rcx]                                                     ; +0x9a, 0x14016b7aa\nlea     rdx, unk_140702F74                                             ; +0x9d, 0x14016b7ad\ncall    qword ptr [rax]                                                ; +0xa4, 0x14016b7b4\nmov     rcx, [rbx+198h]                                                ; +0xa6, 0x14016b7b6\nmov     rax, [rcx]                                                     ; +0xad, 0x14016b7bd\nxor     edx, edx                                                       ; +0xb0, 0x14016b7c0\nadd     rsp, 20h                                                       ; +0xb2, 0x14016b7c2\npop     rbx                                                            ; +0xb6, 0x14016b7c6\njmp     qword ptr [rax+3A8h]                                           ; +0xb7, 0x14016b7c7\nadd     rsp, 20h                                                       ; +0xbe, 0x14016b7ce\npop     rbx                                                            ; +0xc2, 0x14016b7d2\nretn                                                                   ; +0xc3, 0x14016b7d3", "xrefs": ["CustomSongWidget::getSongInfoIfUnloaded @ 0x14016b63b", "LevelInfoLayer::init @ 0x14041e1d3", "CustomSongWidget::init @ 0x140169860", "<???> @ 0x140918104"], "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"}