Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
package com.google.android.gms.internal.ads;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes3.dex */
public final class zzcgi {
private static final Pattern zza = Pattern.compile("^\\uFEFF?\\s*(\\s*<!--([^-]|(?!-->))*-->)*\\s*<!DOCTYPE(\\s)+html(|(\\s)+[^>]*)>", 2);
private static final Pattern zzb = Pattern.compile("^\\uFEFF?\\s*(\\s*<!--([^-]|(?!-->))*-->)*?\\s*<!DOCTYPE[^>]*>", 2);
@Nullable
public static String zza(zzfbo zzfboVar) {
if (((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzff)).booleanValue() && zzfboVar.zzT && zzfboVar.zzV.zzb() && zzfboVar.zzb != 4) {
zzecn zzecnVar = zzfboVar.zzV.zzc() == 1 ? zzecn.VIDEO : zzecn.HTML_DISPLAY;
String str = zzfboVar.zzal;
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put("creativeType", zzecnVar.toString());
jSONObject.put("contentUrl", str);
return "<script>Object.defineProperty(window,'GOOG_OMID_JAVASCRIPT_SESSION_SERVICE_ENV',{get:function(){return " + jSONObject.toString() + "}});</script>";
} catch (JSONException e) {
com.google.android.gms.ads.internal.util.client.zzo.zzk("Unable to build OMID ENV JSON", e);
}
}
return null;
}
public static String zzb(@NonNull String str, @Nullable String... strArr) {
String str2;
StringBuilder sb = new StringBuilder();
Matcher matcher = zza.matcher(str);
if (matcher.find()) {
int end = matcher.end();
sb.append(str.substring(0, end));
String str3 = strArr[0];
if (str3 != null) {
sb.append(str3);
}
sb.append(str.substring(end));
} else {
if (!zzb.matcher(str).find() && (str2 = strArr[0]) != null) {
sb.append(str2);
}
sb.append(str);
}
return sb.toString();
}
}