public AddressTable newRemainingAddressTable(int startPos) {
		if (topIndexAddress != null) {
			return null;
		}
		if (startPos <= 0 || startPos >= tableElements.length) {
			return null;
		}
		int byteLength = getByteLength(0, startPos - 1, false);
		Address newTop = topAddress.add(byteLength);

		Address newElementArray[] =
			ArrayUtils.subarray(tableElements, startPos, tableElements.length);

		return new AddressTable(newTop, newElementArray, addrSize, skipAmount, shiftedAddr);
	}
Create a new address table from any remaining table entries starting at startPos

@param startPos new start position in list of existing table entries
@return new address table if any elements left, null otherwise
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/disassembler/AddressTable.java