// // CustomSongWidget::downloadSFXFailed from 0x1006fd650 to 0x1006fd707 (183 bytes) // // 1 xrefs: // > @ 0x100b95de8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:35:56 +0000 // __int64 __fastcall CustomSongWidget::downloadSFXFailed(__int64 a1, int a2, __int64 a3) { _DWORD *v3; // rbx __int64 result; // rax size_t v5; // r14 const void *v6; // rsi __int128 v7; // [rsp+0h] [rbp-30h] v3 = *(_DWORD **)(a1 + 600); result = *(_QWORD *)(a1 + 608); if ( v3 != (_DWORD *)result ) { v5 = result - (_QWORD)v3 - 19; while ( *v3 != a2 || v3[1] != 2 ) { v3 += 4; v5 -= 16LL; if ( v3 == (_DWORD *)result ) return result; } ++v3[2]; *((_BYTE *)v3 + 12) = 0; v6 = v3 + 4; if ( v3 + 4 != (_DWORD *)result ) { *(_QWORD *)&v7 = *(_QWORD *)v3; DWORD2(v7) = v3[2]; BYTE12(v7) = *((_BYTE *)v3 + 12); memmove(v3, v6, v5); *(_QWORD *)((char *)v3 + v5 + 3) = v7; *(_QWORD *)((char *)v3 + v5 + 8) = *(_QWORD *)((char *)&v7 + 5); } return CustomSongWidget::processNextMultiAsset(a1, v6, a3); } return result; }