{"type": "func", "start": 5370198800, "end": 5370198902, "name": "CustomSongWidget::startDownload", "pseudocode": "// \n// CustomSongWidget::startDownload from 0x14016bb10 to 0x14016bb76 (102 bytes)\n// \n// 3 xrefs:\n// > CustomSongWidget::onDownload @ 0x14016bab0\n// > CustomSongWidget::loadSongInfoFinished @ 0x14016e03d\n// > <???> @ 0x140918128\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\n__int64 __fastcall CustomSongWidget::startDownload(__int64 a1)\n{\n  __int64 v2; // rcx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  *(_BYTE *)(a1 + 499) = 0;\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  MusicDownloadManager::downloadSong(v2, *(unsigned int *)(a1 + 504));\n  return CustomSongWidget::startMonitorDownload(a1);\n}", "assembly": "; \n; CustomSongWidget::startDownload from 0x14016bb10 to 0x14016bb76 (102 bytes)\n; \n; 3 xrefs:\n; > CustomSongWidget::onDownload @ 0x14016bab0\n; > CustomSongWidget::loadSongInfoFinished @ 0x14016e03d\n; > <???> @ 0x140918128\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, 0x14016bb10\nsub     rsp, 20h                                                       ; +0x2, 0x14016bb12\nmov     rbx, rcx                                                       ; +0x6, 0x14016bb16\nmov     byte ptr [rcx+1F3h], 0                                         ; +0x9, 0x14016bb19\nmov     rcx, cs:qword_14090C070                                        ; +0x10, 0x14016bb20\ntest    rcx, rcx                                                       ; +0x17, 0x14016bb27\njnz     short loc_14016BB5E                                            ; +0x1a, 0x14016bb2a\nmov     ecx, 3D0h; Size                                                ; +0x1c, 0x14016bb2c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x21, 0x14016bb31\nmov     [rsp+28h+arg_0], rax                                           ; +0x26, 0x14016bb36\nmov     rcx, rax                                                       ; +0x2b, 0x14016bb3b\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x2e, 0x14016bb3e\nnop                                                                    ; +0x33, 0x14016bb43\nmov     cs:qword_14090C070, rax                                        ; +0x34, 0x14016bb44\nmov     rcx, [rax]                                                     ; +0x3b, 0x14016bb4b\nmov     rdx, [rcx+48h]                                                 ; +0x3e, 0x14016bb4e\nmov     rcx, rax                                                       ; +0x42, 0x14016bb52\ncall    rdx                                                            ; +0x45, 0x14016bb55\nmov     rcx, cs:qword_14090C070                                        ; +0x47, 0x14016bb57\nmov     edx, [rbx+1F8h]                                                ; +0x4e, 0x14016bb5e\ncall    MusicDownloadManager__downloadSong                             ; +0x54, 0x14016bb64\nmov     rcx, rbx                                                       ; +0x59, 0x14016bb69\nadd     rsp, 20h                                                       ; +0x5c, 0x14016bb6c\npop     rbx                                                            ; +0x60, 0x14016bb70\njmp     CustomSongWidget__startMonitorDownload                         ; +0x61, 0x14016bb71", "xrefs": ["CustomSongWidget::onDownload @ 0x14016bab0", "CustomSongWidget::loadSongInfoFinished @ 0x14016e03d", "<???> @ 0x140918128"], "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"}