- 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
206 lines
4.1 KiB
Smali
206 lines
4.1 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzajc;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final zza:Z
|
|
|
|
.field public final zzb:Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final zzc:Lcom/google/android/gms/internal/ads/zzads;
|
|
|
|
.field public final zzd:I
|
|
|
|
.field public final zze:[B
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ZLjava/lang/String;I[BII[B)V
|
|
.locals 4
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p7 # [B
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
move v2, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v0
|
|
|
|
:goto_0
|
|
if-nez p7, :cond_1
|
|
|
|
move v3, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v3, v0
|
|
|
|
:goto_1
|
|
xor-int/2addr v2, v3
|
|
|
|
invoke-static {v2}, Lcom/google/android/gms/internal/ads/zzcw;->zzd(Z)V
|
|
|
|
iput-boolean p1, p0, Lcom/google/android/gms/internal/ads/zzajc;->zza:Z
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/ads/zzajc;->zzb:Ljava/lang/String;
|
|
|
|
iput p3, p0, Lcom/google/android/gms/internal/ads/zzajc;->zzd:I
|
|
|
|
iput-object p7, p0, Lcom/google/android/gms/internal/ads/zzajc;->zze:[B
|
|
|
|
new-instance p1, Lcom/google/android/gms/internal/ads/zzads;
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_2
|
|
invoke-virtual {p2}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result p3
|
|
|
|
const/4 p7, 0x3
|
|
|
|
const/4 v2, 0x2
|
|
|
|
sparse-switch p3, :sswitch_data_0
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_0
|
|
const-string p3, "cens"
|
|
|
|
.line 2
|
|
invoke-virtual {p2, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
move v0, v1
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_1
|
|
const-string p3, "cenc"
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_2
|
|
const-string p3, "cbcs"
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
move v0, p7
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_3
|
|
const-string p3, "cbc1"
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
move v0, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
:goto_2
|
|
const/4 v0, -0x1
|
|
|
|
:goto_3
|
|
if-eqz v0, :cond_5
|
|
|
|
if-eq v0, v1, :cond_5
|
|
|
|
if-eq v0, v2, :cond_4
|
|
|
|
if-eq v0, p7, :cond_4
|
|
|
|
.line 1
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
.line 2
|
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string p7, "Unsupported protection scheme type \'"
|
|
|
|
invoke-virtual {p3, p7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, "\'. Assuming AES-CTR crypto mode."
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string p3, "TrackEncryptionBox"
|
|
|
|
invoke-static {p3, p2}, Lcom/google/android/gms/internal/ads/zzdo;->zzf(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move v1, v2
|
|
|
|
.line 1
|
|
:cond_5
|
|
:goto_4
|
|
invoke-direct {p1, v1, p4, p5, p6}, Lcom/google/android/gms/internal/ads/zzads;-><init>(I[BII)V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzajc;->zzc:Lcom/google/android/gms/internal/ads/zzads;
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
0x2e7ccd -> :sswitch_3
|
|
0x2e7d0f -> :sswitch_2
|
|
0x2e8997 -> :sswitch_1
|
|
0x2e89a7 -> :sswitch_0
|
|
.end sparse-switch
|
|
.end method
|