package com.ironsource.adqualitysdk.sdk.i; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Handler; import android.os.HandlerThread; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import androidx.core.internal.view.SupportMenu; import com.ironsource.adqualitysdk.sdk.i.ae; import com.ironsource.adqualitysdk.sdk.i.iy; import com.ironsource.adqualitysdk.sdk.i.je; import com.vungle.ads.internal.signals.SignalKey; import java.lang.Thread; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.PriorityQueue; import java.util.UUID; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes4.dex */ public final class af { /* renamed from: リ, reason: contains not printable characters */ private static int f125 = 1; /* renamed from: ヶ, reason: contains not printable characters */ private static boolean f126 = true; /* renamed from: 丫, reason: contains not printable characters */ private static int f127 = 0; /* renamed from: ﬤ, reason: contains not printable characters */ private static boolean f130 = true; /* renamed from: סּ, reason: contains not printable characters */ private static int f131 = 250; /* renamed from: טּ, reason: contains not printable characters */ private String f132; /* renamed from: ףּ, reason: contains not printable characters */ private p f133; /* renamed from: ﭖ, reason: contains not printable characters */ private ag f134; /* renamed from: ﭴ, reason: contains not printable characters */ private it f135; /* renamed from: ﭸ, reason: contains not printable characters */ private Context f136; /* renamed from: ﮌ, reason: contains not printable characters */ private ji f138; /* renamed from: ﱟ, reason: contains not printable characters */ private boolean f140; /* renamed from: ﱡ, reason: contains not printable characters */ private boolean f141; /* renamed from: ﺙ, reason: contains not printable characters */ private Handler f142; /* renamed from: ﻐ, reason: contains not printable characters */ private boolean f144; /* renamed from: ﻛ, reason: contains not printable characters */ private ae f145; /* renamed from: k, reason: contains not printable characters */ private iy f146; /* renamed from: ヌ, reason: contains not printable characters */ private is f147; /* renamed from: メ, reason: contains not printable characters */ private aj f148; /* renamed from: 爫, reason: contains not printable characters */ private static char[] f129 = {366, 364, 347, 349, 351, 348, 357, 296, 368, 350, 360, 358, 371, 355, 365, 362, 345, 315, 282, 290, 370, 367, 291, 323, 333, 353, 352, 361, 359, 354}; /* renamed from: 乁, reason: contains not printable characters */ private static long f128 = -6100394460430870059L; /* renamed from: ﮐ, reason: contains not printable characters */ private List f139 = new ArrayList(); /* renamed from: ﻏ, reason: contains not printable characters */ private List f143 = new ArrayList(); /* renamed from: ﮉ, reason: contains not printable characters */ private Thread.UncaughtExceptionHandler f137 = Thread.getDefaultUncaughtExceptionHandler(); /* renamed from: ﬤ, reason: contains not printable characters */ public static /* synthetic */ List m935(af afVar) { int i = f125 + 51; int i2 = i % 128; f127 = i2; int i3 = i % 2; List list = afVar.f143; int i4 = i2 + 65; f125 = i4 % 128; if (i4 % 2 != 0) { return list; } throw null; } /* renamed from: טּ, reason: contains not printable characters */ public static /* synthetic */ is m936(af afVar) { int i = f125; int i2 = i + 117; f127 = i2 % 128; int i3 = i2 % 2; is isVar = afVar.f147; int i4 = i + 89; f127 = i4 % 128; int i5 = i4 % 2; return isVar; } /* renamed from: ﭖ, reason: contains not printable characters */ public static /* synthetic */ int m937(af afVar) { int i = f127 + 41; f125 = i % 128; if (i % 2 == 0) { afVar.m939(); throw null; } int m939 = afVar.m939(); int i2 = f127 + 113; f125 = i2 % 128; int i3 = i2 % 2; return m939; } /* renamed from: ﭴ, reason: contains not printable characters */ public static /* synthetic */ aj m940(af afVar) { int i = f127 + 51; int i2 = i % 128; f125 = i2; int i3 = i % 2; aj ajVar = afVar.f148; int i4 = i2 + 19; f127 = i4 % 128; if (i4 % 2 == 0) { return ajVar; } throw null; } /* renamed from: ﭸ, reason: contains not printable characters */ public static /* synthetic */ iy m941(af afVar) { int i = f127 + 83; int i2 = i % 128; f125 = i2; int i3 = i % 2; iy iyVar = afVar.f146; int i4 = i2 + 43; f127 = i4 % 128; if (i4 % 2 == 0) { return iyVar; } throw null; } /* renamed from: ﮉ, reason: contains not printable characters */ public static /* synthetic */ ae m943(af afVar) { int i = f127 + 23; f125 = i % 128; int i2 = i % 2; ae aeVar = afVar.f145; if (i2 != 0) { return aeVar; } throw null; } /* renamed from: ﮌ, reason: contains not printable characters */ public static /* synthetic */ String m946(af afVar) { int i = f125 + 69; f127 = i % 128; int i2 = i % 2; String m938 = afVar.m938(); int i3 = f127 + 21; f125 = i3 % 128; if (i3 % 2 == 0) { int i4 = 7 / 0; } return m938; } /* renamed from: ﮐ, reason: contains not printable characters */ public static /* synthetic */ void m948(af afVar) { int i = f127 + 33; f125 = i % 128; int i2 = i % 2; afVar.m942(); int i3 = f127 + 33; f125 = i3 % 128; if (i3 % 2 == 0) { throw null; } } /* renamed from: ﱟ, reason: contains not printable characters */ public static /* synthetic */ Handler m949(af afVar) { int i = f125; int i2 = i + 121; f127 = i2 % 128; int i3 = i2 % 2; Handler handler = afVar.f142; int i4 = i + 99; f127 = i4 % 128; int i5 = i4 % 2; return handler; } /* renamed from: ﱡ, reason: contains not printable characters */ public static /* synthetic */ void m952(af afVar) { int i = f127 + 63; f125 = i % 128; int i2 = i % 2; afVar.m968(true); } /* renamed from: ﺙ, reason: contains not printable characters */ public static /* synthetic */ void m953(af afVar) { int i = f125 + 117; f127 = i % 128; int i2 = i % 2; afVar.m947(); int i3 = f127 + 89; f125 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ﻏ, reason: contains not printable characters */ public static /* synthetic */ void m956(af afVar) { int i = f125 + 9; f127 = i % 128; int i2 = i % 2; afVar.m974(false); int i3 = f125 + 21; f127 = i3 % 128; if (i3 % 2 != 0) { int i4 = 10 / 0; } } /* renamed from: ﻐ, reason: contains not printable characters */ public static /* synthetic */ p m957(af afVar) { int i = f127 + 109; f125 = i % 128; int i2 = i % 2; p pVar = afVar.f133; if (i2 == 0) { int i3 = 22 / 0; } return pVar; } /* renamed from: ﻛ, reason: contains not printable characters */ public static /* synthetic */ void m961(af afVar) { int i = f125 + 33; f127 = i % 128; int i2 = i % 2; afVar.m978(false); int i3 = f127 + 23; f125 = i3 % 128; if (i3 % 2 == 0) { throw null; } } /* renamed from: ﻛ, reason: contains not printable characters */ public static /* synthetic */ boolean m963(af afVar, int i) { int i2 = f127 + 13; f125 = i2 % 128; int i3 = i2 % 2; boolean m969 = afVar.m969(i); int i4 = f127 + 13; f125 = i4 % 128; if (i4 % 2 != 0) { return m969; } throw null; } /* renamed from: k, reason: contains not printable characters */ public static /* synthetic */ ag m966(af afVar) { int i = f127; int i2 = i + 101; f125 = i2 % 128; int i3 = i2 % 2; ag agVar = afVar.f134; if (i3 == 0) { throw null; } int i4 = i + 83; f125 = i4 % 128; if (i4 % 2 != 0) { return agVar; } throw null; } /* renamed from: ヌ, reason: contains not printable characters */ public static /* synthetic */ Thread.UncaughtExceptionHandler m971(af afVar) { int i = f125 + 49; int i2 = i % 128; f127 = i2; int i3 = i % 2; Thread.UncaughtExceptionHandler uncaughtExceptionHandler = afVar.f137; if (i3 != 0) { throw null; } int i4 = i2 + 85; f125 = i4 % 128; int i5 = i4 % 2; return uncaughtExceptionHandler; } /* renamed from: ヌ, reason: contains not printable characters */ public static /* synthetic */ void m972(af afVar, List list, iu iuVar) { int i = f125 + 75; f127 = i % 128; int i2 = i % 2; afVar.m977((List) list, iuVar); int i3 = f127 + 41; f125 = i3 % 128; int i4 = i3 % 2; } /* renamed from: メ, reason: contains not printable characters */ public static /* synthetic */ void m975(af afVar) { int i = f125 + 13; f127 = i % 128; int i2 = i % 2; afVar.m951(); int i3 = f125 + 109; f127 = i3 % 128; int i4 = i3 % 2; } /* renamed from: メ, reason: contains not printable characters */ public static /* synthetic */ void m976(af afVar, JSONObject jSONObject, io ioVar) { int i = f125 + 75; f127 = i % 128; int i2 = i % 2; afVar.m962(jSONObject, ioVar); if (i2 != 0) { throw null; } int i3 = f125 + 53; f127 = i3 % 128; if (i3 % 2 != 0) { throw null; } } /* renamed from: メ, reason: contains not printable characters */ public static /* synthetic */ boolean m979(af afVar, ah ahVar) { int i = f127 + 103; f125 = i % 128; int i2 = i % 2; boolean m964 = afVar.m964(ahVar); int i3 = f127 + 95; f125 = i3 % 128; if (i3 % 2 == 0) { int i4 = 21 / 0; } return m964; } public af(Context context, al alVar, aj ajVar, boolean z, String str, p pVar) { this.f133 = pVar; Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { // from class: com.ironsource.adqualitysdk.sdk.i.af.4 /* renamed from: ﱡ, reason: contains not printable characters */ private static int f169 = 1; /* renamed from: ﻐ, reason: contains not printable characters */ private static char f170 = 0; /* renamed from: k, reason: contains not printable characters */ private static long f171 = 0; /* renamed from: ヌ, reason: contains not printable characters */ private static int f172 = 0; /* renamed from: メ, reason: contains not printable characters */ private static int f173 = 1950123647; @Override // java.lang.Thread.UncaughtExceptionHandler public final void uncaughtException(Thread thread, Throwable th) { int i = f172 + 121; f169 = i % 128; int i2 = i % 2; jw.m3314(m997("\u0000\u0000\u0000\u0000", "鑕싻ꕋ\ue616ㆨ㈱靋\u0b46킚", "젺\udfc9ᗾᓭ", (-18888247) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0') + 1)).intern(), m997("\u0000\u0000\u0000\u0000", "朩䓖앟츙婋棌痂賓玗不\ud871畃勊냞勜軞\ue61c䒒", "鹛铉\u0bc9ྋ", View.resolveSize(0, 0), (char) (35595 - TextUtils.getOffsetBefore("", 0))).intern(), m997("\u0000\u0000\u0000\u0000", "㨪\ud91c尧댑﹍ⶱ\ueb76⸔溌", "鏙Ồ뒭ꦤ", (-1390488941) - (ViewConfiguration.getPressedStateDuration() >> 16), (char) View.MeasureSpec.getMode(0)).intern(), th); af.this.m988(); af.m971(af.this).uncaughtException(thread, th); int i3 = f172 + 49; f169 = i3 % 128; if (i3 % 2 == 0) { int i4 = 75 / 0; } } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m997(String str2, String str3, String str4, int i, char c) { String str5; char[] cArr = str4; if (str4 != null) { cArr = str4.toCharArray(); } char[] cArr2 = cArr; char[] cArr3 = str3; if (str3 != null) { cArr3 = str3.toCharArray(); } char[] cArr4 = cArr3; char[] cArr5 = str2; if (str2 != null) { cArr5 = str2.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]) ^ f171) ^ f173) ^ f170); j.f2582 = i6 + 1; } else { str5 = new String(cArr9); } } } catch (Throwable th) { throw th; } } return str5; } }); this.f148 = ajVar; this.f136 = context; je jeVar = new je(context, m958(128 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0083\u0088\u0086\u008a\u0088\u0089\u0087\u0088\u0087\u0084\u0083\u0086\u0085\u0084\u0083\u0082\u0081").intern(), m970("\udf3e\udf4d\u1ae1썛랒ї戕\uef07렆宩굁隵ᇳ닿㖲㹗\ueab6ᔝ帀ꄏ䈀涥\ue704䢣\udbee쓱྿\uf045", 1 - (ViewConfiguration.getJumpTapTimeout() >> 16)).intern()); this.f146 = new iy(m970("\u0ff4ྼ⤕\uf097ᣍꬢㇼ복棅桒ɇ앜", TextUtils.indexOf("", "", 0, 0) + 1).intern(), m970("誸諝掑먲␝韒룱㗠\ued98⊖", -((byte) KeyEvent.getModifierMetaStateMask())).intern(), jeVar); int m965 = m965(jeVar); this.f145 = new ae(context, alVar, m965, m959(jeVar), ao.m1084().mo1087()); this.f147 = new is(context); this.f144 = false; HandlerThread handlerThread = new HandlerThread(m970("\ue5d8\ue59b\ue3d2㩦ᕩꚠ醑ᲆ苩ꊫ\u0fe5攭⬓䯊靈췅큋\uec71", (TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)) + 1).intern()); handlerThread.start(); this.f142 = new Handler(handlerThread.getLooper()); this.f134 = new ag(m965); this.f140 = !z; this.f132 = str; m978(true); m950(); } /* JADX WARN: Code restructure failed: missing block: B:15:0x001b, code lost: if (r2.f142 != null) goto L12; */ /* renamed from: k, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final synchronized void m985() { /* r2 = this; monitor-enter(r2) int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 // Catch: java.lang.Throwable -> L15 int r0 = r0 + 45 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r1 // Catch: java.lang.Throwable -> L15 int r0 = r0 % 2 r1 = 0 if (r0 == 0) goto L17 r2.f144 = r1 // Catch: java.lang.Throwable -> L15 android.os.Handler r0 = r2.f142 // Catch: java.lang.Throwable -> L15 if (r0 == 0) goto L2d goto L1d L15: r0 = move-exception goto L41 L17: r2.f144 = r1 // Catch: java.lang.Throwable -> L15 android.os.Handler r0 = r2.f142 // Catch: java.lang.Throwable -> L15 if (r0 == 0) goto L2d L1d: android.os.Handler r0 = r2.f142 // Catch: java.lang.Throwable -> L15 r1 = 0 r0.removeCallbacksAndMessages(r1) // Catch: java.lang.Throwable -> L15 int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 // Catch: java.lang.Throwable -> L15 int r0 = r0 + 7 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r1 // Catch: java.lang.Throwable -> L15 int r0 = r0 % 2 L2d: com.ironsource.adqualitysdk.sdk.i.is r0 = r2.f147 // Catch: java.lang.Throwable -> L15 r0.m3065() // Catch: java.lang.Throwable -> L15 r2.m955() // Catch: java.lang.Throwable -> L15 int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 // Catch: java.lang.Throwable -> L15 int r0 = r0 + 57 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r1 // Catch: java.lang.Throwable -> L15 int r0 = r0 % 2 monitor-exit(r2) return L41: monitor-exit(r2) throw r0 */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.af.m985():void"); } /* renamed from: k, reason: contains not printable characters */ private synchronized void m968(boolean z) { int i = f127 + 37; f125 = i % 128; int i2 = i % 2; this.f144 = true; m978(true); int i3 = f127 + 125; f125 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ﻛ, reason: contains not printable characters */ public final synchronized void m984(ai aiVar) { int i = f127 + 73; f125 = i % 128; if (i % 2 == 0) { this.f139.add(aiVar); throw null; } this.f139.add(aiVar); } /* renamed from: ﻐ, reason: contains not printable characters */ public final synchronized void m981(je.a aVar) { int i = f127 + 71; f125 = i % 128; int i2 = i % 2; this.f143.add(aVar); int i3 = f125 + 31; f127 = i3 % 128; if (i3 % 2 != 0) { throw null; } } /* renamed from: ﮐ, reason: contains not printable characters */ private void m947() { if (this.f140) { int i = f127 + 83; f125 = i % 128; int i2 = i % 2; m980(); } this.f140 = false; int i3 = f127 + 35; f125 = i3 % 128; if (i3 % 2 == 0) { int i4 = 65 / 0; } } /* renamed from: ヌ, reason: contains not printable characters */ public final void m987() { this.f133.onEvent(m958(128 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), null, null, "\u008a\u008b\u0085\u0091\u008f\u008f\u0085\u008f\u0091\u0090\u0081").intern()); m982(m958(128 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), null, null, "\u008a\u008b\u0085\u0091\u008f\u008f\u0085\u008f\u0091\u0090\u0081").intern(), new JSONObject()); int i = f125 + 69; f127 = i % 128; int i2 = i % 2; } /* renamed from: ﻐ, reason: contains not printable characters */ public final void m980() { this.f133.onEvent(m958(ExpandableListView.getPackedPositionGroup(0L) + 127, null, null, "\u0081\u0082\u0083\u0081\u008f\u0091\u008f\u008f\u0085\u008f\u0091\u0090\u0081").intern()); m982(m958(127 - TextUtils.getTrimmedLength(""), null, null, "\u0081\u0082\u0083\u0081\u008f\u0091\u008f\u008f\u0085\u008f\u0091\u0090\u0081").intern(), new JSONObject()); int i = f125 + 115; f127 = i % 128; if (i % 2 != 0) { int i2 = 34 / 0; } } /* renamed from: メ, reason: contains not printable characters */ public final void m988() { try { this.f140 = true; m987(); synchronized (this) { try { Handler handler = this.f142; if (handler != null) { handler.removeCallbacksAndMessages(null); } m978(true); } finally { } } } catch (Exception e) { jw.m3315(m958(ExpandableListView.getPackedPositionType(0L) + 127, null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(), m970("ꌂꍇ\u1756컱껙ᴁ\udbaa嚺쐤噟둎⼗涊뽄⳥蟌階\u18f7䜫ᢾ㸐怒﹀\uf10eꟁ쥝ᛸ䧼좔勿", KeyEvent.keyCodeFromString("") + 1).intern(), (Throwable) e, false); } } /* renamed from: ﻛ, reason: contains not printable characters */ public static JSONObject m960(String str, String str2, String str3, String str4, JSONObject jSONObject) { JSONObject jSONObject2 = new JSONObject(); try { jSONObject2.put(m970("袳裖椥낂\ue8c3嬝\ud92a吴\uef80", (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))).intern(), str); jSONObject2.put(m970("ᛐᚵ菧婀面⒥氣\ue12f燣", View.combineMeasuredStates(0, 0) + 1).intern(), str2); jSONObject2.put(m970("擅撠ꌪ窍⎆遏뺸㎨ϵ\ue266", 1 - TextUtils.indexOf("", "", 0, 0)).intern(), str3); if (!TextUtils.isEmpty(str4)) { jSONObject2.put(m970("᚜\u16f9廊\u208f痆옟ଽ蘶熣", 1 - (ViewConfiguration.getTouchSlop() >> 8)).intern(), str4); int i = f127 + SignalKey.EVENT_ID; f125 = i % 128; int i2 = i % 2; } if (jSONObject != null) { int i3 = f127 + 123; f125 = i3 % 128; int i4 = i3 % 2; jx.m3335(jSONObject2, jSONObject); } int i5 = f125 + 93; f127 = i5 % 128; int i6 = i5 % 2; } catch (JSONException e) { l.m3428(m958(ExpandableListView.getPackedPositionGroup(0L) + 127, null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(), m970("ㄪㅯ蟔平\uea94奌섈䰘嘌웝\uf00b㖿₩⿀梨鵈Ӷ衠̀ȁ강\uf083멎\uebaa㗫姞助半媵쉼", (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1))).intern(), e); } return jSONObject2; } /* renamed from: ﻐ, reason: contains not printable characters */ public final void m982(String str, JSONObject jSONObject) { int i = f125 + 79; f127 = i % 128; int i2 = i % 2; m986(str, jSONObject, null); int i3 = f127 + 1; f125 = i3 % 128; int i4 = i3 % 2; } /* renamed from: k, reason: contains not printable characters */ public final void m986(String str, JSONObject jSONObject, JSONObject jSONObject2) { String intern = m958((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 127, null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(); StringBuilder sb = new StringBuilder(); sb.append(m970("㠊㡞檭댊\ue3b3偠\uecba憬弰⯣省\u181d\uf6cd싰憒냸\u0d98攘ਵ⾤ꔬᷭ댧영㲔듴", (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))).intern()); sb.append(str); sb.append(m970("䩵䩕镉䳫圮\ue4edố鏚ⵉ푀䶵\uea7a蒩㵆픝䋖翠髶뻮\uddc5휟", -ExpandableListView.getPackedPositionChild(0L)).intern()); l.m3433(intern, sb.toString(), jSONObject); try { if (m945().m1170().contains(str)) { String intern2 = m958(128 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(); StringBuilder sb2 = new StringBuilder(); sb2.append(m970("徺忴ཱུ훏玪쁴Ṍ錓㢝丹椺\ueafb酻Ꝧ\uf19f䉋樣Ò驩\udd59슞硰⌧㓪孪텤쯄谁㐣䫕汭\ue701賖", 1 - ((Process.getThreadPriority(0) + 20) >> 6)).intern()); sb2.append(str); sb2.append(m958((ViewConfiguration.getEdgeSlop() >> 16) + 127, null, null, "\u0097\u0082\u0085\u0089\u0082\u0085\u008f\u0093\u008d\u0086\u0093\u008a\u0085\u008a\u0096\u008c\u0084\u0095\u0085\u0094\u0093").intern()); l.m3420(intern2, sb2.toString()); int i = f125 + 83; f127 = i % 128; int i2 = i % 2; return; } String intern3 = m958(127 - (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)), null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(); StringBuilder sb3 = new StringBuilder(); sb3.append(m970("鉥鈱㒯\ued08㇙舊褐睶\uf55f痡⬇\u0ec7岢鳲돸꘢ꟷ㬚\ud85f㥾གྷ䏯慍탛雡\ueaa1觾样淋煂⸕Ͷ䅄駫뜕骋", -TextUtils.indexOf((CharSequence) "", '0', 0, 0)).intern()); sb3.append(str); l.m3420(intern3, sb3.toString()); this.f145.m929(str, jSONObject, jSONObject2, this.f147.m3066().m3086(), new ae.c() { // from class: com.ironsource.adqualitysdk.sdk.i.af.3 @Override // com.ironsource.adqualitysdk.sdk.i.ae.c public void onEventGenerated(JSONObject jSONObject3) { af.m966(af.this).m1022(jSONObject3); af.m976(af.this, jSONObject3, new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.3.2 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { af.m961(af.this); } }); } }); int i3 = f127 + 1; f125 = i3 % 128; int i4 = i3 % 2; } catch (Exception e) { jw.m3320(m958(127 - View.resolveSize(0, 0), null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(), m970("\uec1b\uec5ec⛤ઈ륐篎\uf6de謽빊ဟ轳⊓坍袿➇\ud983\uf0d7\ue358룐焥蠒", (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1))).intern(), (Throwable) e, false, false, true); } } /* renamed from: ﱡ, reason: contains not printable characters */ private void m951() { int i = f127 + 73; f125 = i % 128; int i2 = i % 2; m978(false); int i3 = f125 + 37; f127 = i3 % 128; if (i3 % 2 != 0) { throw null; } } /* renamed from: ﱟ, reason: contains not printable characters */ private void m950() { this.f135 = new it() { // from class: com.ironsource.adqualitysdk.sdk.i.af.5 @Override // com.ironsource.adqualitysdk.sdk.i.it /* renamed from: メ, reason: contains not printable characters */ public final void mo998() { af.m975(af.this); } }; this.f147.m3066().m3088(this.f135); this.f138 = new ji(new jn() { // from class: com.ironsource.adqualitysdk.sdk.i.af.2 /* renamed from: ﻐ, reason: contains not printable characters */ private static char f152 = 5; /* renamed from: ﻛ, reason: contains not printable characters */ private static int f153 = 0; /* renamed from: k, reason: contains not printable characters */ private static char[] f154 = {'a', 'c', 't', 'N', 'm', 'e', 'A', 'n', 'l', 'y', 'i', 's', 'E', 'r', 'o', ' ', 'd', 'g', 'v', 'b', 'f', 'h', 'j', 'k', 'p'}; /* renamed from: ヌ, reason: contains not printable characters */ private static int f155 = 1; /* renamed from: ﻛ, reason: contains not printable characters */ public static /* synthetic */ JSONObject m990(Activity activity) { int i = f153 + 97; f155 = i % 128; if (i % 2 != 0) { return m992(activity); } m992(activity); throw null; } @Override // com.ironsource.adqualitysdk.sdk.i.jn /* renamed from: k, reason: contains not printable characters */ public final void mo994(final Activity activity) { t.m3512(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.2.3 /* renamed from: ﻛ, reason: contains not printable characters */ private static int f157 = 1; /* renamed from: ヌ, reason: contains not printable characters */ private static int f158 = 38; /* renamed from: メ, reason: contains not printable characters */ private static int f159; @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { int i = f157 + 5; f159 = i % 128; int i2 = i % 2; af.m957(af.this).onEvent(m995(false, "\u0007\b\ufffa\u0003\ufff7\t\u0007\ufff3\u0000\u0003", 145 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), View.getDefaultSize(0, 0) + 2, 10 - View.resolveSize(0, 0)).intern()); af.this.m982(m995(false, "\u0007\b\ufffa\u0003\ufff7\t\u0007\ufff3\u0000\u0003", 146 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), Color.blue(0) + 2, 10 - (PointF.length(0.0f, 0.0f) > 0.0f ? 1 : (PointF.length(0.0f, 0.0f) == 0.0f ? 0 : -1))).intern(), AnonymousClass2.m990(activity)); int i3 = f159 + 15; f157 = i3 % 128; if (i3 % 2 == 0) { int i4 = 14 / 0; } } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m995(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[i3]; a.f56 = 0; while (true) { int i4 = a.f56; if (i4 >= i3) { break; } a.f54 = cArr2[i4]; cArr3[a.f56] = (char) (a.f54 + i); int i5 = a.f56; cArr3[i5] = (char) (cArr3[i5] - f158); a.f56 = i5 + 1; } if (i2 > 0) { a.f55 = i2; char[] cArr4 = new char[i3]; System.arraycopy(cArr3, 0, cArr4, 0, i3); int i6 = a.f55; System.arraycopy(cArr4, 0, cArr3, i3 - i6, i6); int i7 = a.f55; System.arraycopy(cArr4, i7, cArr3, 0, i3 - i7); } if (z) { char[] cArr5 = new char[i3]; a.f56 = 0; while (true) { int i8 = a.f56; if (i8 >= i3) { break; } cArr5[i8] = cArr3[(i3 - i8) - 1]; a.f56 = i8 + 1; } cArr3 = cArr5; } str2 = new String(cArr3); } catch (Throwable th) { throw th; } } return str2; } }); int i = f155 + 27; f153 = i % 128; int i2 = i % 2; } @Override // com.ironsource.adqualitysdk.sdk.i.jn /* renamed from: ﻐ, reason: contains not printable characters */ public final void mo993(final Activity activity) { t.m3512(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.2.4 /* renamed from: k, reason: contains not printable characters */ private static int f162 = 1; /* renamed from: ヌ, reason: contains not printable characters */ private static char[] f163 = {'P', 165, 164, 167, 175, 164, 163, 166, 167, 174, 172, 171, 166, 159}; /* renamed from: メ, reason: contains not printable characters */ private static int f164; @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { int i = f162 + 121; f164 = i % 128; int i2 = i % 2; af.m957(af.this).onEvent(m996("\u0001\u0001\u0000\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 14, 59, 0}).intern()); af.this.m982(m996("\u0001\u0001\u0000\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 14, 59, 0}).intern(), AnonymousClass2.m990(activity)); int i3 = f162 + 61; f164 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m996(String str, boolean z, int[] iArr) { String str2; byte[] bArr = str; if (str != null) { bArr = str.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; synchronized (g.f2033) { try { int i = iArr[0]; int i2 = iArr[1]; int i3 = iArr[2]; int i4 = iArr[3]; char[] cArr = new char[i2]; System.arraycopy(f163, i, cArr, 0, i2); if (bArr2 != null) { char[] cArr2 = new char[i2]; g.f2032 = 0; char c = 0; while (true) { int i5 = g.f2032; if (i5 >= i2) { break; } if (bArr2[i5] == 1) { cArr2[i5] = (char) (((cArr[i5] << 1) + 1) - c); } else { cArr2[i5] = (char) ((cArr[i5] << 1) - c); } c = cArr2[i5]; g.f2032 = i5 + 1; } cArr = cArr2; } if (i4 > 0) { char[] cArr3 = new char[i2]; System.arraycopy(cArr, 0, cArr3, 0, i2); int i6 = i2 - i4; System.arraycopy(cArr3, 0, cArr, i6, i4); System.arraycopy(cArr3, i4, cArr, 0, i6); } if (z) { char[] cArr4 = new char[i2]; g.f2032 = 0; while (true) { int i7 = g.f2032; if (i7 >= i2) { break; } cArr4[i7] = cArr[(i2 - i7) - 1]; g.f2032 = i7 + 1; } cArr = cArr4; } if (i3 > 0) { g.f2032 = 0; while (true) { int i8 = g.f2032; if (i8 >= i2) { break; } cArr[i8] = (char) (cArr[i8] - iArr[2]); g.f2032 = i8 + 1; } } str2 = new String(cArr); } catch (Throwable th) { throw th; } } return str2; } }); int i = f153 + 101; f155 = i % 128; if (i % 2 == 0) { throw null; } } /* renamed from: メ, reason: contains not printable characters */ private static JSONObject m992(Activity activity) { JSONObject jSONObject = new JSONObject(); try { jSONObject.put(m991(6 - TextUtils.lastIndexOf("", '0', 0), (byte) (96 - TextUtils.lastIndexOf("", '0', 0)), "\u0001\u0002\u0003\u0004\u0001\u0000Æ").intern(), activity.getClass().getName()); } catch (JSONException unused) { l.m3426(m991(10 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (byte) (Process.getGidForName("") + 95), "\u0007\b\u0003\u0005\u0007\u0004\u000b\u0000Ñ").intern(), m991((ViewConfiguration.getFadingEdgeLength() >> 16) + 26, (byte) (Color.red(0) + 106), "\r\u000e\u000e\n\n\u0012\u0001\u000f\u000f\u000b\f\u0016\u0014\u0005\u0002\u0003\r\u000f\f\u0000\u0005\u0013\u0005\u0002\u0000\t").intern()); } int i = f155 + 123; f153 = i % 128; if (i % 2 == 0) { return jSONObject; } throw null; } /* renamed from: ヌ, reason: contains not printable characters */ private static String m991(int i, byte b, String str) { String str2; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (h.f2156) { try { char[] cArr3 = f154; char c = f152; char[] cArr4 = new char[i]; if (i % 2 != 0) { i--; cArr4[i] = (char) (cArr2[i] - b); } if (i > 1) { h.f2159 = 0; while (true) { int i2 = h.f2159; if (i2 >= i) { break; } h.f2158 = cArr2[i2]; h.f2161 = cArr2[h.f2159 + 1]; if (h.f2158 == h.f2161) { cArr4[h.f2159] = (char) (h.f2158 - b); cArr4[h.f2159 + 1] = (char) (h.f2161 - b); } else { h.f2162 = h.f2158 / c; h.f2157 = h.f2158 % c; h.f2160 = h.f2161 / c; h.f2155 = h.f2161 % c; if (h.f2157 == h.f2155) { h.f2162 = ((h.f2162 + c) - 1) % c; h.f2160 = ((h.f2160 + c) - 1) % c; int i3 = (h.f2162 * c) + h.f2157; int i4 = (h.f2160 * c) + h.f2155; int i5 = h.f2159; cArr4[i5] = cArr3[i3]; cArr4[i5 + 1] = cArr3[i4]; } else if (h.f2162 == h.f2160) { h.f2157 = ((h.f2157 + c) - 1) % c; h.f2155 = ((h.f2155 + c) - 1) % c; int i6 = (h.f2162 * c) + h.f2157; int i7 = (h.f2160 * c) + h.f2155; int i8 = h.f2159; cArr4[i8] = cArr3[i6]; cArr4[i8 + 1] = cArr3[i7]; } else { int i9 = (h.f2162 * c) + h.f2155; int i10 = (h.f2160 * c) + h.f2157; int i11 = h.f2159; cArr4[i11] = cArr3[i9]; cArr4[i11 + 1] = cArr3[i10]; } } h.f2159 += 2; } } str2 = new String(cArr4); } catch (Throwable th) { throw th; } } return str2; } }); ja.m3134().m3139(new jj() { // from class: com.ironsource.adqualitysdk.sdk.i.af.7 @Override // com.ironsource.adqualitysdk.sdk.i.jj, com.ironsource.adqualitysdk.sdk.i.jf /* renamed from: k, reason: contains not printable characters */ public final void mo1004(Activity activity) { af.this.m988(); } @Override // com.ironsource.adqualitysdk.sdk.i.jj, com.ironsource.adqualitysdk.sdk.i.jf /* renamed from: ﻐ, reason: contains not printable characters */ public final void mo1003(Activity activity) { af.m953(af.this); } }); ao.m1084().mo1105(new ar() { // from class: com.ironsource.adqualitysdk.sdk.i.af.10 @Override // com.ironsource.adqualitysdk.sdk.i.ar /* renamed from: ﻛ, reason: contains not printable characters */ public final void mo989() { af.m952(af.this); } }); int i = f125 + 81; f127 = i % 128; int i2 = i % 2; } /* renamed from: ﻏ, reason: contains not printable characters */ private void m955() { int i = f125 + 47; int i2 = i % 128; f127 = i2; int i3 = i % 2; if (this.f135 != null) { int i4 = i2 + 99; f125 = i4 % 128; int i5 = i4 % 2; this.f147.m3066().m3090(this.f135); } this.f138.m3225(); this.f138 = null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x0045, code lost: if (android.text.TextUtils.isEmpty(r0) != false) goto L12; */ /* renamed from: k, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static int m965(com.ironsource.adqualitysdk.sdk.i.je r5) { /* int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 int r0 = r0 + 41 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r1 int r0 = r0 % 2 r1 = 1 java.lang.String r2 = "\u008a\u0098\u008f\u008f\u0085\u008f\u0088\u0081\u008b\u008e" r3 = 0 if (r0 == 0) goto L2d int r0 = android.view.ViewConfiguration.getTapTimeout() int r0 = r0 >> 121 int r0 = r0 * 105 java.lang.String r0 = m958(r0, r3, r3, r2) java.lang.String r0 = r0.intern() java.lang.String r0 = r5.m3199(r0) boolean r4 = android.text.TextUtils.isEmpty(r0) if (r4 != 0) goto L2b goto L48 L2b: r1 = 0 goto L57 L2d: int r0 = android.view.ViewConfiguration.getTapTimeout() int r0 = r0 >> 16 int r0 = r0 + 127 java.lang.String r0 = m958(r0, r3, r3, r2) java.lang.String r0 = r0.intern() java.lang.String r0 = r5.m3199(r0) boolean r4 = android.text.TextUtils.isEmpty(r0) if (r4 == 0) goto L48 goto L57 L48: int r0 = java.lang.Integer.parseInt(r0) int r1 = r1 + r0 int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 int r0 = r0 + 115 int r4 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r4 int r0 = r0 % 2 L57: int r0 = android.view.ViewConfiguration.getDoubleTapTimeout() int r0 = r0 >> 16 int r0 = r0 + 127 java.lang.String r0 = m958(r0, r3, r3, r2) java.lang.String r0 = r0.intern() java.lang.String r2 = java.lang.String.valueOf(r1) r5.m3202(r0, r2) return r1 */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.af.m965(com.ironsource.adqualitysdk.sdk.i.je):int"); } /* renamed from: ﻛ, reason: contains not printable characters */ public final String m983() { String m959 = m959(new je(this.f136, m958(127 - Color.red(0), null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0083\u0088\u0086\u008a\u0088\u0089\u0087\u0088\u0087\u0084\u0083\u0086\u0085\u0084\u0083\u0082\u0081").intern(), m970("\udf3e\udf4d\u1ae1썛랒ї戕\uef07렆宩굁隵ᇳ닿㖲㹗\ueab6ᔝ帀ꄏ䈀涥\ue704䢣\udbee쓱྿\uf045", ExpandableListView.getPackedPositionType(0L) + 1).intern())); int i = f127 + 63; f125 = i % 128; int i2 = i % 2; return m959; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m959(je jeVar) { int i = f127 + 13; f125 = i % 128; int i2 = i % 2; String m3199 = jeVar.m3199(m970("뉆눵\uecf3㕒哤\ue73c\ue837攡핼궽临Თ粁䓡훛둼蟛\ue377봫⬨", 1 - View.resolveSize(0, 0)).intern()); if (!TextUtils.isEmpty(m3199)) { return m3199; } int i3 = f127 + 63; f125 = i3 % 128; int i4 = i3 % 2; String obj = UUID.randomUUID().toString(); jeVar.m3202(m970("뉆눵\uecf3㕒哤\ue73c\ue837攡핼궽临Თ粁䓡훛둼蟛\ue377봫⬨", KeyEvent.normalizeMetaState(0) + 1).intern(), obj); int i5 = f125 + 3; f127 = i5 % 128; int i6 = i5 % 2; return obj; } /* renamed from: ﺙ, reason: contains not printable characters */ private synchronized boolean m954() { boolean z; int i = f125 + 119; int i2 = i % 128; f127 = i2; int i3 = i % 2; z = this.f141; int i4 = i2 + 123; f125 = i4 % 128; int i5 = i4 % 2; return z; } /* renamed from: ヌ, reason: contains not printable characters */ private synchronized void m974(boolean z) { int i = f125 + SignalKey.EVENT_ID; int i2 = i % 128; f127 = i2; int i3 = i % 2; this.f141 = z; int i4 = i2 + 87; f125 = i4 % 128; int i5 = i4 % 2; } /* renamed from: ﮌ, reason: contains not printable characters */ private synchronized aq m945() { aq mo1096; int i = f127 + 103; f125 = i % 128; int i2 = i % 2; mo1096 = ao.m1084().mo1096(); int i3 = f125 + 53; f127 = i3 % 128; int i4 = i3 % 2; return mo1096; } /* renamed from: ﮉ, reason: contains not printable characters */ private synchronized boolean m944() { boolean z; int i = f127; int i2 = i + 97; f125 = i2 % 128; int i3 = i2 % 2; z = this.f144; int i4 = i + 83; f125 = i4 % 128; int i5 = i4 % 2; return z; } /* renamed from: メ, reason: contains not printable characters */ private synchronized void m978(final boolean z) { this.f146.m3119(new iy.e() { // from class: com.ironsource.adqualitysdk.sdk.i.af.9 @Override // com.ironsource.adqualitysdk.sdk.i.iy.e /* renamed from: ヌ, reason: contains not printable characters */ public final void mo1006(int i) { af.m949(af.this).removeCallbacksAndMessages(null); af.m949(af.this).postDelayed(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.9.1 /* renamed from: ﻛ, reason: contains not printable characters */ private static char[] f204 = {'9', 'k', 'f', 'n', 'v', 'r', 'f', 'g', 'W', '\"', '[', 'r', 'p', 'p', 'I', 'I', 'l', 'i', 'i', 'f', 'k', 'j', 'C', 'B', 'm', 'm', 'i', 'q', 's', 'I', 'C', 'l', 'p', 'n', 'F', 'A', 'b', 'b', 'e', 'f'}; /* renamed from: k, reason: contains not printable characters */ private static int f205 = 1; /* renamed from: メ, reason: contains not printable characters */ private static int f206; @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { int i2 = f206 + 43; f205 = i2 % 128; int i3 = i2 % 2; try { af.m948(af.this); int i4 = f206 + 119; f205 = i4 % 128; if (i4 % 2 == 0) { throw null; } } catch (Throwable th) { l.m3438(m1007("\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001\u0001", true, new int[]{0, 9, 0, 0}).intern(), m1007("\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0000\u0000\u0001\u0001", false, new int[]{9, 31, 0, 0}).intern(), th); af.m956(af.this); } } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m1007(String str, boolean z2, int[] iArr) { String str2; byte[] bArr = str; if (str != null) { bArr = str.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; synchronized (g.f2033) { try { int i2 = iArr[0]; int i3 = iArr[1]; int i4 = iArr[2]; int i5 = iArr[3]; char[] cArr = new char[i3]; System.arraycopy(f204, i2, cArr, 0, i3); if (bArr2 != null) { char[] cArr2 = new char[i3]; g.f2032 = 0; char c = 0; while (true) { int i6 = g.f2032; if (i6 >= i3) { break; } if (bArr2[i6] == 1) { cArr2[i6] = (char) (((cArr[i6] << 1) + 1) - c); } else { cArr2[i6] = (char) ((cArr[i6] << 1) - c); } c = cArr2[i6]; g.f2032 = i6 + 1; } cArr = cArr2; } if (i5 > 0) { char[] cArr3 = new char[i3]; System.arraycopy(cArr, 0, cArr3, 0, i3); int i7 = i3 - i5; System.arraycopy(cArr3, 0, cArr, i7, i5); System.arraycopy(cArr3, i5, cArr, 0, i7); } if (z2) { char[] cArr4 = new char[i3]; g.f2032 = 0; while (true) { int i8 = g.f2032; if (i8 >= i3) { break; } cArr4[i8] = cArr[(i3 - i8) - 1]; g.f2032 = i8 + 1; } cArr = cArr4; } if (i4 > 0) { g.f2032 = 0; while (true) { int i9 = g.f2032; if (i9 >= i3) { break; } cArr[i9] = (char) (cArr[i9] - iArr[2]); g.f2032 = i9 + 1; } } str2 = new String(cArr); } catch (Throwable th) { throw th; } } return str2; } }, (af.m963(af.this, i) || z) ? 0L : af.m937(af.this)); } }); int i = f127 + 1; f125 = i % 128; if (i % 2 == 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x0035, code lost: return true; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0023, code lost: if (r4 >= m945().m1168()) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost: if (r4 >= m945().m1168()) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0036, code lost: return false; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0025, code lost: r4 = com.ironsource.adqualitysdk.sdk.i.af.f125 + 105; com.ironsource.adqualitysdk.sdk.i.af.f127 = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0030, code lost: if ((r4 % 2) == 0) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0032, code lost: r4 = 54 / 0; */ /* renamed from: k, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private boolean m969(int r4) { /* r3 = this; int r0 = com.ironsource.adqualitysdk.sdk.i.af.f125 int r0 = r0 + 69 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r1 int r0 = r0 % 2 r1 = 0 if (r0 == 0) goto L1b com.ironsource.adqualitysdk.sdk.i.aq r0 = r3.m945() int r0 = r0.m1168() r2 = 26 int r2 = r2 / r1 if (r4 < r0) goto L36 goto L25 L1b: com.ironsource.adqualitysdk.sdk.i.aq r0 = r3.m945() int r0 = r0.m1168() if (r4 < r0) goto L36 L25: int r4 = com.ironsource.adqualitysdk.sdk.i.af.f125 int r4 = r4 + 105 int r0 = r4 % 128 com.ironsource.adqualitysdk.sdk.i.af.f127 = r0 int r4 = r4 % 2 r0 = 1 if (r4 == 0) goto L35 r4 = 54 int r4 = r4 / r1 L35: return r0 L36: return r1 */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.af.m969(int):boolean"); } /* renamed from: com.ironsource.adqualitysdk.sdk.i.af$8, reason: invalid class name */ public class AnonymousClass8 implements iu, iy.d { public AnonymousClass8() { } @Override // com.ironsource.adqualitysdk.sdk.i.iy.d /* renamed from: ﻐ, reason: contains not printable characters */ public final void mo1005(List list) { if (list != null) { try { if (!list.isEmpty()) { PriorityQueue priorityQueue = new PriorityQueue(); Iterator it = list.iterator(); while (it.hasNext()) { priorityQueue.add(new ah(it.next())); } ArrayList arrayList = new ArrayList(); for (ah ahVar = (ah) priorityQueue.poll(); ahVar != null; ahVar = (ah) priorityQueue.poll()) { if (af.m979(af.this, ahVar)) { if (TextUtils.isEmpty(ahVar.m1033())) { ahVar.m1032(af.m943(af.this).m3277().m1066()); } arrayList.add(ahVar); } else { af.m941(af.this).m3120(ahVar.m1036()); } } if (arrayList.isEmpty()) { return; } af.m972(af.this, arrayList, this); return; } } catch (Exception unused) { af.m956(af.this); return; } } af.m956(af.this); } @Override // com.ironsource.adqualitysdk.sdk.i.iu /* renamed from: メ */ public final void mo1001(iq iqVar) { af.m956(af.this); af.m961(af.this); } @Override // com.ironsource.adqualitysdk.sdk.i.iu /* renamed from: ﻛ */ public final void mo1000(iq iqVar, String str) { af.m956(af.this); } } /* renamed from: ﭸ, reason: contains not printable characters */ private synchronized void m942() { int i = f125 + 109; f127 = i % 128; if (i % 2 != 0) { m944(); throw null; } if (m944() && !TextUtils.isEmpty(this.f145.m3277().m1066())) { int i2 = f125 + 109; f127 = i2 % 128; int i3 = i2 % 2; if (!m954()) { m974(true); l.m3420(m958(AndroidCharacter.getMirror('0') + 'O', null, null, "\u008f\u0084\u008e\u0081\u008d\u008c\u0083\u008b\u0092").intern(), m958(126 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), null, null, "\u0085\u009e\u0084\u0083\u0084\u0093\u009d\u009c\u0082\u009b\u0093\u008f\u0081\u008b\u0085\u0089\u0085\u0093\u009a\u008b\u008e\u008a\u008b\u0085\u0099").intern()); this.f146.m3118(m945().m1168(), new AnonymousClass8()); } } } /* renamed from: ﻛ, reason: contains not printable characters */ private boolean m964(ah ahVar) { int i = f125 + 1; f127 = i % 128; int i2 = i % 2; boolean mo1111 = ao.m1084().mo1111(ahVar.m1034(), this.f132); int i3 = f127 + 35; f125 = i3 % 128; int i4 = i3 % 2; return mo1111; } /* renamed from: メ, reason: contains not printable characters */ private void m977(List list, iu iuVar) { String intern; String str; JSONArray jSONArray = new JSONArray(); for (ah ahVar : list) { int i = f127 + 25; f125 = i % 128; int i2 = i % 2; JSONObject m1031 = ahVar.m1031(); if (!m1031.has(m958(127 - (ViewConfiguration.getEdgeSlop() >> 16), null, null, "\u008f\u0081\u008a").intern())) { int i3 = f125 + 45; f127 = i3 % 128; if (i3 % 2 != 0) { try { intern = m958(View.MeasureSpec.getMode(1) + 91, null, null, "\u008f\u0081\u008a").intern(); str = ik.f2434; } catch (JSONException unused) { } } else { intern = m958(127 - View.MeasureSpec.getMode(0), null, null, "\u008f\u0081\u008a").intern(); str = ik.f2434; } m1031.put(intern, m1031.optLong(str)); } if (this.f134.m1022(m1031)) { this.f146.m3121(ahVar.m1036(), null); } jSONArray.put(m1031); } this.f145.m930(jSONArray, this.f147.m3066().m3086(), new AnonymousClass6(jSONArray, list, iuVar)); } /* renamed from: com.ironsource.adqualitysdk.sdk.i.af$6, reason: invalid class name */ public class AnonymousClass6 implements ae.c { /* renamed from: ﻐ, reason: contains not printable characters */ final /* synthetic */ iu f176; /* renamed from: ﻛ, reason: contains not printable characters */ final /* synthetic */ JSONArray f177; /* renamed from: メ, reason: contains not printable characters */ final /* synthetic */ List f179; public AnonymousClass6(JSONArray jSONArray, List list, iu iuVar) { this.f177 = jSONArray; this.f179 = list; this.f176 = iuVar; } @Override // com.ironsource.adqualitysdk.sdk.i.ae.c public void onEventGenerated(JSONObject jSONObject) { af.m966(af.this).m1022(jSONObject); af.m936(af.this).m3067(af.m940(af.this).m1044(af.m946(af.this)), jSONObject, new iu() { // from class: com.ironsource.adqualitysdk.sdk.i.af.6.1 /* renamed from: ﱡ, reason: contains not printable characters */ private static int f180 = 0; /* renamed from: ﻏ, reason: contains not printable characters */ private static int f181 = 1; /* renamed from: ﻐ, reason: contains not printable characters */ private static char[] f182 = {182, 227, 214, 225, 238, 233, 222, 216, 232, 188, 228, 149, 234, 218, 231, 229, 219, 217, 186, 235, 150, 200, 226, 221, 220, 236, 163, 175}; /* renamed from: ﻛ, reason: contains not printable characters */ private static boolean f183 = true; /* renamed from: k, reason: contains not printable characters */ private static int f184 = 117; /* renamed from: メ, reason: contains not printable characters */ private static boolean f185 = true; @Override // com.ironsource.adqualitysdk.sdk.i.iu /* renamed from: メ, reason: contains not printable characters */ public final void mo1001(final iq iqVar) { final int m3045 = iqVar.m3044().m3045(); final String m3046 = iqVar.m3044().m3046(); if (m3045 >= 200 && m3045 <= 299) { l.m3433(m999(null, 127 - Color.green(0), null, "\u0089\u0088\u0087\u0086\u0085\u0084\u0083\u0082\u0081").intern(), m999(null, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 126, null, "\u0095\u0086\u0082\u008e\u0094\u0093\u0092\u0082\u008e\u0089\u008c\u008f\u008b\u0091\u008c\u008e\u0089\u0082\u008b\u0090\u0089\u008e\u008f\u008c\u0089\u0089\u008e\u0088\u0088\u008d\u0089\u008c\u0083\u008c\u0086\u008b\u008a").intern(), AnonymousClass6.this.f177); Iterator it = AnonymousClass6.this.f179.iterator(); while (it.hasNext()) { af.m941(af.this).m3120(((ah) it.next()).m1036()); } t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.6.1.3 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { AnonymousClass6.this.f176.mo1001(iqVar); } }); return; } if (m3045 == 403) { synchronized (af.this) { try { for (final je.a aVar : af.m935(af.this)) { t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.6.1.5 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { je.a.this.mo3207(); } }); } } catch (Throwable th) { throw th; } } } else { String intern = m999(null, 127 - Color.green(0), null, "\u0089\u0088\u0087\u0086\u0085\u0084\u0083\u0082\u0081").intern(); StringBuilder sb = new StringBuilder(); sb.append(m999(null, 128 - (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)), null, "\u008c\u009c\u008e\u0089\u0082\u008b\u0090\u0089\u008e\u008f\u008c\u0086\u008b\u008a\u008c\u009b\u0086\u0082\u008e\u0094\u0093\u0092\u0082\u008e\u0089\u008c\u0098\u0086\u0087\u009a\u008c\u0099\u0082\u008b\u008f\u009a\u008c\u0086\u0082\u008e\u009a\u008c\u0099\u0082\u0087\u0098\u0086\u008e\u0097\u008b\u0096").intern()); sb.append(m3045); sb.append(m999(null, TextUtils.indexOf("", "", 0, 0) + 127, null, "\u008c").intern()); sb.append(m3046); l.m3420(intern, sb.toString()); } t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.6.1.2 /* renamed from: ﮐ, reason: contains not printable characters */ private static int f187 = 0; /* renamed from: ﺙ, reason: contains not printable characters */ private static int f188 = 1; /* renamed from: ﻐ, reason: contains not printable characters */ private static int f189 = 140; @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { iu iuVar = AnonymousClass6.this.f176; iq iqVar2 = iqVar; StringBuilder sb2 = new StringBuilder(); sb2.append(m1002(false, "\uffd0ᅡ←\u0011\u0016ᅡ\u0014\u0007\u0015\u0012\u0011\u0010\u0015\u0007ᅵᅡ\ufff5\u0011\u000f\u0007\u0016\n\u000b\u0010\tᅡ\u0019\u0007\u0010\u0016ᅡ\u0019\u0014\u0011\u0010\tᅡ\u0019\u000b\u0016\nᅡ\u0015\u0007\u0010\u0006\uffe7\u0018\u0007\u0010\u0016", 234 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), View.MeasureSpec.makeMeasureSpec(0, 0) + 16, 50 - ((byte) KeyEvent.getModifierMetaStateMask())).intern()); sb2.append(m3045); sb2.append(m1002(false, "\u0000", Process.getGidForName("") + 173, View.MeasureSpec.makeMeasureSpec(0, 0) + 1, -ImageFormat.getBitsPerPixel(0)).intern()); sb2.append(m3046); iuVar.mo1000(iqVar2, sb2.toString()); int i = f187 + SignalKey.EVENT_ID; f188 = i % 128; int i2 = i % 2; } /* renamed from: メ, reason: contains not printable characters */ private static String m1002(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[i3]; a.f56 = 0; while (true) { int i4 = a.f56; if (i4 >= i3) { break; } a.f54 = cArr2[i4]; cArr3[a.f56] = (char) (a.f54 + i); int i5 = a.f56; cArr3[i5] = (char) (cArr3[i5] - f189); a.f56 = i5 + 1; } if (i2 > 0) { a.f55 = i2; char[] cArr4 = new char[i3]; System.arraycopy(cArr3, 0, cArr4, 0, i3); int i6 = a.f55; System.arraycopy(cArr4, 0, cArr3, i3 - i6, i6); int i7 = a.f55; System.arraycopy(cArr4, i7, cArr3, 0, i3 - i7); } if (z) { char[] cArr5 = new char[i3]; a.f56 = 0; while (true) { int i8 = a.f56; if (i8 >= i3) { break; } cArr5[i8] = cArr3[(i3 - i8) - 1]; a.f56 = i8 + 1; } cArr3 = cArr5; } str2 = new String(cArr3); } catch (Throwable th2) { throw th2; } } return str2; } }); } @Override // com.ironsource.adqualitysdk.sdk.i.iu /* renamed from: ﻛ, reason: contains not printable characters */ public final void mo1000(final iq iqVar, final String str) { t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.6.1.4 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { AnonymousClass6.this.f176.mo1000(iqVar, str); } }); int i = f180 + 41; f181 = i % 128; int i2 = i % 2; } /* renamed from: ヌ, reason: contains not printable characters */ private static String m999(int[] iArr, int i, String str, String str2) { byte[] bArr = str2; if (str2 != null) { bArr = str2.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (o.f2842) { try { char[] cArr3 = f182; int i2 = f184; if (f183) { int length = bArr2.length; o.f2841 = length; char[] cArr4 = new char[length]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i3 = o.f2840; int i4 = o.f2841 - 1; int i5 = o.f2840; cArr4[i3] = (char) (cArr3[bArr2[i4 - i5] + i] - i2); o.f2840 = i5 + 1; } return new String(cArr4); } if (f185) { int length2 = cArr2.length; o.f2841 = length2; char[] cArr5 = new char[length2]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i6 = o.f2840; int i7 = o.f2841 - 1; int i8 = o.f2840; cArr5[i6] = (char) (cArr3[cArr2[i7 - i8] - i] - i2); o.f2840 = i8 + 1; } return new String(cArr5); } int length3 = iArr.length; o.f2841 = length3; char[] cArr6 = new char[length3]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i9 = o.f2840; int i10 = o.f2841 - 1; int i11 = o.f2840; cArr6[i9] = (char) (cArr3[iArr[i10 - i11] - i] - i2); o.f2840 = i11 + 1; } return new String(cArr6); } catch (Throwable th) { throw th; } } } }); } } /* renamed from: ﻛ, reason: contains not printable characters */ private void m962(JSONObject jSONObject, io ioVar) { m967(jSONObject); ah ahVar = new ah(iy.m3112(jSONObject)); ahVar.m1035(m945().m1167()); this.f146.m3121(ahVar.m1036(), ioVar); m973(ahVar.m1031()); t.m3514(ioVar); int i = f125 + 91; f127 = i % 128; int i2 = i % 2; } /* renamed from: ヌ, reason: contains not printable characters */ private void m973(final JSONObject jSONObject) { final ArrayList arrayList; if (r.m3487().m3494()) { synchronized (this) { arrayList = new ArrayList(this.f139); } t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.af.1 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { Iterator it = arrayList.iterator(); while (it.hasNext()) { ((ai) it.next()).onEventReceived(jSONObject); } } }); } } /* renamed from: k, reason: contains not printable characters */ private void m967(JSONObject jSONObject) { Iterator it; int i = f125 + 49; f127 = i % 128; if (i % 2 != 0) { it = m945().m1169().iterator(); int i2 = 28 / 0; } else { it = m945().m1169().iterator(); } while (it.hasNext()) { jSONObject.remove(it.next()); } int i3 = f125 + 99; f127 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ﭴ, reason: contains not printable characters */ private int m939() { int i = f125 + 93; f127 = i % 128; int i2 = i % 2; if (m945() == null) { return 100; } int i3 = f127 + 27; f125 = i3 % 128; if (i3 % 2 == 0) { ao.m1084().mo1100(); throw null; } if (ao.m1084().mo1100()) { return 100; } int i4 = f127 + 121; f125 = i4 % 128; if (i4 % 2 != 0) { return m945().m1166(); } int i5 = 85 / 0; return m945().m1166(); } /* renamed from: ﭖ, reason: contains not printable characters */ private String m938() { int i = f125 + 93; f127 = i % 128; int i2 = i % 2; if (!ao.m1084().mo1100()) { int i3 = f127 + 55; f125 = i3 % 128; if (i3 % 2 != 0) { return m945().m1161(); } m945().m1161(); throw null; } String m1164 = m945().m1164(); int i4 = f125 + 23; f127 = i4 % 128; if (i4 % 2 == 0) { return m1164; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m958(int i, int[] iArr, String str, String str2) { byte[] bArr = str2; if (str2 != null) { bArr = str2.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (o.f2842) { try { char[] cArr3 = f129; int i2 = f131; if (f126) { int length = bArr2.length; o.f2841 = length; char[] cArr4 = new char[length]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i3 = o.f2840; int i4 = o.f2841 - 1; int i5 = o.f2840; cArr4[i3] = (char) (cArr3[bArr2[i4 - i5] + i] - i2); o.f2840 = i5 + 1; } return new String(cArr4); } if (f130) { int length2 = cArr2.length; o.f2841 = length2; char[] cArr5 = new char[length2]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i6 = o.f2840; int i7 = o.f2841 - 1; int i8 = o.f2840; cArr5[i6] = (char) (cArr3[cArr2[i7 - i8] - i] - i2); o.f2840 = i8 + 1; } return new String(cArr5); } int length3 = iArr.length; o.f2841 = length3; char[] cArr6 = new char[length3]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i9 = o.f2840; int i10 = o.f2841 - 1; int i11 = o.f2840; cArr6[i9] = (char) (cArr3[iArr[i10 - i11] - i] - i2); o.f2840 = i11 + 1; } return new String(cArr6); } catch (Throwable th) { throw th; } } } /* renamed from: ヌ, reason: contains not printable characters */ private static String m970(String str, int i) { String str2; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (i.f2325) { try { char[] m2999 = i.m2999(f128, cArr2, i); i.f2324 = 4; while (true) { int i2 = i.f2324; if (i2 < m2999.length) { i.f2323 = i2 - 4; m2999[i.f2324] = (char) ((m2999[r1] ^ m2999[r1 % 4]) ^ (i.f2323 * f128)); i.f2324++; } else { str2 = new String(m2999, 4, m2999.length - 4); } } } catch (Throwable th) { throw th; } } return str2; } }