I'd like to identify in Ghidra a specific sequence of instructions, which I get from MSVC Debug in Visual Studio compiling my own function:

[![enter image description here][1]][1]

What I'm looking for so is (for the same DLL, decompiled in Ghidra) to intercept the sequence `movss/movss/movss/movss/lea/lea/lea`, in the hoping to intercept the C++ Clamp function I've defined:

	template <typename T>
	T Clamp(const T& min, const T& max, const T& value)
	{
		if (value < min)
		{
			return min;
		}
		else if (value > max)
		{
			return max;
		}
		return value;
	}

What's the correct way to do this in Ghidra?

If I try Instruction Pattern Search feature and I insert 4 manual movss (selecting only instructions):

[![enter image description here][2]][2]

It says not result found, even if I search for random piece of code, some are present:

[![enter image description here][3]][3]

(i.e. this should hit, not sure why it doesnt...)

  [1]: https://i.sstatic.net/7KCJT.png
  [2]: https://i.sstatic.net/2rTKh.png
  [3]: https://i.sstatic.net/0FTNb.png