{"type": "func", "start": 4296158476, "end": 4296158580, "name": "CustomSongWidget::downloadSongFailed", "pseudocode": "// \n// CustomSongWidget::downloadSongFailed from 0x100122d0c to 0x100122d74 (104 bytes)\n// \n// 2 xrefs:\n// > sub_100122DF8 @ 0x100122dfc\n// > <???> @ 0x1008d5a30\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 10:59:16 +0000\n// \n\n__int64 __fastcall CustomSongWidget::downloadSongFailed(__int64 result, __int64 a2, int a3)\n{\n  __int64 v3; // x19\n  int v4; // w8\n\n  v3 = result;\n  if ( *(_BYTE *)(result + 529) == 1 )\n    return sub_100122D74(result, a2, 1);\n  v4 = *(_DWORD *)(result + 504);\n  if ( v4 == (_DWORD)a2 && v4 != 0 )\n  {\n    sub_100122A24(result, a3);\n    return sub_100121D84(v3);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::downloadSongFailed from 0x100122d0c to 0x100122d74 (104 bytes)\n; \n; 2 xrefs:\n; > sub_100122DF8 @ 0x100122dfc\n; > <???> @ 0x1008d5a30\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 10:59:16 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100122d0c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100122d10\nADD             X29, SP, #0x10                                         ; +0x8, 0x100122d14\nMOV             X19, X0                                                ; +0xc, 0x100122d18\nLDRB            W8, [X0,#0x211]                                        ; +0x10, 0x100122d1c\nCMP             W8, #1                                                 ; +0x14, 0x100122d20\nB.NE            loc_100122D3C                                          ; +0x18, 0x100122d24\nMOV             X0, X19                                                ; +0x1c, 0x100122d28\nMOV             W2, #1                                                 ; +0x20, 0x100122d2c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x100122d30\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x100122d34\nB               sub_100122D74                                          ; +0x2c, 0x100122d38\nLDR             W8, [X19,#0x1F8]                                       ; +0x30, 0x100122d3c\nCMP             W8, W1                                                 ; +0x34, 0x100122d40\nCCMP            W8, #0, #4, EQ                                         ; +0x38, 0x100122d44\nB.NE            loc_100122D58                                          ; +0x3c, 0x100122d48\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100122d4c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100122d50\nRET                                                                    ; +0x48, 0x100122d54\nMOV             X0, X19                                                ; +0x4c, 0x100122d58\nMOV             X1, X2                                                 ; +0x50, 0x100122d5c\nBL              sub_100122A24                                          ; +0x54, 0x100122d60\nMOV             X0, X19                                                ; +0x58, 0x100122d64\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100122d68\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100122d6c\nB               sub_100121D84                                          ; +0x64, 0x100122d70", "xrefs": ["sub_100122DF8 @ 0x100122dfc", "<???> @ 0x1008d5a30"], "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"}