Skip to content

Instantly share code, notes, and snippets.

@vmcall
vmcall / entrypoint.cpp
Created Nov 16, 2019
Dynamic Link Library (DLL) entrypoint without Windows bloat
View entrypoint.cpp
#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:
View SigScanSharp.cs
/*
* 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);