{"type": "func", "start": 10687964, "end": 10688028, "name": "CustomSFXWidget::onCancelDownload", "pseudocode": "// \n// CustomSFXWidget::onCancelDownload from 0xa315dc to 0xa3161c (64 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x97a10\n// > CustomSFXWidget::init @ 0xa32b7c\n// > <???> @ 0x122d2e8\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 CustomSFXWidget::onCancelDownload(CustomSFXWidget *a1, cocos2d::CCObject *a2)\n{\n  MusicDownloadManager *v3; // x0\n\n  v3 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::stopDownload(v3, a1->m_sfxID);\n  a1->downloadSFXFailed(a1, a1->m_sfxID, DownloadCancelled);\n}", "assembly": "; \n; CustomSFXWidget::onCancelDownload from 0xa315dc to 0xa3161c (64 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x97a10\n; > CustomSFXWidget::init @ 0xa32b7c\n; > <???> @ 0x122d2e8\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0xa315dc\nMOV             X29, SP                                                ; +0x4, 0xa315e0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xa315e4\nMOV             X19, X0                                                ; +0xc, 0xa315e8\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x10, 0xa315ec\nLDR             W1, [X19,#0x1C8]; int                                  ; +0x14, 0xa315f0\nBL              _ZN20MusicDownloadManager12stopDownloadEi; MusicDownloadManager::stopDownload(int) ; +0x18, 0xa315f4\nLDR             X3, [X19]                                              ; +0x1c, 0xa315f8\nMOV             X0, X19                                                ; +0x20, 0xa315fc\nLDR             W1, [X19,#0x1C8]                                       ; +0x24, 0xa31600\nMOV             W2, #3                                                 ; +0x28, 0xa31604\nLDR             X3, [X3,#0x378]                                        ; +0x2c, 0xa31608\nBLR             X3                                                     ; +0x30, 0xa3160c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0xa31610\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0xa31614\nRET                                                                    ; +0x3c, 0xa31618", "xrefs": ["<???> @ 0x97a10", "CustomSFXWidget::init @ 0xa32b7c", "<???> @ 0x122d2e8"], "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"}