Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook is called on 0x4A1FA0, using the old m1 client
- DWORD ConsoleTextJmpBack = 0x4A1FA5;
- void __declspec(naked) PrintHookStub()
- {
- char* FirstArg;
- char* TextBuffer;
- __asm{
- pop FirstArg
- pop TextBuffer
- }
- ProcessText(TextBuffer);
- __asm{
- push TextBuffer
- push FirstArg
- mov eax, 800h
- jmp ConsoleTextJmpBack
- }
- }
- I get an access violation exception
Add Comment
Please, Sign In to add comment