protected EncodeDecodeSet setupEncodeDecode(Address addr) throws AddressFormatException {
		AddressSpace spc = addr.getAddressSpace();
		if (!spc.isOverlaySpace()) {
			return baseEncodingSet;
		}
		OverlayAddressSpace overlay = (OverlayAddressSpace) spc;
		if (overlayEncodingSet == null) {
			overlayEncodingSet = new EncodeDecodeSet(program, overlay);
		}
		else {
			overlayEncodingSet.setOverlay(overlay);
		}
		return overlayEncodingSet;
	}
Setup the correct Encoder and Decoder to use for the decompilation.
Generally we use the base versions unless there is an overlay. In which case we switch
to special translating encoders and decoders.
@param addr is the address of the function being decompiled
@return the set of encoders and decoders that should be used
@throws AddressFormatException if decompilation is not supported for the (overlay) address
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java