private void resolveJoin(List<ParamEntry> curList) throws XmlParseException {
		if (joinrec == null) {
			return;
		}
		ArrayList<Integer> newGroupSet = new ArrayList<>();
		for (Varnode piece : joinrec) {
			ParamEntry entry = findEntryByStorage(curList, piece);
			if (entry != null) {
				for (int group : entry.groupSet) {
					newGroupSet.add(group);
				}
			}
		}
		if (newGroupSet.isEmpty()) {
			throw new XmlParseException("<pentry> join must overlap at least one previous entry");
		}
		newGroupSet.sort(null);
		groupSet = new int[newGroupSet.size()];
		for (int i = 0; i < groupSet.length; ++i) {
			groupSet[i] = newGroupSet.get(i);
		}
		flags |= OVERLAPPING;
	}
Adjust the group and groupsize based on the ParamEntrys being overlapped
@param curList is the current list of ParamEntry
@throws XmlParseException if no overlap is found
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/ParamEntry.java