private static VarnodeOperation flipInputs(PcodeOp pcodeOp, Varnode[] values) {
		Varnode[] inputs = pcodeOp.getInputs();
		if (inputs.length != 2 || values.length != 2) {
			throw new IllegalArgumentException("flipInputs handles two inputs only");
		}
		Varnode tmp = values[0];
		values[0] = values[1];
		values[1] = tmp;
		pcodeOp =
			new PcodeOp(pcodeOp.getSeqnum(), pcodeOp.getOpcode(), values, pcodeOp.getOutput());
		return new VarnodeOperation(pcodeOp, values);
	}
Flip values and generate new VarnodeOperation which contains new pcodeOp
@param pcodeOp
@param values
@return new VarnodeOperation which contains new pcodeOp
Ghidra/Features/Base/src/main/java/ghidra/util/state/ResultsState.java