private ScalarMatch findScalarInInstruction(Instruction instr, long values[]) {
		int numOperands = instr.getNumOperands();
		ScalarMatch scalarMatch = null;
		for (int i = 0; i < numOperands; i++) {
			for (Object obj : instr.getOpObjects(i)) {
				if (obj instanceof Scalar) {
					Scalar scalar = (Scalar) obj;
					for (long value : values) {
						if (scalar.getUnsignedValue() != value) {
							continue;
						}
						if (scalarMatch != null) {
							scalarMatch.opIndex = -1;	// non-unique scalar operand value - can't identify operand
							return scalarMatch;
						}
						scalarMatch = new ScalarMatch(instr.getAddress(), scalar, i);
					}
				}
			}
		}
		return scalarMatch;
	}
Find a scalar in the instruction matching one of the given values.
Return an object describing the match or null if there is no match.
@param instr is the instruction
@param values is an array of the given values
@return the Scalar and
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/ConvertConstantAction.java