private int numInstructionsApart(Address ref1, Address ref2) throws CancelledException {

		Instruction instruction = program.getListing().getInstructionAfter(ref1);
		int numApart = 0;
		while (instruction != null && !instruction.contains(ref2)) {
			monitor.checkCancelled();
			numApart++;
			instruction = program.getListing().getInstructionAfter(instruction.getMaxAddress());
		}
		return numApart;
	}
Get the fixed functions that had incorrect data types due to incorrect FID (includes those
incorrect due to decompiler propagation of bad types from bad FID)
@return the fixed functions that had incorrect data types due to incorrect FID
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java