Files
rr3-apk/smali_classes3/com/google/android/gms/internal/ads/zzhap.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

272 lines
4.2 KiB
Smali

.class final Lcom/google/android/gms/internal/ads/zzhap;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic zza(BBBB[CI)V
.locals 2
.line 1
invoke-static {p1}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_0
shl-int/lit8 v0, p0, 0x1c
add-int/lit8 v1, p1, 0x70
add-int/2addr v0, v1
shr-int/lit8 v0, v0, 0x1e
if-nez v0, :cond_0
invoke-static {p2}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_0
invoke-static {p3}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_0
and-int/lit8 p0, p0, 0x7
and-int/lit8 p1, p1, 0x3f
and-int/lit8 p2, p2, 0x3f
and-int/lit8 p3, p3, 0x3f
shl-int/lit8 p0, p0, 0x12
shl-int/lit8 p1, p1, 0xc
or-int/2addr p0, p1
shl-int/lit8 p1, p2, 0x6
or-int/2addr p0, p1
or-int/2addr p0, p3
ushr-int/lit8 p1, p0, 0xa
const p2, 0xd7c0
add-int/2addr p1, p2
int-to-char p1, p1
.line 3
aput-char p1, p4, p5
add-int/lit8 p5, p5, 0x1
and-int/lit16 p0, p0, 0x3ff
const p1, 0xdc00
add-int/2addr p0, p1
int-to-char p0, p0
.line 4
aput-char p0, p4, p5
return-void
.line 1
:cond_0
new-instance p0, Lcom/google/android/gms/internal/ads/zzgyg;
const-string p1, "Protocol message had invalid UTF-8."
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/ads/zzgyg;-><init>(Ljava/lang/String;)V
.line 2
throw p0
.end method
.method public static bridge synthetic zzb(BBB[CI)V
.locals 2
.line 2
invoke-static {p1}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_2
const/16 v0, -0x60
const/16 v1, -0x20
if-ne p0, v1, :cond_0
if-lt p1, v0, :cond_2
move p0, v1
:cond_0
const/16 v1, -0x13
if-ne p0, v1, :cond_1
if-ge p1, v0, :cond_2
move p0, v1
:cond_1
invoke-static {p2}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_2
and-int/lit8 p0, p0, 0xf
and-int/lit8 p1, p1, 0x3f
and-int/lit8 p2, p2, 0x3f
shl-int/lit8 p0, p0, 0xc
shl-int/lit8 p1, p1, 0x6
or-int/2addr p0, p1
or-int/2addr p0, p2
int-to-char p0, p0
.line 1
aput-char p0, p3, p4
return-void
.line 2
:cond_2
new-instance p0, Lcom/google/android/gms/internal/ads/zzgyg;
const-string p1, "Protocol message had invalid UTF-8."
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/ads/zzgyg;-><init>(Ljava/lang/String;)V
.line 3
throw p0
.end method
.method public static bridge synthetic zzc(BB[CI)V
.locals 1
const/16 v0, -0x3e
if-lt p0, v0, :cond_0
.line 1
invoke-static {p1}, Lcom/google/android/gms/internal/ads/zzhap;->zzg(B)Z
move-result v0
if-nez v0, :cond_0
and-int/lit8 p0, p0, 0x1f
shl-int/lit8 p0, p0, 0x6
and-int/lit8 p1, p1, 0x3f
or-int/2addr p0, p1
int-to-char p0, p0
.line 3
aput-char p0, p2, p3
return-void
.line 1
:cond_0
new-instance p0, Lcom/google/android/gms/internal/ads/zzgyg;
const-string p1, "Protocol message had invalid UTF-8."
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/ads/zzgyg;-><init>(Ljava/lang/String;)V
.line 2
throw p0
.end method
.method public static bridge synthetic zzd(B)Z
.locals 0
if-ltz p0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static bridge synthetic zze(B)Z
.locals 1
const/16 v0, -0x10
if-ge p0, v0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static bridge synthetic zzf(B)Z
.locals 1
const/16 v0, -0x20
if-ge p0, v0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method private static zzg(B)Z
.locals 1
const/16 v0, -0x41
if-le p0, v0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method