Skip to content

Instantly share code, notes, and snippets.

View Omega172's full-sized avatar

Omega Omega172

  • United States
  • 18:32 (UTC -06:00)
View GitHub Profile
@Omega172
Omega172 / UEOffsets.hpp
Created March 18, 2026 10:01
Auto update offsets in a UE project shamelessly taken from dumper-7 and modified a little.
#pragma once
/*
* UEOffsets.hpp
*
* Header-only UE offset scanner — direct port of Dumper-7's scanner logic.
*/
#include <cstdint>
#include <optional>
@Omega172
Omega172 / add_to_path.bat
Created January 9, 2026 01:08
Add current dir to PATH
@echo off
setlocal enabledelayedexpansion
:: Get the current directory
set "CURRENT_DIR=%cd%"
echo Adding directory to PATH: %CURRENT_DIR%
:: Get the current user PATH
for /f "tokens=2*" %%a in ('reg query "HKCU\Environment" /v PATH 2^>nul') do set "USER_PATH=%%b"