Files
rr3-apk/smali_classes3/com/google/android/gms/internal/ads/zzatp.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

150 lines
2.4 KiB
Smali

.class public final Lcom/google/android/gms/internal/ads/zzatp;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final zza:[B
.field private zzb:I
.field private zzc:I
# direct methods
.method public constructor <init>([B)V
.locals 7
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x100
new-array v1, v0, [B
iput-object v1, p0, Lcom/google/android/gms/internal/ads/zzatp;->zza:[B
const/4 v1, 0x0
move v2, v1
:goto_0
if-ge v2, v0, :cond_0
iget-object v3, p0, Lcom/google/android/gms/internal/ads/zzatp;->zza:[B
int-to-byte v4, v2
aput-byte v4, v3, v2
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
move v2, v1
move v3, v2
:goto_1
if-ge v2, v0, :cond_1
iget-object v4, p0, Lcom/google/android/gms/internal/ads/zzatp;->zza:[B
.line 2
aget-byte v5, v4, v2
add-int/2addr v3, v5
array-length v6, p1
rem-int v6, v2, v6
aget-byte v6, p1, v6
add-int/2addr v3, v6
and-int/lit16 v3, v3, 0xff
aget-byte v6, v4, v3
.line 3
aput-byte v6, v4, v2
aput-byte v5, v4, v3
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_1
iput v1, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzb:I
iput v1, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzc:I
return-void
.end method
# virtual methods
.method public final zza([B)V
.locals 7
iget v0, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzb:I
iget v1, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzc:I
const/4 v2, 0x0
:goto_0
const/16 v3, 0x100
if-ge v2, v3, :cond_0
add-int/lit8 v0, v0, 0x1
iget-object v3, p0, Lcom/google/android/gms/internal/ads/zzatp;->zza:[B
and-int/lit16 v0, v0, 0xff
aget-byte v4, v3, v0
add-int/2addr v1, v4
and-int/lit16 v1, v1, 0xff
aget-byte v5, v3, v1
aput-byte v5, v3, v0
aput-byte v4, v3, v1
.line 1
aget-byte v5, p1, v2
aget-byte v6, v3, v0
add-int/2addr v6, v4
and-int/lit16 v4, v6, 0xff
aget-byte v3, v3, v4
xor-int/2addr v3, v5
int-to-byte v3, v3
aput-byte v3, p1, v2
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
iput v0, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzb:I
iput v1, p0, Lcom/google/android/gms/internal/ads/zzatp;->zzc:I
return-void
.end method