refactor project to use classes (#19)

This commit is contained in:
Neo
2023-06-07 12:23:59 -07:00
committed by GitHub
parent f6755b0c22
commit 0b94791ee1
12 changed files with 510 additions and 390 deletions

View File

@@ -4,6 +4,8 @@
#include "header.h"
char pCharset[] = "BCDFGHJKMPQRTVWXY2346789";
/* Converts from CD-key to a byte sequence. */
void unbase24(BYTE *byteSeq, const char *cdKey) {
BYTE pDecodedKey[PK_LENGTH + NULL_TERMINATOR]{};