private static Variable revertIndirectParameter(Variable param, DataType dt, boolean create) {
		try {
			if (create) {
				param = new ParameterImpl(param.getName(), dt, param.getProgram());
			}
			else {
				param.setDataType(dt, VariableStorage.UNASSIGNED_STORAGE, false, param.getSource());
			}
		}
		catch (InvalidInputException e) {
			throw new AssertException(e); // unexpected
		}
		return param;
	}
Strip indirect pointer data type from a parameter.
@param param parameter to be examined and optionally modified
@param dt return datatype to be applied
@param create if true the specified param will not be affected and a new parameter
instance will be returned if strip performed, otherwise orginal param will be changed
if possible and returned.
@return parameter with pointer stripped or original param if pointer not used.
Returned parameter will have unassigned storage if affected.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java