1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-12-15 07:13:20 +00:00

chore: code cleanup

This commit is contained in:
2024-04-24 08:00:40 +02:00
parent 5e297a0353
commit 79193ba91b
4 changed files with 10 additions and 7 deletions

View File

@@ -24,13 +24,16 @@
#include "deob.h"
void deob(char * in) {
const long long s[2] = { S0, S1 };
void deob(char *in) {
const long long s[2] = {S0, S1};
char d[] = "OSTAR.password$OSB";
for (size_t i = 0; i < DL; i++) d[i] = (CS)[i];
size_t l = strlen(in) / 2;
for (size_t i = 0; i < l; i++) {
for (size_t j = 0; j < DL; j++) { DLT(0); DLT(1); }
for (size_t j = 0; j < DL; j++) {
DLT(0);
DLT(1);
}
DLS(i);
}
INZ(l);