mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 20:34:13 +08:00
(SaiminCrypt.Decrpyt): fixed byte decryption method logic.
This commit is contained in:
parent
8be92da42b
commit
ead52fc075
@ -950,10 +950,10 @@ NextEntry:
|
|||||||
value ^= (byte)(21 * key);
|
value ^= (byte)(21 * key);
|
||||||
else if (offset < 0xF6)
|
else if (offset < 0xF6)
|
||||||
value += (byte)(-32 * key);
|
value += (byte)(-32 * key);
|
||||||
else if (offset >= 0x171)
|
else if (offset < 0x171)
|
||||||
value += (byte)(-54 * key);
|
|
||||||
else if (offset <= 0xffffffffL)
|
|
||||||
value ^= (byte)(43 * key);
|
value ^= (byte)(43 * key);
|
||||||
|
else if (offset <= 0xffffffffL)
|
||||||
|
value += (byte)(-54 * key);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user