Changes of com.discord v1204

This commit is contained in:
root 2020-07-23 01:06:17 +00:00
parent 3a1c655a31
commit 841ce1180e
17614 changed files with 1364134 additions and 1309304 deletions

View file

@ -39,78 +39,406 @@
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 2
.locals 12
iget v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
if-eqz v0, :cond_4
const-string v1, "cameraView"
const/4 v1, 0x1
const/4 v2, 0x0
if-eq v0, v1, :cond_3
if-eqz v0, :cond_15
const/4 v1, 0x2
const/4 v3, 0x1
if-eq v0, v1, :cond_1
if-eq v0, v3, :cond_14
const/4 p1, 0x2
const/4 v4, 0x0
if-eq v0, p1, :cond_a
const/4 p1, 0x3
if-ne v0, p1, :cond_0
if-ne v0, p1, :cond_9
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFacingClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
iget-object v0, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
return-void
if-eqz v0, :cond_8
invoke-virtual {v0}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/m/a/c;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Lf/m/a/c;->a()Ljava/util/Collection;
move-result-object v0
if-eqz v0, :cond_0
invoke-static {v0}, Lj0/j/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object v0
goto :goto_0
:cond_0
const/4 p1, 0x0
sget-object v0, Lj0/j/n;->d:Lj0/j/n;
throw p1
:goto_0
iget-object v5, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz v5, :cond_7
invoke-virtual {v5}, Lcom/otaliastudios/cameraview/CameraView;->getFacing()Lf/m/a/k/e;
move-result-object v5
const-string v6, "cameraView.facing"
invoke-static {v5, v6}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lj0/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
move-result-object v6
invoke-virtual {v6}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
move-result-object v6
:cond_1
move-object v7, v6
check-cast v7, Lj0/r/b;
iget-boolean v7, v7, Lj0/r/b;->e:Z
if-eqz v7, :cond_3
move-object v7, v6
check-cast v7, Lj0/j/q;
invoke-virtual {v7}, Lj0/j/q;->next()Ljava/lang/Object;
move-result-object v7
move-object v8, v7
check-cast v8, Ljava/lang/Number;
invoke-virtual {v8}, Ljava/lang/Number;->intValue()I
move-result v8
invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v8
check-cast v8, Lf/m/a/k/e;
if-ne v5, v8, :cond_2
const/4 v8, 0x1
goto :goto_1
:cond_2
const/4 v8, 0x0
:goto_1
if-eqz v8, :cond_1
goto :goto_2
:cond_3
move-object v7, v2
:goto_2
check-cast v7, Ljava/lang/Integer;
if-eqz v7, :cond_4
invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
move-result v4
:cond_4
add-int/2addr v4, v3
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v3
rem-int/2addr v4, v3
invoke-static {v0, v4}, Lj0/j/l;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/m/a/k/e;
if-eqz v0, :cond_6
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->i()V
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz p1, :cond_5
invoke-virtual {p1, v0}, Lcom/otaliastudios/cameraview/CameraView;->setFacing(Lf/m/a/k/e;)V
goto :goto_3
:cond_5
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_6
:goto_3
return-void
:cond_7
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_8
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_9
throw v2
:cond_a
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
move-object v5, p1
check-cast v5, Lcom/lytefast/flexinput/fragment/CameraFragment;
iget-object p1, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz p1, :cond_13
invoke-virtual {p1}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/m/a/c;
move-result-object p1
if-eqz p1, :cond_b
invoke-virtual {p1}, Lf/m/a/c;->b()Ljava/util/Collection;
move-result-object p1
if-eqz p1, :cond_b
invoke-static {p1}, Lj0/j/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object p1
goto :goto_4
:cond_b
sget-object p1, Lj0/j/n;->d:Lj0/j/n;
:goto_4
iget-object v0, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz v0, :cond_12
invoke-virtual {v0}, Lcom/otaliastudios/cameraview/CameraView;->getFlash()Lf/m/a/k/f;
move-result-object v0
const-string v6, "cameraView.flash"
invoke-static {v0, v6}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1}, Lj0/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
move-result-object v6
invoke-virtual {v6}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
move-result-object v6
:cond_c
move-object v7, v6
check-cast v7, Lj0/r/b;
iget-boolean v7, v7, Lj0/r/b;->e:Z
if-eqz v7, :cond_e
move-object v7, v6
check-cast v7, Lj0/j/q;
invoke-virtual {v7}, Lj0/j/q;->next()Ljava/lang/Object;
move-result-object v7
move-object v8, v7
check-cast v8, Ljava/lang/Number;
invoke-virtual {v8}, Ljava/lang/Number;->intValue()I
move-result v8
invoke-interface {p1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v8
check-cast v8, Lf/m/a/k/f;
if-ne v0, v8, :cond_d
const/4 v8, 0x1
goto :goto_5
:cond_d
const/4 v8, 0x0
:goto_5
if-eqz v8, :cond_c
goto :goto_6
:cond_e
move-object v7, v2
:goto_6
check-cast v7, Ljava/lang/Integer;
if-eqz v7, :cond_f
invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
move-result v4
:cond_f
add-int/2addr v4, v3
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
rem-int/2addr v4, v0
invoke-static {p1, v4}, Lj0/j/l;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lf/m/a/k/f;
if-eqz p1, :cond_11
:try_start_0
iget-object v0, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz v0, :cond_10
invoke-virtual {v0, p1}, Lcom/otaliastudios/cameraview/CameraView;->setFlash(Lf/m/a/k/f;)V
invoke-virtual {v5}, Lcom/lytefast/flexinput/fragment/CameraFragment;->j()V
goto :goto_7
:cond_10
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
throw v2
:catch_0
move-exception p1
move-object v7, p1
sget p1, Lcom/lytefast/flexinput/R$g;->camera_unknown_error:I
invoke-virtual {v5, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
move-result-object v6
const-string p1, "getString(R.string.camera_unknown_error)"
invoke-static {v6, p1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v8, 0x1
const/4 v9, 0x0
const/16 v10, 0x8
const/4 v11, 0x0
invoke-static/range {v5 .. v11}, Lcom/lytefast/flexinput/fragment/CameraFragment;->l(Lcom/lytefast/flexinput/fragment/CameraFragment;Ljava/lang/String;Ljava/lang/Exception;ZLjava/lang/String;ILjava/lang/Object;)V
:cond_11
:goto_7
return-void
:cond_12
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_13
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v2
:cond_14
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
check-cast v0, Lcom/lytefast/flexinput/fragment/CameraFragment;
if-eqz p1, :cond_2
const-string v1, "it"
check-cast p1, Landroid/widget/ImageView;
invoke-static {p1, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onCameraFlashClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/widget/ImageView;)V
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
const-string v1, "it.context"
invoke-static {p1, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->h(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/content/Context;)V
return-void
:cond_2
new-instance p1, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type android.widget.ImageView"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
:cond_15
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onLaunchCameraClick(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
if-eqz p1, :cond_16
invoke-virtual {p1}, Lcom/otaliastudios/cameraview/CameraView;->h()V
return-void
:cond_4
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
:cond_16
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->getCameraView()Lcom/camerakit/CameraKitView;
move-result-object v0
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$onTakePhotoClick(Lcom/lytefast/flexinput/fragment/CameraFragment;Lcom/camerakit/CameraKitView;)V
return-void
throw v2
.end method