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

202 lines
4.4 KiB
Smali

.class public final Lcom/google/android/gms/internal/ads/zzdpt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static zza(Lorg/json/JSONObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 4
.param p0 # Lorg/json/JSONObject;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const-string v0, ""
if-nez p0, :cond_0
goto :goto_2
.line 1
:cond_0
invoke-virtual {p0, p2}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object p0
if-eqz p0, :cond_3
const/4 p2, 0x0
.line 2
:goto_0
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
move-result v1
if-ge p2, v1, :cond_3
.line 3
invoke-virtual {p0, p2}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;
move-result-object v1
if-nez v1, :cond_1
goto :goto_1
:cond_1
const-string v2, "including"
.line 4
invoke-virtual {v1, v2}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object v2
const-string v3, "excluding"
.line 5
invoke-virtual {v1, v3}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object v3
.line 6
invoke-static {v2, p1}, Lcom/google/android/gms/internal/ads/zzdpt;->zzb(Lorg/json/JSONArray;Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_2
invoke-static {v3, p1}, Lcom/google/android/gms/internal/ads/zzdpt;->zzb(Lorg/json/JSONArray;Ljava/lang/String;)Z
move-result v2
if-nez v2, :cond_2
const-string p0, "effective_ad_unit_id"
.line 7
invoke-virtual {v1, p0, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_2
:goto_1
add-int/lit8 p2, p2, 0x1
goto :goto_0
:cond_3
:goto_2
return-object v0
.end method
.method private static zzb(Lorg/json/JSONArray;Ljava/lang/String;)Z
.locals 5
.param p0 # Lorg/json/JSONArray;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const/4 v0, 0x0
if-eqz p0, :cond_2
if-eqz p1, :cond_2
move v1, v0
.line 1
:goto_0
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
move-result v2
if-ge v1, v2, :cond_2
.line 2
invoke-virtual {p0, v1}, Lorg/json/JSONArray;->optString(I)Ljava/lang/String;
move-result-object v2
.line 3
:try_start_0
sget-object v3, Lcom/google/android/gms/internal/ads/zzbcl;->zzkN:Lcom/google/android/gms/internal/ads/zzbcc;
.line 4
invoke-static {}, Lcom/google/android/gms/ads/internal/client/zzbe;->zzc()Lcom/google/android/gms/internal/ads/zzbcj;
move-result-object v4
invoke-virtual {v4, v3}, Lcom/google/android/gms/internal/ads/zzbcj;->zza(Lcom/google/android/gms/internal/ads/zzbcc;)Ljava/lang/Object;
move-result-object v3
.line 3
check-cast v3, Ljava/lang/Boolean;
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
move-result v3
if-eqz v3, :cond_0
const/4 v3, 0x2
invoke-static {v2, v3}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
move-result-object v2
goto :goto_1
:catch_0
move-exception v2
goto :goto_2
.line 5
:cond_0
invoke-static {v2}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v2
:goto_1
invoke-virtual {v2, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object v2
invoke-virtual {v2}, Ljava/util/regex/Matcher;->lookingAt()Z
move-result v2
:try_end_0
.catch Ljava/util/regex/PatternSyntaxException; {:try_start_0 .. :try_end_0} :catch_0
if-nez v2, :cond_1
goto :goto_3
:cond_1
const/4 p0, 0x1
return p0
:goto_2
const-string v3, "RtbAdapterMap.hasAtleastOneRegexMatch"
.line 6
invoke-static {}, Lcom/google/android/gms/ads/internal/zzv;->zzp()Lcom/google/android/gms/internal/ads/zzbzm;
move-result-object v4
invoke-virtual {v4, v2, v3}, Lcom/google/android/gms/internal/ads/zzbzm;->zzw(Ljava/lang/Throwable;Ljava/lang/String;)V
:goto_3
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_2
return v0
.end method