public static boolean sameFunctionNames(Function f1, Function f2) {
		if (f1 == null) {
			return f2 == null;
		}
		if (f2 == null) {
			return false;
		}
		String name1 = f1.getName();
		String name2 = f2.getName();
		Symbol symbol1 = f1.getSymbol();
		Symbol symbol2 = f2.getSymbol();
		if (isDefaultName(symbol1)) {
			return isDefaultName(symbol2);
		}
		else if (isDefaultName(symbol2)) {
			return false;
		}
		return name1.equals(name2);
	}
Compares two thunk functions from different programs to determine if they are 
equivalent to each other (effectively the same thunk function in the other program).
@param thunkFunction1 the first thunk function
@param thunkFunction2 the second thunk function
@return true if the functions are equivalent thunk functions.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiff.java