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:
52
apk_decompiled/sources/o0/W.java
Normal file
52
apk_decompiled/sources/o0/W.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package o0;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class W {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final LinkedHashMap f7966b = new LinkedHashMap();
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final LinkedHashMap f7967a = new LinkedHashMap();
|
||||
|
||||
public final void a(V navigator) {
|
||||
Intrinsics.checkNotNullParameter(navigator, "navigator");
|
||||
String name = m3.d.u(navigator.getClass());
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(navigator, "navigator");
|
||||
if (name == null || name.length() <= 0) {
|
||||
throw new IllegalArgumentException("navigator name cannot be an empty string");
|
||||
}
|
||||
LinkedHashMap linkedHashMap = this.f7967a;
|
||||
V v3 = (V) linkedHashMap.get(name);
|
||||
if (Intrinsics.areEqual(v3, navigator)) {
|
||||
return;
|
||||
}
|
||||
boolean z3 = false;
|
||||
if (v3 != null && v3.f7965b) {
|
||||
z3 = true;
|
||||
}
|
||||
if (z3) {
|
||||
throw new IllegalStateException(("Navigator " + navigator + " is replacing an already attached " + v3).toString());
|
||||
}
|
||||
if (!navigator.f7965b) {
|
||||
return;
|
||||
}
|
||||
throw new IllegalStateException(("Navigator " + navigator + " is already attached to another NavController").toString());
|
||||
}
|
||||
|
||||
public final V b(String name) {
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
if (name == null || name.length() <= 0) {
|
||||
throw new IllegalArgumentException("navigator name cannot be an empty string");
|
||||
}
|
||||
V v3 = (V) this.f7967a.get(name);
|
||||
if (v3 != null) {
|
||||
return v3;
|
||||
}
|
||||
throw new IllegalStateException(C.w.o("Could not find Navigator with name \"", name, "\". You must call NavController.addNavigator() for each navigation type."));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user