From c8c9e8e731cfcf9db49182e58ea94a5289cfd8b6 Mon Sep 17 00:00:00 2001 From: awuctl <61098069+awuctl@users.noreply.github.com> Date: Wed, 24 Aug 2022 09:34:29 +0200 Subject: [PATCH] add guess at the encoded threshold value --- hwid_dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hwid_dec.c b/hwid_dec.c index c426133..7654a25 100644 --- a/hwid_dec.c +++ b/hwid_dec.c @@ -53,12 +53,12 @@ const char *HWID_NAMES[] = { void print_block(uint8_t *hw_block) { uint32_t size = *(uint32_t *)hw_block; - uint16_t unknown = *(uint16_t *)(hw_block + 4); + uint16_t threshold = *(uint16_t *)(hw_block + 4); // just an educated guess for now unsigned instance_count = 0; puts("Block Information:"); - printf("Size : [%08x]\n", size); - printf("Unknown : [%08x]\n", unknown); + printf("Size : [%08x]\n", size); + printf("Threshold : [%08x]\n", threshold); puts(""); struct HWID *hwid = (struct HWID *)(hw_block + 6);