{"type": "func", "start": 8838804, "end": 8838984, "name": "CustomSongWidget::loadSongInfoFailed", "pseudocode": "// \n// CustomSongWidget::loadSongInfoFailed from 0x86de94 to 0x86df48 (180 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomSongWidget::loadSongInfoFailed @ 0x86df4c\n// > <???> @ 0x6de10\n// > <???> @ 0x1442e88\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\n__int64 __fastcall CustomSongWidget::loadSongInfoFailed(CustomSongWidget *this, int a2, __int64 a3)\n{\n  __int64 *v4; // x0\n  int v5; // w3\n  __int64 result; // x0\n  int v7; // [xsp+20h] [xbp+20h]\n  unsigned int v9; // [xsp+2Ch] [xbp+2Ch] BYREF\n\n  v4 = *((__int64 **)this + 80);\n  v9 = a2;\n  while ( v4 )\n  {\n    while ( 1 )\n    {\n      v5 = *((_DWORD *)v4 + 7);\n      if ( v5 <= a2 )\n        break;\n      v4 = (__int64 *)*v4;\n      if ( !v4 )\n        goto LABEL_5;\n    }\n    if ( v5 >= a2 )\n    {\n      std::__tree<int>::__erase_unique<int>((_QWORD *)this + 79, (int *)&v9);\n      return (*(__int64 (__fastcall **)(CustomSongWidget *, _QWORD, __int64))(*(_QWORD *)this + 928LL))(this, v9, a3);\n    }\n    v4 = (__int64 *)v4[1];\n  }\nLABEL_5:\n  v7 = a3;\n  result = (unsigned __int8)CustomSongWidget::verifySongID(this, a2);\n  if ( (_BYTE)result )\n  {\n    CustomSongWidget::updateError((__int64)this, v7);\n    return CustomSongWidget::downloadFailed(this);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::loadSongInfoFailed from 0x86de94 to 0x86df48 (180 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomSongWidget::loadSongInfoFailed @ 0x86df4c\n; > <???> @ 0x6de10\n; > <???> @ 0x1442e88\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,#var_30]!                                ; +0x0, 0x86de94\nMOV             X29, SP                                                ; +0x4, 0x86de98\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x86de9c\nMOV             X19, X0                                                ; +0xc, 0x86dea0\nLDR             X0, [X0,#0x280]                                        ; +0x10, 0x86dea4\nSTR             W1, [X29,#0x30+var_4]                                  ; +0x14, 0x86dea8\nCBZ             X0, loc_86DEC4                                         ; +0x18, 0x86deac\nLDR             W3, [X0,#0x1C]                                         ; +0x1c, 0x86deb0\nCMP             W3, W1                                                 ; +0x20, 0x86deb4\nB.LE            loc_86DEE8                                             ; +0x24, 0x86deb8\nLDR             X0, [X0]                                               ; +0x28, 0x86debc\nCBNZ            X0, loc_86DEB0                                         ; +0x2c, 0x86dec0\nMOV             X0, X19; this                                          ; +0x30, 0x86dec4\nSTR             X2, [X29,#0x30+var_10]                                 ; +0x34, 0x86dec8\nBL              _ZN16CustomSongWidget12verifySongIDEi; CustomSongWidget::verifySongID(int) ; +0x38, 0x86decc\nUXTB            W0, W0                                                 ; +0x3c, 0x86ded0\nLDR             X2, [X29,#0x30+var_10]                                 ; +0x40, 0x86ded4\nCBNZ            W0, loc_86DEF4                                         ; +0x44, 0x86ded8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x48, 0x86dedc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x4c, 0x86dee0\nRET                                                                    ; +0x50, 0x86dee4\nB.GE            loc_86DF14                                             ; +0x54, 0x86dee8\nLDR             X0, [X0,#8]                                            ; +0x58, 0x86deec\nB               loc_86DEAC                                             ; +0x5c, 0x86def0\nMOV             X0, X19                                                ; +0x60, 0x86def4\nMOV             W1, W2                                                 ; +0x64, 0x86def8\nBL              _ZN16CustomSongWidget11updateErrorE11GJSongError; CustomSongWidget::updateError(GJSongError) ; +0x68, 0x86defc\nMOV             X0, X19; this                                          ; +0x6c, 0x86df00\nBL              _ZN16CustomSongWidget14downloadFailedEv; CustomSongWidget::downloadFailed(void) ; +0x70, 0x86df04\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x74, 0x86df08\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x86df0c\nRET                                                                    ; +0x7c, 0x86df10\nADD             X1, X29, #0x30+var_4                                   ; +0x80, 0x86df14\nADD             X0, X19, #0x278                                        ; +0x84, 0x86df18\nSTR             X2, [X29,#0x30+var_10]                                 ; +0x88, 0x86df1c\nBL              _ZNSt6__ndk16__treeIiNS_4lessIiEENS_9allocatorIiEEE14__erase_uniqueIiEEmRKT_; std::__tree<int>::__erase_unique<int>(int const&) ; +0x8c, 0x86df20\nLDR             X3, [X19]                                              ; +0x90, 0x86df24\nMOV             X0, X19                                                ; +0x94, 0x86df28\nLDR             W1, [X29,#0x30+var_4]                                  ; +0x98, 0x86df2c\nLDR             X2, [X29,#0x30+var_10]                                 ; +0x9c, 0x86df30\nLDR             X3, [X3,#0x3A0]                                        ; +0xa0, 0x86df34\nBLR             X3                                                     ; +0xa4, 0x86df38\nLDR             X19, [SP,#0x30+var_20]                                 ; +0xa8, 0x86df3c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xac, 0x86df40\nRET                                                                    ; +0xb0, 0x86df44", "xrefs": ["`non-virtual thunk to'CustomSongWidget::loadSongInfoFailed @ 0x86df4c", "<???> @ 0x6de10", "<???> @ 0x1442e88"], "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"}