about summary refs log tree commit diff stats
path: root/Source/Memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Memory.h')
-rw-r--r--Source/Memory.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Memory.h b/Source/Memory.h index 403b94a..e6110d8 100644 --- a/Source/Memory.h +++ b/Source/Memory.h
@@ -1,6 +1,7 @@
1#pragma once 1#pragma once
2#include <vector> 2#include <functional>
3#include <map> 3#include <map>
4#include <vector>
4#include <windows.h> 5#include <windows.h>
5 6
6// #define GLOBALS 0x5B28C0 7// #define GLOBALS 0x5B28C0
@@ -41,6 +42,8 @@ public:
41 WriteData<T>({GLOBALS, 0x18, panel*8, offset}, data); 42 WriteData<T>({GLOBALS, 0x18, panel*8, offset}, data);
42 } 43 }
43 44
45 void SigScan(std::function<void(int offset, const std::vector<byte>& data)> scanFunc);
46
44 void ClearOffsets() {_computedAddresses = std::map<uintptr_t, uintptr_t>();} 47 void ClearOffsets() {_computedAddresses = std::map<uintptr_t, uintptr_t>();}
45 48
46private: 49private:
@@ -78,4 +81,5 @@ private:
78 81
79 friend class Temp; 82 friend class Temp;
80 friend class ChallengeRandomizer; 83 friend class ChallengeRandomizer;
84 friend class Randomizer;
81}; \ No newline at end of file 85}; \ No newline at end of file