{"type": "func", "start": 4301372672, "end": 4301372732, "name": "CustomSongWidget::onCancelDownload", "pseudocode": "// \n// CustomSongWidget::onCancelDownload from 0x10061bd00 to 0x10061bd3c (60 bytes)\n// \n// 1 xrefs:\n// > CustomSongWidget::init @ 0x10061ac8a\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 *v2; // rax\n\n  v2 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::stopDownload(v2, 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 0x10061bd00 to 0x10061bd3c (60 bytes)\n; \n; 1 xrefs:\n; > CustomSongWidget::init @ 0x10061ac8a\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\npush    rbp                                                            ; +0x0, 0x10061bd00\nmov     rbp, rsp                                                       ; +0x1, 0x10061bd01\npush    rbx                                                            ; +0x4, 0x10061bd04\npush    rax                                                            ; +0x5, 0x10061bd05\nmov     rbx, rdi                                                       ; +0x6, 0x10061bd06\ncall    MusicDownloadManager__sharedState                              ; +0x9, 0x10061bd09\nmov     esi, [rbx+1F0h]                                                ; +0xe, 0x10061bd0e\nmov     rdi, rax                                                       ; +0x14, 0x10061bd14\ncall    MusicDownloadManager__stopDownload                             ; +0x17, 0x10061bd17\nmov     esi, [rbx+1F0h]                                                ; +0x1c, 0x10061bd1c\nmov     rax, [rbx]                                                     ; +0x22, 0x10061bd22\nmov     rax, [rax+390h]                                                ; +0x25, 0x10061bd25\nmov     rdi, rbx                                                       ; +0x2c, 0x10061bd2c\nmov     edx, 3                                                         ; +0x2f, 0x10061bd2f\nadd     rsp, 8                                                         ; +0x34, 0x10061bd34\npop     rbx                                                            ; +0x38, 0x10061bd38\npop     rbp                                                            ; +0x39, 0x10061bd39\njmp     rax                                                            ; +0x3a, 0x10061bd3a", "xrefs": ["CustomSongWidget::init @ 0x10061ac8a"], "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"}