summary refs log tree commit diff stats
path: root/WitnessRandomizer/WitnessRandomizer.h
blob: 4d4684e3ffc358c5842af82efe8f243c7b05f23d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

class WitnessRandomizer {
public:
	int RANDOMIZE_TARGETS = 0x1;
	int RANDOMIZE_DATA = 0x2;
		
	WitnessRandomizer() = default;

	void Randomize(std::vector<int> panels, int flags);

private:
	void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize);

	Memory _memory = Memory("witness64_d3d11.exe");
};