@Nonnull
	public static VarInsnNode createVarStore(int index, @Nonnull Type variableType) {
		return switch (variableType.getSort()) {
			case Type.BOOLEAN, Type.CHAR, Type.BYTE, Type.SHORT, Type.INT -> new VarInsnNode(ISTORE, index);
			case Type.FLOAT -> new VarInsnNode(FSTORE, index);
			case Type.DOUBLE -> new VarInsnNode(DSTORE, index);
			case Type.LONG -> new VarInsnNode(LSTORE, index);
			default -> new VarInsnNode(ASTORE, index);
		};
	}
@param index
		Variable index.
@param variableType
		Variable type.

@return Store instruction for variable type at the given index.
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java