mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44: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);
|
||||
else if (offset < 0xF6)
|
||||
value += (byte)(-32 * key);
|
||||
else if (offset >= 0x171)
|
||||
value += (byte)(-54 * key);
|
||||
else if (offset <= 0xffffffffL)
|
||||
else if (offset < 0x171)
|
||||
value ^= (byte)(43 * key);
|
||||
else if (offset <= 0xffffffffL)
|
||||
value += (byte)(-54 * key);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user