{"type": "func", "start": 5370210464, "end": 5370210663, "name": "CustomSongWidget::downloadAssetFailed", "pseudocode": "// \n// CustomSongWidget::downloadAssetFailed from 0x14016e8a0 to 0x14016e967 (199 bytes)\n// \n// 2 xrefs:\n// > CustomSongWidget::downloadSongFailed @ 0x14016e274\n// > CustomSongWidget::downloadSFXFailed @ 0x14016e2fd\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:30 +0000\n// \n\nvoid __fastcall CustomSongWidget::downloadAssetFailed(_QWORD *a1, __int128 *a2, int a3)\n{\n  __int128 *v3; // rax\n  __int128 *v5; // r8\n  __int128 *v6; // rcx\n  __int128 *v7; // r9\n  __int128 *v8; // rdx\n  __int128 v9; // xmm1\n  __int128 v10; // xmm1\n  __int128 v11; // xmm1\n\n  v3 = (__int128 *)a1[73];\n  if ( v3 != (__int128 *)a1[74] )\n  {\n    while ( *(_DWORD *)v3 != (_DWORD)a2 || *((_DWORD *)v3 + 1) != a3 )\n    {\n      if ( ++v3 == (__int128 *)a1[74] )\n        return;\n    }\n    ++*((_DWORD *)v3 + 2);\n    v5 = v3 + 1;\n    *((_BYTE *)v3 + 12) = 0;\n    v6 = (__int128 *)a1[74];\n    if ( v3 + 1 != v6 )\n    {\n      v7 = v3;\n      v8 = v3 + 1;\n      do\n      {\n        if ( v7 == --v8 )\n          break;\n        v9 = *v7;\n        *v7++ = *v8;\n        *v8 = v9;\n      }\n      while ( v7 != v8 );\n      a2 = v6;\n      do\n      {\n        if ( v5 == --a2 )\n          break;\n        v10 = *v5;\n        *v5++ = *a2;\n        *a2 = v10;\n      }\n      while ( v5 != a2 );\n      for ( ; v3 != v6; *v6 = v11 )\n      {\n        if ( v3 == --v6 )\n          break;\n        v11 = *v3;\n        *v3++ = *v6;\n      }\n    }\n    CustomSongWidget::processNextMultiAsset(a1, (__int64)a2);\n  }\n}", "assembly": "; \n; CustomSongWidget::downloadAssetFailed from 0x14016e8a0 to 0x14016e967 (199 bytes)\n; \n; 2 xrefs:\n; > CustomSongWidget::downloadSongFailed @ 0x14016e274\n; > CustomSongWidget::downloadSFXFailed @ 0x14016e2fd\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:30 +0000\n; \nmov     rax, [rcx+248h]                                                ; +0x0, 0x14016e8a0\nmov     r10, rcx                                                       ; +0x7, 0x14016e8a7\ncmp     rax, [rcx+250h]                                                ; +0xa, 0x14016e8aa\njz      locret_14016E966                                               ; +0x11, 0x14016e8b1\ncmp     [rax], edx                                                     ; +0x17, 0x14016e8b7\njnz     short loc_14016E8C1                                            ; +0x19, 0x14016e8b9\ncmp     [rax+4], r8d                                                   ; +0x1b, 0x14016e8bb\njz      short loc_14016E8CF                                            ; +0x1f, 0x14016e8bf\nadd     rax, 10h                                                       ; +0x21, 0x14016e8c1\ncmp     rax, [rcx+250h]                                                ; +0x25, 0x14016e8c5\njnz     short loc_14016E8B7                                            ; +0x2c, 0x14016e8cc\nretn                                                                   ; +0x2e, 0x14016e8ce\ninc     dword ptr [rax+8]                                              ; +0x2f, 0x14016e8cf\nlea     r8, [rax+10h]                                                  ; +0x32, 0x14016e8d2\nmov     byte ptr [rax+0Ch], 0                                          ; +0x36, 0x14016e8d6\nmov     rcx, [rcx+250h]                                                ; +0x3a, 0x14016e8da\ncmp     rax, r8                                                        ; +0x41, 0x14016e8e1\njz      short loc_14016E95E                                            ; +0x44, 0x14016e8e4\ncmp     r8, rcx                                                        ; +0x46, 0x14016e8e6\njz      short loc_14016E95E                                            ; +0x49, 0x14016e8e9\nmov     r9, rax                                                        ; +0x4b, 0x14016e8eb\nmov     rdx, r8                                                        ; +0x4e, 0x14016e8ee\nsub     rdx, 10h                                                       ; +0x51, 0x14016e8f1\ncmp     r9, rdx                                                        ; +0x55, 0x14016e8f5\njz      short loc_14016E911                                            ; +0x58, 0x14016e8f8\nmovups  xmm1, xmmword ptr [r9]                                         ; +0x5a, 0x14016e8fa\nmovups  xmm0, xmmword ptr [rdx]                                        ; +0x5e, 0x14016e8fe\nmovups  xmmword ptr [r9], xmm0                                         ; +0x61, 0x14016e901\nadd     r9, 10h                                                        ; +0x65, 0x14016e905\nmovups  xmmword ptr [rdx], xmm1                                        ; +0x69, 0x14016e909\ncmp     r9, rdx                                                        ; +0x6c, 0x14016e90c\njnz     short loc_14016E8F1                                            ; +0x6f, 0x14016e90f\nmov     rdx, rcx                                                       ; +0x71, 0x14016e911\nsub     rdx, 10h                                                       ; +0x74, 0x14016e914\ncmp     r8, rdx                                                        ; +0x78, 0x14016e918\njz      short loc_14016E934                                            ; +0x7b, 0x14016e91b\nmovups  xmm1, xmmword ptr [r8]                                         ; +0x7d, 0x14016e91d\nmovups  xmm0, xmmword ptr [rdx]                                        ; +0x81, 0x14016e921\nmovups  xmmword ptr [r8], xmm0                                         ; +0x84, 0x14016e924\nadd     r8, 10h                                                        ; +0x88, 0x14016e928\nmovups  xmmword ptr [rdx], xmm1                                        ; +0x8c, 0x14016e92c\ncmp     r8, rdx                                                        ; +0x8f, 0x14016e92f\njnz     short loc_14016E914                                            ; +0x92, 0x14016e932\ncmp     rax, rcx                                                       ; +0x94, 0x14016e934\njz      short loc_14016E95E                                            ; +0x97, 0x14016e937\nnop     dword ptr [rax+00000000h]                                      ; +0x99, 0x14016e939\nsub     rcx, 10h                                                       ; +0xa0, 0x14016e940\ncmp     rax, rcx                                                       ; +0xa4, 0x14016e944\njz      short loc_14016E95E                                            ; +0xa7, 0x14016e947\nmovups  xmm1, xmmword ptr [rax]                                        ; +0xa9, 0x14016e949\nmovups  xmm0, xmmword ptr [rcx]                                        ; +0xac, 0x14016e94c\nmovups  xmmword ptr [rax], xmm0                                        ; +0xaf, 0x14016e94f\nadd     rax, 10h                                                       ; +0xb2, 0x14016e952\nmovups  xmmword ptr [rcx], xmm1                                        ; +0xb6, 0x14016e956\ncmp     rax, rcx                                                       ; +0xb9, 0x14016e959\njnz     short loc_14016E940                                            ; +0xbc, 0x14016e95c\nmov     rcx, r10                                                       ; +0xbe, 0x14016e95e\njmp     CustomSongWidget__processNextMultiAsset                        ; +0xc1, 0x14016e961\nretn                                                                   ; +0xc6, 0x14016e966", "xrefs": ["CustomSongWidget::downloadSongFailed @ 0x14016e274", "CustomSongWidget::downloadSFXFailed @ 0x14016e2fd"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}