{"type": "func", "start": 5134866, "end": 5134916, "name": "CustomSongWidget::downloadSongFailed", "pseudocode": "// \n// CustomSongWidget::downloadSongFailed from 0x4e5a12 to 0x4e5a44 (50 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x4e5a48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:05 +0000\n// \n\nint __fastcall CustomSongWidget::downloadSongFailed(MusicDownloadManager *a1, int a2, int a3)\n{\n  int result; // r0\n\n  if ( *((_BYTE *)a1 + 377) )\n    return (int)CustomSongWidget::downloadAssetFailed(a1, a2, 1);\n  result = CustomSongWidget::verifySongID(a1, a2);\n  if ( result )\n  {\n    CustomSongWidget::updateError((int)a1, a3);\n    return CustomSongWidget::downloadFailed(a1);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::downloadSongFailed from 0x4e5a12 to 0x4e5a44 (50 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x4e5a48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:05 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4e5a12\nMOV             R4, R0                                                 ; +0x2, 0x4e5a14\nLDRB.W          R3, [R0,#0x179]                                        ; +0x4, 0x4e5a16\nMOV             R5, R2                                                 ; +0x8, 0x4e5a1a\nCBZ             R3, loc_4E5A2A                                         ; +0xa, 0x4e5a1c\nMOV             R3, R5                                                 ; +0xc, 0x4e5a1e\nMOVS            R2, #1                                                 ; +0xe, 0x4e5a20\nPOP.W           {R4-R6,LR}                                             ; +0x10, 0x4e5a22\nB.W             _ZN16CustomSongWidget19downloadAssetFailedEi11GJAssetType11GJSongError; CustomSongWidget::downloadAssetFailed(int,GJAssetType,GJSongError) ; +0x14, 0x4e5a26\nBL              _ZN16CustomSongWidget12verifySongIDEi; CustomSongWidget::verifySongID(int) ; +0x18, 0x4e5a2a\nCBZ             R0, locret_4E5A42                                      ; +0x1c, 0x4e5a2e\nMOV             R0, R4                                                 ; +0x1e, 0x4e5a30\nMOV             R1, R5                                                 ; +0x20, 0x4e5a32\nBL              _ZN16CustomSongWidget11updateErrorE11GJSongError; CustomSongWidget::updateError(GJSongError) ; +0x22, 0x4e5a34\nMOV             R0, R4; this                                           ; +0x26, 0x4e5a38\nPOP.W           {R4-R6,LR}                                             ; +0x28, 0x4e5a3a\nB.W             _ZN16CustomSongWidget14downloadFailedEv; CustomSongWidget::downloadFailed(void) ; +0x2c, 0x4e5a3e\nPOP             {R4-R6,PC}                                             ; +0x30, 0x4e5a42", "xrefs": ["`non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x4e5a48"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}