private Object[] getInstObjs(Instruction inst) {
		Object[] retObjs = new Object[3];

		Object[] outputs = inst.getOpObjects(0);
		if (outputs.length != 1 || !(outputs[0] instanceof Register)) {
			return null;
		}
		retObjs[0] = outputs[0];

		Object[] obj = inst.getOpObjects(1);
		for (Object element : obj) {
			if (element instanceof Register) {
				retObjs[1] = element;
			}
			if (element instanceof Scalar) {
				retObjs[2] = element;
			}
		}

		return retObjs;
	}
@param inst		instruction to getOpObjects
@return retObjs	Object array containing destReg, base, and offset
Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsPreAnalyzer.java