{"type": "func", "start": 4301142736, "end": 4301142796, "name": "CustomSFXWidget::onCancelDownload", "pseudocode": "// \n// CustomSFXWidget::onCancelDownload from 0x1005e3ad0 to 0x1005e3b0c (60 bytes)\n// \n// 1 xrefs:\n// > CustomSFXWidget::init @ 0x1005e2fd8\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 CustomSFXWidget::onCancelDownload(CustomSFXWidget *a1, cocos2d::CCObject *a2)\n{\n  MusicDownloadManager *v2; // rax\n\n  v2 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::stopDownload(v2, a1->m_sfxID);\n  ((void (__fastcall *)(CustomSFXWidget *, _QWORD, __int64))a1->downloadSFXFailed)(a1, (unsigned int)a1->m_sfxID, 3);\n}", "assembly": "; \n; CustomSFXWidget::onCancelDownload from 0x1005e3ad0 to 0x1005e3b0c (60 bytes)\n; \n; 1 xrefs:\n; > CustomSFXWidget::init @ 0x1005e2fd8\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, 0x1005e3ad0\nmov     rbp, rsp                                                       ; +0x1, 0x1005e3ad1\npush    rbx                                                            ; +0x4, 0x1005e3ad4\npush    rax                                                            ; +0x5, 0x1005e3ad5\nmov     rbx, rdi                                                       ; +0x6, 0x1005e3ad6\ncall    MusicDownloadManager__sharedState                              ; +0x9, 0x1005e3ad9\nmov     esi, [rbx+1C8h]                                                ; +0xe, 0x1005e3ade\nmov     rdi, rax                                                       ; +0x14, 0x1005e3ae4\ncall    MusicDownloadManager__stopDownload                             ; +0x17, 0x1005e3ae7\nmov     esi, [rbx+1C8h]                                                ; +0x1c, 0x1005e3aec\nmov     rax, [rbx]                                                     ; +0x22, 0x1005e3af2\nmov     rax, [rax+378h]                                                ; +0x25, 0x1005e3af5\nmov     rdi, rbx                                                       ; +0x2c, 0x1005e3afc\nmov     edx, 3                                                         ; +0x2f, 0x1005e3aff\nadd     rsp, 8                                                         ; +0x34, 0x1005e3b04\npop     rbx                                                            ; +0x38, 0x1005e3b08\npop     rbp                                                            ; +0x39, 0x1005e3b09\njmp     rax                                                            ; +0x3a, 0x1005e3b0a", "xrefs": ["CustomSFXWidget::init @ 0x1005e2fd8"], "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"}