Decompile fn_04948 (PakDecryptor::sub_64C160)

Batch #8127 by secret: 0 byte-identical, 1 confirmed by peer review.

- fn_04948 PakDecryptor::sub_64C160: logic confirmed by peer review (annotation added to existing code)

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 14:19:21 +00:00
commit 4f05da484c

View file

@ -2328,6 +2328,7 @@ bool PakDecryptor::sub_64BF20(std::span<const std::uint8_t> data, std::span<cons
}
// OFFSET: 0x0064C160
// FUNCTION: fn_04948
bool PakDecryptor::sub_64C160(std::span<const std::uint8_t> data, std::span<const std::uint8_t, 60> keyData, std::span<const std::uint8_t, 16> block,
std::span<const std::uint8_t> input, std::span<std::uint8_t> output) const {
return DecryptWithAes(sub_644990, 0x2C, 0x1C, AES::CBC, 0, 0x400, data, keyData, block, input, output);