protected boolean getPatchStoreOp(Language language,
			Map<AddressSpace, SemisparseByteArray> result, PcodeOp op) {
		Varnode vnSpace = op.getInput(0);
		if (!vnSpace.isConstant()) {
			return false;
		}
		AddressSpace space =
			language.getAddressFactory().getAddressSpace((int) vnSpace.getOffset());
		Varnode vnOffset = op.getInput(1);
		if (!vnOffset.isConstant()) {
			return false;
		}
		Varnode vnValue = op.getInput(2);
		if (!vnValue.isConstant()) {
			return false;
		}
		SemisparseByteArray array = result.computeIfAbsent(space, as -> new SemisparseByteArray());
		array.putData(vnOffset.getOffset(), Utils.longToBytes(vnValue.getOffset(),
			vnValue.getSize(), language.isBigEndian()));
		return true;
	}
Generate multiple lines of Sleigh, all to set a single variable

@param language the target language
@param address the (start) address of the variable
@param data the bytes to write to the variable
@return the lines of Sleigh code
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/time/schedule/PatchStep.java