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:
50
apk_decompiled/sources/H/a.java
Normal file
50
apk_decompiled/sources/H/a.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package H;
|
||||
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.ColorFilter;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import java.io.IOException;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
import org.xmlpull.v1.XmlPullParserException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class a {
|
||||
public static void a(Drawable drawable, Resources.Theme theme) {
|
||||
drawable.applyTheme(theme);
|
||||
}
|
||||
|
||||
public static boolean b(Drawable drawable) {
|
||||
return drawable.canApplyTheme();
|
||||
}
|
||||
|
||||
public static ColorFilter c(Drawable drawable) {
|
||||
return drawable.getColorFilter();
|
||||
}
|
||||
|
||||
public static void d(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws XmlPullParserException, IOException {
|
||||
drawable.inflate(resources, xmlPullParser, attributeSet, theme);
|
||||
}
|
||||
|
||||
public static void e(Drawable drawable, float f2, float f4) {
|
||||
drawable.setHotspot(f2, f4);
|
||||
}
|
||||
|
||||
public static void f(Drawable drawable, int i, int i4, int i5, int i6) {
|
||||
drawable.setHotspotBounds(i, i4, i5, i6);
|
||||
}
|
||||
|
||||
public static void g(Drawable drawable, int i) {
|
||||
drawable.setTint(i);
|
||||
}
|
||||
|
||||
public static void h(Drawable drawable, ColorStateList colorStateList) {
|
||||
drawable.setTintList(colorStateList);
|
||||
}
|
||||
|
||||
public static void i(Drawable drawable, PorterDuff.Mode mode) {
|
||||
drawable.setTintMode(mode);
|
||||
}
|
||||
}
|
||||
14
apk_decompiled/sources/H/b.java
Normal file
14
apk_decompiled/sources/H/b.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package H;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class b {
|
||||
public static int a(Drawable drawable) {
|
||||
return drawable.getLayoutDirection();
|
||||
}
|
||||
|
||||
public static boolean b(Drawable drawable, int i) {
|
||||
return drawable.setLayoutDirection(i);
|
||||
}
|
||||
}
|
||||
31
apk_decompiled/sources/H/c.java
Normal file
31
apk_decompiled/sources/H/c.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package H;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.Icon;
|
||||
import android.net.Uri;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class c {
|
||||
public static Uri a(Object obj) {
|
||||
return e.d(obj);
|
||||
}
|
||||
|
||||
public static Drawable b(Icon icon, Context context) {
|
||||
return icon.loadDrawable(context);
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:24:0x007a */
|
||||
/* JADX WARN: Removed duplicated region for block: B:25:0x0084 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public static android.graphics.drawable.Icon c(androidx.core.graphics.drawable.IconCompat r4, android.content.Context r5) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 328
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: H.c.c(androidx.core.graphics.drawable.IconCompat, android.content.Context):android.graphics.drawable.Icon");
|
||||
}
|
||||
}
|
||||
17
apk_decompiled/sources/H/d.java
Normal file
17
apk_decompiled/sources/H/d.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package H;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.AdaptiveIconDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.Icon;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class d {
|
||||
public static Drawable a(Drawable drawable, Drawable drawable2) {
|
||||
return new AdaptiveIconDrawable(drawable, drawable2);
|
||||
}
|
||||
|
||||
public static Icon b(Bitmap bitmap) {
|
||||
return Icon.createWithAdaptiveBitmap(bitmap);
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/H/e.java
Normal file
23
apk_decompiled/sources/H/e.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package H;
|
||||
|
||||
import android.graphics.drawable.Icon;
|
||||
import android.net.Uri;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class e {
|
||||
public static int a(Object obj) {
|
||||
return ((Icon) obj).getResId();
|
||||
}
|
||||
|
||||
public static String b(Object obj) {
|
||||
return ((Icon) obj).getResPackage();
|
||||
}
|
||||
|
||||
public static int c(Object obj) {
|
||||
return ((Icon) obj).getType();
|
||||
}
|
||||
|
||||
public static Uri d(Object obj) {
|
||||
return ((Icon) obj).getUri();
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/H/f.java
Normal file
11
apk_decompiled/sources/H/f.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package H;
|
||||
|
||||
import android.graphics.drawable.Icon;
|
||||
import android.net.Uri;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class f {
|
||||
public static Icon a(Uri uri) {
|
||||
return Icon.createWithAdaptiveBitmapContentUri(uri);
|
||||
}
|
||||
}
|
||||
5
apk_decompiled/sources/H/g.java
Normal file
5
apk_decompiled/sources/H/g.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package H;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface g {
|
||||
}
|
||||
8
apk_decompiled/sources/H/h.java
Normal file
8
apk_decompiled/sources/H/h.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package H;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class h extends Drawable implements Drawable.Callback, g {
|
||||
public abstract void a(Drawable drawable);
|
||||
}
|
||||
Reference in New Issue
Block a user