1
0
forked from um/web
This commit is contained in:
MengYX 2020-08-13 15:26:15 +08:00
parent 8d79035675
commit b6757e81a2
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -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)