Writting memory with FindPattern func

Posts 1–5 of 5 · Page 1 of 1
Writting memory with FindPattern func
Hello, im interesting how to write merory with FindPattern function.

Functions:
Code:
void MemWrite(DWORD addy, const void * byte)
{
    unsigned long Protection;
    VirtualProtect((void*)((DWORD)addy), 2, PAGE_READWRITE, &Protection);
    memcpy((LPVOID)((DWORD)addy), byte, 2);
    VirtualProtect((void*)((DWORD)addy), 2, Protection, 0);
}

DWORD TestSig = FindPattern(0x4ff0000,0x200000,(PBYTE)"\x70\x72\x6F\x70\x73\x00\x00\x00\x03\x00\x00\x00\x3C\x00\x00\x00" ,"xxxxxxxxxxxxxxxx");

How to write? Thanks alot
Why no? its so hard?
Please, close thread, i solved my problem
This can be done SO MUCH easier...
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?