How Arduino IDE pre-processing work?

The hex file which gets loaded on the processor contains Atmel machine code. You can read the datasheet for the opcodes.