#include <Windows.h>
#include "MinHook.h"
typedef bool(__thiscall* CrouchFunction)(void*, void*);
WNDPROC WndProcTrampoline;
CrouchFunction CrouchTrampoline;
bool state = false;
LRESULT CALLBACK WndProcHooked(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
if (uMsg == WM_KEYUP) {...