blob: 26affa3014f59681db97af30ca2b16ca3cdc1047 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
int SWAP_TARGETS = 0x1;
int SWAP_PATHWAYS = 0x2;
int SWAP_STYLE = 0x40;
int SWAP_COLORS = 0x4;
int SWAP_TRACED = 0x80;
int SWAP_SIZE = 0x8;
class WitnessRandomizer {
public:
WitnessRandomizer() = default;
void Randomize(std::vector<int> panels, int flags);
void SwapPanels(int panel1, int panel2, int flags);
private:
void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize);
Memory _memory = Memory("witness64_d3d11.exe");
};
|