{"type": "func", "start": 4295993984, "end": 4295994044, "name": "CustomSongWidget::onCancelDownload", "pseudocode": "// \n// CustomSongWidget::onCancelDownload from 0x1000faa80 to 0x1000faabc (60 bytes)\n// \n// 1 xrefs:\n// > CustomSongWidget::init @ 0x1000f9c90\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CustomSongWidget::onCancelDownload(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  MusicDownloadManager *v3; // x0\n\n  v3 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::stopDownload(v3, a1->m_customSongID);\n  ((void (__fastcall *)(CustomSongWidget *, _QWORD, __int64))a1->downloadSongFailed)(\n    a1,\n    (unsigned int)a1->m_customSongID,\n    3);\n}", "assembly": "; \n; CustomSongWidget::onCancelDownload from 0x1000faa80 to 0x1000faabc (60 bytes)\n; \n; 1 xrefs:\n; > CustomSongWidget::init @ 0x1000f9c90\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000faa80\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000faa84\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000faa88\nMOV             X19, X0                                                ; +0xc, 0x1000faa8c\nBL              MusicDownloadManager__sharedState                      ; +0x10, 0x1000faa90\nLDR             W1, [X19,#0x1F0]                                       ; +0x14, 0x1000faa94\nBL              MusicDownloadManager__stopDownload                     ; +0x18, 0x1000faa98\nLDR             W1, [X19,#0x1F0]                                       ; +0x1c, 0x1000faa9c\nLDR             X8, [X19]                                              ; +0x20, 0x1000faaa0\nLDR             X3, [X8,#0x390]                                        ; +0x24, 0x1000faaa4\nMOV             X0, X19                                                ; +0x28, 0x1000faaa8\nMOV             W2, #3                                                 ; +0x2c, 0x1000faaac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1000faab0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1000faab4\nBR              X3                                                     ; +0x38, 0x1000faab8", "xrefs": ["CustomSongWidget::init @ 0x1000f9c90"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}