- 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
238 lines
5.0 KiB
Smali
238 lines
5.0 KiB
Smali
.class final Lcom/google/android/gms/internal/ads/zzdu;
|
|
.super Landroid/content/BroadcastReceiver;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic zza:Lcom/google/android/gms/internal/ads/zzdw;
|
|
|
|
|
|
# direct methods
|
|
.method public synthetic constructor <init>(Lcom/google/android/gms/internal/ads/zzdw;Lcom/google/android/gms/internal/ads/zzdv;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzdu;->zza:Lcom/google/android/gms/internal/ads/zzdw;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
.locals 8
|
|
|
|
const-string p2, "connectivity"
|
|
|
|
.line 1
|
|
invoke-virtual {p1, p2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroid/net/ConnectivityManager;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x5
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 2
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-virtual {p2}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
|
|
|
|
move-result-object p2
|
|
:try_end_0
|
|
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 3
|
|
invoke-virtual {p2}, Landroid/net/NetworkInfo;->isConnected()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
:cond_1
|
|
move v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_2
|
|
invoke-virtual {p2}, Landroid/net/NetworkInfo;->getType()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x2
|
|
|
|
const/16 v5, 0x9
|
|
|
|
const/4 v6, 0x6
|
|
|
|
const/4 v7, 0x4
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
if-eq v3, v2, :cond_5
|
|
|
|
if-eq v3, v7, :cond_6
|
|
|
|
if-eq v3, v1, :cond_6
|
|
|
|
if-eq v3, v6, :cond_4
|
|
|
|
if-eq v3, v5, :cond_3
|
|
|
|
const/16 v0, 0x8
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 v0, 0x7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
:pswitch_0
|
|
move v0, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
:pswitch_1
|
|
move v0, v4
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_6
|
|
invoke-virtual {p2}, Landroid/net/NetworkInfo;->getSubtype()I
|
|
|
|
move-result p2
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
:pswitch_2
|
|
move v0, v6
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:pswitch_3
|
|
sget p2, Lcom/google/android/gms/internal/ads/zzei;->zza:I
|
|
|
|
const/16 v2, 0x1d
|
|
|
|
if-lt p2, v2, :cond_7
|
|
|
|
move v0, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
move v0, v7
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
const/4 v0, 0x3
|
|
|
|
.line 7
|
|
:catch_0
|
|
:cond_7
|
|
:goto_0
|
|
sget p2, Lcom/google/android/gms/internal/ads/zzei;->zza:I
|
|
|
|
const/16 v2, 0x1f
|
|
|
|
if-lt p2, v2, :cond_8
|
|
|
|
if-ne v0, v1, :cond_8
|
|
|
|
iget-object p2, p0, Lcom/google/android/gms/internal/ads/zzdu;->zza:Lcom/google/android/gms/internal/ads/zzdw;
|
|
|
|
:try_start_1
|
|
const-string v0, "phone"
|
|
|
|
.line 9
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/telephony/TelephonyManager;
|
|
:try_end_1
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
.line 13
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 10
|
|
:try_start_2
|
|
new-instance v2, Lcom/google/android/gms/internal/ads/zzdt;
|
|
|
|
invoke-direct {v2, p2}, Lcom/google/android/gms/internal/ads/zzdt;-><init>(Lcom/google/android/gms/internal/ads/zzdw;)V
|
|
|
|
.line 11
|
|
invoke-static {p1}, Lcom/google/android/gms/internal/ads/zzdu$$ExternalSyntheticApiModelOutline0;->m(Landroid/content/Context;)Ljava/util/concurrent/Executor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1, v2}, Lcom/google/android/gms/internal/ads/zzdu$$ExternalSyntheticApiModelOutline1;->m(Landroid/telephony/TelephonyManager;Ljava/util/concurrent/Executor;Landroid/telephony/TelephonyCallback;)V
|
|
|
|
.line 12
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/internal/ads/zzdu$$ExternalSyntheticApiModelOutline2;->m(Landroid/telephony/TelephonyManager;Landroid/telephony/TelephonyCallback;)V
|
|
:try_end_2
|
|
.catch Ljava/lang/RuntimeException; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
return-void
|
|
|
|
.line 14
|
|
:catch_1
|
|
invoke-static {p2, v1}, Lcom/google/android/gms/internal/ads/zzdw;->zzc(Lcom/google/android/gms/internal/ads/zzdw;I)V
|
|
|
|
return-void
|
|
|
|
:cond_8
|
|
iget-object p1, p0, Lcom/google/android/gms/internal/ads/zzdu;->zza:Lcom/google/android/gms/internal/ads/zzdw;
|
|
|
|
.line 8
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/internal/ads/zzdw;->zzc(Lcom/google/android/gms/internal/ads/zzdw;I)V
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_5
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_0
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_2
|
|
:pswitch_4
|
|
:pswitch_1
|
|
:pswitch_2
|
|
:pswitch_3
|
|
.end packed-switch
|
|
.end method
|