boolean sameBaseEncoding(ReducedWildcardAssemblyResolvedPattern other) {
			if (!this.maskedInstruction.equals(other.maskedInstruction)) {
				return false;
			}

			// Loop over each WildOperandInfo in this to ensure that there is a matching one in
			// other which shares the same wildcard (name) and location. Remember that there might
			// be more than one wildcard in an instruction with the same name so we can't assume
			// there's not a match if a matching name doesn't have the same location.
			for (WildOperandInfo info : this.parent.getOperandInfo()) {
				var foundMatch = false;

				// Check all of other's WildOperandInfo
				for (WildOperandInfo otherInfo : other.parent.getOperandInfo()) {
					// Check if we have matching wildcards (names), expressions, and locations.
					// We're *NOT* checking choice here, as we expect those to be different.
					if (info.wildcard().equals(otherInfo.wildcard()) &&
						info.expression().equals(otherInfo.expression()) &&
						info.location().equals(otherInfo.location())) {
						foundMatch = true;
						break;
					}
				}

				if (!foundMatch) {
					// We were unable to find a wildcard that matched so we declare that these
					// encodings don't have the same base encoding
					return false;
				}
			}
			return true;
		}
Returns true of the given value shares the same {@code maskedInstruction} and wildcard(s)
as this instance.

@param other Value to compare against
@return True if both values share the same maskedInstruction and wildcard(s)
Ghidra/Features/WildcardAssembler/ghidra_scripts/FindInstructionWithWildcard.java