Undetected Detour Function?

Posts 15 of 5 · Page 1 of 1
Undetected Detour Function?
Hey, is there anybody who has a DetourFunction for me?
Mine is detected..

Code:
DWORD DetourCreate(DWORD SrcVA, DWORD DstVA, DWORD Size)
{
	DWORD DetourVA, dwProtect, i;

#define SIZEOF_JMP_REL  5

	if (SrcVA && DstVA && Size >= SIZEOF_JMP_REL)
	{
		DetourVA = (DWORD) VirtualAlloc( 
			NULL, Size + SIZEOF_JMP_REL, 
			MEM_COMMIT, PAGE_EXECUTE_READWRITE);

		if (DetourVA && VirtualProtect((VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect))
		{
			for (i=0; i < Size; i++) {
				*(BYTE*)(DetourVA + i) = *(BYTE*)(SrcVA + i);
			}
			
			*(BYTE*)(DetourVA + Size + 0) = 0xE9;
			*(DWORD*)(DetourVA + Size + 1) = (SrcVA - DetourVA - SIZEOF_JMP_REL);

	    	        *(BYTE*)(SrcVA + 0) = 0xE9;
			*(DWORD*)(SrcVA + 1) = (DstVA - SrcVA - SIZEOF_JMP_REL);

			VirtualProtect((VOID*)SrcVA, Size, dwProtect, &dwProtect);

			VirtualProtect((VOID*)DetourVA, Size + 
				SIZEOF_JMP_REL, PAGE_EXECUTE_READ, &dwProtect);

	    	return DetourVA;
		}
	}

	return (0);
}
AHH i got simluar just edit.. a bit

TIP: Take somone bits of and try if it dont work code your own

Message: No one will give u detours..
Quote Originally Posted by Wizdom-X View Post
AHH i got simluar just edit.. a bit

TIP: Take somone bits of and try if it dont work code your own

Message: No one will give u detours..
""" E9 & E8 Patched """ Only E5 Working.. I am also looking for E5
Quote Originally Posted by Wizdom-X View Post
AHH i got simluar just edit.. a bit

TIP: Take somone bits of and try if it dont work code your own

Message: No one will give u detours..
Looooooooool..
"Message: No one will give u detours"
You got detours from someone, so if you got them he can also get them.
And don't talk like you coded the detours, because you didn't

Message from TheCamels8: You are not the best coder here Wizdom-X.
please help me

please help me 2 hot 2 cheats

Quote Originally Posted by Boomdocks View Post
""" E9 & E8 Patched """ Only E5 Working.. I am also looking for E5
mga yawa ang mga tao dre
mamatay na unta karun na gagu amp
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?