- 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
333 lines
12 KiB
Smali
333 lines
12 KiB
Smali
.class public final Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;
|
|
.super Lkotlin/coroutines/jvm/internal/SuspendLambda;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->logSession(Lcom/google/firebase/sessions/SessionDetails;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $sessionDetails:Lcom/google/firebase/sessions/SessionDetails;
|
|
|
|
.field public L$0:Ljava/lang/Object;
|
|
|
|
.field public L$1:Ljava/lang/Object;
|
|
|
|
.field public L$2:Ljava/lang/Object;
|
|
|
|
.field public L$3:Ljava/lang/Object;
|
|
|
|
.field public L$4:Ljava/lang/Object;
|
|
|
|
.field public L$5:Ljava/lang/Object;
|
|
|
|
.field public label:I
|
|
|
|
.field public final synthetic this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;Lcom/google/firebase/sessions/SessionDetails;Lkotlin/coroutines/Continuation;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
iput-object p2, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->$sessionDetails:Lcom/google/firebase/sessions/SessionDetails;
|
|
|
|
const/4 p1, 0x2
|
|
|
|
invoke-direct {p0, p1, p3}, Lkotlin/coroutines/jvm/internal/SuspendLambda;-><init>(ILkotlin/coroutines/Continuation;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
.locals 2
|
|
|
|
new-instance p1, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->$sessionDetails:Lcom/google/firebase/sessions/SessionDetails;
|
|
|
|
invoke-direct {p1, v0, v1, p2}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;-><init>(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;Lcom/google/firebase/sessions/SessionDetails;Lkotlin/coroutines/Continuation;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 0
|
|
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
|
|
|
check-cast p2, Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->invoke(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-virtual {p0, p1, p2}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;
|
|
|
|
sget-object p2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 10
|
|
|
|
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->label:I
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
if-eq v1, v4, :cond_2
|
|
|
|
if-eq v1, v3, :cond_1
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$5:Ljava/lang/Object;
|
|
|
|
.line 62
|
|
check-cast v0, Lcom/google/firebase/sessions/settings/SessionsSettings;
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$4:Ljava/lang/Object;
|
|
|
|
check-cast v1, Lcom/google/firebase/sessions/SessionDetails;
|
|
|
|
iget-object v2, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$3:Ljava/lang/Object;
|
|
|
|
check-cast v2, Lcom/google/firebase/FirebaseApp;
|
|
|
|
iget-object v3, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$2:Ljava/lang/Object;
|
|
|
|
check-cast v3, Lcom/google/firebase/sessions/SessionEvents;
|
|
|
|
iget-object v4, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$1:Ljava/lang/Object;
|
|
|
|
check-cast v4, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
iget-object v5, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$0:Ljava/lang/Object;
|
|
|
|
check-cast v5, Lcom/google/firebase/sessions/InstallationId;
|
|
|
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
move-object v7, v4
|
|
|
|
move-object v8, v3
|
|
|
|
move-object v3, v0
|
|
|
|
move-object v0, v8
|
|
|
|
move-object v9, v2
|
|
|
|
move-object v2, v1
|
|
|
|
move-object v1, v9
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
iget-object p1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
iput v4, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->label:I
|
|
|
|
.line 63
|
|
invoke-static {p1, p0}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->access$shouldLogSession(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-ne p1, v0, :cond_4
|
|
|
|
return-object v0
|
|
|
|
:cond_4
|
|
:goto_0
|
|
check-cast p1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 64
|
|
sget-object p1, Lcom/google/firebase/sessions/InstallationId;->Companion:Lcom/google/firebase/sessions/InstallationId$Companion;
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
invoke-static {v1}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->access$getFirebaseInstallations$p(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;)Lcom/google/firebase/installations/FirebaseInstallationsApi;
|
|
|
|
move-result-object v1
|
|
|
|
iput v3, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->label:I
|
|
|
|
invoke-virtual {p1, v1, p0}, Lcom/google/firebase/sessions/InstallationId$Companion;->create(Lcom/google/firebase/installations/FirebaseInstallationsApi;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-ne p1, v0, :cond_5
|
|
|
|
return-object v0
|
|
|
|
.line 62
|
|
:cond_5
|
|
:goto_1
|
|
move-object v5, p1
|
|
|
|
check-cast v5, Lcom/google/firebase/sessions/InstallationId;
|
|
|
|
iget-object v4, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
.line 66
|
|
sget-object v3, Lcom/google/firebase/sessions/SessionEvents;->INSTANCE:Lcom/google/firebase/sessions/SessionEvents;
|
|
|
|
.line 67
|
|
invoke-static {v4}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->access$getFirebaseApp$p(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;)Lcom/google/firebase/FirebaseApp;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->$sessionDetails:Lcom/google/firebase/sessions/SessionDetails;
|
|
|
|
iget-object v6, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->this$0:Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;
|
|
|
|
.line 69
|
|
invoke-static {v6}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->access$getSessionSettings$p(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;)Lcom/google/firebase/sessions/settings/SessionsSettings;
|
|
|
|
move-result-object v6
|
|
|
|
.line 70
|
|
sget-object v7, Lcom/google/firebase/sessions/api/FirebaseSessionsDependencies;->INSTANCE:Lcom/google/firebase/sessions/api/FirebaseSessionsDependencies;
|
|
|
|
iput-object v5, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$0:Ljava/lang/Object;
|
|
|
|
iput-object v4, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$1:Ljava/lang/Object;
|
|
|
|
iput-object v3, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$2:Ljava/lang/Object;
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$3:Ljava/lang/Object;
|
|
|
|
iput-object v1, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$4:Ljava/lang/Object;
|
|
|
|
iput-object v6, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->L$5:Ljava/lang/Object;
|
|
|
|
iput v2, p0, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl$logSession$1;->label:I
|
|
|
|
invoke-virtual {v7, p0}, Lcom/google/firebase/sessions/api/FirebaseSessionsDependencies;->getRegisteredSubscribers$com_google_firebase_firebase_sessions(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
if-ne v2, v0, :cond_6
|
|
|
|
return-object v0
|
|
|
|
:cond_6
|
|
move-object v0, v3
|
|
|
|
move-object v7, v4
|
|
|
|
move-object v3, v6
|
|
|
|
move-object v8, v1
|
|
|
|
move-object v1, p1
|
|
|
|
move-object p1, v2
|
|
|
|
move-object v2, v8
|
|
|
|
.line 62
|
|
:goto_2
|
|
move-object v4, p1
|
|
|
|
check-cast v4, Ljava/util/Map;
|
|
|
|
.line 71
|
|
invoke-virtual {v5}, Lcom/google/firebase/sessions/InstallationId;->getFid()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 72
|
|
invoke-virtual {v5}, Lcom/google/firebase/sessions/InstallationId;->getAuthToken()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v5, p1
|
|
|
|
.line 66
|
|
invoke-virtual/range {v0 .. v6}, Lcom/google/firebase/sessions/SessionEvents;->buildSession(Lcom/google/firebase/FirebaseApp;Lcom/google/firebase/sessions/SessionDetails;Lcom/google/firebase/sessions/settings/SessionsSettings;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/sessions/SessionEvent;
|
|
|
|
move-result-object p1
|
|
|
|
.line 65
|
|
invoke-static {v7, p1}, Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;->access$attemptLoggingSessionEvent(Lcom/google/firebase/sessions/SessionFirelogPublisherImpl;Lcom/google/firebase/sessions/SessionEvent;)V
|
|
|
|
.line 76
|
|
:cond_7
|
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|