FFAPI$9$1.smali
.class Lcom/dts/freefireth/FFAPI$9$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lj7/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/dts/freefireth/FFAPI$9;->onComplete(Lj7/e;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lj7/a<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/dts/freefireth/FFAPI$9;
# direct methods
.method constructor <init>(Lcom/dts/freefireth/FFAPI$9;)V
.registers 2
iput-object p1, p0, Lcom/dts/freefireth/FFAPI$9$1;->this$0:Lcom/dts/freefireth/FFAPI$9;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onComplete(Lj7/e;)V
.registers 5
.param p1 # Lj7/e;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lj7/e<",
"Ljava/lang/Void;",
">;)V"
}
.end annotation
invoke-virtual {p1}, Lj7/e;->g()Z
move-result v0
const-string v1, "onInAppReviewCallback"
if-eqz v0, :cond_1b
new-instance p1, Lcom/dts/freefireth/InAppReviewResult;
invoke-direct {p1}, Lcom/dts/freefireth/InAppReviewResult;-><init>()V
sget-object v0, Lcom/dts/freefireth/FFAPI;->UnitySendMessageGameObjectName:Ljava/lang/String;
# invokes: Lcom/dts/freefireth/FFAPI;->gson()Lcom/google/gson/Gson;
invoke-static {}, Lcom/dts/freefireth/FFAPI;->access$100()Lcom/google/gson/Gson;
move-result-object v2
invoke-virtual {v2, p1}, Lcom/google/gson/Gson;->t(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, v1, p1}, Lcom/dts/freefireth/FFMainActivity;->FFSendToUnity(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_4e
:cond_1b
new-instance v0, Lcom/dts/freefireth/InAppReviewResult;
invoke-direct {v0}, Lcom/dts/freefireth/InAppReviewResult;-><init>()V
const/4 v2, 0x1
iput-boolean v2, v0, Lcom/dts/freefireth/InAppReviewResult;->LaunchFailure:Z
invoke-virtual {p1}, Lj7/e;->d()Ljava/lang/Exception;
move-result-object v2
if-eqz v2, :cond_41
invoke-virtual {p1}, Lj7/e;->d()Ljava/lang/Exception;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
move-result-object v2
iput-object v2, v0, Lcom/dts/freefireth/InAppReviewResult;->ExceptionType:Ljava/lang/String;
invoke-virtual {p1}, Lj7/e;->d()Ljava/lang/Exception;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
iput-object p1, v0, Lcom/dts/freefireth/InAppReviewResult;->ExceptionMessage:Ljava/lang/String;
:cond_41
sget-object p1, Lcom/dts/freefireth/FFAPI;->UnitySendMessageGameObjectName:Ljava/lang/String;
# invokes: Lcom/dts/freefireth/FFAPI;->gson()Lcom/google/gson/Gson;
invoke-static {}, Lcom/dts/freefireth/FFAPI;->access$100()Lcom/google/gson/Gson;
move-result-object v2
invoke-virtual {v2, v0}, Lcom/google/gson/Gson;->t(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-static {p1, v1, v0}, Lcom/dts/freefireth/FFMainActivity;->FFSendToUnity(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:goto_4e
return-void
.end method