private boolean markupScalarWithEquate(Scalar scalarToReplace, int scalarIndex,
			List<Equate> equates, List<Object> representationList) {
		if (!equates.isEmpty()) {
			// register association not found - perform equate replacement of matching scalar value
			Equate equate = findEquate(scalarToReplace, equates);
			if (equate != null) {
				representationList.set(scalarIndex, equate);
				return true;
			}
		}
		return false;
	}
Markup scalar with equate if an appropriate one is contained within the
specified equates list

@param scalarToReplace
@param scalarIndex index of scalarToReplace within representationList
@param equates equates for the current code unit operand
@param representationList
@return true if scalar was replaced by equate
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java