A bool will only set the al register on x64, but the entire eax needs to be set for the JIT code to deal with it.