Skip to content

Instantly share code, notes, and snippets.

View thethiny's full-sized avatar
😔
Coding Sadly

thethiny thethiny

😔
Coding Sadly
View GitHub Profile
@thethiny
thethiny / RegistersHack.cpp
Created November 14, 2023 00:13
x64 C++ Assembly Hack to insert values into a register
// Remember to extern those in a .h file
namespace RegisterHacks {
MoveFromRCX* MoveToRAX;
MoveFromRCX* MoveToRBX;
MoveFromRCX* MoveToRCX;
MoveFromRCX* MoveToRDX;
MoveFromRCX* MoveToR8;
MoveFromRCX* MoveToR9;
MoveFromRCX* MoveToR10;