Files
rr3-apk/decompiled-community/sources/com/ironsource/adqualitysdk/sdk/i/jh.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

275 lines
10 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.ironsource.adqualitysdk.sdk.i;
import android.app.Activity;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Handler;
import android.os.Looper;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.applovin.exoplayer2.common.base.Ascii;
import com.ironsource.adqualitysdk.sdk.i.jx;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class jh {
/* renamed from: メ, reason: contains not printable characters */
private static jh f2679;
/* renamed from: ﻛ, reason: contains not printable characters */
private Map<String, e> f2680;
/* renamed from: , reason: contains not printable characters */
private Map<String, e> f2681 = new HashMap();
/* renamed from: ヌ, reason: contains not printable characters */
private Handler f2682 = new Handler(Looper.getMainLooper());
public enum e {
f2693,
f2696,
f2694;
/* renamed from: ﭴ, reason: contains not printable characters */
private static int f2686 = 1;
/* renamed from: ﮐ, reason: contains not printable characters */
private static byte[] f2687;
/* renamed from: ﱟ, reason: contains not printable characters */
private static int f2688;
/* renamed from: ﱡ, reason: contains not printable characters */
private static int f2689;
/* renamed from: ﺙ, reason: contains not printable characters */
private static short[] f2690;
/* renamed from: ﻏ, reason: contains not printable characters */
private static int f2691;
/* renamed from: ヌ, reason: contains not printable characters */
private static int f2695;
/* renamed from: , reason: contains not printable characters */
public static void m3218() {
f2695 = -402451760;
f2688 = 123;
f2691 = 1256766708;
f2687 = new byte[]{-120, Ascii.GS, Ascii.US, -120, -69, -42, -121, 57, -119, -56, -48, -46, -106, 89, 56, 100, 65, 57, 87, 82, 85, 63, 93, 61, 73, 81, 89, 59, 74, -101, 19, -3, Ascii.SI, -9, 7, Ascii.DLE, 3, -13, Ascii.GS, Ascii.VT, -12, Ascii.FF, 1, -5, 32, 8, 8, -5, 2, 17, -7};
}
public static e valueOf(String str) {
int i = f2686 + 39;
f2689 = i % 128;
int i2 = i % 2;
e eVar = (e) Enum.valueOf(e.class, str);
if (i2 != 0) {
int i3 = 66 / 0;
}
int i4 = f2689 + 53;
f2686 = i4 % 128;
if (i4 % 2 != 0) {
return eVar;
}
throw null;
}
/* renamed from: values, reason: to resolve conflict with enum method */
public static e[] valuesCustom() {
int i = f2689 + 123;
f2686 = i % 128;
if (i % 2 != 0) {
return (e[]) values().clone();
}
int i2 = 58 / 0;
return (e[]) values().clone();
}
static {
m3218();
int i = f2689 + 97;
f2686 = i % 128;
int i2 = i % 2;
}
/* renamed from: ﻛ, reason: contains not printable characters */
public static e m3217(String str) {
int i = f2686 + 65;
f2689 = i % 128;
int i2 = i % 2;
if (TextUtils.isEmpty(str)) {
return null;
}
int hashCode = str.hashCode();
char c = 65535;
if (hashCode != 3642) {
if (hashCode != 96921) {
if (hashCode == 109261 && str.equals(m3219((-1256766598) - (ViewConfiguration.getTouchSlop() >> 8), 402451760 - Color.alpha(0), (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)) - 124, (short) (View.MeasureSpec.getMode(0) - 30), (byte) View.combineMeasuredStates(0, 0)).intern())) {
c = 0;
}
} else if (str.equals(m3219(Drawable.resolveOpacity(0, 0) - 1256766611, ((Process.getThreadPriority(0) + 20) >> 6) + 402451763, ((Process.getThreadPriority(0) + 20) >> 6) - 124, (short) (AndroidCharacter.getMirror('0') + '\r'), (byte) (ViewConfiguration.getPressedStateDuration() >> 16)).intern())) {
int i3 = f2689 + 11;
f2686 = i3 % 128;
int i4 = i3 % 2;
c = 1;
}
} else if (str.equals(m3219((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1256766595, (ViewConfiguration.getJumpTapTimeout() >> 16) + 402451766, View.resolveSizeAndState(0, 0, 0) - 124, (short) (View.resolveSizeAndState(0, 0, 0) - 63), (byte) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0))).intern())) {
int i5 = f2686 + 37;
f2689 = i5 % 128;
int i6 = i5 % 2;
c = 2;
}
if (c == 0) {
return f2693;
}
if (c == 1) {
return f2696;
}
if (c != 2) {
return null;
}
return f2694;
}
/* renamed from: メ, reason: contains not printable characters */
private static String m3219(int i, int i2, int i3, short s, byte b) {
String obj;
synchronized (m.f2834) {
try {
StringBuilder sb = new StringBuilder();
int i4 = f2688;
int i5 = i3 + i4;
int i6 = i5 == -1 ? 1 : 0;
if (i6 != 0) {
byte[] bArr = f2687;
if (bArr != null) {
i5 = (byte) (bArr[f2695 + i2] + i4);
} else {
i5 = (short) (f2690[f2695 + i2] + i4);
}
}
if (i5 > 0) {
m.f2839 = ((i2 + i5) - 2) + f2695 + i6;
m.f2835 = b;
char c = (char) (i + f2691);
m.f2836 = c;
sb.append(c);
m.f2838 = m.f2836;
m.f2837 = 1;
while (m.f2837 < i5) {
byte[] bArr2 = f2687;
if (bArr2 != null) {
int i7 = m.f2839;
m.f2839 = i7 - 1;
m.f2836 = (char) (m.f2838 + (((byte) (bArr2[i7] + s)) ^ m.f2835));
} else {
short[] sArr = f2690;
int i8 = m.f2839;
m.f2839 = i8 - 1;
m.f2836 = (char) (m.f2838 + (((short) (sArr[i8] + 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: ヌ, reason: contains not printable characters */
public static synchronized jh m3212() {
jh jhVar;
synchronized (jh.class) {
try {
if (f2679 == null) {
f2679 = new jh();
}
jhVar = f2679;
} catch (Throwable th) {
throw th;
}
}
return jhVar;
}
/* renamed from: メ, reason: contains not printable characters */
public final synchronized void m3215(final String str, final e eVar) {
this.f2682.post(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.jh.3
@Override // com.ironsource.adqualitysdk.sdk.i.io
/* renamed from: */
public final void mo933() {
synchronized (jh.this) {
jh.this.f2681.put(str, eVar);
}
}
});
}
/* renamed from: ヌ, reason: contains not printable characters */
public final synchronized boolean m3214(Activity activity) {
return e.f2696 == m3209(activity);
}
/* renamed from: メ, reason: contains not printable characters */
public final synchronized boolean m3216(Activity activity) {
return e.f2694 == m3209(activity);
}
/* renamed from: , reason: contains not printable characters */
private synchronized e m3209(Activity activity) {
if (activity != null) {
String name = activity.getClass().getName();
if (m3210().containsKey(name)) {
return m3210().get(name);
}
if (m3213().containsKey(name)) {
return m3213().get(name);
}
}
return e.m3217(ao.m1084().mo1091());
}
/* renamed from: , reason: contains not printable characters */
private synchronized Map<String, e> m3210() {
return new HashMap(this.f2681);
}
/* renamed from: メ, reason: contains not printable characters */
private synchronized Map<String, e> m3213() {
try {
if (this.f2680 == null) {
this.f2680 = new HashMap();
JSONObject mo1090 = ao.m1084().mo1090();
if (mo1090 != null) {
this.f2680 = jx.m3322(mo1090, new jx.e<e>() { // from class: com.ironsource.adqualitysdk.sdk.i.jh.5
@Override // com.ironsource.adqualitysdk.sdk.i.jx.e
/* renamed from: */
public final /* synthetic */ e mo1139(JSONObject jSONObject, String str) {
return e.m3217(jSONObject.optString(str));
}
});
}
}
} catch (Throwable th) {
throw th;
}
return this.f2680;
}
}