private void addResourceTableReferences(HashMap<Address, Long> constLocs, String tableName,
			boolean printScriptMsgs, boolean createBookmarks) throws CancelledException {
		Set<Address> keys;
		//Get the set of address locations which call the resource function
		keys = constLocs.keySet();

		//Iterate though the set of address locations
		for (Address loc : keys) {
			monitor.checkCancelled();

			Instruction instr = currentProgram.getListing().getInstructionAt(loc);
			Long rsrcID = constLocs.get(loc);
			Address rsrcAddr = null;
			if (rsrcID != null) {
				rsrcAddr = findResource(tableName, rsrcID);
			}

			if (rsrcAddr != null) {
				instr.addMnemonicReference(rsrcAddr, RefType.DATA, SourceType.ANALYSIS);
				if (createBookmarks) {
					currentProgram.getBookmarkManager()
							.setBookmark(instr.getMinAddress(), BookmarkType.ANALYSIS,
								"WindowsResourceReference", "Added Resource Table Reference");
				}
				if (printScriptMsgs) {
					println("        " + instr.getMinAddress().toString() + " : Found " +
						tableName + " table reference " + rsrcID);
				}
			}
		}
	}
Prints out the address of a found resource along with the name of
the resource.
@param constLocs - Address value pairs of the resource function
@param tableName - Name of the resource table
@param printScriptMsgs - if true, print output; if false, do not print any output;
@param createBookmarks - if true, create bookmarks where references are found; if false, do not create any bookmarks;
@throws CancelledException
Ghidra/Features/Decompiler/ghidra_scripts/WindowsResourceReference.java