Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Print(wchar_t * String)
- {
- std::wcout << String << std::endl;
- }
- __declspec(naked) void YourHookedFunction()
- {
- __asm
- {
- push ebp
- mov ebp, esp
- sub esp, 0x18
- pushad
- pushfd
- push ecx
- call Print
- popfd
- popad
- jmp Back
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement