~ruther/NosSmooth

ref: 09429d182b86565f561a902741b1b06f1d64979c NosSmooth/Local/NosSmooth.LocalCore/ModuleHook.h -rw-r--r-- 402 bytes
09429d18 — František Boháček feat: add packets (ncif, u_as, pusle, msg, say, st, stat, c_mode, lev, ski, sr) 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