package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Color; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import com.applovin.exoplayer2.common.base.Ascii; import com.vungle.ads.internal.signals.SignalKey; import kotlin.jvm.internal.ByteCompanionObject; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes4.dex */ final class ag { /* renamed from: ﮌ, reason: contains not printable characters */ private static int f208 = 1; /* renamed from: ﻏ, reason: contains not printable characters */ private static int f212; /* renamed from: ﱡ, reason: contains not printable characters */ private int f213; /* renamed from: ﻐ, reason: contains not printable characters */ private long f214; /* renamed from: ﻛ, reason: contains not printable characters */ private long f215; /* renamed from: k, reason: contains not printable characters */ private long f216; /* renamed from: ヌ, reason: contains not printable characters */ private long f217; /* renamed from: メ, reason: contains not printable characters */ private Boolean f218 = null; /* renamed from: ﺙ, reason: contains not printable characters */ private static char[] f211 = {286, 287, 290, 280, 275, 286, 297, 259, 288, 285, 273, 292, 291, 277, 285, 281, 260, 290, 277, 298, 281, 140, 283, 280, 269, 266, 274, 277, 275, 272, 278, 278, 272, 271, 232, 231, 274, 274, 270, 278, 257, 256, 279, 277, 277, 238, 'l', 218, 226, ':', 't', 's', '4', 'e', 'l', 'r', 'a', 'd', 's', 'j', 'f', 'v'}; /* renamed from: ﮐ, reason: contains not printable characters */ private static char[] f209 = {3547, 3624, 36237, 36478, 35443, 'd', 902, 1943, 44454, 44627, 43609, 22661, 23408, 24422, 16210, 15527, 14518, 't'}; /* renamed from: ﱟ, reason: contains not printable characters */ private static long f210 = -8285213197408533518L; /* renamed from: ﻐ, reason: contains not printable characters */ public static /* synthetic */ long m1008(ag agVar, long j) { int i = f208 + 75; f212 = i % 128; int i2 = i % 2; agVar.f217 = j; if (i2 == 0) { return j; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ public static /* synthetic */ long m1011(ag agVar, long j) { int i = f208 + 81; int i2 = i % 128; f212 = i2; int i3 = i % 2; agVar.f215 = j; int i4 = i2 + 41; f208 = i4 % 128; if (i4 % 2 != 0) { return j; } throw null; } /* renamed from: k, reason: contains not printable characters */ public static /* synthetic */ long m1014(ag agVar) { int i = f212 + 41; int i2 = i % 128; f208 = i2; if (i % 2 == 0) { long j = agVar.f214; throw null; } long j2 = agVar.f214; int i3 = i2 + 37; f212 = i3 % 128; int i4 = i3 % 2; return j2; } /* renamed from: k, reason: contains not printable characters */ public static /* synthetic */ long m1015(ag agVar, long j) { int i = f208 + 123; int i2 = i % 128; f212 = i2; int i3 = i % 2; agVar.f214 = j; int i4 = i2 + 119; f208 = i4 % 128; if (i4 % 2 != 0) { return j; } throw null; } /* renamed from: ヌ, reason: contains not printable characters */ public static /* synthetic */ long m1016(ag agVar) { int i = f208; int i2 = i + 49; f212 = i2 % 128; if (i2 % 2 != 0) { long j = agVar.f215; throw null; } long j2 = agVar.f215; int i3 = i + 19; f212 = i3 % 128; if (i3 % 2 == 0) { return j2; } throw null; } /* renamed from: ヌ, reason: contains not printable characters */ public static /* synthetic */ Boolean m1017(ag agVar, Boolean bool) { int i = f208 + 55; f212 = i % 128; int i2 = i % 2; agVar.f218 = bool; if (i2 == 0) { return bool; } throw null; } /* renamed from: メ, reason: contains not printable characters */ public static /* synthetic */ long m1020(ag agVar, long j) { int i = f208 + 39; int i2 = i % 128; f212 = i2; int i3 = i % 2; agVar.f216 = j; if (i3 != 0) { throw null; } int i4 = i2 + 3; f208 = i4 % 128; if (i4 % 2 != 0) { return j; } throw null; } public ag(int i) { this.f213 = i; ao.m1084().mo1105(new ar() { // from class: com.ironsource.adqualitysdk.sdk.i.ag.5 /* renamed from: ﮐ, reason: contains not printable characters */ private static int f219 = 1; /* renamed from: ﱡ, reason: contains not printable characters */ private static short[] f220 = null; /* renamed from: ﻏ, reason: contains not printable characters */ private static int f221 = 0; /* renamed from: ﻐ, reason: contains not printable characters */ private static int f222 = 2132239404; /* renamed from: ﻛ, reason: contains not printable characters */ private static byte[] f223 = {102, -120, 98, 120, 116, 118, 103, 110, 126, 126, 75, -112, 112, 101, -122, 114, 99, 121, 109, 94, Byte.MAX_VALUE, 124, -35, -127, 122, -24, -124, -11, 84, Ascii.SUB, 125, -37, -124, 125, -18, 79, 41, -23, -123, -11, ByteCompanionObject.MIN_VALUE, 123, -22, 67, 46, -123, 57, Ascii.SUB, Byte.MAX_VALUE, -19, ByteCompanionObject.MIN_VALUE, -99, 0, 0}; /* renamed from: k, reason: contains not printable characters */ private static int f224 = -258877810; /* renamed from: メ, reason: contains not printable characters */ private static int f225 = 89; /* JADX WARN: Code restructure failed: missing block: B:11:0x002d, code lost: if (r3 == 0) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost: if (r3 == 0) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x00ae, code lost: com.ironsource.adqualitysdk.sdk.i.ag.m1017(r12.f226, java.lang.Boolean.TRUE); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002f, code lost: com.ironsource.adqualitysdk.sdk.i.ag.m1017(r12.f226, java.lang.Boolean.FALSE); r3 = r0.m1165(); com.ironsource.adqualitysdk.sdk.i.jw.m3315(m1023((android.view.ViewConfiguration.getScrollBarSize() >> 8) + 258877894, (-2132239405) - android.widget.ExpandableListView.getPackedPositionChild(0), (-68) - (android.os.Process.myTid() >> 22), (short) ((-115) - android.view.View.resolveSize(0, 0)), (byte) ((-3) - (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)))).intern(), m1023(258877879 - ((android.os.Process.getThreadPriority(0) + 20) >> 6), 2145950696 - android.graphics.Color.rgb(0, 0, 0), android.graphics.Color.blue(0) - 56, (short) (android.text.TextUtils.getOffsetAfter("", 0) - 54), (byte) (android.graphics.ImageFormat.getBitsPerPixel(0) + 75)).intern(), (java.lang.Throwable) null, false); r1 = com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f219 + 97; com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f221 = r1 % 128; r1 = r1 % 2; */ @Override // com.ironsource.adqualitysdk.sdk.i.ar /* renamed from: ﻛ */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void mo989() { /* r12 = this; int r0 = com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f219 int r0 = r0 + 13 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f221 = r1 int r0 = r0 % 2 r1 = 0 if (r0 == 0) goto L1f com.ironsource.adqualitysdk.sdk.i.ao r0 = com.ironsource.adqualitysdk.sdk.i.ao.m1084() com.ironsource.adqualitysdk.sdk.i.aq r0 = r0.mo1096() long r3 = r0.m1162() int r5 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1)) if (r5 != 0) goto Lae goto L2f L1f: com.ironsource.adqualitysdk.sdk.i.ao r0 = com.ironsource.adqualitysdk.sdk.i.ao.m1084() com.ironsource.adqualitysdk.sdk.i.aq r0 = r0.mo1096() long r3 = r0.m1162() int r5 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1)) if (r5 != 0) goto Lae L2f: com.ironsource.adqualitysdk.sdk.i.ag r3 = com.ironsource.adqualitysdk.sdk.i.ag.this java.lang.Boolean r4 = java.lang.Boolean.FALSE com.ironsource.adqualitysdk.sdk.i.ag.m1017(r3, r4) long r3 = r0.m1165() int r5 = android.view.ViewConfiguration.getScrollBarSize() int r5 = r5 >> 8 r6 = 258877894(0xf6e29c6, float:1.1742351E-29) int r5 = r5 + r6 r6 = -2132239405(0xffffffff80e89bd3, float:-2.1361734E-38) int r7 = android.widget.ExpandableListView.getPackedPositionChild(r1) int r6 = r6 - r7 int r7 = android.os.Process.myTid() int r7 = r7 >> 22 int r7 = (-68) - r7 r8 = 0 int r9 = android.view.View.resolveSize(r8, r8) int r9 = (-115) - r9 short r9 = (short) r9 long r10 = android.widget.ExpandableListView.getPackedPositionForChild(r8, r8) int r1 = (r10 > r1 ? 1 : (r10 == r1 ? 0 : -1)) int r1 = (-3) - r1 byte r1 = (byte) r1 java.lang.String r1 = m1023(r5, r6, r7, r9, r1) java.lang.String r1 = r1.intern() int r2 = android.os.Process.getThreadPriority(r8) int r2 = r2 + 20 int r2 = r2 >> 6 r5 = 258877879(0xf6e29b7, float:1.174234E-29) int r5 = r5 - r2 r2 = 2145950696(0x7fe89be8, float:NaN) int r6 = android.graphics.Color.rgb(r8, r8, r8) int r2 = r2 - r6 int r6 = android.graphics.Color.blue(r8) int r6 = r6 + (-56) java.lang.String r7 = "" int r7 = android.text.TextUtils.getOffsetAfter(r7, r8) int r7 = r7 + (-54) short r7 = (short) r7 int r9 = android.graphics.ImageFormat.getBitsPerPixel(r8) int r9 = r9 + 75 byte r9 = (byte) r9 java.lang.String r2 = m1023(r5, r2, r6, r7, r9) java.lang.String r2 = r2.intern() r5 = 0 com.ironsource.adqualitysdk.sdk.i.jw.m3315(r1, r2, r5, r8) int r1 = com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f219 int r1 = r1 + 97 int r2 = r1 % 128 com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.f221 = r2 int r1 = r1 % 2 goto Lb5 Lae: com.ironsource.adqualitysdk.sdk.i.ag r1 = com.ironsource.adqualitysdk.sdk.i.ag.this java.lang.Boolean r2 = java.lang.Boolean.TRUE com.ironsource.adqualitysdk.sdk.i.ag.m1017(r1, r2) Lb5: com.ironsource.adqualitysdk.sdk.i.ag r1 = com.ironsource.adqualitysdk.sdk.i.ag.this long r5 = r0.m1163() com.ironsource.adqualitysdk.sdk.i.ag.m1015(r1, r5) com.ironsource.adqualitysdk.sdk.i.ag r1 = com.ironsource.adqualitysdk.sdk.i.ag.this long r5 = r0.m1165() com.ironsource.adqualitysdk.sdk.i.ag.m1011(r1, r5) com.ironsource.adqualitysdk.sdk.i.ag r0 = com.ironsource.adqualitysdk.sdk.i.ag.this long r1 = com.ironsource.adqualitysdk.sdk.i.ag.m1014(r0) long r1 = r3 - r1 com.ironsource.adqualitysdk.sdk.i.ag.m1008(r0, r1) com.ironsource.adqualitysdk.sdk.i.ag r0 = com.ironsource.adqualitysdk.sdk.i.ag.this long r1 = com.ironsource.adqualitysdk.sdk.i.ag.m1016(r0) long r3 = r3 - r1 com.ironsource.adqualitysdk.sdk.i.ag.m1020(r0, r3) return */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.ag.AnonymousClass5.mo989():void"); } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m1023(int i2, int i3, int i4, short s, byte b) { String obj; synchronized (m.f2834) { try { StringBuilder sb = new StringBuilder(); int i5 = f225; int i6 = i4 + i5; int i7 = i6 == -1 ? 1 : 0; if (i7 != 0) { byte[] bArr = f223; if (bArr != null) { i6 = (byte) (bArr[f222 + i3] + i5); } else { i6 = (short) (f220[f222 + i3] + i5); } } if (i6 > 0) { m.f2839 = ((i3 + i6) - 2) + f222 + i7; m.f2835 = b; char c = (char) (i2 + f224); m.f2836 = c; sb.append(c); m.f2838 = m.f2836; m.f2837 = 1; while (m.f2837 < i6) { byte[] bArr2 = f223; if (bArr2 != null) { int i8 = m.f2839; m.f2839 = i8 - 1; m.f2836 = (char) (m.f2838 + (((byte) (bArr2[i8] + s)) ^ m.f2835)); } else { short[] sArr = f220; int i9 = m.f2839; m.f2839 = i9 - 1; m.f2836 = (char) (m.f2838 + (((short) (sArr[i9] + s)) ^ m.f2835)); } sb.append(m.f2836); m.f2838 = m.f2836; m.f2837++; } } obj = sb.toString(); } catch (Throwable th) { throw th; } } return obj; } }); } /* renamed from: k, reason: contains not printable characters */ public final boolean m1022(JSONObject jSONObject) { int i = f212 + 85; f208 = i % 128; int i2 = i % 2; if (!m1021(jSONObject)) { int i3 = f212; int i4 = i3 + 53; f208 = i4 % 128; int i5 = i4 % 2; if (this.f218 != null) { int i6 = i3 + 41; f208 = i6 % 128; int i7 = i6 % 2; try { m1009(jSONObject); int i8 = f212 + 79; f208 = i8 % 128; if (i8 % 2 != 0) { return true; } throw null; } catch (Exception e) { jw.m3315(m1012(null, true, new int[]{0, 21, 176, 17}).intern(), m1012("\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000", false, new int[]{21, 25, 165, 19}).intern(), (Throwable) e, false); } } } return false; } /* JADX WARN: Removed duplicated region for block: B:11:0x00ca */ /* renamed from: ﻐ, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void m1009(org.json.JSONObject r11) { /* Method dump skipped, instructions count: 260 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.ag.m1009(org.json.JSONObject):void"); } /* renamed from: メ, reason: contains not printable characters */ private static boolean m1021(JSONObject jSONObject) { int i = f212 + 109; f208 = i % 128; int i2 = i % 2; if (jSONObject.has(m1018((char) (36344 - TextUtils.indexOf("", "")), View.combineMeasuredStates(0, 0) + 3, View.MeasureSpec.getSize(0) + 2).intern()) || !(!jSONObject.has(m1018((char) (44498 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 2, (Process.myTid() >> 22) + 8).intern()))) { return true; } int i3 = f208 + SignalKey.EVENT_ID; f212 = i3 % 128; int i4 = i3 % 2; return false; } /* renamed from: ﻛ, reason: contains not printable characters */ private void m1013(JSONObject jSONObject, boolean z) { long optLong; if (!jSONObject.has(m1018((char) (16161 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), 4 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 14).intern())) { return; } int i = f208 + 105; f212 = i % 128; int i2 = i % 2; if (z) { optLong = jSONObject.optLong(m1012("\u0001\u0000\u0001", true, new int[]{49, 3, 0, 2}).intern()) + this.f217; int i3 = f208 + 13; f212 = i3 % 128; int i4 = i3 % 2; } else { optLong = this.f216 + jSONObject.optLong(m1018((char) (16161 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 3, 14 - (ViewConfiguration.getWindowTouchSlop() >> 8)).intern()); } try { jSONObject.put(m1018((char) (16161 - ((Process.getThreadPriority(0) + 20) >> 6)), Color.green(0) + 3, 13 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)).intern(), optLong); } catch (JSONException unused) { } } /* JADX WARN: Code restructure failed: missing block: B:23:0x0039, code lost: if (r10 != null) goto L9; */ /* renamed from: ﻐ, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void m1010(org.json.JSONObject r10, boolean r11) { /* r9 = this; java.lang.String r0 = "" int r1 = com.ironsource.adqualitysdk.sdk.i.ag.f208 int r1 = r1 + 5 int r2 = r1 % 128 com.ironsource.adqualitysdk.sdk.i.ag.f212 = r2 int r1 = r1 % 2 r2 = 9 r3 = 52 java.lang.String r4 = "\u0000\u0001\u0000\u0000\u0001\u0000\u0001\u0000\u0001" r5 = 1 r6 = 0 if (r1 == 0) goto L29 int[] r1 = new int[]{r3, r2, r6, r6} // Catch: org.json.JSONException -> Lc1 java.lang.String r1 = m1012(r4, r5, r1) // Catch: org.json.JSONException -> Lc1 java.lang.String r1 = r1.intern() // Catch: org.json.JSONException -> Lc1 org.json.JSONObject r10 = r10.optJSONObject(r1) // Catch: org.json.JSONException -> Lc1 if (r10 == 0) goto Lb7 goto L3b L29: int[] r1 = new int[]{r3, r2, r6, r6} // Catch: org.json.JSONException -> Lc1 java.lang.String r1 = m1012(r4, r5, r1) // Catch: org.json.JSONException -> Lc1 java.lang.String r1 = r1.intern() // Catch: org.json.JSONException -> Lc1 org.json.JSONObject r10 = r10.optJSONObject(r1) // Catch: org.json.JSONException -> Lc1 if (r10 == 0) goto Lb7 L3b: r1 = 0 r3 = 0 if (r11 == 0) goto L6c java.lang.String r11 = "\u0000" r4 = 61 r7 = 119(0x77, float:1.67E-43) int[] r4 = new int[]{r4, r5, r7, r5} // Catch: org.json.JSONException -> Lc1 java.lang.String r11 = m1012(r11, r6, r4) // Catch: org.json.JSONException -> Lc1 java.lang.String r11 = r11.intern() // Catch: org.json.JSONException -> Lc1 long r4 = r10.optLong(r11) // Catch: org.json.JSONException -> Lc1 int r11 = (r4 > r1 ? 1 : (r4 == r1 ? 0 : -1)) if (r11 <= 0) goto L61 long r7 = r9.f217 // Catch: org.json.JSONException -> Lc1 long r4 = r4 + r7 java.lang.Long r3 = java.lang.Long.valueOf(r4) // Catch: org.json.JSONException -> Lc1 L61: int r11 = com.ironsource.adqualitysdk.sdk.i.ag.f212 int r11 = r11 + 63 int r4 = r11 % 128 com.ironsource.adqualitysdk.sdk.i.ag.f208 = r4 int r11 = r11 % 2 goto L97 L6c: int r11 = android.view.ViewConfiguration.getKeyRepeatDelay() // Catch: org.json.JSONException -> Lc1 int r11 = r11 >> 16 char r11 = (char) r11 // Catch: org.json.JSONException -> Lc1 int r4 = android.graphics.Color.red(r6) // Catch: org.json.JSONException -> Lc1 int r5 = r5 - r4 int r4 = android.view.ViewConfiguration.getWindowTouchSlop() // Catch: org.json.JSONException -> Lc1 int r4 = r4 >> 8 int r4 = r4 + 17 java.lang.String r11 = m1018(r11, r5, r4) // Catch: org.json.JSONException -> Lc1 java.lang.String r11 = r11.intern() // Catch: org.json.JSONException -> Lc1 long r4 = r10.optLong(r11) // Catch: org.json.JSONException -> Lc1 int r11 = (r4 > r1 ? 1 : (r4 == r1 ? 0 : -1)) if (r11 <= 0) goto L97 long r7 = r9.f216 // Catch: org.json.JSONException -> Lc1 long r4 = r4 + r7 java.lang.Long r3 = java.lang.Long.valueOf(r4) // Catch: org.json.JSONException -> Lc1 L97: if (r3 == 0) goto Lb7 int r11 = android.text.TextUtils.indexOf(r0, r0, r6, r6) // Catch: org.json.JSONException -> Lc1 char r11 = (char) r11 // Catch: org.json.JSONException -> Lc1 long r4 = android.os.SystemClock.uptimeMillis() // Catch: org.json.JSONException -> Lc1 int r0 = (r4 > r1 ? 1 : (r4 == r1 ? 0 : -1)) int r1 = android.os.Process.myTid() // Catch: org.json.JSONException -> Lc1 int r1 = r1 >> 22 int r1 = 17 - r1 java.lang.String r11 = m1018(r11, r0, r1) // Catch: org.json.JSONException -> Lc1 java.lang.String r11 = r11.intern() // Catch: org.json.JSONException -> Lc1 r10.put(r11, r3) // Catch: org.json.JSONException -> Lc1 Lb7: int r10 = com.ironsource.adqualitysdk.sdk.i.ag.f208 int r10 = r10 + 95 int r11 = r10 % 128 com.ironsource.adqualitysdk.sdk.i.ag.f212 = r11 int r10 = r10 % 2 Lc1: return */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.ag.m1010(org.json.JSONObject, boolean):void"); } /* renamed from: ヌ, reason: contains not printable characters */ private boolean m1019(JSONObject jSONObject) { if (Math.abs((this.f215 - this.f214) - (jSONObject.optLong(m1018((char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 2, 5 - KeyEvent.getDeadChar(0, 0)).intern()) - jSONObject.optLong(m1018((char) (TextUtils.lastIndexOf("", '0', 0, 0) + 3503), KeyEvent.keyCodeFromString("") + 2, View.MeasureSpec.makeMeasureSpec(0, 0)).intern()))) <= 10) { int i = f208 + 65; f212 = i % 128; int i2 = i % 2; return true; } int i3 = f208 + 51; f212 = i3 % 128; if (i3 % 2 == 0) { return false; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m1012(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(f211, 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; } /* renamed from: ヌ, reason: contains not printable characters */ private static String m1018(char c, int i, int i2) { String str; synchronized (d.f1568) { try { char[] cArr = new char[i]; d.f1567 = 0; while (true) { int i3 = d.f1567; if (i3 < i) { cArr[i3] = (char) ((f209[i2 + i3] ^ (i3 * f210)) ^ c); d.f1567 = i3 + 1; } else { str = new String(cArr); } } } catch (Throwable th) { throw th; } } return str; } }