- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
335 lines
13 KiB
Java
335 lines
13 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.graphics.Color;
|
||
import android.os.Handler;
|
||
import android.os.HandlerThread;
|
||
import android.os.Looper;
|
||
import android.os.Process;
|
||
import android.os.SystemClock;
|
||
import android.text.TextUtils;
|
||
import android.view.View;
|
||
import android.view.ViewConfiguration;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public class t {
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static int f2926 = 0;
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static char f2927 = 0;
|
||
|
||
/* renamed from: ﻏ, reason: contains not printable characters */
|
||
private static int f2928 = 1;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static Handler f2929;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static char f2930;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static char f2931;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private static final Handler f2932;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static char f2933;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static void m3510() {
|
||
f2933 = (char) 62181;
|
||
f2931 = (char) 61632;
|
||
f2927 = (char) 62736;
|
||
f2930 = (char) 2014;
|
||
}
|
||
|
||
static {
|
||
m3510();
|
||
f2932 = new Handler(Looper.getMainLooper());
|
||
int i = f2928 + 31;
|
||
f2926 = i % 128;
|
||
if (i % 2 != 0) {
|
||
throw null;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public static Handler m3505() {
|
||
int i = f2926 + 45;
|
||
int i2 = i % 128;
|
||
f2928 = i2;
|
||
int i3 = i % 2;
|
||
Handler handler = f2932;
|
||
int i4 = i2 + 3;
|
||
f2926 = i4 % 128;
|
||
if (i4 % 2 != 0) {
|
||
int i5 = 15 / 0;
|
||
}
|
||
return handler;
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static void m3514(io ioVar) {
|
||
int i = f2926 + 69;
|
||
f2928 = i % 128;
|
||
int i2 = i % 2;
|
||
if (m3508()) {
|
||
int i3 = f2928 + 95;
|
||
f2926 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
ioVar.run();
|
||
return;
|
||
}
|
||
m3511(ioVar);
|
||
int i5 = f2928 + 117;
|
||
f2926 = i5 % 128;
|
||
int i6 = i5 % 2;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public static void m3511(io ioVar) {
|
||
int i = f2928 + 77;
|
||
f2926 = i % 128;
|
||
int i2 = i % 2;
|
||
try {
|
||
m3505().post(ioVar);
|
||
int i3 = f2928 + 81;
|
||
f2926 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
} catch (Error unused) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", 11 - TextUtils.lastIndexOf("", '0')).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻總\uf0c9䀘㍜攼倱衃솯닭煌꽷ﻍ\ue1e6ꕜ๙깼됭兊肰阌", TextUtils.lastIndexOf("", '0', 0, 0) + 30).intern(), false);
|
||
}
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
public static void m3507(io ioVar, long j) {
|
||
int i = f2926 + 117;
|
||
f2928 = i % 128;
|
||
try {
|
||
if (i % 2 != 0) {
|
||
m3505().postDelayed(ioVar, j);
|
||
int i2 = f2928 + 57;
|
||
f2926 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
return;
|
||
}
|
||
m3505().postDelayed(ioVar, j);
|
||
throw null;
|
||
} catch (Error unused) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", TextUtils.indexOf((CharSequence) "", '0') + 13).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻總\uf0c9䀘㍜\uf151\ufdd8ᗖ\ua4cdꍅ涸㝅\ud851攼倱衃솯닭煌꽷ﻍ\ue1e6ꕜ๙깼됭兊肰阌", (Process.myPid() >> 22) + 37).intern(), false);
|
||
}
|
||
}
|
||
|
||
/* JADX WARN: Code restructure failed: missing block: B:10:0x0027, code lost:
|
||
|
||
m3513().post(r3);
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:11:0x002e, code lost:
|
||
|
||
return;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:13:0x002f, code lost:
|
||
|
||
com.ironsource.adqualitysdk.sdk.i.l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", 12 - (android.view.ViewConfiguration.getScrollBarSize() >> 8)).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻꽡鏔㸢ᅠ꽷ﻍ\ud9b8横㲺쭫目愅章\u1cbbᕰ賗啻‖擊窑푪\uf3a3瞪\udb72\uf265\uaa37", 36 - android.graphics.Color.green(0)).intern(), false);
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:14:0x0054, code lost:
|
||
|
||
return;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:16:0x001b, code lost:
|
||
|
||
if (m3508() != false) goto L9;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
|
||
|
||
if (m3508() != false) goto L9;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:5:0x0055, code lost:
|
||
|
||
r3.run();
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:6:0x0058, code lost:
|
||
|
||
return;
|
||
*/
|
||
/* JADX WARN: Code restructure failed: missing block: B:8:0x001d, code lost:
|
||
|
||
r0 = com.ironsource.adqualitysdk.sdk.i.t.f2928 + 7;
|
||
com.ironsource.adqualitysdk.sdk.i.t.f2926 = r0 % 128;
|
||
r0 = r0 % 2;
|
||
*/
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
/*
|
||
Code decompiled incorrectly, please refer to instructions dump.
|
||
To view partially-correct add '--show-bad-code' argument
|
||
*/
|
||
public static void m3512(com.ironsource.adqualitysdk.sdk.i.io r3) {
|
||
/*
|
||
int r0 = com.ironsource.adqualitysdk.sdk.i.t.f2926
|
||
int r0 = r0 + 109
|
||
int r1 = r0 % 128
|
||
com.ironsource.adqualitysdk.sdk.i.t.f2928 = r1
|
||
int r0 = r0 % 2
|
||
r1 = 0
|
||
if (r0 != 0) goto L17
|
||
boolean r0 = m3508()
|
||
r2 = 43
|
||
int r2 = r2 / r1
|
||
if (r0 == 0) goto L55
|
||
goto L1d
|
||
L17:
|
||
boolean r0 = m3508()
|
||
if (r0 == 0) goto L55
|
||
L1d:
|
||
int r0 = com.ironsource.adqualitysdk.sdk.i.t.f2928
|
||
int r0 = r0 + 7
|
||
int r2 = r0 % 128
|
||
com.ironsource.adqualitysdk.sdk.i.t.f2926 = r2
|
||
int r0 = r0 % 2
|
||
android.os.Handler r0 = m3513() // Catch: java.lang.Error -> L2f
|
||
r0.post(r3) // Catch: java.lang.Error -> L2f
|
||
return
|
||
L2f:
|
||
int r3 = android.view.ViewConfiguration.getScrollBarSize()
|
||
int r3 = r3 >> 8
|
||
int r3 = 12 - r3
|
||
java.lang.String r0 = "ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ"
|
||
java.lang.String r3 = m3509(r0, r3)
|
||
java.lang.String r3 = r3.intern()
|
||
int r0 = android.graphics.Color.green(r1)
|
||
int r0 = 36 - r0
|
||
java.lang.String r2 = "侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻꽡鏔㸢ᅠ꽷ﻍ\ud9b8横㲺쭫目愅章\u1cbbᕰ賗啻‖擊窑푪\uf3a3瞪\udb72\uf265\uaa37"
|
||
java.lang.String r0 = m3509(r2, r0)
|
||
java.lang.String r0 = r0.intern()
|
||
com.ironsource.adqualitysdk.sdk.i.l.m3429(r3, r0, r1)
|
||
return
|
||
L55:
|
||
r3.run()
|
||
return
|
||
*/
|
||
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.t.m3512(com.ironsource.adqualitysdk.sdk.i.io):void");
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
public static void m3506(io ioVar) {
|
||
int i = f2928 + 117;
|
||
f2926 = i % 128;
|
||
int i2 = i % 2;
|
||
try {
|
||
m3513().post(ioVar);
|
||
int i3 = f2926 + 85;
|
||
f2928 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
} catch (Error unused) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", TextUtils.getCapsMode("", 0, 0) + 12).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻꽡鏔㸢ᅠ꽷ﻍ\ud9b8横㲺쭫目愅章\u1cbbᕰ賗啻‖擊窑푪\uf3a3瞪\udb72\uf265\uaa37", 36 - Color.alpha(0)).intern(), false);
|
||
}
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static void m3515(io ioVar, long j) {
|
||
int i = f2926 + 87;
|
||
f2928 = i % 128;
|
||
try {
|
||
if (i % 2 != 0) {
|
||
m3513().postDelayed(ioVar, j);
|
||
int i2 = f2928 + 109;
|
||
f2926 = i2 % 128;
|
||
if (i2 % 2 != 0) {
|
||
throw null;
|
||
}
|
||
return;
|
||
}
|
||
m3513().postDelayed(ioVar, j);
|
||
throw null;
|
||
} catch (Error unused) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", 12 - (ViewConfiguration.getScrollDefaultDelay() >> 16)).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻꽡鏔㸢ᅠ꽷ﻍ\ud9b8横㲺쭫目愅章\u1cbbᕰ賗啻‖擊窑푪\uf3a3瞪\udb72\uf265\uaa37", View.combineMeasuredStates(0, 0) + 36).intern(), false);
|
||
}
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public static Handler m3513() {
|
||
synchronized (t.class) {
|
||
if (f2929 == null) {
|
||
try {
|
||
HandlerThread handlerThread = new HandlerThread(m3509("\uf6adᎯ緮\uf2da抿⑾\uf332ꢑི\ueb44", (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 9).intern());
|
||
for (int i = 0; i < 3; i++) {
|
||
try {
|
||
handlerThread.start();
|
||
Handler handler = new Handler(handlerThread.getLooper());
|
||
f2929 = handler;
|
||
return handler;
|
||
} catch (Error unused) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", 12 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻䢈酶됭兊璭\ue14f棯㑦⨹厓韧芋껷촑系貪팠ꪶꪚ邊啻‖鞰攻\ue0a2콭\ufe1aถ炘썹戀錐꽷ﻍڣ㼮죔헂", 48 - View.resolveSize(0, 0)).intern(), true);
|
||
}
|
||
}
|
||
} catch (Error unused2) {
|
||
l.m3429(m3509("ᐊ\uefa2䧠䈝耚릃鉣퍭럲ᣧ켂ᴊ", View.MeasureSpec.makeMeasureSpec(0, 0) + 12).intern(), m3509("侂⯍䳠㨱㝅\ud851\ue1e6ꕜ럒⡻䢈酶됭兊璭\ue14f棯㑦⨹厓韧芋껷촑系貪팠ꪶꪚ邊啻‖鞰攻爆Ы", (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 34).intern(), true);
|
||
}
|
||
}
|
||
return f2929;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static boolean m3508() {
|
||
int i = f2926 + 101;
|
||
f2928 = i % 128;
|
||
if (i % 2 == 0) {
|
||
Looper.myLooper();
|
||
Looper.getMainLooper();
|
||
throw null;
|
||
}
|
||
if (Looper.myLooper() != Looper.getMainLooper()) {
|
||
return false;
|
||
}
|
||
int i2 = f2926 + 103;
|
||
f2928 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
return true;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static String m3509(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) + f2933)) ^ ((c2 >>> 5) + f2927)));
|
||
cArr4[1] = c3;
|
||
cArr4[0] = (char) (c2 - (((c3 >>> 5) + f2931) ^ ((c3 + i3) ^ ((c3 << 4) + f2930))));
|
||
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;
|
||
}
|
||
}
|