diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-12-02 18:06:46 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-12-02 18:06:46 -0800 |
commit | f485927337c329a4a691500a1b6c18c763863bb4 (patch) | |
tree | b1be239617439e0283a88af0cd253620084a5c76 /Source/Memory.h | |
parent | 53bf008124d496c728099520dd2a9e06b6767ea1 (diff) | |
download | witness-tutorializer-f485927337c329a4a691500a1b6c18c763863bb4.tar.gz witness-tutorializer-f485927337c329a4a691500a1b6c18c763863bb4.tar.bz2 witness-tutorializer-f485927337c329a4a691500a1b6c18c763863bb4.zip |
moved sigscans & wired up hotel + wonkavator
Diffstat (limited to 'Source/Memory.h')
-rw-r--r-- | Source/Memory.h | 6 |
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 | ||
46 | private: | 49 | private: |
@@ -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 |