{"type": "func", "start": 4296154348, "end": 4296154396, "name": "CustomSongWidget::startDownload", "pseudocode": "// \n// CustomSongWidget::startDownload from 0x100121cec to 0x100121d1c (48 bytes)\n// \n// 2 xrefs:\n// > CustomSongWidget::onDownload @ 0x10011f6cc\n// > CustomSongWidget::loadSongInfoFinished @ 0x100122904\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:16 +0000\n// \n\n__int64 __fastcall CustomSongWidget::startDownload(__int64 a1)\n{\n  __int64 v2; // x0\n\n  *(_BYTE *)(a1 + 499) = 0;\n  v2 = MusicDownloadManager::sharedState(a1);\n  MusicDownloadManager::downloadSong(v2, *(unsigned int *)(a1 + 504));\n  return sub_100121328(a1);\n}", "assembly": "; \n; CustomSongWidget::startDownload from 0x100121cec to 0x100121d1c (48 bytes)\n; \n; 2 xrefs:\n; > CustomSongWidget::onDownload @ 0x10011f6cc\n; > CustomSongWidget::loadSongInfoFinished @ 0x100122904\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:16 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100121cec\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100121cf0\nADD             X29, SP, #0x10                                         ; +0x8, 0x100121cf4\nMOV             X19, X0                                                ; +0xc, 0x100121cf8\nSTRB            WZR, [X0,#0x1F3]                                       ; +0x10, 0x100121cfc\nBL              MusicDownloadManager__sharedState                      ; +0x14, 0x100121d00\nLDR             W1, [X19,#0x1F8]                                       ; +0x18, 0x100121d04\nBL              MusicDownloadManager__downloadSong                     ; +0x1c, 0x100121d08\nMOV             X0, X19                                                ; +0x20, 0x100121d0c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x100121d10\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x100121d14\nB               sub_100121328                                          ; +0x2c, 0x100121d18", "xrefs": ["CustomSongWidget::onDownload @ 0x10011f6cc", "CustomSongWidget::loadSongInfoFinished @ 0x100122904"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}