stock encode_tires(tires1, tires2, tires3, tires4) { return (tires4 << 3) | (tires3 << 2) | (tires2 << 1) | tires1; }