{"type": "func", "start": 4052448, "end": 4052484, "name": "CustomSongWidget::onCancelDownload", "pseudocode": "// \n// CustomSongWidget::onCancelDownload from 0x3dd5e0 to 0x3dd604 (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 CustomSongWidget::onCancelDownload(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  MusicDownloadManager *v3; // r0\n\n  v3 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::stopDownload(v3, a1->m_customSongID);\n  a1->downloadSongFailed(a1, a1->m_customSongID, DownloadCancelled);\n}", "assembly": "; \n; CustomSongWidget::onCancelDownload from 0x3dd5e0 to 0x3dd604 (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, 0x3dd5e0\nMOV             R4, R0                                                 ; +0x2, 0x3dd5e2\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x3dd5e4\nLDR.W           R1, [R4,#0x164]; int                                   ; +0x8, 0x3dd5e8\nBL              _ZN20MusicDownloadManager12stopDownloadEi; MusicDownloadManager::stopDownload(int) ; +0xc, 0x3dd5ec\nLDR             R3, [R4]                                               ; +0x10, 0x3dd5f0\nMOV             R0, R4                                                 ; +0x12, 0x3dd5f2\nLDR.W           R1, [R4,#0x164]                                        ; +0x14, 0x3dd5f4\nMOVS            R2, #3                                                 ; +0x18, 0x3dd5f8\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x1a, 0x3dd5fa\nPOP.W           {R4,LR}                                                ; +0x1e, 0x3dd5fe\nBX              R3                                                     ; +0x22, 0x3dd602", "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"}