- 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
337 lines
9.3 KiB
Smali
337 lines
9.3 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzbvi;
|
|
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
|
|
creator = "LargeParcelTeleporterCreator"
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Reserved;
|
|
value = {
|
|
0x1
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/google/android/gms/internal/ads/zzbvi;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field zza:Landroid/os/ParcelFileDescriptor;
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
|
|
id = 0x2
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private zzb:Landroid/os/Parcelable;
|
|
|
|
.field private zzc:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/ads/zzbvj;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/gms/internal/ads/zzbvj;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/ads/zzbvi;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/ParcelFileDescriptor;)V
|
|
.locals 0
|
|
.param p1 # Landroid/os/ParcelFileDescriptor;
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
|
|
id = 0x2
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzb:Landroid/os/Parcelable;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput-boolean p1, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzc:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_0
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzb:Landroid/os/Parcelable;
|
|
|
|
.line 2
|
|
invoke-interface {v2, v0, v1}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
move-result-object v2
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:try_start_1
|
|
invoke-static {}, Landroid/os/ParcelFileDescriptor;->createPipe()[Landroid/os/ParcelFileDescriptor;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
.line 7
|
|
aget-object v4, v3, v4
|
|
|
|
.line 8
|
|
new-instance v5, Landroid/os/ParcelFileDescriptor$AutoCloseOutputStream;
|
|
|
|
invoke-direct {v5, v4}, Landroid/os/ParcelFileDescriptor$AutoCloseOutputStream;-><init>(Landroid/os/ParcelFileDescriptor;)V
|
|
:try_end_1
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
.line 9
|
|
:try_start_2
|
|
sget-object v4, Lcom/google/android/gms/internal/ads/zzbzw;->zza:Lcom/google/android/gms/internal/ads/zzgcs;
|
|
|
|
new-instance v6, Lcom/google/android/gms/internal/ads/zzbvh;
|
|
|
|
invoke-direct {v6, v5, v2}, Lcom/google/android/gms/internal/ads/zzbvh;-><init>(Ljava/io/OutputStream;[B)V
|
|
|
|
invoke-interface {v4, v6}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
.line 10
|
|
aget-object v0, v3, v1
|
|
:try_end_2
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
move-exception v2
|
|
|
|
move-object v5, v0
|
|
|
|
:goto_0
|
|
const-string v3, "Error transporting the ad response"
|
|
|
|
.line 11
|
|
invoke-static {v3, v2}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
const-string v3, "LargeParcelTeleporter.pipeData.2"
|
|
|
|
.line 12
|
|
invoke-static {}, Lcom/google/android/gms/ads/internal/zzv;->zzp()Lcom/google/android/gms/internal/ads/zzbzm;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, v2, v3}, Lcom/google/android/gms/internal/ads/zzbzm;->zzw(Ljava/lang/Throwable;Ljava/lang/String;)V
|
|
|
|
.line 13
|
|
invoke-static {v5}, Lcom/google/android/gms/common/util/IOUtils;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
:goto_1
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
.line 5
|
|
throw p1
|
|
|
|
.line 14
|
|
:cond_0
|
|
:goto_2
|
|
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
.line 15
|
|
invoke-static {p1, v2, v3, p2, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeParcelable(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
|
|
|
|
.line 16
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zza(Landroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
|
|
.locals 5
|
|
|
|
iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzc:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "File descriptor is empty, returning null."
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzg(Ljava/lang/String;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/io/DataInputStream;
|
|
|
|
.line 2
|
|
new-instance v2, Landroid/os/ParcelFileDescriptor$AutoCloseInputStream;
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zza:Landroid/os/ParcelFileDescriptor;
|
|
|
|
invoke-direct {v2, v3}, Landroid/os/ParcelFileDescriptor$AutoCloseInputStream;-><init>(Landroid/os/ParcelFileDescriptor;)V
|
|
|
|
invoke-direct {v0, v2}, Ljava/io/DataInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-virtual {v0}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result v2
|
|
|
|
new-array v3, v2, [B
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v3, v4, v2}, Ljava/io/DataInputStream;->readFully([BII)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
.line 6
|
|
invoke-static {v0}, Lcom/google/android/gms/common/util/IOUtils;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
.line 8
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
:try_start_1
|
|
invoke-virtual {v0, v3, v4, v2}, Landroid/os/Parcel;->unmarshall([BII)V
|
|
|
|
.line 10
|
|
invoke-virtual {v0, v4}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
.line 11
|
|
invoke-interface {p1, v0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/os/Parcelable;
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzb:Landroid/os/Parcelable;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 12
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
iput-boolean v4, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzc:Z
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
.line 13
|
|
throw p1
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
:try_start_2
|
|
const-string v2, "Could not read from parcel file descriptor"
|
|
|
|
.line 5
|
|
invoke-static {v2, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
.line 6
|
|
invoke-static {v0}, Lcom/google/android/gms/common/util/IOUtils;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
return-object v1
|
|
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/android/gms/common/util/IOUtils;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
.line 7
|
|
throw p1
|
|
|
|
:cond_1
|
|
:goto_1
|
|
iget-object p1, p0, Lcom/google/android/gms/internal/ads/zzbvi;->zzb:Landroid/os/Parcelable;
|
|
|
|
.line 14
|
|
check-cast p1, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
|
|
|
|
return-object p1
|
|
.end method
|