@Override
	public void writeSpace(AttributeId attribId, AddressSpace spc) throws IOException {
		if (spc == overlay) {
			spc = overlay.getOverlayedSpace();
		}
		super.writeSpace(attribId, spc);
	}
Alter address space encoding for a specific overlay space.
Any space that matches the overlay space is encoded as the overlayed space.
This causes addresses in the overlay space to be converted into the underlying space.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PackedEncodeOverlay.java