- 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
247 lines
3.9 KiB
Smali
247 lines
3.9 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzawg;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic zza:I
|
|
|
|
.field private static final zzb:[C
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "0123456789abcdef"
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/lang/String;->toCharArray()[C
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/ads/zzawg;->zzb:[C
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static zza(DILandroid/util/DisplayMetrics;)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p2, p3, Landroid/util/DisplayMetrics;->density:F
|
|
|
|
float-to-double p2, p2
|
|
|
|
div-double/2addr p0, p2
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->round(D)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static zzb([B)Ljava/lang/String;
|
|
.locals 6
|
|
|
|
.line 1
|
|
array-length v0, p0
|
|
|
|
add-int/2addr v0, v0
|
|
|
|
new-array v0, v0, [C
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 2
|
|
:goto_0
|
|
array-length v2, p0
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
.line 3
|
|
aget-byte v2, p0, v1
|
|
|
|
and-int/lit16 v3, v2, 0xff
|
|
|
|
sget-object v4, Lcom/google/android/gms/internal/ads/zzawg;->zzb:[C
|
|
|
|
ushr-int/lit8 v3, v3, 0x4
|
|
|
|
.line 4
|
|
aget-char v3, v4, v3
|
|
|
|
add-int v5, v1, v1
|
|
|
|
aput-char v3, v0, v5
|
|
|
|
and-int/lit8 v2, v2, 0xf
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
.line 5
|
|
aget-char v2, v4, v2
|
|
|
|
aput-char v2, v0, v5
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/String;-><init>([C)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static zzc()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static zzd(Ljava/lang/String;)Z
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static zze(Landroid/util/DisplayMetrics;)Z
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 1
|
|
iget p0, p0, Landroid/util/DisplayMetrics;->density:F
|
|
|
|
const/4 v0, 0x0
|
|
|
|
cmpl-float p0, p0, v0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static zzf(Ljava/lang/String;)[B
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
rem-int/lit8 v1, v0, 0x2
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 2
|
|
div-int/lit8 v1, v0, 0x2
|
|
|
|
.line 3
|
|
new-array v1, v1, [B
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_0
|
|
|
|
div-int/lit8 v3, v2, 0x2
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v4
|
|
|
|
const/16 v5, 0x10
|
|
|
|
invoke-static {v4, v5}, Ljava/lang/Character;->digit(CI)I
|
|
|
|
move-result v4
|
|
|
|
shl-int/lit8 v4, v4, 0x4
|
|
|
|
add-int/lit8 v6, v2, 0x1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v6}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v6
|
|
|
|
invoke-static {v6, v5}, Ljava/lang/Character;->digit(CI)I
|
|
|
|
move-result v5
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
int-to-byte v4, v4
|
|
|
|
aput-byte v4, v1, v3
|
|
|
|
add-int/lit8 v2, v2, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v1
|
|
|
|
.line 1
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "String must be of even-length"
|
|
|
|
.line 2
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|