package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.os.Process; import android.text.TextUtils; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.ViewConfiguration; import com.ironsource.adqualitysdk.sdk.i.iz; import com.yandex.mobile.ads.common.MobileAds; /* loaded from: classes4.dex */ public final class ha implements gd { /* renamed from: ﻐ, reason: contains not printable characters */ private static int f2163 = 1; /* renamed from: ﻛ, reason: contains not printable characters */ private static int f2164; /* renamed from: ヌ, reason: contains not printable characters */ private static char[] f2165 = {50207, 11461, 5565, 32464, 26461, 18483, 45334, 39362, 33449, 60290, 56334, 50467, 11803, 5824, 32673, 24730, 18809, 45668, 39697, 33786, 62647, 56796, 50811, 12073, 4097, 30967, 25007, 19072, 45882, 41999, 36103, 62964, 57045, 51078, 10357, 4479, 31232, 25313, 29213, 39623, 41916, 51346, 53571, 65075, 1806, 12235, 13500, 23947, 27149, 29493, 38935, 41166, 51630, 54929, 65382, '7', 59640, 53660, 'y', 59575, 53698, 47846, 41789, 35926}; /* renamed from: メ, reason: contains not printable characters */ private static long f2166 = 3961563510166644950L; @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ﻐ */ public final String mo2733() { char keyCodeFromString; int axisFromString; int i = f2163 + 65; f2164 = i % 128; if (i % 2 != 0) { keyCodeFromString = (char) (50300 << KeyEvent.keyCodeFromString("")); axisFromString = 91 / MotionEvent.axisFromString(""); } else { keyCodeFromString = (char) (50300 - KeyEvent.keyCodeFromString("")); axisFromString = MotionEvent.axisFromString("") + 39; } return m2776(keyCodeFromString, axisFromString, KeyEvent.getDeadChar(0, 0)).intern(); } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: k */ public final Class mo2735() { int i = f2163 + 41; f2164 = i % 128; if (i % 2 == 0) { return MobileAds.class; } int i2 = 76 / 0; return MobileAds.class; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ﻛ */ public final iz.b mo2734() { iz.b bVar = new iz.b(m2776((char) (29309 - ImageFormat.getBitsPerPixel(0)), 17 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 38).intern(), m2776((char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 2 - Process.getGidForName(""), 54 - TextUtils.lastIndexOf("", '0')).intern()); int i = f2163 + 63; f2164 = i % 128; if (i % 2 == 0) { return bVar; } throw null; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: メ */ public final bb mo2737() { cf cfVar = new cf(m2776((char) TextUtils.getOffsetAfter("", 0), (PointF.length(0.0f, 0.0f) > 0.0f ? 1 : (PointF.length(0.0f, 0.0f) == 0.0f ? 0 : -1)) + 6, 58 - (PointF.length(0.0f, 0.0f) > 0.0f ? 1 : (PointF.length(0.0f, 0.0f) == 0.0f ? 0 : -1))).intern()); int i = f2164 + 121; f2163 = i % 128; if (i % 2 == 0) { int i2 = 14 / 0; } return cfVar; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ヌ */ public final String mo2736() { char blue; int doubleTapTimeout; int keyCodeFromString; int i = f2164 + 69; f2163 = i % 128; if (i % 2 == 0) { blue = (char) Color.blue(1); doubleTapTimeout = 86 - (ViewConfiguration.getDoubleTapTimeout() % 55); keyCodeFromString = 19 << KeyEvent.keyCodeFromString(""); } else { blue = (char) Color.blue(0); doubleTapTimeout = (ViewConfiguration.getDoubleTapTimeout() >> 16) + 6; keyCodeFromString = KeyEvent.keyCodeFromString("") + 58; } String intern = m2776(blue, doubleTapTimeout, keyCodeFromString).intern(); int i2 = f2163 + 49; f2164 = i2 % 128; int i3 = i2 % 2; return intern; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m2776(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) ((f2165[i2 + i3] ^ (i3 * f2166)) ^ c); d.f1567 = i3 + 1; } else { str = new String(cArr); } } } catch (Throwable th) { throw th; } } return str; } }