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:
51
apk_decompiled/sources/com/adif/elcanomovil/uiHome/f.java
Normal file
51
apk_decompiled/sources/com/adif/elcanomovil/uiHome/f.java
Normal file
@@ -0,0 +1,51 @@
|
||||
package com.adif.elcanomovil.uiHome;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
|
||||
import com.adif.elcanomovil.uiHome.databinding.FragmentHomeBinding;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.flow.FlowCollector;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public final class f implements FlowCollector {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f5072a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ HomeFragment f5073b;
|
||||
|
||||
public /* synthetic */ f(HomeFragment homeFragment, int i) {
|
||||
this.f5072a = i;
|
||||
this.f5073b = homeFragment;
|
||||
}
|
||||
|
||||
@Override // kotlinx.coroutines.flow.FlowCollector
|
||||
public final Object emit(Object obj, Continuation continuation) {
|
||||
NavigationHandler navigationHandler;
|
||||
FragmentHomeBinding fragmentHomeBinding;
|
||||
switch (this.f5072a) {
|
||||
case 0:
|
||||
navigationHandler = this.f5073b.navigationHandler;
|
||||
navigationHandler.invoke2((Navigation) obj);
|
||||
return Unit.INSTANCE;
|
||||
case 1:
|
||||
this.f5073b.onViewStateUpdated((HomeFragmentViewState) obj);
|
||||
return Unit.INSTANCE;
|
||||
case 2:
|
||||
this.f5073b.checkAndAskUserPermission();
|
||||
return Unit.INSTANCE;
|
||||
default:
|
||||
boolean booleanValue = ((Boolean) obj).booleanValue();
|
||||
fragmentHomeBinding = this.f5073b.binding;
|
||||
if (fragmentHomeBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentHomeBinding = null;
|
||||
}
|
||||
fragmentHomeBinding.layoutHomeMap.setLocationAvailableAndCenterCamera(booleanValue);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user