From a7523a64a2d57e46d963c84fcf666748e891087b Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 17 Nov 2024 21:18:28 +0100 Subject: [PATCH] removed 'unused' code from decrypter dear god, I hate you from the bottom of my heart, but, please do not break my code by removing this code. i have no fucking idea what it does and how it got there. if you'll protect my code stability, I will do absolutely nothing. hail satan --- src/core/lib/decrypter.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/lib/decrypter.c b/src/core/lib/decrypter.c index 5b95e7e..4b80059 100644 --- a/src/core/lib/decrypter.c +++ b/src/core/lib/decrypter.c @@ -78,12 +78,6 @@ why2_output_flags why2_decrypt_text(char *text, char *key_new) //GET ENCRYPTED NUMBERS for (unsigned short i = 0; i < why2_byte_format_length(text_copy); i++) { - for (unsigned short j = 2 + (i * 2); j <= 3 + (i * 2); j++) - { - //ENSURE THERE IS NO \0 (REVERSED) - if (text_copy[j] == -128) text_copy[j] = 0; - } - //PUT TOGETHER encrypted_input[i] = (text_copy[3 + (i * 2)] << 7) | text_copy[2 + (i * 2)];