- 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
239 lines
6.3 KiB
Smali
239 lines
6.3 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzgoc;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private zza:Ljava/lang/Integer;
|
|
|
|
.field private zzb:Ljava/lang/Integer;
|
|
|
|
.field private zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 0
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zza:Ljava/lang/Integer;
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzb:Ljava/lang/Integer;
|
|
|
|
sget-object v0, Lcom/google/android/gms/internal/ads/zzgod;->zzd:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/google/android/gms/internal/ads/zzgoe;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zza:Ljava/lang/Integer;
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzb:Ljava/lang/Integer;
|
|
|
|
sget-object p1, Lcom/google/android/gms/internal/ads/zzgod;->zzd:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zza(I)Lcom/google/android/gms/internal/ads/zzgoc;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/GeneralSecurityException;
|
|
}
|
|
.end annotation
|
|
|
|
const/16 v0, 0x10
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x20
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
mul-int/lit8 p1, p1, 0x8
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/security/InvalidAlgorithmParameterException;
|
|
|
|
.line 3
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "Invalid key size %d; only 128-bit and 256-bit AES keys are supported"
|
|
|
|
.line 4
|
|
invoke-static {v1, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/security/InvalidAlgorithmParameterException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zza:Ljava/lang/Integer;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final zzb(I)Lcom/google/android/gms/internal/ads/zzgoc;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/GeneralSecurityException;
|
|
}
|
|
.end annotation
|
|
|
|
const/16 v0, 0xa
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
const/16 v0, 0x10
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzb:Ljava/lang/Integer;
|
|
|
|
return-object p0
|
|
|
|
.line 1
|
|
:cond_0
|
|
new-instance v0, Ljava/security/GeneralSecurityException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "Invalid tag size for AesCmacParameters: "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final zzc(Lcom/google/android/gms/internal/ads/zzgod;)Lcom/google/android/gms/internal/ads/zzgoc;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final zzd()Lcom/google/android/gms/internal/ads/zzgof;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/GeneralSecurityException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zza:Ljava/lang/Integer;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzb:Ljava/lang/Integer;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3
|
|
new-instance v1, Lcom/google/android/gms/internal/ads/zzgof;
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzb:Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/ads/zzgoc;->zzc:Lcom/google/android/gms/internal/ads/zzgod;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-direct {v1, v0, v2, v3, v4}, Lcom/google/android/gms/internal/ads/zzgof;-><init>(IILcom/google/android/gms/internal/ads/zzgod;Lcom/google/android/gms/internal/ads/zzgoe;)V
|
|
|
|
return-object v1
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance v0, Ljava/security/GeneralSecurityException;
|
|
|
|
const-string v1, "variant not set"
|
|
|
|
invoke-direct {v0, v1}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 2
|
|
:cond_1
|
|
new-instance v0, Ljava/security/GeneralSecurityException;
|
|
|
|
const-string v1, "tag size not set"
|
|
|
|
invoke-direct {v0, v1}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1
|
|
:cond_2
|
|
new-instance v0, Ljava/security/GeneralSecurityException;
|
|
|
|
const-string v1, "key size not set"
|
|
|
|
invoke-direct {v0, v1}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|