Cant get 2 analog input readouts correctly

Why with pullups?

void main_loop(){

That's new to me

void braker_state_check(int *which_sensor){
. . .
braker_state_check(1);

Not very pointer-like