private Address getAddress(Side side, Address otherSidesAddress) {
		Side otherSide = side.otherSide();
		Address address = correlator.getAddress(side, otherSidesAddress);

		if (address != null) {
			return address;
		}
		// Couldn't directly correlate the address.
		CodeUnit otherCodeUnit =
			correlator.getProgram(otherSide).getListing().getCodeUnitContaining(otherSidesAddress);
		if (otherCodeUnit == null) {
			return null; // Can't get the code unit's address.
		}
		Address otherCodeUnitAddress = otherCodeUnit.getMinAddress();
		return correlator.getAddress(side, otherCodeUnitAddress);
	}
Gets the matching address for the given side given an address from the other side. This
method first attempts to translate the address directly. If that fails, it then attempts
to get an address for the start of the code unit containing the given address because the
correlator may only have translations for code unit starts.

@param side the LEFT or RIGHT side to get an address for
@param otherSidesAddress address the address from the other side
@return the match address for the given side given an address from the other side
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ProgramLocationTranslator.java