Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
76
apk_decompiled/sources/Q0/a.java
Normal file
76
apk_decompiled/sources/Q0/a.java
Normal 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);
|
||||
}
|
||||
}
|
||||
68
apk_decompiled/sources/Q0/b.java
Normal file
68
apk_decompiled/sources/Q0/b.java
Normal 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());
|
||||
}
|
||||
}
|
||||
39
apk_decompiled/sources/Q0/c.java
Normal file
39
apk_decompiled/sources/Q0/c.java
Normal 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 + ')';
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/Q0/d.java
Normal file
16
apk_decompiled/sources/Q0/d.java
Normal 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;
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/Q0/e.java
Normal file
23
apk_decompiled/sources/Q0/e.java
Normal 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;
|
||||
}
|
||||
}
|
||||
25
apk_decompiled/sources/Q0/f.java
Normal file
25
apk_decompiled/sources/Q0/f.java
Normal 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;
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/Q0/g.java
Normal file
27
apk_decompiled/sources/Q0/g.java
Normal 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;
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/Q0/h.java
Normal file
15
apk_decompiled/sources/Q0/h.java
Normal 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);
|
||||
}
|
||||
15
apk_decompiled/sources/Q0/i.java
Normal file
15
apk_decompiled/sources/Q0/i.java
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user