4d1 mw2 hack

Posts 1–10 of 10 · Page 1 of 1
4d1 mw2 hack
I have kind of a source code for mw2 which is undetected...If someone can compile it into a DLL it would be great
Post it
void* pCallOffset = (void*)0x59CE1F;
BYTE bMemory[] = { 0x56, 0xE8, 0x6B, 0x51, 0xF6 };
void* pMemory = (void*)bMemory;

DWORD dwSafeTraceRet = 0x0;
void __declspec(naked) SafeTrace_JumpBack(void)
{
__asm add esp, 14h
__asm pushad

memcpy(pCallOffset, pMemory, sizeof(bMemory));

__asm popad
__asm jmp [dwSafeTraceRet]
}

const DWORD dwTraceCall = 0x59CE1A;
void SafeTrace(mw2::trace_t* pTrace, vec3_t vEndPos)
{
dwSafeTraceRet = (DWORD)_ReturnAddress();

__replace(0x59CE1F, SafeTrace_JumpBack);

__asm
{
push [803003h]
push [-1]
mov ecx, [vEndPos]
push ecx
mov edx, [refdef]
add edx, 18h
push edx
mov eax, [pTrace]
push eax

jmp [dwTraceCall]
}
}
Mr.Horror i m expecting answer from you
Quote Originally Posted by fuckangel View Post
Mr.Horror i m expecting answer from you
Could've quoted or mentioned him.
@Horror
Quote Originally Posted by 3leven View Post


Could've quoted or mentioned him.
@Horror
Fail mention

This is probably not the whole source, as I would just end up with a bunch of undefined stuff. Nor do I have alot of experience with DLLs. I just asked you to post it so someone with more knowledge could look at it
i went ahead and started compiling and i got a good amount of undefiened errors and a few missed ;
^Because it's not full source.
Quote Originally Posted by Lovroman View Post
^Because it's not full source.
yea i probably should have read through it. i just copied and pasted :P
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Talk with us