- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
473 lines
18 KiB
Java
473 lines
18 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.graphics.Color;
|
||
import android.graphics.drawable.Drawable;
|
||
import android.os.Process;
|
||
import android.text.TextUtils;
|
||
import android.view.Gravity;
|
||
import android.view.View;
|
||
import android.view.ViewConfiguration;
|
||
import com.ironsource.adqualitysdk.sdk.i.bb;
|
||
import com.tapjoy.TJPlacement;
|
||
import com.tapjoy.TJPlacementData;
|
||
import com.tapjoy.TJPlacementListener;
|
||
import com.tapjoy.TJPlacementVideoListener;
|
||
import com.tapjoy.TJSplitWebView;
|
||
import com.tapjoy.Tapjoy;
|
||
import java.util.HashMap;
|
||
import java.util.List;
|
||
import java.util.Map;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public final class ca extends bb {
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static int f1164 = 0;
|
||
|
||
/* renamed from: ﻏ, reason: contains not printable characters */
|
||
private static int f1165 = 1;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static char f1166 = 34538;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static char f1167 = 36155;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static char f1168 = 47474;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static char f1169 = 32777;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static int f1170 = 12;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2019(TJPlacement tJPlacement) {
|
||
int i = f1165 + 51;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2023 = m2023(tJPlacement);
|
||
int i3 = f1165 + 87;
|
||
f1164 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
int i4 = 31 / 0;
|
||
}
|
||
return m2023;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2020(TJPlacementData tJPlacementData) {
|
||
int i = f1165 + 77;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2024 = m2024(tJPlacementData);
|
||
int i3 = f1164 + 45;
|
||
f1165 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return m2024;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2021(TJSplitWebView tJSplitWebView) {
|
||
int i = f1164 + 51;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2034 = m2034(tJSplitWebView);
|
||
if (i2 == 0) {
|
||
int i3 = 74 / 0;
|
||
}
|
||
int i4 = f1165 + 89;
|
||
f1164 = i4 % 128;
|
||
if (i4 % 2 == 0) {
|
||
return m2034;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2027(TJPlacementData tJPlacementData) {
|
||
int i = f1164 + 55;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2018 = m2018(tJPlacementData);
|
||
int i3 = f1165 + 25;
|
||
f1164 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
int i4 = 59 / 0;
|
||
}
|
||
return m2018;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static /* synthetic */ void m2028(TJPlacement tJPlacement, TJPlacementVideoListener tJPlacementVideoListener) {
|
||
int i = f1164 + 71;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
m2022(tJPlacement, tJPlacementVideoListener);
|
||
if (i2 == 0) {
|
||
int i3 = 84 / 0;
|
||
}
|
||
int i4 = f1164 + 115;
|
||
f1165 = i4 % 128;
|
||
if (i4 % 2 == 0) {
|
||
throw null;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public static /* synthetic */ TJPlacementListener m2029(TJPlacement tJPlacement) {
|
||
int i = f1165 + 85;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
TJPlacementListener m2026 = m2026(tJPlacement);
|
||
int i3 = f1164 + 61;
|
||
f1165 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return m2026;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static /* synthetic */ TJPlacementVideoListener m2032(TJPlacement tJPlacement) {
|
||
int i = f1165 + 73;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
TJPlacementVideoListener m2017 = m2017(tJPlacement);
|
||
if (i2 != 0) {
|
||
int i3 = 10 / 0;
|
||
}
|
||
return m2017;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static /* synthetic */ String m2033(TJPlacementData tJPlacementData) {
|
||
int i = f1165 + 59;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
String m2030 = m2030(tJPlacementData);
|
||
if (i2 != 0) {
|
||
int i3 = 27 / 0;
|
||
}
|
||
return m2030;
|
||
}
|
||
|
||
public ca(String str) {
|
||
super(str);
|
||
}
|
||
|
||
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
||
/* JADX WARN: Code restructure failed: missing block: B:57:0x0167, code lost:
|
||
|
||
if (r19.equals(m2025("䔿⪙ʂ眜섴ஒ䣪䢆\uf2cb\uf8d0籠ޤ줲\udf21緱疰⥭刋弗㋤羄㗛流ꃵ왵㜙太崧", android.view.KeyEvent.getDeadChar(0, 0) + 27).intern()) != false) goto L94;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:79:0x029c, code lost:
|
||
|
||
if (r19.equals(m2031(false, "\r\r\u0000\t\ufffe\u0014\uffe7\u0004\u000e\u000f\u0000\t\u0000\r\uffef¥ᅵ\u0012\r\uffff\uffde\u0010", (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16) + 113, 23 - android.graphics.Color.red(0), android.text.TextUtils.lastIndexOf("", '0', 0) + 15).intern()) != false) goto L58;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:80:0x029e, code lost:
|
||
|
||
r2 = r4;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:85:0x02db, code lost:
|
||
|
||
if (r19.equals(m2025("멎뚵ꭚ䀋좺\ued1d왵㜙", android.widget.ExpandableListView.getPackedPositionGroup(0) + 8).intern()) != false) goto L58;
|
||
*/
|
||
@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 r19) {
|
||
/*
|
||
Method dump skipped, instructions count: 1272
|
||
To view this dump add '--comments-level debug' option
|
||
*/
|
||
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.ca.mo1312(java.lang.String):java.lang.Class");
|
||
}
|
||
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: ヌ */
|
||
public final String mo1313() {
|
||
String version;
|
||
int i = f1165 + 123;
|
||
f1164 = i % 128;
|
||
if (i % 2 != 0) {
|
||
version = Tapjoy.getVersion();
|
||
int i2 = 79 / 0;
|
||
} else {
|
||
version = Tapjoy.getVersion();
|
||
}
|
||
int i3 = f1165 + 119;
|
||
f1164 = i3 % 128;
|
||
if (i3 % 2 != 0) {
|
||
int i4 = 94 / 0;
|
||
}
|
||
return version;
|
||
}
|
||
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb
|
||
/* renamed from: ﻐ */
|
||
public final Map<String, bb.a> mo1311() {
|
||
HashMap hashMap = new HashMap();
|
||
hashMap.put(m2025("秋閫隿啪젥縂쬓ꁅ䚽남ໃ㙦⛘ᎆ䚽남", 16 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.4
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2020((TJPlacementData) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2025("秋閫믏\uf10dᄄ룰", View.MeasureSpec.getMode(0) + 6).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.5
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2033((TJPlacementData) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2025("秋閫㐶㹷봑ﱑ컽닔﵇꼘\uf604읂᱀䖥\ue399萩", TextUtils.getOffsetAfter("", 0) + 15).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.3
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2027((TJPlacementData) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2031(true, "↑\u0010\u0001\u0003\u0001\t<EFBFBD>", TextUtils.getOffsetBefore("", 0) + 112, 7 - (Process.myPid() >> 22), 4 - Gravity.getAbsoluteGravity(0, 0)).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.2
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2019((TJPlacement) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2031(true, "\u0000 ̄\u000b\ufffe\t\u0005\u000b\n", (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 116, 11 - View.combineMeasuredStates(0, 0), TextUtils.getOffsetAfter("", 0) + 5).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.1
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2029((TJPlacement) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2031(false, "\ufffe\u000b\u0000\ufffe\r\uffef\u0002<EFBFBD>\ufffe\b¥\u0002\f\r\ufffe\u0007", View.MeasureSpec.getSize(0) + 115, 16 - Color.red(0), 2 - (Process.myPid() >> 22)).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.8
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2032((TJPlacement) list.get(0));
|
||
}
|
||
});
|
||
hashMap.put(m2031(true, "\f<EFBFBD>\u000b\n<EFBFBD>\u0006<EFBFBD>\f\u000b\u0001¦\u0007<EFBFBD>\u0001○", Process.getGidForName("") + 117, 16 - TextUtils.getOffsetAfter("", 0), Color.red(0) + 3).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.6
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
ca.m2028((TJPlacement) list.get(0), (TJPlacementVideoListener) list.get(1));
|
||
return null;
|
||
}
|
||
});
|
||
hashMap.put(m2031(false, "\r¥\ufffa\f\r○\u000b\u0005\u0000\ufffe", 115 - View.resolveSize(0, 0), Drawable.resolveOpacity(0, 0) + 10, View.MeasureSpec.getMode(0) + 8).intern(), new bb.a() { // from class: com.ironsource.adqualitysdk.sdk.i.ca.9
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.bb.a
|
||
/* renamed from: ヌ */
|
||
public final Object mo1342(List<Object> list, ch chVar) {
|
||
return ca.m2021((TJSplitWebView) list.get(0));
|
||
}
|
||
});
|
||
int i = f1164 + 89;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
return hashMap;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static String m2024(TJPlacementData tJPlacementData) {
|
||
int i = f1165 + 9;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
String placementName = tJPlacementData.getPlacementName();
|
||
if (i2 != 0) {
|
||
int i3 = 97 / 0;
|
||
}
|
||
return placementName;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static String m2030(TJPlacementData tJPlacementData) {
|
||
int i = f1164 + 113;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
String url = tJPlacementData.getUrl();
|
||
if (i2 == 0) {
|
||
int i3 = 75 / 0;
|
||
}
|
||
int i4 = f1165 + 91;
|
||
f1164 = i4 % 128;
|
||
int i5 = i4 % 2;
|
||
return url;
|
||
}
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static String m2018(TJPlacementData tJPlacementData) {
|
||
int i = f1165 + 89;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
String httpResponse = tJPlacementData.getHttpResponse();
|
||
int i3 = f1165 + 19;
|
||
f1164 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return httpResponse;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static String m2023(TJPlacement tJPlacement) {
|
||
int i = f1164 + 51;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
String name = tJPlacement.getName();
|
||
int i3 = f1165 + 37;
|
||
f1164 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
return name;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static TJPlacementListener m2026(TJPlacement tJPlacement) {
|
||
int i = f1165 + 123;
|
||
f1164 = i % 128;
|
||
int i2 = i % 2;
|
||
TJPlacementListener listener = tJPlacement.getListener();
|
||
int i3 = f1165 + 37;
|
||
f1164 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
return listener;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static TJPlacementVideoListener m2017(TJPlacement tJPlacement) {
|
||
int i = f1164 + 103;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
TJPlacementVideoListener videoListener = tJPlacement.getVideoListener();
|
||
if (i2 == 0) {
|
||
int i3 = 71 / 0;
|
||
}
|
||
return videoListener;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static void m2022(TJPlacement tJPlacement, TJPlacementVideoListener tJPlacementVideoListener) {
|
||
int i = f1164 + 79;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
tJPlacement.setVideoListener(tJPlacementVideoListener);
|
||
if (i2 == 0) {
|
||
throw null;
|
||
}
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static String m2034(TJSplitWebView tJSplitWebView) {
|
||
int i = f1164 + 23;
|
||
f1165 = i % 128;
|
||
int i2 = i % 2;
|
||
String lastUrl = tJSplitWebView.getLastUrl();
|
||
int i3 = f1164 + 45;
|
||
f1165 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return lastUrl;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static String m2025(String str, int i) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (k.f2799) {
|
||
try {
|
||
char[] cArr3 = new char[cArr2.length];
|
||
k.f2798 = 0;
|
||
char[] cArr4 = new char[2];
|
||
while (true) {
|
||
int i2 = k.f2798;
|
||
if (i2 < cArr2.length) {
|
||
cArr4[0] = cArr2[i2];
|
||
cArr4[1] = cArr2[i2 + 1];
|
||
int i3 = 58224;
|
||
for (int i4 = 0; i4 < 16; i4++) {
|
||
char c = cArr4[1];
|
||
char c2 = cArr4[0];
|
||
char c3 = (char) (c - (((c2 + i3) ^ ((c2 << 4) + f1166)) ^ ((c2 >>> 5) + f1167)));
|
||
cArr4[1] = c3;
|
||
cArr4[0] = (char) (c2 - (((c3 >>> 5) + f1168) ^ ((c3 + i3) ^ ((c3 << 4) + f1169))));
|
||
i3 -= 40503;
|
||
}
|
||
int i5 = k.f2798;
|
||
cArr3[i5] = cArr4[0];
|
||
cArr3[i5 + 1] = cArr4[1];
|
||
k.f2798 = i5 + 2;
|
||
} else {
|
||
str2 = new String(cArr3, 0, i);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static String m2031(boolean z, String str, int i, int i2, int i3) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (a.f57) {
|
||
try {
|
||
char[] cArr3 = new char[i2];
|
||
a.f56 = 0;
|
||
while (true) {
|
||
int i4 = a.f56;
|
||
if (i4 >= i2) {
|
||
break;
|
||
}
|
||
a.f54 = cArr2[i4];
|
||
cArr3[a.f56] = (char) (a.f54 + i);
|
||
int i5 = a.f56;
|
||
cArr3[i5] = (char) (cArr3[i5] - f1170);
|
||
a.f56 = i5 + 1;
|
||
}
|
||
if (i3 > 0) {
|
||
a.f55 = i3;
|
||
char[] cArr4 = new char[i2];
|
||
System.arraycopy(cArr3, 0, cArr4, 0, i2);
|
||
int i6 = a.f55;
|
||
System.arraycopy(cArr4, 0, cArr3, i2 - i6, i6);
|
||
int i7 = a.f55;
|
||
System.arraycopy(cArr4, i7, cArr3, 0, i2 - i7);
|
||
}
|
||
if (z) {
|
||
char[] cArr5 = new char[i2];
|
||
a.f56 = 0;
|
||
while (true) {
|
||
int i8 = a.f56;
|
||
if (i8 >= i2) {
|
||
break;
|
||
}
|
||
cArr5[i8] = cArr3[(i2 - i8) - 1];
|
||
a.f56 = i8 + 1;
|
||
}
|
||
cArr3 = cArr5;
|
||
}
|
||
str2 = new String(cArr3);
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
}
|