public void emitWriteToMemory(String space, int size, String offset, String value) {
		Varnode[] in = new Varnode[3];
		AddressSpace spc = language.getAddressFactory().getAddressSpace(space);
		in[0] = getConstant(spc.getSpaceID(), 4);
		if (offset.charAt(0) <= '9') {
			String[] piece = offset.split(":");
			int sz = Integer.parseInt(piece[1]);
			long val = Long.decode(piece[0]);
			in[1] = getConstant(val, sz);
		}
		else {
			in[1] = findRegister(offset);
		}
		in[2] = findVarnode(value, size);
		PcodeOp op = new PcodeOp(opAddress, seqnum++, PcodeOp.STORE, in);
		opList.add(op);
	}
Appends the pcode to write to a value at an offset of a memory space
@param space name of space
@param size size of write
@param offset offset in space
@param value value to write
Ghidra/Processors/JVM/src/main/java/ghidra/app/util/pcodeInject/PcodeOpEmitter.java