Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
210
apk_decompiled/sources/D0/a.java
Normal file
210
apk_decompiled/sources/D0/a.java
Normal file
@@ -0,0 +1,210 @@
|
||||
package D0;
|
||||
|
||||
import U.k;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentSender;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.view.View;
|
||||
import androidx.fragment.app.C0137b;
|
||||
import androidx.fragment.app.C0139c;
|
||||
import androidx.fragment.app.C0148g0;
|
||||
import androidx.fragment.app.C0162n0;
|
||||
import androidx.fragment.app.r0;
|
||||
import androidx.versionedparcelable.ParcelImpl;
|
||||
import com.google.android.material.datepicker.o;
|
||||
import d.C0292a;
|
||||
import d.C0302k;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Locale;
|
||||
import kotlin.KotlinVersion;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import m.C0470k;
|
||||
import m.L;
|
||||
import o0.C0538o;
|
||||
import r2.C0568b;
|
||||
import x2.f;
|
||||
import z2.C0676f;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class a implements Parcelable.Creator {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f360a;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r7v23, types: [java.lang.Object, k2.b] */
|
||||
/* JADX WARN: Type inference failed for: r7v24, types: [java.lang.Object, m.k] */
|
||||
/* JADX WARN: Type inference failed for: r7v25, types: [android.view.View$BaseSavedState, m.L, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r7v28, types: [android.view.View$BaseSavedState, r2.b, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r7v29, types: [z2.f, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r7v4, types: [android.view.View$BaseSavedState, U.k, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r7v7, types: [androidx.fragment.app.g0, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r7v8, types: [androidx.fragment.app.n0, java.lang.Object] */
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final Object createFromParcel(Parcel parcel) {
|
||||
switch (this.f360a) {
|
||||
case 0:
|
||||
return new ParcelImpl(parcel);
|
||||
case 1:
|
||||
String readString = parcel.readString();
|
||||
Intrinsics.checkNotNull(readString);
|
||||
int readInt = parcel.readInt();
|
||||
LinkedHashMap linkedHashMap = new LinkedHashMap(readInt);
|
||||
for (int i = 0; i < readInt; i++) {
|
||||
String readString2 = parcel.readString();
|
||||
Intrinsics.checkNotNull(readString2);
|
||||
String readString3 = parcel.readString();
|
||||
Intrinsics.checkNotNull(readString3);
|
||||
linkedHashMap.put(readString2, readString3);
|
||||
}
|
||||
return new Q0.b(readString, linkedHashMap);
|
||||
case 2:
|
||||
?? baseSavedState = new View.BaseSavedState(parcel);
|
||||
baseSavedState.f1756a = parcel.readInt();
|
||||
return baseSavedState;
|
||||
case 3:
|
||||
return new C0137b(parcel);
|
||||
case 4:
|
||||
return new C0139c(parcel);
|
||||
case 5:
|
||||
?? obj = new Object();
|
||||
obj.f3122a = parcel.readString();
|
||||
obj.f3123b = parcel.readInt();
|
||||
return obj;
|
||||
case 6:
|
||||
?? obj2 = new Object();
|
||||
obj2.f3189e = null;
|
||||
obj2.f3190f = new ArrayList();
|
||||
obj2.f3191g = new ArrayList();
|
||||
obj2.f3185a = parcel.createStringArrayList();
|
||||
obj2.f3186b = parcel.createStringArrayList();
|
||||
obj2.f3187c = (C0137b[]) parcel.createTypedArray(C0137b.CREATOR);
|
||||
obj2.f3188d = parcel.readInt();
|
||||
obj2.f3189e = parcel.readString();
|
||||
obj2.f3190f = parcel.createStringArrayList();
|
||||
obj2.f3191g = parcel.createTypedArrayList(C0139c.CREATOR);
|
||||
obj2.h = parcel.createTypedArrayList(C0148g0.CREATOR);
|
||||
return obj2;
|
||||
case 7:
|
||||
return new r0(parcel);
|
||||
case 8:
|
||||
return new com.google.android.material.datepicker.b((o) parcel.readParcelable(o.class.getClassLoader()), (o) parcel.readParcelable(o.class.getClassLoader()), (com.google.android.material.datepicker.d) parcel.readParcelable(com.google.android.material.datepicker.d.class.getClassLoader()), (o) parcel.readParcelable(o.class.getClassLoader()), parcel.readInt());
|
||||
case 9:
|
||||
return new com.google.android.material.datepicker.d(parcel.readLong());
|
||||
case 10:
|
||||
return o.a(parcel.readInt(), parcel.readInt());
|
||||
case 11:
|
||||
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
||||
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
||||
return new C0292a(parcel.readInt(), parcel.readInt() == 0 ? null : (Intent) Intent.CREATOR.createFromParcel(parcel));
|
||||
case 12:
|
||||
Intrinsics.checkNotNullParameter(parcel, "inParcel");
|
||||
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
||||
Parcelable readParcelable = parcel.readParcelable(IntentSender.class.getClassLoader());
|
||||
Intrinsics.checkNotNull(readParcelable);
|
||||
return new C0302k((IntentSender) readParcelable, (Intent) parcel.readParcelable(Intent.class.getClassLoader()), parcel.readInt(), parcel.readInt());
|
||||
case 13:
|
||||
?? obj3 = new Object();
|
||||
obj3.i = KotlinVersion.MAX_COMPONENT_VALUE;
|
||||
obj3.f7073k = -2;
|
||||
obj3.f7074l = -2;
|
||||
obj3.f7075m = -2;
|
||||
obj3.f7081t = Boolean.TRUE;
|
||||
obj3.f7065a = parcel.readInt();
|
||||
obj3.f7066b = (Integer) parcel.readSerializable();
|
||||
obj3.f7067c = (Integer) parcel.readSerializable();
|
||||
obj3.f7068d = (Integer) parcel.readSerializable();
|
||||
obj3.f7069e = (Integer) parcel.readSerializable();
|
||||
obj3.f7070f = (Integer) parcel.readSerializable();
|
||||
obj3.f7071g = (Integer) parcel.readSerializable();
|
||||
obj3.h = (Integer) parcel.readSerializable();
|
||||
obj3.i = parcel.readInt();
|
||||
obj3.f7072j = parcel.readString();
|
||||
obj3.f7073k = parcel.readInt();
|
||||
obj3.f7074l = parcel.readInt();
|
||||
obj3.f7075m = parcel.readInt();
|
||||
obj3.f7077o = parcel.readString();
|
||||
obj3.p = parcel.readString();
|
||||
obj3.f7078q = parcel.readInt();
|
||||
obj3.f7080s = (Integer) parcel.readSerializable();
|
||||
obj3.f7082u = (Integer) parcel.readSerializable();
|
||||
obj3.f7083v = (Integer) parcel.readSerializable();
|
||||
obj3.f7084w = (Integer) parcel.readSerializable();
|
||||
obj3.f7085x = (Integer) parcel.readSerializable();
|
||||
obj3.f7086y = (Integer) parcel.readSerializable();
|
||||
obj3.f7087z = (Integer) parcel.readSerializable();
|
||||
obj3.f7063C = (Integer) parcel.readSerializable();
|
||||
obj3.f7061A = (Integer) parcel.readSerializable();
|
||||
obj3.f7062B = (Integer) parcel.readSerializable();
|
||||
obj3.f7081t = (Boolean) parcel.readSerializable();
|
||||
obj3.f7076n = (Locale) parcel.readSerializable();
|
||||
obj3.f7064D = (Boolean) parcel.readSerializable();
|
||||
return obj3;
|
||||
case 14:
|
||||
?? obj4 = new Object();
|
||||
obj4.f7673a = parcel.readInt();
|
||||
return obj4;
|
||||
case 15:
|
||||
?? baseSavedState2 = new View.BaseSavedState(parcel);
|
||||
baseSavedState2.f7588a = parcel.readByte() != 0;
|
||||
return baseSavedState2;
|
||||
case 16:
|
||||
Intrinsics.checkNotNullParameter(parcel, "inParcel");
|
||||
return new C0538o(parcel);
|
||||
case 17:
|
||||
?? baseSavedState3 = new View.BaseSavedState(parcel);
|
||||
baseSavedState3.f8214a = ((Integer) parcel.readValue(C0568b.class.getClassLoader())).intValue();
|
||||
return baseSavedState3;
|
||||
default:
|
||||
?? obj5 = new Object();
|
||||
obj5.f9082a = parcel.readInt();
|
||||
obj5.f9083b = (f) parcel.readParcelable(C0676f.class.getClassLoader());
|
||||
return obj5;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final Object[] newArray(int i) {
|
||||
switch (this.f360a) {
|
||||
case 0:
|
||||
return new ParcelImpl[i];
|
||||
case 1:
|
||||
return new Q0.b[i];
|
||||
case 2:
|
||||
return new k[i];
|
||||
case 3:
|
||||
return new C0137b[i];
|
||||
case 4:
|
||||
return new C0139c[i];
|
||||
case 5:
|
||||
return new C0148g0[i];
|
||||
case 6:
|
||||
return new C0162n0[i];
|
||||
case 7:
|
||||
return new r0[i];
|
||||
case 8:
|
||||
return new com.google.android.material.datepicker.b[i];
|
||||
case 9:
|
||||
return new com.google.android.material.datepicker.d[i];
|
||||
case 10:
|
||||
return new o[i];
|
||||
case 11:
|
||||
return new C0292a[i];
|
||||
case 12:
|
||||
return new C0302k[i];
|
||||
case 13:
|
||||
return new k2.b[i];
|
||||
case 14:
|
||||
return new C0470k[i];
|
||||
case 15:
|
||||
return new L[i];
|
||||
case 16:
|
||||
return new C0538o[i];
|
||||
case 17:
|
||||
return new C0568b[i];
|
||||
default:
|
||||
return new C0676f[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
134
apk_decompiled/sources/D0/b.java
Normal file
134
apk_decompiled/sources/D0/b.java
Normal file
@@ -0,0 +1,134 @@
|
||||
package D0;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import s.e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class b {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final e f361a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final e f362b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final e f363c;
|
||||
|
||||
public b(e eVar, e eVar2, e eVar3) {
|
||||
this.f361a = eVar;
|
||||
this.f362b = eVar2;
|
||||
this.f363c = eVar3;
|
||||
}
|
||||
|
||||
public abstract c a();
|
||||
|
||||
public final Class b(Class cls) {
|
||||
String name = cls.getName();
|
||||
e eVar = this.f363c;
|
||||
Class cls2 = (Class) eVar.get(name);
|
||||
if (cls2 != null) {
|
||||
return cls2;
|
||||
}
|
||||
Class<?> cls3 = Class.forName(cls.getPackage().getName() + "." + cls.getSimpleName() + "Parcelizer", false, cls.getClassLoader());
|
||||
eVar.put(cls.getName(), cls3);
|
||||
return cls3;
|
||||
}
|
||||
|
||||
public final Method c(String str) {
|
||||
e eVar = this.f361a;
|
||||
Method method = (Method) eVar.get(str);
|
||||
if (method != null) {
|
||||
return method;
|
||||
}
|
||||
System.currentTimeMillis();
|
||||
Method declaredMethod = Class.forName(str, true, b.class.getClassLoader()).getDeclaredMethod("read", b.class);
|
||||
eVar.put(str, declaredMethod);
|
||||
return declaredMethod;
|
||||
}
|
||||
|
||||
public final Method d(Class cls) {
|
||||
String name = cls.getName();
|
||||
e eVar = this.f362b;
|
||||
Method method = (Method) eVar.get(name);
|
||||
if (method != null) {
|
||||
return method;
|
||||
}
|
||||
Class b4 = b(cls);
|
||||
System.currentTimeMillis();
|
||||
Method declaredMethod = b4.getDeclaredMethod("write", cls, b.class);
|
||||
eVar.put(cls.getName(), declaredMethod);
|
||||
return declaredMethod;
|
||||
}
|
||||
|
||||
public abstract boolean e(int i);
|
||||
|
||||
public final Parcelable f(Parcelable parcelable, int i) {
|
||||
if (!e(i)) {
|
||||
return parcelable;
|
||||
}
|
||||
return ((c) this).f365e.readParcelable(c.class.getClassLoader());
|
||||
}
|
||||
|
||||
public final d g() {
|
||||
String readString = ((c) this).f365e.readString();
|
||||
if (readString == null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
return (d) c(readString).invoke(null, a());
|
||||
} catch (ClassNotFoundException e4) {
|
||||
throw new RuntimeException("VersionedParcel encountered ClassNotFoundException", e4);
|
||||
} catch (IllegalAccessException e5) {
|
||||
throw new RuntimeException("VersionedParcel encountered IllegalAccessException", e5);
|
||||
} catch (NoSuchMethodException e6) {
|
||||
throw new RuntimeException("VersionedParcel encountered NoSuchMethodException", e6);
|
||||
} catch (InvocationTargetException e7) {
|
||||
if (e7.getCause() instanceof RuntimeException) {
|
||||
throw ((RuntimeException) e7.getCause());
|
||||
}
|
||||
throw new RuntimeException("VersionedParcel encountered InvocationTargetException", e7);
|
||||
}
|
||||
}
|
||||
|
||||
public abstract void h(int i);
|
||||
|
||||
public final void i(d dVar) {
|
||||
if (dVar == null) {
|
||||
((c) this).f365e.writeString(null);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
((c) this).f365e.writeString(b(dVar.getClass()).getName());
|
||||
c a2 = a();
|
||||
try {
|
||||
d(dVar.getClass()).invoke(null, dVar, a2);
|
||||
int i = a2.i;
|
||||
if (i >= 0) {
|
||||
int i4 = a2.f364d.get(i);
|
||||
Parcel parcel = a2.f365e;
|
||||
int dataPosition = parcel.dataPosition();
|
||||
parcel.setDataPosition(i4);
|
||||
parcel.writeInt(dataPosition - i4);
|
||||
parcel.setDataPosition(dataPosition);
|
||||
}
|
||||
} catch (ClassNotFoundException e4) {
|
||||
throw new RuntimeException("VersionedParcel encountered ClassNotFoundException", e4);
|
||||
} catch (IllegalAccessException e5) {
|
||||
throw new RuntimeException("VersionedParcel encountered IllegalAccessException", e5);
|
||||
} catch (NoSuchMethodException e6) {
|
||||
throw new RuntimeException("VersionedParcel encountered NoSuchMethodException", e6);
|
||||
} catch (InvocationTargetException e7) {
|
||||
if (!(e7.getCause() instanceof RuntimeException)) {
|
||||
throw new RuntimeException("VersionedParcel encountered InvocationTargetException", e7);
|
||||
}
|
||||
throw ((RuntimeException) e7.getCause());
|
||||
}
|
||||
} catch (ClassNotFoundException e8) {
|
||||
throw new RuntimeException(dVar.getClass().getSimpleName().concat(" does not have a Parcelizer"), e8);
|
||||
}
|
||||
}
|
||||
}
|
||||
99
apk_decompiled/sources/D0/c.java
Normal file
99
apk_decompiled/sources/D0/c.java
Normal file
@@ -0,0 +1,99 @@
|
||||
package D0;
|
||||
|
||||
import C.w;
|
||||
import android.os.Parcel;
|
||||
import android.util.SparseIntArray;
|
||||
import s.e;
|
||||
import s.j;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class c extends b {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final SparseIntArray f364d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final Parcel f365e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final int f366f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final int f367g;
|
||||
public final String h;
|
||||
public int i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f368j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public int f369k;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r5v0, types: [s.e, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r6v0, types: [s.e, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r7v0, types: [s.e, s.j] */
|
||||
public c(Parcel parcel) {
|
||||
this(parcel, parcel.dataPosition(), parcel.dataSize(), "", new j(0), new j(0), new j(0));
|
||||
}
|
||||
|
||||
@Override // D0.b
|
||||
public final c a() {
|
||||
Parcel parcel = this.f365e;
|
||||
int dataPosition = parcel.dataPosition();
|
||||
int i = this.f368j;
|
||||
if (i == this.f366f) {
|
||||
i = this.f367g;
|
||||
}
|
||||
return new c(parcel, dataPosition, i, w.r(new StringBuilder(), this.h, " "), this.f361a, this.f362b, this.f363c);
|
||||
}
|
||||
|
||||
@Override // D0.b
|
||||
public final boolean e(int i) {
|
||||
while (this.f368j < this.f367g) {
|
||||
int i4 = this.f369k;
|
||||
if (i4 == i) {
|
||||
return true;
|
||||
}
|
||||
if (String.valueOf(i4).compareTo(String.valueOf(i)) > 0) {
|
||||
return false;
|
||||
}
|
||||
int i5 = this.f368j;
|
||||
Parcel parcel = this.f365e;
|
||||
parcel.setDataPosition(i5);
|
||||
int readInt = parcel.readInt();
|
||||
this.f369k = parcel.readInt();
|
||||
this.f368j += readInt;
|
||||
}
|
||||
return this.f369k == i;
|
||||
}
|
||||
|
||||
@Override // D0.b
|
||||
public final void h(int i) {
|
||||
int i4 = this.i;
|
||||
SparseIntArray sparseIntArray = this.f364d;
|
||||
Parcel parcel = this.f365e;
|
||||
if (i4 >= 0) {
|
||||
int i5 = sparseIntArray.get(i4);
|
||||
int dataPosition = parcel.dataPosition();
|
||||
parcel.setDataPosition(i5);
|
||||
parcel.writeInt(dataPosition - i5);
|
||||
parcel.setDataPosition(dataPosition);
|
||||
}
|
||||
this.i = i;
|
||||
sparseIntArray.put(i, parcel.dataPosition());
|
||||
parcel.writeInt(0);
|
||||
parcel.writeInt(i);
|
||||
}
|
||||
|
||||
public c(Parcel parcel, int i, int i4, String str, e eVar, e eVar2, e eVar3) {
|
||||
super(eVar, eVar2, eVar3);
|
||||
this.f364d = new SparseIntArray();
|
||||
this.i = -1;
|
||||
this.f369k = -1;
|
||||
this.f365e = parcel;
|
||||
this.f366f = i;
|
||||
this.f367g = i4;
|
||||
this.f368j = i;
|
||||
this.h = str;
|
||||
}
|
||||
}
|
||||
5
apk_decompiled/sources/D0/d.java
Normal file
5
apk_decompiled/sources/D0/d.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package D0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface d {
|
||||
}
|
||||
Reference in New Issue
Block a user