- 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
122 lines
3.1 KiB
Smali
122 lines
3.1 KiB
Smali
.class final Lcom/google/android/gms/ads/identifier/zzb;
|
|
.super Ljava/lang/Thread;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/android/gms/common/util/VisibleForTesting;
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final zza:Ljava/util/concurrent/CountDownLatch;
|
|
|
|
.field zzb:Z
|
|
|
|
.field private final zzc:Ljava/lang/ref/WeakReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final zzd:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;J)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V
|
|
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 2
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzc:Ljava/lang/ref/WeakReference;
|
|
|
|
iput-wide p2, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzd:J
|
|
|
|
new-instance p1, Ljava/util/concurrent/CountDownLatch;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 3
|
|
invoke-direct {p1, p2}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/ads/identifier/zzb;->zza:Ljava/util/concurrent/CountDownLatch;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzb:Z
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Ljava/lang/Thread;->start()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final zza()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzc:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;->zza()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzb:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 4
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/identifier/zzb;->zza:Ljava/util/concurrent/CountDownLatch;
|
|
|
|
iget-wide v1, p0, Lcom/google/android/gms/ads/identifier/zzb;->zzd:J
|
|
|
|
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 1
|
|
invoke-virtual {v0, v1, v2, v3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/google/android/gms/ads/identifier/zzb;->zza()V
|
|
:try_end_0
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 3
|
|
:catch_0
|
|
invoke-direct {p0}, Lcom/google/android/gms/ads/identifier/zzb;->zza()V
|
|
|
|
return-void
|
|
.end method
|