{"type": "func", "start": 5692428, "end": 5692464, "name": "CustomSFXWidget::onCancelDownload", "pseudocode": "// \n// CustomSFXWidget::onCancelDownload from 0x56dc0c to 0x56dc30 (36 bytes)\n// \n// 0 xrefs:\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; // r0\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 0x56dc0c to 0x56dc30 (36 bytes)\n; \n; 0 xrefs:\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            {R4,LR}                                                ; +0x0, 0x56dc0c\nMOV             R4, R0                                                 ; +0x2, 0x56dc0e\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x56dc10\nLDR.W           R1, [R4,#0x150]; int                                   ; +0x8, 0x56dc14\nBL              _ZN20MusicDownloadManager12stopDownloadEi; MusicDownloadManager::stopDownload(int) ; +0xc, 0x56dc18\nLDR             R3, [R4]                                               ; +0x10, 0x56dc1c\nMOV             R0, R4                                                 ; +0x12, 0x56dc1e\nLDR.W           R1, [R4,#0x150]                                        ; +0x14, 0x56dc20\nMOVS            R2, #3                                                 ; +0x18, 0x56dc24\nLDR.W           R3, [R3,#0x1BC]                                        ; +0x1a, 0x56dc26\nPOP.W           {R4,LR}                                                ; +0x1e, 0x56dc2a\nBX              R3                                                     ; +0x22, 0x56dc2e", "xrefs": [], "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"}