{"type": "func", "start": 8835412, "end": 8835512, "name": "CustomSongWidget::downloadSongFailed", "pseudocode": "// \n// CustomSongWidget::downloadSongFailed from 0x86d154 to 0x86d1b8 (100 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x86d1bc\n// > <???> @ 0x9fe38\n// > <???> @ 0x1442ea0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:55:44 +0000\n// \n\nCustomSongWidget *__fastcall CustomSongWidget::downloadSongFailed(CustomSongWidget *a1, int a2, int a3)\n{\n  CustomSongWidget *result; // x0\n\n  if ( *((_BYTE *)a1 + 529) )\n    return CustomSongWidget::downloadAssetFailed(a1, a2, 1);\n  result = (CustomSongWidget *)(unsigned __int8)CustomSongWidget::verifySongID(a1, a2);\n  if ( (_BYTE)result )\n  {\n    CustomSongWidget::updateError((__int64)a1, a3);\n    return (CustomSongWidget *)CustomSongWidget::downloadFailed(a1);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::downloadSongFailed from 0x86d154 to 0x86d1b8 (100 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x86d1bc\n; > <???> @ 0x9fe38\n; > <???> @ 0x1442ea0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:55:44 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x86d154\nMOV             W3, W2                                                 ; +0x4, 0x86d158\nMOV             X29, SP                                                ; +0x8, 0x86d15c\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x86d160\nLDRB            W2, [X0,#0x211]                                        ; +0x10, 0x86d164\nCBNZ            W2, loc_86D1A8                                         ; +0x14, 0x86d168\nMOV             W20, W3                                                ; +0x18, 0x86d16c\nMOV             X19, X0                                                ; +0x1c, 0x86d170\nBL              _ZN16CustomSongWidget12verifySongIDEi; CustomSongWidget::verifySongID(int) ; +0x20, 0x86d174\nUXTB            W0, W0                                                 ; +0x24, 0x86d178\nCBNZ            W0, loc_86D18C                                         ; +0x28, 0x86d17c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x2c, 0x86d180\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x30, 0x86d184\nRET                                                                    ; +0x34, 0x86d188\nMOV             X0, X19                                                ; +0x38, 0x86d18c\nMOV             W1, W20                                                ; +0x3c, 0x86d190\nBL              _ZN16CustomSongWidget11updateErrorE11GJSongError; CustomSongWidget::updateError(GJSongError) ; +0x40, 0x86d194\nMOV             X0, X19; this                                          ; +0x44, 0x86d198\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0x86d19c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0x86d1a0\nB               _ZN16CustomSongWidget14downloadFailedEv; CustomSongWidget::downloadFailed(void) ; +0x50, 0x86d1a4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0x86d1a8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0x86d1ac\nMOV             W2, #1                                                 ; +0x5c, 0x86d1b0\nB               _ZN16CustomSongWidget19downloadAssetFailedEi11GJAssetType11GJSongError; CustomSongWidget::downloadAssetFailed(int,GJAssetType,GJSongError) ; +0x60, 0x86d1b4", "xrefs": ["`non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x86d1bc", "<???> @ 0x9fe38", "<???> @ 0x1442ea0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}