Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,346 @@
package com.ironsource.adqualitysdk.sdk.i;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import java.util.HashMap;
/* loaded from: classes4.dex */
public final class ib {
/* renamed from: ﮐ, reason: contains not printable characters */
private static int f2326 = 1;
/* renamed from: ﻐ, reason: contains not printable characters */
private static final String[] f2327;
/* renamed from: ヌ, reason: contains not printable characters */
private static int f2328;
/* renamed from: メ, reason: contains not printable characters */
private static int f2329;
/* renamed from: ﻛ, reason: contains not printable characters */
private final SQLiteDatabase f2330;
/* renamed from: , reason: contains not printable characters */
private final a f2331;
/* renamed from: , reason: contains not printable characters */
public static void m3001() {
f2328 = 98;
}
static {
m3001();
f2327 = new String[]{m3000(false, "\ufffe\ufff8\f", 207 - View.MeasureSpec.makeMeasureSpec(0, 0), 3 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), KeyEvent.normalizeMetaState(0) + 3).intern(), m3000(true, "\u0001\ufff6\u000b", MotionEvent.axisFromString("") + 206, 3 - Color.red(0), 3 - (ViewConfiguration.getKeyRepeatDelay() >> 16)).intern()};
int i = f2326 + 91;
f2329 = i % 128;
int i2 = i % 2;
}
public ib(Context context, String str) {
a aVar = new a(context, str);
this.f2331 = aVar;
this.f2330 = aVar.getWritableDatabase();
}
/* renamed from: メ, reason: contains not printable characters */
public final synchronized void m3006(String str, String str2) {
try {
ContentValues contentValues = new ContentValues();
contentValues.put(m3000(true, "\u0001\ufff6\u000b", View.MeasureSpec.getSize(0) + 205, 3 - (ViewConfiguration.getJumpTapTimeout() >> 16), (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 2).intern(), str2);
if (this.f2330.update(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", ImageFormat.getBitsPerPixel(0) + 208, (TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)) + 8, 3 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)).intern(), contentValues, m3000(true, "\ufff4ᅲ0\u001c\"\ufff6", (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 170, TextUtils.lastIndexOf("", '0', 0) + 8, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 7).intern(), new String[]{str}) == 0) {
int i = f2329 + 27;
f2326 = i % 128;
int i2 = i % 2;
contentValues.put(m3000(false, "\ufffe\ufff8\f", TextUtils.getOffsetBefore("", 0) + 207, 3 - View.getDefaultSize(0, 0), 3 - (Process.myPid() >> 22)).intern(), str);
this.f2330.replace(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", 207 - Color.alpha(0), 7 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getTapTimeout() >> 16) + 4).intern(), null, contentValues);
}
int i3 = f2329 + 125;
f2326 = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
} catch (Throwable th) {
throw th;
}
}
/* renamed from: ヌ, reason: contains not printable characters */
public final synchronized String m3003(String str) {
Cursor cursor = null;
try {
Cursor query = this.f2330.query(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", ExpandableListView.getPackedPositionGroup(0L) + 207, 8 - View.MeasureSpec.getMode(0), 3 - TextUtils.indexOf((CharSequence) "", '0', 0)).intern(), f2327, m3000(true, "\ufff4ᅲ0\u001c\"\ufff6", 171 - View.MeasureSpec.makeMeasureSpec(0, 0), 7 - View.MeasureSpec.makeMeasureSpec(0, 0), View.resolveSizeAndState(0, 0, 0) + 6).intern(), new String[]{str}, null, null, null);
if (query != null) {
int i = f2329 + 57;
f2326 = i % 128;
try {
if (i % 2 == 0) {
query.moveToNext();
throw null;
}
if (query.moveToNext()) {
String string = query.getString(query.getColumnIndexOrThrow(m3000(true, "\u0001\ufff6\u000b", TextUtils.indexOf("", "", 0, 0) + 205, 3 - TextUtils.indexOf("", "", 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 4).intern()));
int i2 = f2326 + 119;
f2329 = i2 % 128;
int i3 = i2 % 2;
query.close();
return string;
}
} catch (Throwable th) {
th = th;
cursor = query;
if (cursor != null) {
cursor.close();
}
throw th;
}
}
if (query != null) {
query.close();
}
return null;
} catch (Throwable th2) {
th = th2;
}
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final synchronized void m3002(String str) {
int i = f2326 + 79;
f2329 = i % 128;
int i2 = i % 2;
this.f2330.delete(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", 208 - (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)), 7 - ImageFormat.getBitsPerPixel(0), 4 - Color.blue(0)).intern(), m3000(true, "¥ ̄\u001f\u000b\u0011", (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 188, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), TextUtils.indexOf("", "", 0) + 5).intern(), new String[]{str});
int i3 = f2326 + 39;
f2329 = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
/* renamed from: ヌ, reason: contains not printable characters */
public final synchronized HashMap<String, String> m3004(String str, int i) {
String num;
HashMap<String, String> hashMap;
Cursor cursor = null;
try {
String replace = str.replace('*', '%');
String intern = m3000(false, "\u001b/ᅱ\u0002\uffff\u0001\ufffbᅱ\ufff5!", ImageFormat.getBitsPerPixel(0) + 173, 9 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (ViewConfiguration.getTouchSlop() >> 8) + 9).intern();
String[] strArr = {replace};
if (i <= 0) {
int i2 = f2326 + 109;
f2329 = i2 % 128;
int i3 = i2 % 2;
num = null;
} else {
num = Integer.toString(i);
}
cursor = this.f2330.query(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", View.combineMeasuredStates(0, 0) + 207, (ViewConfiguration.getScrollBarSize() >> 8) + 8, (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) + 3).intern(), f2327, intern, strArr, null, null, null, num);
hashMap = new HashMap<>();
while (cursor != null) {
int i4 = f2329 + 35;
f2326 = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 1 / 0;
if (!cursor.moveToNext()) {
break;
}
try {
hashMap.put(cursor.getString(cursor.getColumnIndexOrThrow(m3000(false, "\ufffe\ufff8\f", 207 - Color.alpha(0), 2 - Process.getGidForName(""), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 3).intern())), cursor.getString(cursor.getColumnIndexOrThrow(m3000(true, "\u0001\ufff6\u000b", 205 - TextUtils.getOffsetBefore("", 0), 3 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 2 - Process.getGidForName("")).intern())));
} catch (IllegalArgumentException unused) {
}
} else {
if (!cursor.moveToNext()) {
break;
}
hashMap.put(cursor.getString(cursor.getColumnIndexOrThrow(m3000(false, "\ufffe\ufff8\f", 207 - Color.alpha(0), 2 - Process.getGidForName(""), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 3).intern())), cursor.getString(cursor.getColumnIndexOrThrow(m3000(true, "\u0001\ufff6\u000b", 205 - TextUtils.getOffsetBefore("", 0), 3 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 2 - Process.getGidForName("")).intern())));
}
}
if (cursor != null) {
cursor.close();
}
} catch (Throwable th) {
if (cursor != null) {
cursor.close();
}
throw th;
}
return hashMap;
}
/* renamed from: メ, reason: contains not printable characters */
public final synchronized int m3005(String str) {
Cursor cursor = null;
try {
Cursor query = this.f2330.query(m3000(true, "\u0006\ufff2\t\ufffe\ufff8\u0005\u0002\u0007", Process.getGidForName("") + 208, (ViewConfiguration.getFadingEdgeLength() >> 16) + 8, 5 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))).intern(), new String[]{m3000(true, "\u0006\u0000\ufff4ᅳ\u001d\u0012'\uffd9\u0005\uffff", View.resolveSize(0, 0) + 177, 9 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), KeyEvent.normalizeMetaState(0) + 3).intern()}, m3000(false, "\u001b/ᅱ\u0002\uffff\u0001\ufffbᅱ\ufff5!", 172 - (ViewConfiguration.getScrollBarSize() >> 8), TextUtils.lastIndexOf("", '0', 0) + 11, (ViewConfiguration.getTouchSlop() >> 8) + 9).intern(), new String[]{str.replace('*', '%')}, null, null, null);
if (query != null) {
try {
if (!(!query.moveToFirst())) {
int i = query.getInt(0);
int i2 = f2329 + 95;
f2326 = i2 % 128;
int i3 = i2 % 2;
query.close();
return i;
}
} catch (Throwable th) {
th = th;
cursor = query;
if (cursor != null) {
cursor.close();
}
throw th;
}
}
if (query != null) {
int i4 = f2329 + 87;
f2326 = i4 % 128;
if (i4 % 2 == 0) {
query.close();
throw null;
}
query.close();
}
return 0;
} catch (Throwable th2) {
th = th2;
}
}
public static class a extends SQLiteOpenHelper {
/* renamed from: ヌ, reason: contains not printable characters */
private static int f2334 = 1;
/* renamed from: メ, reason: contains not printable characters */
private static int f2335;
/* renamed from: , reason: contains not printable characters */
private static char[] f2333 = {'P', 60392, 55093, 50025, 44709, 39651, 34428, 29296, 23999, 18936, 13601, 8343, 3295, 63516, 58483, 53133, 48069, 42787, 37673, 32385, 27334, 'C', 60392, 55089, 50031, 44732, 39655, 34428, 29250, 23953, 18888, 13576, 8379, 3224, 63547, 58474, 53190, 48110, 42773, 37696, 32494, 27341, 22042, 16821, 11749, 6436, 1401, 61636, 56565, 51246, 46157, 40895, 35826, 30511, 25224, 20177, 14918, 9795, 4487, 64997, 59766, 54596, 49295, 44252, 39018, 33752, 28642, 23358, 18287, 12973, 7899, 2566, 63063, 57832, 52681, 47481, 42159, 37020, 31818, 26706, 21439, 16372, 11122, 5976, 643, 61144, 55918, 50653};
/* renamed from: ﻛ, reason: contains not printable characters */
private static long f2332 = 1003658352788630458L;
@Override // android.database.sqlite.SQLiteOpenHelper
public final void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i2) {
int i3 = f2335 + 61;
f2334 = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
public a(Context context, String str) {
super(context, str, (SQLiteDatabase.CursorFactory) null, 1);
}
@Override // android.database.sqlite.SQLiteOpenHelper
public final void onCreate(SQLiteDatabase sQLiteDatabase) {
int i = f2334 + 61;
f2335 = i % 128;
if (i % 2 == 0) {
if (!sQLiteDatabase.isReadOnly()) {
sQLiteDatabase.execSQL(m3007((char) (TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)), (ViewConfiguration.getPressedStateDuration() >> 16) + 21, (Process.getThreadPriority(0) + 20) >> 6).intern());
int i2 = f2335 + 113;
f2334 = i2 % 128;
int i3 = i2 % 2;
}
sQLiteDatabase.execSQL(m3007((char) Color.argb(0, 0, 0, 0), 67 - ExpandableListView.getPackedPositionGroup(0L), 21 - View.getDefaultSize(0, 0)).intern());
return;
}
sQLiteDatabase.isReadOnly();
throw null;
}
/* renamed from: , reason: contains not printable characters */
private static String m3007(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) ((f2333[i2 + i3] ^ (i3 * f2332)) ^ c);
d.f1567 = i3 + 1;
} else {
str = new String(cArr);
}
}
} catch (Throwable th) {
throw th;
}
}
return str;
}
}
/* renamed from: ﻛ, reason: contains not printable characters */
private static String m3000(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 (com.ironsource.adqualitysdk.sdk.i.a.f57) {
try {
char[] cArr3 = new char[i2];
com.ironsource.adqualitysdk.sdk.i.a.f56 = 0;
while (true) {
int i4 = com.ironsource.adqualitysdk.sdk.i.a.f56;
if (i4 >= i2) {
break;
}
com.ironsource.adqualitysdk.sdk.i.a.f54 = cArr2[i4];
cArr3[com.ironsource.adqualitysdk.sdk.i.a.f56] = (char) (com.ironsource.adqualitysdk.sdk.i.a.f54 + i);
int i5 = com.ironsource.adqualitysdk.sdk.i.a.f56;
cArr3[i5] = (char) (cArr3[i5] - f2328);
com.ironsource.adqualitysdk.sdk.i.a.f56 = i5 + 1;
}
if (i3 > 0) {
com.ironsource.adqualitysdk.sdk.i.a.f55 = i3;
char[] cArr4 = new char[i2];
System.arraycopy(cArr3, 0, cArr4, 0, i2);
int i6 = com.ironsource.adqualitysdk.sdk.i.a.f55;
System.arraycopy(cArr4, 0, cArr3, i2 - i6, i6);
int i7 = com.ironsource.adqualitysdk.sdk.i.a.f55;
System.arraycopy(cArr4, i7, cArr3, 0, i2 - i7);
}
if (z) {
char[] cArr5 = new char[i2];
com.ironsource.adqualitysdk.sdk.i.a.f56 = 0;
while (true) {
int i8 = com.ironsource.adqualitysdk.sdk.i.a.f56;
if (i8 >= i2) {
break;
}
cArr5[i8] = cArr3[(i2 - i8) - 1];
com.ironsource.adqualitysdk.sdk.i.a.f56 = i8 + 1;
}
cArr3 = cArr5;
}
str2 = new String(cArr3);
} catch (Throwable th) {
throw th;
}
}
return str2;
}
}