private boolean markupScalarWithStackReference(Scalar scalarToReplace, int scalarIndex,
			Reference primaryRef, Variable referencedVariable, List<Object> representationList) {
		if (options.doStackVariableMarkup) {
			Object varRep =
				getVariableReferenceRepresentation(primaryRef, referencedVariable, scalarToReplace);
			representationList.set(scalarIndex, varRep);
			return true;
		}
		return false;
	}
Markup scalar with stack variable/reference

@param scalarToReplace
@param scalarIndex index of scalarToReplace within representationList
@param primaryRef stack reference
@param referencedVariable referenced variable or null
@param representationList
@return true if primaryRef was included in scalar mark-up
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java