I've got a source file, but can't understand one line, i would be pleased if someone could explain me what exactly is happening here:
int field = *(DWORD *)(packet + 0x08);
As far as i understood the code, packet is an array of bytes, which is filled with the data read by fpacket.
both are initilaized like this:
BYTE* packet = NULL;
FILE *fpacket;
Here is where the bytes are written into packet:
packet = malloc(filesize+1);
memset(packet, 0, filesize+1);
fread(packet, filesize, 1, fpacket);
Thank you in advance