~ruther/NosSmooth

ref: e14afd10638f32d0e859e9df52872ad59cdc7931 NosSmooth/Local/NosSmooth.LocalCore/ModuleHook.h -rw-r--r-- 383 bytes
e14afd10 — František Boháček feat: add logging extension for results 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include <windows.h>

namespace NosSmoothCore
{
	class ModuleHook
	{
	public:
		static ModuleHook CreateNostaleXDatModule();
		ModuleHook(unsigned int baseAddress, unsigned int moduleSize);

		unsigned int GetModuleBaseAddress();
		unsigned int FindPattern(const BYTE* lpPattern, LPCSTR szMask);
	private:
		unsigned int _baseAddress;
		unsigned int _moduleSize;
	};
}
Do not follow this link