I could not figure this out, I can make an instruction like this and it works no problem
call ffffdd80d60e4000
But how would I go about converting this into bytes? I looked at the instruction in memory and shows weird stuff like
0xe8 0x00 0x40 0x0e 0xd6
The only thing I can identify is the e8 which is the call opcode. Can someone explain what the other 4 bytes are and how would I go about converting an instruction like this into a byte array if the address I need to call is a DWORD64 value? I tried and I can't simply copy the bytes of the address and add an 0xe8 at the start. Sorry if it might be a dumb question, but I searched through books and websites and couldn't find anything about it.