- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
417 lines
16 KiB
Java
417 lines
16 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.graphics.Color;
|
||
import android.os.SystemClock;
|
||
import android.text.TextUtils;
|
||
import android.view.KeyEvent;
|
||
import android.view.View;
|
||
import android.view.ViewConfiguration;
|
||
import androidx.core.internal.view.SupportMenu;
|
||
import androidx.core.view.ViewCompat;
|
||
import com.ironsource.adqualitysdk.sdk.i.bb;
|
||
import com.ironsource.mediationsdk.logger.IronSourceError;
|
||
import com.vungle.warren.VungleApiClient;
|
||
import com.vungle.warren.model.Advertisement;
|
||
import com.vungle.warren.model.Placement;
|
||
import com.vungle.warren.persistence.Repository;
|
||
import java.lang.reflect.Field;
|
||
import java.util.HashMap;
|
||
import java.util.Iterator;
|
||
import java.util.List;
|
||
import java.util.Map;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public final class cd extends bb {
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static int f1215 = 0;
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static int f1216 = 1;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static int f1217 = 0;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static long f1218 = -3485986758628193988L;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static char f1219 = 0;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static long f1220 = 3689524512343898053L;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private String f1221;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
public static /* synthetic */ boolean m2075(Placement placement) {
|
||
int i = f1215 + 85;
|
||
f1216 = i % 128;
|
||
int i2 = i % 2;
|
||
boolean m2073 = m2073(placement);
|
||
int i3 = f1215 + 77;
|
||
f1216 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return m2073;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static /* synthetic */ Map m2076(Advertisement advertisement) {
|
||
int i = f1215 + 119;
|
||
f1216 = i % 128;
|
||
int i2 = i % 2;
|
||
Map<String, String> m2071 = m2071(advertisement);
|
||
int i3 = f1215 + 87;
|
||
f1216 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return m2071;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public static /* synthetic */ Placement m2077(Repository repository, String str) {
|
||
int i = f1216 + 85;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
Placement m2079 = m2079(repository, str);
|
||
int i3 = f1216 + 21;
|
||
f1215 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
return m2079;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2078(Advertisement advertisement) {
|
||
int i = f1216 + 49;
|
||
f1215 = i % 128;
|
||
if (i % 2 == 0) {
|
||
return m2074(advertisement);
|
||
}
|
||
m2074(advertisement);
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2080(Advertisement advertisement) {
|
||
int i = f1216 + 113;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2072 = m2072(advertisement);
|
||
if (i2 != 0) {
|
||
int i3 = 80 / 0;
|
||
}
|
||
return m2072;
|
||
}
|
||
|
||
public cd(String str) {
|
||
super(str);
|
||
}
|
||
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: ヌ */
|
||
public final String mo1313() {
|
||
int i = f1215 + 67;
|
||
f1216 = i % 128;
|
||
int i2 = i % 2;
|
||
String mo1338 = mo1338();
|
||
if (mo1338 == null) {
|
||
return null;
|
||
}
|
||
String str = mo1338.split(m2082("䤼㡀䦃쾟", "袂", "%ᴯ竓乣", (char) (25467 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), (-753062144) - View.MeasureSpec.getMode(0)).intern())[1];
|
||
int i3 = f1216 + 113;
|
||
f1215 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return str;
|
||
}
|
||
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: k */
|
||
public final String mo1338() {
|
||
int i = f1215 + 115;
|
||
f1216 = i % 128;
|
||
if (i % 2 == 0) {
|
||
throw null;
|
||
}
|
||
if (this.f1221 == null) {
|
||
String m2070 = m2070();
|
||
this.f1221 = m2070;
|
||
m1337(m2070);
|
||
}
|
||
String str = this.f1221;
|
||
int i2 = f1215 + 77;
|
||
f1216 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
return str;
|
||
}
|
||
|
||
/* renamed from: ﱡ, reason: contains not printable characters */
|
||
private static String m2070() {
|
||
int i = f1216 + 9;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
Class m2069 = m2069();
|
||
hr.m2880().m2883();
|
||
try {
|
||
Iterator<Field> it = hr.m2880().m2883().m2868(m2069, ho.m2862().m2808(String.class).m2810(8).m2811(16).m2809()).iterator();
|
||
while (it.hasNext()) {
|
||
int i3 = f1216 + 31;
|
||
f1215 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
String str = (String) it.next().get(null);
|
||
if (!str.startsWith(m2082("䤼㡀䦃쾟", "⢟쒸쫫\udae9㟮燐ﺨ\uf6bc鉮稵㚓〒", "藸ॎ\ue23e땖", (char) (1 - (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1))), Color.rgb(0, 0, 0) + 16777216).intern())) {
|
||
int i5 = f1216 + 3;
|
||
f1215 = i5 % 128;
|
||
int i6 = i5 % 2;
|
||
if (str.startsWith(m2082("䤼㡀䦃쾟", "髭紅\uddcd䳭롖旦똑\ue614銱\udc00朖", "튮\ud946ᮑ漩", (char) (ViewCompat.MEASURED_STATE_MASK - Color.rgb(0, 0, 0)), TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 1848031533).intern())) {
|
||
}
|
||
}
|
||
return str.split(m2081("럾", 51720 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))).intern())[0];
|
||
}
|
||
} catch (Exception unused) {
|
||
}
|
||
int i7 = f1216 + 75;
|
||
f1215 = i7 % 128;
|
||
int i8 = i7 % 2;
|
||
return null;
|
||
}
|
||
|
||
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
||
/* JADX WARN: Code restructure failed: missing block: B:114:0x037b, code lost:
|
||
|
||
if (r18.equals(m2081("랦\ueebdֆ벮폯ૃꄡ\ud803缑陯촍摏骰㆜棵迹⛛嵬\uf42e⬙䈧殺၊뚺\ued8aҖ믶틿तꀼ육繥镀책把馃ろ埿軙┭尩\uf313", 22807 - android.view.View.combineMeasuredStates(0, 0)).intern()) != false) goto L41;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:122:0x03cd, code lost:
|
||
|
||
if ((!r18.equals(m2081("랓\uf06d㠑怵\ua8dd탱", 18398 - (android.media.AudioTrack.getMaxVolume() > 0.0f ? 1 : (android.media.AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))).intern())) != false) goto L116;
|
||
*/
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: ヌ */
|
||
/*
|
||
Code decompiled incorrectly, please refer to instructions dump.
|
||
To view partially-correct add '--show-bad-code' argument
|
||
*/
|
||
public final java.lang.Class mo1312(java.lang.String r18) {
|
||
/*
|
||
Method dump skipped, instructions count: 1484
|
||
To view this dump add '--comments-level debug' option
|
||
*/
|
||
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.cd.mo1312(java.lang.String):java.lang.Class");
|
||
}
|
||
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: ﻐ */
|
||
public final Map<String, bb.a> mo1311() {
|
||
HashMap hashMap = new HashMap();
|
||
hashMap.put(m2081("랢뗿댏낈뻕뱿릜ꜹꕐꋷꀝ궤", (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + IronSourceError.ERROR_BN_INSTANCE_INIT_TIMEOUT).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.cd.3
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return cd.m2077((Repository) list.get(0), (String) list.get(1));
|
||
}
|
||
});
|
||
hashMap.put(m2082("䤼㡀䦃쾟", "䚙缍\uee5c张잳簍赔茶\uf23e⥁ꘞ\uedceཟ턺", "\u0893䣬\u197fꀢ", (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 8729), Color.blue(0)).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.cd.4
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return Boolean.valueOf(cd.m2075((Placement) list.get(0)));
|
||
}
|
||
});
|
||
hashMap.put(m2082("䤼㡀䦃쾟", "髮㨇\ueb02\ue790躷䄲꿾慦眉ɹऔ⪞쐕", "腎㵄\u2d78顛", (char) (23341 - View.getDefaultSize(0, 0)), 2017281153 - Color.alpha(0)).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.cd.5
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return cd.m2078((Advertisement) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2081("랢\ud943橷אָన鷇⻧뾑살剙\ue375", 28386 - ((byte) KeyEvent.getModifierMetaStateMask())).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.cd.1
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return cd.m2080((Advertisement) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2082("䤼㡀䦃쾟", "\ue1b1襹ﯪゆ珷肕聤䬽紀米◬輀\uf198屬瘳㊱\u0ea4偤共", "빼䛘숾\ue63d", (char) (15810 - TextUtils.getCapsMode("", 0, 0)), 1044830399 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.cd.2
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return cd.m2076((Advertisement) list.get(0));
|
||
}
|
||
});
|
||
int i = f1215 + 101;
|
||
f1216 = i % 128;
|
||
int i2 = i % 2;
|
||
return hashMap;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static boolean m2073(Placement placement) {
|
||
int i = f1215 + 13;
|
||
f1216 = i % 128;
|
||
if (i % 2 == 0) {
|
||
placement.isIncentivized();
|
||
throw null;
|
||
}
|
||
boolean isIncentivized = placement.isIncentivized();
|
||
int i2 = f1216 + 63;
|
||
f1215 = i2 % 128;
|
||
if (i2 % 2 == 0) {
|
||
return isIncentivized;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static String m2074(Advertisement advertisement) {
|
||
int i = f1216 + 89;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
String adMarketId = advertisement.getAdMarketId();
|
||
if (i2 != 0) {
|
||
int i3 = 21 / 0;
|
||
}
|
||
int i4 = f1215 + 55;
|
||
f1216 = i4 % 128;
|
||
if (i4 % 2 != 0) {
|
||
return adMarketId;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static String m2072(Advertisement advertisement) {
|
||
int i = f1216 + 75;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
String campaign = advertisement.getCampaign();
|
||
int i3 = f1216 + 101;
|
||
f1215 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return campaign;
|
||
}
|
||
|
||
/* renamed from: ﱡ, reason: contains not printable characters */
|
||
private static Map<String, String> m2071(Advertisement advertisement) {
|
||
int i = f1216 + 65;
|
||
f1215 = i % 128;
|
||
int i2 = i % 2;
|
||
Map<String, String> downloadableUrls = advertisement.getDownloadableUrls();
|
||
int i3 = f1216 + 11;
|
||
f1215 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
return downloadableUrls;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static Class m2069() {
|
||
int i = f1215 + 83;
|
||
int i2 = i % 128;
|
||
f1216 = i2;
|
||
int i3 = i % 2;
|
||
int i4 = i2 + 97;
|
||
f1215 = i4 % 128;
|
||
if (i4 % 2 != 0) {
|
||
int i5 = 12 / 0;
|
||
}
|
||
return VungleApiClient.class;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static Placement m2079(Repository repository, String str) {
|
||
int i = f1215 + 61;
|
||
f1216 = i % 128;
|
||
int i2 = i % 2;
|
||
Placement placement = (Placement) repository.load(str, Placement.class).get();
|
||
int i3 = f1215 + 63;
|
||
f1216 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
return placement;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static String m2082(String str, String str2, String str3, char c, int i) {
|
||
String str4;
|
||
char[] cArr = str3;
|
||
if (str3 != null) {
|
||
cArr = str3.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
char[] cArr3 = str2;
|
||
if (str2 != null) {
|
||
cArr3 = str2.toCharArray();
|
||
}
|
||
char[] cArr4 = cArr3;
|
||
char[] cArr5 = str;
|
||
if (str != null) {
|
||
cArr5 = str.toCharArray();
|
||
}
|
||
char[] cArr6 = cArr5;
|
||
synchronized (j.f2584) {
|
||
try {
|
||
char[] cArr7 = (char[]) cArr2.clone();
|
||
char[] cArr8 = (char[]) cArr6.clone();
|
||
cArr7[0] = (char) (c ^ cArr7[0]);
|
||
cArr8[2] = (char) (cArr8[2] + ((char) i));
|
||
int length = cArr4.length;
|
||
char[] cArr9 = new char[length];
|
||
j.f2582 = 0;
|
||
while (true) {
|
||
int i2 = j.f2582;
|
||
if (i2 < length) {
|
||
int i3 = (i2 + 2) % 4;
|
||
int i4 = (i2 + 3) % 4;
|
||
int i5 = cArr7[i2 % 4] * 32718;
|
||
char c2 = cArr8[i3];
|
||
char c3 = (char) ((i5 + c2) % SupportMenu.USER_MASK);
|
||
j.f2583 = c3;
|
||
cArr8[i4] = (char) (((cArr7[i4] * 32718) + c2) / SupportMenu.USER_MASK);
|
||
cArr7[i4] = c3;
|
||
int i6 = j.f2582;
|
||
cArr9[i6] = (char) ((((c3 ^ cArr4[i6]) ^ f1218) ^ f1217) ^ f1219);
|
||
j.f2582 = i6 + 1;
|
||
} else {
|
||
str4 = new String(cArr9);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str4;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static String m2081(String str, int i) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (f.f1920) {
|
||
try {
|
||
f.f1919 = i;
|
||
char[] cArr3 = new char[cArr2.length];
|
||
f.f1921 = 0;
|
||
while (true) {
|
||
int i2 = f.f1921;
|
||
if (i2 < cArr2.length) {
|
||
cArr3[i2] = (char) ((cArr2[i2] ^ (f.f1919 * i2)) ^ f1220);
|
||
f.f1921++;
|
||
} else {
|
||
str2 = new String(cArr3);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
}
|