This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
constexpr auto REASON_PROCESS_ATTACH = 1; | |
constexpr auto REASON_PROCESS_DETACH = 0; | |
std::uint32_t __stdcall DllMain(const void* mod_instance, const std::uint32_t call_reason, const void* reserved) | |
{ | |
switch (call_reason) | |
{ | |
case REASON_PROCESS_ATTACH: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Name: SigScanSharp | |
* Author: Striekcarl/GENESIS @ Unknowncheats | |
* Date: 14/05/2017 | |
* Purpose: Find memory patterns, both individually or simultaneously, as fast as possible | |
* | |
* Example: | |
* Init: | |
* Process TargetProcess = Process.GetProcessesByName("TslGame")[0]; | |
* SigScanSharp Sigscan = new SigScanSharp(TargetProcess.Handle); |