{"type": "func", "start": 4296008476, "end": 4296008580, "name": "CustomSongWidget::downloadSongFailed", "pseudocode": "// \n// CustomSongWidget::downloadSongFailed from 0x1000fe31c to 0x1000fe384 (104 bytes)\n// \n// 2 xrefs:\n// > sub_1000FE408 @ 0x1000fe40c\n// > <???> @ 0x100787220\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 __fastcall CustomSongWidget::downloadSongFailed(CustomSongWidget *a1, int a2, GJSongError a3)\n{\n  GJSongError v3; // w3\n  int m_customSongID; // w8\n\n  if ( a1->m_hasSFX )\n  {\n    CustomSongWidget::downloadAssetFailed(a1, a2, (GJAssetType)1, v3);\n  }\n  else\n  {\n    m_customSongID = a1->m_customSongID;\n    if ( m_customSongID == a2 && m_customSongID != 0 )\n    {\n      CustomSongWidget::updateError(a1, a3);\n      CustomSongWidget::downloadFailed(a1);\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::downloadSongFailed from 0x1000fe31c to 0x1000fe384 (104 bytes)\n; \n; 2 xrefs:\n; > sub_1000FE408 @ 0x1000fe40c\n; > <???> @ 0x100787220\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000fe31c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000fe320\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000fe324\nMOV             X19, X0                                                ; +0xc, 0x1000fe328\nLDRB            W8, [X0,#0x209]                                        ; +0x10, 0x1000fe32c\nCMP             W8, #1                                                 ; +0x14, 0x1000fe330\nB.NE            loc_1000FE34C                                          ; +0x18, 0x1000fe334\nMOV             X0, X19                                                ; +0x1c, 0x1000fe338\nMOV             W2, #1                                                 ; +0x20, 0x1000fe33c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x1000fe340\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x1000fe344\nB               CustomSongWidget__downloadAssetFailed                  ; +0x2c, 0x1000fe348\nLDR             W8, [X19,#0x1F0]                                       ; +0x30, 0x1000fe34c\nCMP             W8, W1                                                 ; +0x34, 0x1000fe350\nCCMP            W8, #0, #4, EQ                                         ; +0x38, 0x1000fe354\nB.NE            loc_1000FE368                                          ; +0x3c, 0x1000fe358\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1000fe35c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1000fe360\nRET                                                                    ; +0x48, 0x1000fe364\nMOV             X0, X19                                                ; +0x4c, 0x1000fe368\nMOV             X1, X2                                                 ; +0x50, 0x1000fe36c\nBL              CustomSongWidget__updateError                          ; +0x54, 0x1000fe370\nMOV             X0, X19                                                ; +0x58, 0x1000fe374\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1000fe378\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1000fe37c\nB               CustomSongWidget__downloadFailed                       ; +0x64, 0x1000fe380", "xrefs": ["sub_1000FE408 @ 0x1000fe40c", "<???> @ 0x100787220"], "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"}