Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
package Q0;
import android.app.ActivityManager;
import android.content.Context;
import android.graphics.Bitmap;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class a {
/* renamed from: a, reason: collision with root package name */
public final Context f1350a;
/* renamed from: b, reason: collision with root package name */
public double f1351b;
/* renamed from: c, reason: collision with root package name */
public final boolean f1352c;
/* renamed from: d, reason: collision with root package name */
public final boolean f1353d;
public a(Context context) {
this.f1350a = context;
Bitmap.Config[] configArr = W0.f.f1887a;
double d4 = 0.2d;
try {
Object systemService = D.h.getSystemService(context, ActivityManager.class);
Intrinsics.checkNotNull(systemService);
if (((ActivityManager) systemService).isLowRamDevice()) {
d4 = 0.15d;
}
} catch (Exception unused) {
}
this.f1351b = d4;
this.f1352c = true;
this.f1353d = true;
}
public final d a() {
A.a aVar;
h hVar;
int i;
int i4;
i hVar2 = this.f1353d ? new L.h() : new E2.e(6);
if (this.f1352c) {
double d4 = this.f1351b;
if (d4 > FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
Context context = this.f1350a;
Bitmap.Config[] configArr = W0.f.f1887a;
try {
Object systemService = D.h.getSystemService(context, ActivityManager.class);
Intrinsics.checkNotNull(systemService);
ActivityManager activityManager = (ActivityManager) systemService;
i4 = (context.getApplicationInfo().flags & 1048576) != 0 ? activityManager.getLargeMemoryClass() : activityManager.getMemoryClass();
} catch (Exception unused) {
i4 = 256;
}
double d5 = 1024;
i = (int) (d4 * i4 * d5 * d5);
} else {
i = 0;
}
if (i > 0) {
hVar = new F.i(i, hVar2);
return new d(hVar, hVar2);
}
aVar = new A.a(hVar2, 12);
} else {
aVar = new A.a(hVar2, 12);
}
hVar = aVar;
return new d(hVar, hVar2);
}
}

View File

@@ -0,0 +1,68 @@
package Q0;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Map;
import kotlin.collections.MapsKt;
import kotlin.jvm.JvmField;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class b implements Parcelable {
@JvmField
@Deprecated
public static final Parcelable.Creator<b> CREATOR = new D0.a(1);
/* renamed from: a, reason: collision with root package name */
public final String f1354a;
/* renamed from: b, reason: collision with root package name */
public final Map f1355b;
public b(String str, Map map) {
this.f1354a = str;
this.f1355b = map;
}
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof b)) {
return false;
}
b bVar = (b) obj;
return Intrinsics.areEqual(this.f1354a, bVar.f1354a) && Intrinsics.areEqual(this.f1355b, bVar.f1355b);
}
public final int hashCode() {
return this.f1355b.hashCode() + (this.f1354a.hashCode() * 31);
}
public final String toString() {
return "Key(key=" + this.f1354a + ", extras=" + this.f1355b + ')';
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.f1354a);
Map map = this.f1355b;
parcel.writeInt(map.size());
for (Map.Entry entry : map.entrySet()) {
String str = (String) entry.getKey();
String str2 = (String) entry.getValue();
parcel.writeString(str);
parcel.writeString(str2);
}
}
public /* synthetic */ b(String str) {
this(str, MapsKt.emptyMap());
}
}

View File

@@ -0,0 +1,39 @@
package Q0;
import android.graphics.Bitmap;
import java.util.Map;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class c {
/* renamed from: a, reason: collision with root package name */
public final Bitmap f1356a;
/* renamed from: b, reason: collision with root package name */
public final Map f1357b;
public c(Bitmap bitmap, Map map) {
this.f1356a = bitmap;
this.f1357b = map;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof c)) {
return false;
}
c cVar = (c) obj;
return Intrinsics.areEqual(this.f1356a, cVar.f1356a) && Intrinsics.areEqual(this.f1357b, cVar.f1357b);
}
public final int hashCode() {
return this.f1357b.hashCode() + (this.f1356a.hashCode() * 31);
}
public final String toString() {
return "Value(bitmap=" + this.f1356a + ", extras=" + this.f1357b + ')';
}
}

View File

@@ -0,0 +1,16 @@
package Q0;
/* loaded from: classes.dex */
public final class d {
/* renamed from: a, reason: collision with root package name */
public final h f1358a;
/* renamed from: b, reason: collision with root package name */
public final i f1359b;
public d(h hVar, i iVar) {
this.f1358a = hVar;
this.f1359b = iVar;
}
}

View File

@@ -0,0 +1,23 @@
package Q0;
import android.graphics.Bitmap;
import java.util.Map;
/* loaded from: classes.dex */
public final class e {
/* renamed from: a, reason: collision with root package name */
public final Bitmap f1360a;
/* renamed from: b, reason: collision with root package name */
public final Map f1361b;
/* renamed from: c, reason: collision with root package name */
public final int f1362c;
public e(Bitmap bitmap, Map map, int i) {
this.f1360a = bitmap;
this.f1361b = map;
this.f1362c = i;
}
}

View File

@@ -0,0 +1,25 @@
package Q0;
/* loaded from: classes.dex */
public final class f extends s.i {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ F.i f1363a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public f(int i, F.i iVar) {
super(i);
this.f1363a = iVar;
}
@Override // s.i
public final void entryRemoved(boolean z3, Object obj, Object obj2, Object obj3) {
e eVar = (e) obj2;
((i) this.f1363a.f490b).e((b) obj, eVar.f1360a, eVar.f1361b, eVar.f1362c);
}
@Override // s.i
public final int sizeOf(Object obj, Object obj2) {
return ((e) obj2).f1362c;
}
}

View File

@@ -0,0 +1,27 @@
package Q0;
import java.lang.ref.WeakReference;
import java.util.Map;
/* loaded from: classes.dex */
public final class g {
/* renamed from: a, reason: collision with root package name */
public final int f1364a;
/* renamed from: b, reason: collision with root package name */
public final WeakReference f1365b;
/* renamed from: c, reason: collision with root package name */
public final Map f1366c;
/* renamed from: d, reason: collision with root package name */
public final int f1367d;
public g(int i, WeakReference weakReference, Map map, int i4) {
this.f1364a = i;
this.f1365b = weakReference;
this.f1366c = map;
this.f1367d = i4;
}
}

View File

@@ -0,0 +1,15 @@
package Q0;
import android.graphics.Bitmap;
import java.util.Map;
/* loaded from: classes.dex */
public interface h {
boolean a(b bVar);
c b(b bVar);
void c(int i);
void h(b bVar, Bitmap bitmap, Map map);
}

View File

@@ -0,0 +1,15 @@
package Q0;
import android.graphics.Bitmap;
import java.util.Map;
/* loaded from: classes.dex */
public interface i {
boolean a(b bVar);
c b(b bVar);
void c(int i);
void e(b bVar, Bitmap bitmap, Map map, int i);
}