@Override
	void dump(Address instrAddr, int opcode, VarnodeData[] in, int isize, VarnodeData out)
			throws IOException {
		int updatedOpcode = checkOverrides(opcode, in);
		if (opcode == PcodeOp.CALLOTHER && updatedOpcode == PcodeOp.CALL) {
			isize = 1;  //CALLOTHER_CALL_OVERRIDE, ignore inputs other than call dest
		}
		encoder.openElement(ELEM_OP);
		encoder.writeSignedInteger(ATTRIB_CODE, updatedOpcode);
		encoder.writeSignedInteger(ATTRIB_SIZE, isize);
		if (out == null) {
			encoder.openElement(ELEM_VOID);
			encoder.closeElement(ELEM_VOID);
		}
		else {
			out.encode(encoder);
		}
		int i = 0;
		if ((updatedOpcode == PcodeOp.LOAD) || (updatedOpcode == PcodeOp.STORE)) {
			dumpSpaceId(in[0]);
			i = 1;
		}
		else if (hasRelativePatch) {
			addLabelRefDelayed();
		}
		for (; i < isize; ++i) {
			in[i].encode(encoder);
		}
		encoder.closeElement(ELEM_OP);
	}
Create the LabelRef now that the next element written will be the parameter needing a patch
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/PcodeEmitPacked.java