public void replaceFunctionVarArgs(Address entry2, TaskMonitor monitor) {
		Address entry = originToResultTranslator.getAddress(entry2);
		Function f1 = resultProgram.getFunctionManager().getFunctionAt(entry);
		Function f2 = originProgram.getFunctionManager().getFunctionAt(entry2);
		if (f1 != null && f2 != null) {
			boolean hasVarArgs1 = f1.hasVarArgs();
			boolean hasVarArgs2 = f2.hasVarArgs();
			if (hasVarArgs1 != hasVarArgs2) {
				f1.setVarArgs(hasVarArgs2);
			}
		}
	}
<CODE>replaceFunctionVarArgs</CODE> changes whether the function has VarArgs
in program1 if it doesn't match the use of VarArgs in the function in program2
at the specified entry point address.
@param entry2 the entry point address of the function.
This address should be derived from program1.
@param monitor the task monitor for notifying the user of this merge's progress.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMerge.java