- 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
540 lines
9.3 KiB
Smali
540 lines
9.3 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzef;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private zza:J
|
|
.annotation build Landroidx/annotation/GuardedBy;
|
|
value = "this"
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private zzb:J
|
|
.annotation build Landroidx/annotation/GuardedBy;
|
|
value = "this"
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private zzc:J
|
|
.annotation build Landroidx/annotation/GuardedBy;
|
|
value = "this"
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final zzd:Ljava/lang/ThreadLocal;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance p1, Ljava/lang/ThreadLocal;
|
|
|
|
invoke-direct {p1}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzef;->zzd:Ljava/lang/ThreadLocal;
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/internal/ads/zzef;->zzi(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static zzg(J)J
|
|
.locals 7
|
|
|
|
const-wide/32 v2, 0xf4240
|
|
|
|
const-wide/32 v4, 0x15f90
|
|
|
|
.line 1
|
|
sget-object v6, Ljava/math/RoundingMode;->DOWN:Ljava/math/RoundingMode;
|
|
|
|
move-wide v0, p0
|
|
|
|
.line 2
|
|
invoke-static/range {v0 .. v6}, Lcom/google/android/gms/internal/ads/zzei;->zzu(JJJLjava/math/RoundingMode;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static zzh(J)J
|
|
.locals 7
|
|
|
|
const-wide/32 v2, 0x15f90
|
|
|
|
const-wide/32 v4, 0xf4240
|
|
|
|
.line 1
|
|
sget-object v6, Ljava/math/RoundingMode;->DOWN:Ljava/math/RoundingMode;
|
|
|
|
move-wide v0, p0
|
|
|
|
.line 2
|
|
invoke-static/range {v0 .. v6}, Lcom/google/android/gms/internal/ads/zzei;->zzu(JJJLjava/math/RoundingMode;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final declared-synchronized zza(J)J
|
|
.locals 4
|
|
|
|
monitor-enter p0
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 1
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/zzef;->zzj()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zza:J
|
|
|
|
const-wide v2, 0x7ffffffffffffffeL
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzd:Ljava/lang/ThreadLocal;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Long;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 1
|
|
:try_start_1
|
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
sub-long/2addr v0, p1
|
|
|
|
iput-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
:cond_2
|
|
iput-wide p1, p0, Lcom/google/android/gms/internal/ads/zzef;->zzc:J
|
|
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
add-long/2addr p1, v0
|
|
|
|
monitor-exit p0
|
|
|
|
return-wide p1
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzb(J)J
|
|
.locals 8
|
|
|
|
monitor-enter p0
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 1
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
iget-wide v2, p0, Lcom/google/android/gms/internal/ads/zzef;->zzc:J
|
|
|
|
cmp-long v0, v2, v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-static {v2, v3}, Lcom/google/android/gms/internal/ads/zzef;->zzh(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide v2, 0x100000000L
|
|
|
|
add-long/2addr v2, v0
|
|
|
|
const-wide v4, 0x200000000L
|
|
|
|
div-long/2addr v2, v4
|
|
|
|
const-wide/16 v6, -0x1
|
|
|
|
add-long/2addr v6, v2
|
|
|
|
mul-long/2addr v6, v4
|
|
|
|
add-long/2addr v6, p1
|
|
|
|
mul-long/2addr v2, v4
|
|
|
|
add-long/2addr p1, v2
|
|
|
|
sub-long v2, v6, v0
|
|
|
|
sub-long v0, p1, v0
|
|
|
|
.line 2
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long v0, v2, v0
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
move-wide p1, v6
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1, p2}, Lcom/google/android/gms/internal/ads/zzef;->zzg(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/internal/ads/zzef;->zza(J)J
|
|
|
|
move-result-wide p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-wide p1
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzc(J)J
|
|
.locals 10
|
|
|
|
monitor-enter p0
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 1
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
iget-wide v2, p0, Lcom/google/android/gms/internal/ads/zzef;->zzc:J
|
|
|
|
cmp-long v0, v2, v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-static {v2, v3}, Lcom/google/android/gms/internal/ads/zzef;->zzh(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide v2, 0x200000000L
|
|
|
|
div-long v4, v0, v2
|
|
|
|
mul-long v6, v4, v2
|
|
|
|
add-long/2addr v6, p1
|
|
|
|
const-wide/16 v8, 0x1
|
|
|
|
add-long/2addr v4, v8
|
|
|
|
mul-long/2addr v4, v2
|
|
|
|
add-long/2addr p1, v4
|
|
|
|
cmp-long v0, v6, v0
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
move-wide p1, v6
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 2
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1, p2}, Lcom/google/android/gms/internal/ads/zzef;->zzg(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/internal/ads/zzef;->zza(J)J
|
|
|
|
move-result-wide p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-wide p1
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzd()J
|
|
.locals 4
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zza:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
const-wide v2, 0x7ffffffffffffffeL
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
return-wide v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized zze()J
|
|
.locals 4
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzc:J
|
|
|
|
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-wide v2, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/zzef;->zzd()J
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzf()J
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-wide v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzi(J)V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iput-wide p1, p0, Lcom/google/android/gms/internal/ads/zzef;->zza:J
|
|
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
cmp-long p1, p1, v0
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide p1, v0
|
|
|
|
:goto_0
|
|
iput-wide p1, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
|
|
iput-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzc:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized zzj()Z
|
|
.locals 4
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-wide v0, p0, Lcom/google/android/gms/internal/ads/zzef;->zzb:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
monitor-exit p0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|