- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
246 lines
6.9 KiB
Smali
246 lines
6.9 KiB
Smali
.class public final Lcom/google/firebase/sessions/InstallationId$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/firebase/sessions/InstallationId;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 25
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-direct {p0}, Lcom/google/firebase/sessions/InstallationId$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final create(Lcom/google/firebase/installations/FirebaseInstallationsApi;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
.locals 8
|
|
|
|
instance-of v0, p2, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v0, p2
|
|
|
|
check-cast v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;
|
|
|
|
iget v1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->label:I
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
and-int v3, v1, v2
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iput v1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->label:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;
|
|
|
|
invoke-direct {v0, p0, p2}, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;-><init>(Lcom/google/firebase/sessions/InstallationId$Companion;Lkotlin/coroutines/Continuation;)V
|
|
|
|
:goto_0
|
|
iget-object p2, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->result:Ljava/lang/Object;
|
|
|
|
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 28
|
|
iget v2, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->label:I
|
|
|
|
const-string v3, ""
|
|
|
|
const-string v4, "InstallationId"
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
if-eq v2, v6, :cond_2
|
|
|
|
if-ne v2, v5, :cond_1
|
|
|
|
iget-object p1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->L$0:Ljava/lang/Object;
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
:try_start_0
|
|
invoke-static {p2}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_4
|
|
|
|
:catch_0
|
|
move-exception p2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "call to \'resume\' before \'invoke\' with coroutine"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
iget-object p1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->L$0:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/google/firebase/installations/FirebaseInstallationsApi;
|
|
|
|
:try_start_1
|
|
invoke-static {p2}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_1
|
|
|
|
:catch_1
|
|
move-exception p2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
invoke-static {p2}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 32
|
|
:try_start_2
|
|
invoke-interface {p1, p2}, Lcom/google/firebase/installations/FirebaseInstallationsApi;->getToken(Z)Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v2, "firebaseInstallations.getToken(false)"
|
|
|
|
invoke-static {p2, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->L$0:Ljava/lang/Object;
|
|
|
|
iput v6, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->label:I
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/tasks/TasksKt;->await(Lcom/google/android/gms/tasks/Task;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
if-ne p2, v1, :cond_4
|
|
|
|
return-object v1
|
|
|
|
:cond_4
|
|
:goto_1
|
|
check-cast p2, Lcom/google/firebase/installations/InstallationTokenResult;
|
|
|
|
invoke-virtual {p2}, Lcom/google/firebase/installations/InstallationTokenResult;->getToken()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v2, "{\n firebaseInst\u2026).await().token\n }"
|
|
|
|
invoke-static {p2, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
move-object v7, p2
|
|
|
|
move-object p2, p1
|
|
|
|
move-object p1, v7
|
|
|
|
goto :goto_3
|
|
|
|
:goto_2
|
|
const-string v2, "Error getting authentication token."
|
|
|
|
.line 34
|
|
invoke-static {v4, v2, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
move-object p2, p1
|
|
|
|
move-object p1, v3
|
|
|
|
.line 40
|
|
:goto_3
|
|
:try_start_3
|
|
invoke-interface {p2}, Lcom/google/firebase/installations/FirebaseInstallationsApi;->getId()Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v2, "firebaseInstallations.id"
|
|
|
|
invoke-static {p2, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p1, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->L$0:Ljava/lang/Object;
|
|
|
|
iput v5, v0, Lcom/google/firebase/sessions/InstallationId$Companion$create$1;->label:I
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/tasks/TasksKt;->await(Lcom/google/android/gms/tasks/Task;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
if-ne p2, v1, :cond_5
|
|
|
|
return-object v1
|
|
|
|
:cond_5
|
|
:goto_4
|
|
const-string v0, "{\n firebaseInst\u2026ions.id.await()\n }"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
:try_end_3
|
|
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0
|
|
|
|
move-object v3, p2
|
|
|
|
goto :goto_6
|
|
|
|
:goto_5
|
|
const-string v0, "Error getting Firebase installation id ."
|
|
|
|
.line 42
|
|
invoke-static {v4, v0, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
.line 46
|
|
:goto_6
|
|
new-instance p2, Lcom/google/firebase/sessions/InstallationId;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p2, v3, p1, v0}, Lcom/google/firebase/sessions/InstallationId;-><init>(Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object p2
|
|
.end method
|