public static Address getReferencedAddress(Program program, Address address) {
		DataType refDt = getReferenceDataType(program, null);
		int length = refDt.getLength();
		DumbMemBufferImpl compMemBuffer = new DumbMemBufferImpl(program.getMemory(), address);
		Object value = refDt.getValue(compMemBuffer, refDt.getDefaultSettings(), length);
		return (value instanceof Address) ? (Address) value : null;
	}
Gets the referred to address from the bytes in the program at the indicated address.
If the program has 64 bit pointers, then a 32 bit image base offset value is expected to 
be found at the indicated address. 
If the program has 32 bit pointers, then a 32 bit absolute pointer value is expected at the
indicated address.
@param program the program whose memory is to be read.
@param address the address to start reading the bytes for the referenced address.
@return the referred to address or null.
Ghidra/Features/Base/src/main/java/ghidra/app/util/datatype/microsoft/MSDataTypeUtils.java