From bd59b967114d63c1cfd1627078452fe364d3159c Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:21:35 -0500 Subject: [PATCH] cleanup(CXSecureUncompression): name Huffman table verify params Rename CXiVerifyHuffmanTable_ param_1/param_2 to table/bitSize. Byte-identical; DOL sha1 unchanged. --- libs/RVL_SDK/src/cx/CXSecureUncompression.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/RVL_SDK/src/cx/CXSecureUncompression.c b/libs/RVL_SDK/src/cx/CXSecureUncompression.c index 37ef73de..132bfc2f 100644 --- a/libs/RVL_SDK/src/cx/CXSecureUncompression.c +++ b/libs/RVL_SDK/src/cx/CXSecureUncompression.c @@ -221,11 +221,11 @@ CXSecureResult CXSecureUncompressLZ(const void* src, u32 length, void* dst) { return CX_SECURE_ERR_OK; } -BOOL CXiVerifyHuffmanTable_(const void* param_1, u8 param_2) { - const u8* a = param_1; +BOOL CXiVerifyHuffmanTable_(const void* table, u8 bitSize) { + const u8* a = table; const u8* b = a + 1; u32 c = *a; - const u8* d = (u8*)param_1 + ((c + 1) << 1); + const u8* d = (u8*)table + ((c + 1) << 1); u8 e[sizeof(u8) * 0x40]; u32 i; @@ -233,7 +233,7 @@ BOOL CXiVerifyHuffmanTable_(const void* param_1, u8 param_2) { e[i] = 0; } - if (param_2 == 4 && c >= 16) { + if (bitSize == 4 && c >= 16) { return FALSE; } -- 2.49.1