@Override
			public void modifyLatest(ProgramDB program) {
				try {
					Parameter my_count =
						new ParameterImpl("count", new IntegerDataType(), 4, program);

					// 0x010018cf	"undefined FUN_010018cf(...)"
					// 0x01004068	"undefined FUN_01004068(undefined4 param_1, ...)"
					// 0x01004c1d	"undefined FUN_01004c1d(undefined4 param_1, undefined4 param_2, ...)"
					// 0x010058b8	"undefined FUN_010058b8(undefined4 param_1, undefined4 param_2, undefined4 param_3, undefined4 param_4, undefined4 param_5, ...)"
					Function func;
					func = getFunction(program, "0x010018cf");
					func.setVarArgs(false);
					func = getFunction(program, "0x01004068");
					func.removeParameter(0);
					func.insertParameter(0, my_count, SourceType.USER_DEFINED);
					func = getFunction(program, "0x01004c1d");
					func.setVarArgs(false);
					func = getFunction(program, "0x010058b8");
					func.removeParameter(0);
					func.insertParameter(0, my_count, SourceType.USER_DEFINED);
				}
				catch (DuplicateNameException e) {
					e.printStackTrace();
					Assert.fail(e.getMessage());
				}
				catch (InvalidInputException e) {
					e.printStackTrace();
					Assert.fail(e.getMessage());
				}
			}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/FunctionMergeManager2Test.java