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

230 lines
3.7 KiB
Smali

.class public final Lcom/google/android/gms/internal/ads/zzaqy;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static zza(Ljava/nio/ByteBuffer;)D
.locals 4
const/4 v0, 0x4
new-array v0, v0, [B
.line 1
invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;
const/4 p0, 0x0
aget-byte p0, v0, p0
shl-int/lit8 p0, p0, 0x18
const/4 v1, 0x1
aget-byte v1, v0, v1
shl-int/lit8 v1, v1, 0x10
const/4 v2, 0x2
aget-byte v2, v0, v2
shl-int/lit8 v2, v2, 0x8
const/4 v3, 0x3
aget-byte v0, v0, v3
and-int/lit16 v0, v0, 0xff
const/high16 v3, -0x1000000
and-int/2addr p0, v3
const/high16 v3, 0xff0000
and-int/2addr v1, v3
or-int/2addr p0, v1
const v1, 0xff00
and-int/2addr v1, v2
or-int/2addr p0, v1
or-int/2addr p0, v0
int-to-double v0, p0
const-wide/high16 v2, 0x41d0000000000000L # 1.073741824E9
div-double/2addr v0, v2
return-wide v0
.end method
.method public static zzb(Ljava/nio/ByteBuffer;)D
.locals 4
const/4 v0, 0x4
new-array v0, v0, [B
.line 1
invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;
const/4 p0, 0x0
aget-byte p0, v0, p0
shl-int/lit8 p0, p0, 0x18
const/4 v1, 0x1
aget-byte v1, v0, v1
shl-int/lit8 v1, v1, 0x10
const/4 v2, 0x2
aget-byte v2, v0, v2
shl-int/lit8 v2, v2, 0x8
const/4 v3, 0x3
aget-byte v0, v0, v3
and-int/lit16 v0, v0, 0xff
const/high16 v3, -0x1000000
and-int/2addr p0, v3
const/high16 v3, 0xff0000
and-int/2addr v1, v3
or-int/2addr p0, v1
const v1, 0xff00
and-int/2addr v1, v2
or-int/2addr p0, v1
or-int/2addr p0, v0
int-to-double v0, p0
const-wide/high16 v2, 0x40f0000000000000L # 65536.0
div-double/2addr v0, v2
return-wide v0
.end method
.method public static zzc(B)I
.locals 0
if-gez p0, :cond_0
add-int/lit16 p0, p0, 0x100
:cond_0
return p0
.end method
.method public static zzd(Ljava/nio/ByteBuffer;)I
.locals 1
.line 1
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->get()B
move-result v0
invoke-static {v0}, Lcom/google/android/gms/internal/ads/zzaqy;->zzc(B)I
move-result v0
.line 2
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->get()B
move-result p0
invoke-static {p0}, Lcom/google/android/gms/internal/ads/zzaqy;->zzc(B)I
move-result p0
shl-int/lit8 v0, v0, 0x8
add-int/2addr v0, p0
return v0
.end method
.method public static zze(Ljava/nio/ByteBuffer;)J
.locals 4
.line 1
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getInt()I
move-result p0
int-to-long v0, p0
const-wide/16 v2, 0x0
cmp-long p0, v0, v2
if-gez p0, :cond_0
const-wide v2, 0x100000000L
add-long/2addr v0, v2
:cond_0
return-wide v0
.end method
.method public static zzf(Ljava/nio/ByteBuffer;)J
.locals 4
.line 1
invoke-static {p0}, Lcom/google/android/gms/internal/ads/zzaqy;->zze(Ljava/nio/ByteBuffer;)J
move-result-wide v0
const/16 v2, 0x20
shl-long/2addr v0, v2
const-wide/16 v2, 0x0
cmp-long v2, v0, v2
if-ltz v2, :cond_0
.line 3
invoke-static {p0}, Lcom/google/android/gms/internal/ads/zzaqy;->zze(Ljava/nio/ByteBuffer;)J
move-result-wide v2
add-long/2addr v0, v2
return-wide v0
.line 1
:cond_0
new-instance p0, Ljava/lang/RuntimeException;
const-string v0, "I don\'t know how to deal with UInt64! long is not sufficient and I don\'t want to use BigInt"
.line 2
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p0
.end method