- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
118 lines
4.8 KiB
Java
118 lines
4.8 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.media.AudioTrack;
|
||
import android.os.Process;
|
||
import android.text.TextUtils;
|
||
import android.view.ViewConfiguration;
|
||
import android.widget.ExpandableListView;
|
||
import com.ironsource.adqualitysdk.sdk.i.ao;
|
||
import java.util.UUID;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public final class as extends ao.AnonymousClass1 {
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static int f363 = 1;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static char[] f364 = {'s', '-', 'j', 'i', 'n', 't', 'u', 'v', 'w'};
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static char f365 = 3;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private static int f366;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private final String f367;
|
||
|
||
public as(ap apVar) {
|
||
StringBuilder sb = new StringBuilder();
|
||
sb.append(m1171((AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)), (byte) (ExpandableListView.getPackedPositionChild(0L) + 91), "Í").intern());
|
||
sb.append(UUID.randomUUID().toString().replace(m1171((ViewConfiguration.getScrollDefaultDelay() >> 16) + 1, (byte) (126 - ((Process.getThreadPriority(0) + 20) >> 6)), "«").intern(), ""));
|
||
this.f367 = sb.toString();
|
||
m1117(apVar);
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
public final String m1172() {
|
||
int i = f363 + 41;
|
||
f366 = i % 128;
|
||
int i2 = i % 2;
|
||
String optString = m1115().optString(m1171(TextUtils.getTrimmedLength("") + 3, (byte) (86 - TextUtils.indexOf("", "")), "\u0000\u0005Ä").intern(), this.f367);
|
||
int i3 = f366 + 119;
|
||
f363 = i3 % 128;
|
||
int i4 = i3 % 2;
|
||
return optString;
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private static String m1171(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 = f364;
|
||
char c = f365;
|
||
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;
|
||
}
|
||
}
|