Skip to content

Instantly share code, notes, and snippets.

@VollRagm
VollRagm / RemoteInput.cs
Created February 5, 2022 18:21
Class to send mouse input to an application in the background
public static class RemoteInput
{
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
static extern bool PostMessage(IntPtr hWnd, uint Msg, uint wParam, uint lParam);
public static void MouseDown(IntPtr hWnd, uint x, uint y, MouseButton btn)
{
uint msg = btn == MouseButton.Left ? WM_LBUTTONDOWN : WM_RBUTTONDOWN;
uint lparam = MakeLParam(x, y);
@VollRagm
VollRagm / apexoffsets03082021.md
Created August 3, 2021 19:39
Apex Offsets Dump 03.08.2021

Interfaces

r5apex.exe!0x011ee9b8 ClientRenderTargets001
r5apex.exe!0x011e2558 EngineTraceClient004
r5apex.exe!0x011e2348 EngineTraceClientDecals004
r5apex.exe!0x018fc7f0 EventSystem001
r5apex.exe!0x01ee6a70 GameUI011
r5apex.exe!0x011e55a8 ISoundC002
r5apex.exe!0x01d1a6f8 RunGameEngine005
@VollRagm
VollRagm / apexoffsets29062021.md
Created June 29, 2021 21:51
Apex Offsets Dump 29.06.2021

Interfaces

r5apex.exe!0x011e32c8 ClientRenderTargets001
r5apex.exe!0x011d72d8 EngineTraceClient004
r5apex.exe!0x011d5a98 EngineTraceClientDecals004
r5apex.exe!0x018eb8c0 EventSystem001
r5apex.exe!0x01ed5750 GameUI011
r5apex.exe!0x011da4c8 ISoundC002
r5apex.exe!0x01d09478 RunGameEngine005