MengYX
4 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
1 changed files with
1 additions and
1 deletions
-
src/decrypt/xm.js
|
@ -29,7 +29,7 @@ export async function Decrypt(file, raw_filename, raw_ext) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let key = oriData[0xf] |
|
|
let key = oriData[0xf] |
|
|
let dataOffset = oriData[0xc] | oriData[0xd] << 8 |
|
|
let dataOffset = oriData[0xc] | oriData[0xd] << 8 | oriData[0xe] << 16 |
|
|
let audioData = oriData.slice(0x10); |
|
|
let audioData = oriData.slice(0x10); |
|
|
let lenAudioData = audioData.length; |
|
|
let lenAudioData = audioData.length; |
|
|
for (let cur = dataOffset; cur < lenAudioData; ++cur) |
|
|
for (let cur = dataOffset; cur < lenAudioData; ++cur) |
|
|