private void printSearchHitInfo(Address matchAddress, byte[] matchData,
			List<WildAssemblyResolvedPatterns> allValidResolvedPatterns) {

		println("Hit at address: " + matchAddress.toString());

		// Check all the resolutions we were searching for and find the one which matches the found
		// bytes and use that resolution to determine what the wildcard values are for the given
		// hit.
		//
		// It'd likely be much faster to deduplicate similar WildAssemblyResolvedPatterns based on
		// their instruction with wildcards masked out (similar to what is done in
		// ReducedWildcardAssemblyResolvedPattern) and create a lookup table for wildcard values but
		// that's beyond this basic example script.
		for (WildAssemblyResolvedPatterns resolved : allValidResolvedPatterns) {
			var resolvedInstruction = resolved.getInstruction();
			if (resolvedInstruction.length() > matchData.length) {
				// It can't be this resolution because we were not given enough bytes of
				// matchData
				continue;
			}

			// Mask out the matchData with the mask of our candidate resolvedInstruction and
			// see if
			// the results match. If they do, then this is the WildAssemblyResolvedPatterns
			var matchMasked = resolvedInstruction.getMaskedValue(matchData);
			if (matchMasked.equals(resolvedInstruction)) {
				for (WildOperandInfo info : resolved.getOperandInfo()) {
					println("Wildcard `" + info.wildcard() + "` = " + info.choice().toString());
				}
				return;
			}
			println("Failed to find search hit info");
		}

	}
Print information about a specific search hit to the console
<p>
NOTE: This is certainly not the highest performance way to do this, but it is reasonably
simple and shows what is possible.

@param matchAddress The address where our search hit occurred
@param matchData The bytes found at matchAddress. Must include the entire matching
           instruction!
@param allValidResolvedPatterns All resolved patterns which were searched from (used to find
           wildcard information)
Ghidra/Features/WildcardAssembler/ghidra_scripts/FindInstructionWithWildcard.java