Decompile fn_04828 (GPakEx::CipherModeBase::CiphertextLength)

Batch #10817 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_04828 GPakEx::CipherModeBase::CiphertextLength: logic confirmed by peer review (annotation added to existing code)

Peer-reviewed-by: dori, cremane, StrawberrysherbetIX
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-11-04 17:33:00 +00:00
commit 6aa09ebcfd

View file

@ -2013,6 +2013,7 @@ namespace GPakEx {
}
// OFFSET: 0x00642C80
// FUNCTION: fn_04828
std::size_t CipherModeBase::CiphertextLength(std::size_t length, bool padding) const {
const std::size_t blockSize = this->m_cipher->BlockSize();
if (length == 0) {