private void validateAllRtti1RefEntries(Program program, Address startAddress, long numEntries,
			boolean validateReferredToData) throws InvalidDataTypeException {

		Memory memory = program.getMemory();
		Address addr = startAddress;
		for (int ordinal = 0; ordinal < numEntries && addr != null &&
			validRefData(memory, addr); ordinal++) {

			validateRtti1ReferenceEntry(program, validateReferredToData, addr);

			try {
				addr = addr.add(entrySize); // Add the data type size.
			}
			catch (AddressOutOfBoundsException e) {
				if (ordinal < (numEntries - 1)) {
					invalid();
				}
				break;
			}
		}
	}
Creates the model for the RTTI2 data type.
@param program the program
@param rtti1Count the number of RTTI1 data type references expected at the RTTI2 address.
@param rtti2Address the address in the program for the RTTI Base Class Array.
@param validationOptions options indicating how to validate the data type at the indicated 
address.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/rtti/Rtti2Model.java