- 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
139 lines
3.9 KiB
Smali
139 lines
3.9 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzafl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final zza:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.field private final zzb:Ljava/io/DataOutputStream;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/io/ByteArrayOutputStream;
|
|
|
|
const/16 v1, 0x200
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/ByteArrayOutputStream;-><init>(I)V
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zza:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 2
|
|
new-instance v1, Ljava/io/DataOutputStream;
|
|
|
|
invoke-direct {v1, v0}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
iput-object v1, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static zzb(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeBytes(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeByte(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zza(Lcom/google/android/gms/internal/ads/zzafk;)[B
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zza:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->reset()V
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
iget-object v1, p1, Lcom/google/android/gms/internal/ads/zzafk;->zza:Ljava/lang/String;
|
|
|
|
.line 2
|
|
invoke-static {v0, v1}, Lcom/google/android/gms/internal/ads/zzafl;->zzb(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p1, Lcom/google/android/gms/internal/ads/zzafk;->zzb:Ljava/lang/String;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
.line 3
|
|
invoke-static {v1, v0}, Lcom/google/android/gms/internal/ads/zzafl;->zzb(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
iget-wide v1, p1, Lcom/google/android/gms/internal/ads/zzafk;->zzc:J
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v1, v2}, Ljava/io/DataOutputStream;->writeLong(J)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
iget-wide v1, p1, Lcom/google/android/gms/internal/ads/zzafk;->zzd:J
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v1, v2}, Ljava/io/DataOutputStream;->writeLong(J)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
iget-object p1, p1, Lcom/google/android/gms/internal/ads/zzafk;->zze:[B
|
|
|
|
.line 6
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V
|
|
|
|
iget-object p1, p0, Lcom/google/android/gms/internal/ads/zzafl;->zzb:Ljava/io/DataOutputStream;
|
|
|
|
.line 7
|
|
invoke-virtual {p1}, Ljava/io/DataOutputStream;->flush()V
|
|
|
|
iget-object p1, p0, Lcom/google/android/gms/internal/ads/zzafl;->zza:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 8
|
|
invoke-virtual {p1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p1
|
|
|
|
:goto_1
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
.line 9
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|