{"type": "func", "start": 4296008580, "end": 4296008712, "name": "CustomSongWidget::downloadAssetFailed", "pseudocode": "// \n// CustomSongWidget::downloadAssetFailed from 0x1000fe384 to 0x1000fe408 (132 bytes)\n// \n// 3 xrefs:\n// > CustomSongWidget::downloadSongFailed @ 0x1000fe348\n// > CustomSongWidget::downloadSFXFailed @ 0x1000fe428\n// > sub_1000FE42C @ 0x1000fe434\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::downloadAssetFailed(CustomSongWidget *a1, int a2, GJAssetType a3, GJSongError a4)\n{\n  std::__vector_base<GJAssetDownloadAction>::pointer begin; // x0\n  std::__vector_base<GJAssetDownloadAction>::pointer end; // x2\n  std::__vector_base<GJAssetDownloadAction>::pointer v8; // x9\n\n  begin = a1->m_undownloadedAssets.__begin_;\n  end = a1->m_undownloadedAssets.__end_;\n  if ( begin != end )\n  {\n    v8 = begin;\n    while ( v8->m_id != a2 || v8->m_assetType != a3 )\n    {\n      v8 = (std::__vector_base<GJAssetDownloadAction>::pointer)((char *)v8 + 16);\n      begin = (std::__vector_base<GJAssetDownloadAction>::pointer)((char *)begin + 16);\n      if ( v8 == end )\n        return;\n    }\n    ++v8->m_status;\n    LOBYTE(v8[1].m_id) = 0;\n    sub_1000FE898(begin);\n    CustomSongWidget::processNextMultiAsset(a1);\n  }\n}", "assembly": "; \n; CustomSongWidget::downloadAssetFailed from 0x1000fe384 to 0x1000fe408 (132 bytes)\n; \n; 3 xrefs:\n; > CustomSongWidget::downloadSongFailed @ 0x1000fe348\n; > CustomSongWidget::downloadSFXFailed @ 0x1000fe428\n; > sub_1000FE42C @ 0x1000fe434\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, 0x1000fe384\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000fe388\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000fe38c\nMOV             X8, X2                                                 ; +0xc, 0x1000fe390\nMOV             X19, X0                                                ; +0x10, 0x1000fe394\nLDR             X0, [X0,#0x240]; __src                                 ; +0x14, 0x1000fe398\nLDR             X2, [X19,#0x248]                                       ; +0x18, 0x1000fe39c\nCMP             X0, X2                                                 ; +0x1c, 0x1000fe3a0\nB.EQ            loc_1000FE3D4                                          ; +0x20, 0x1000fe3a4\nMOV             X9, X0                                                 ; +0x24, 0x1000fe3a8\nLDR             W10, [X9]                                              ; +0x28, 0x1000fe3ac\nCMP             W10, W1                                                ; +0x2c, 0x1000fe3b0\nB.NE            loc_1000FE3C4                                          ; +0x30, 0x1000fe3b4\nLDR             W10, [X9,#4]                                           ; +0x34, 0x1000fe3b8\nCMP             W10, W8                                                ; +0x38, 0x1000fe3bc\nB.EQ            loc_1000FE3E0                                          ; +0x3c, 0x1000fe3c0\nADD             X9, X9, #0x10                                          ; +0x40, 0x1000fe3c4\nADD             X0, X0, #0x10                                          ; +0x44, 0x1000fe3c8\nCMP             X9, X2                                                 ; +0x48, 0x1000fe3cc\nB.NE            loc_1000FE3AC                                          ; +0x4c, 0x1000fe3d0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x1000fe3d4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x1000fe3d8\nRET                                                                    ; +0x58, 0x1000fe3dc\nLDR             W8, [X9,#8]                                            ; +0x5c, 0x1000fe3e0\nADD             W8, W8, #1                                             ; +0x60, 0x1000fe3e4\nSTR             W8, [X9,#8]                                            ; +0x64, 0x1000fe3e8\nSTRB            WZR, [X9,#0xC]                                         ; +0x68, 0x1000fe3ec\nADD             X1, X0, #0x10                                          ; +0x6c, 0x1000fe3f0\nBL              sub_1000FE898                                          ; +0x70, 0x1000fe3f4\nMOV             X0, X19                                                ; +0x74, 0x1000fe3f8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x78, 0x1000fe3fc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x7c, 0x1000fe400\nB               CustomSongWidget__processNextMultiAsset                ; +0x80, 0x1000fe404", "xrefs": ["CustomSongWidget::downloadSongFailed @ 0x1000fe348", "CustomSongWidget::downloadSFXFailed @ 0x1000fe428", "sub_1000FE42C @ 0x1000fe434"], "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"}