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:
@@ -0,0 +1,78 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ranges.IntRange;
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u0011\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\t\b&\u0018\u0000*\b\b\u0000\u0010\u0001*\u00020\u00022\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0013\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00028\u0000¢\u0006\u0002\u0010\u0012J\b\u0010\u0003\u001a\u00020\u0004H\u0004J\u001d\u0010\u0013\u001a\u00028\u00002\u0006\u0010\u0014\u001a\u00028\u00002\u0006\u0010\u0015\u001a\u00028\u0000H\u0004¢\u0006\u0002\u0010\u0016J\u0011\u0010\u0017\u001a\u00020\u0004*\u00028\u0000H$¢\u0006\u0002\u0010\u0018R\u001a\u0010\u0006\u001a\u00020\u0004X\u0084\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\u0005R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R\u001e\u0010\n\u001a\n\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u000bX\u0082\u0004¢\u0006\n\n\u0002\u0010\u000e\u0012\u0004\b\f\u0010\r¨\u0006\u0019"}, d2 = {"Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "T", "", "size", "", "(I)V", "position", "getPosition", "()I", "setPosition", "spreads", "", "getSpreads$annotations", "()V", "[Ljava/lang/Object;", "addSpread", "", "spreadArgument", "(Ljava/lang/Object;)V", "toArray", "values", "result", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "getSize", "(Ljava/lang/Object;)I", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class PrimitiveSpreadBuilder<T> {
|
||||
private int position;
|
||||
private final int size;
|
||||
private final T[] spreads;
|
||||
|
||||
public PrimitiveSpreadBuilder(int i) {
|
||||
this.size = i;
|
||||
this.spreads = (T[]) new Object[i];
|
||||
}
|
||||
|
||||
private static /* synthetic */ void getSpreads$annotations() {
|
||||
}
|
||||
|
||||
public final void addSpread(T spreadArgument) {
|
||||
Intrinsics.checkNotNullParameter(spreadArgument, "spreadArgument");
|
||||
T[] tArr = this.spreads;
|
||||
int i = this.position;
|
||||
this.position = i + 1;
|
||||
tArr[i] = spreadArgument;
|
||||
}
|
||||
|
||||
public final int getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public abstract int getSize(T t2);
|
||||
|
||||
public final void setPosition(int i) {
|
||||
this.position = i;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v1, types: [kotlin.collections.IntIterator, java.util.Iterator] */
|
||||
public final int size() {
|
||||
int i = 0;
|
||||
?? it = new IntRange(0, this.size - 1).iterator();
|
||||
while (it.hasNext()) {
|
||||
T t2 = this.spreads[it.nextInt()];
|
||||
i += t2 != null ? getSize(t2) : 1;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v3, types: [kotlin.collections.IntIterator, java.util.Iterator] */
|
||||
public final T toArray(T values, T result) {
|
||||
Intrinsics.checkNotNullParameter(values, "values");
|
||||
Intrinsics.checkNotNullParameter(result, "result");
|
||||
?? it = new IntRange(0, this.size - 1).iterator();
|
||||
int i = 0;
|
||||
int i4 = 0;
|
||||
while (it.hasNext()) {
|
||||
int nextInt = it.nextInt();
|
||||
T t2 = this.spreads[nextInt];
|
||||
if (t2 != null) {
|
||||
if (i < nextInt) {
|
||||
int i5 = nextInt - i;
|
||||
System.arraycopy(values, i, result, i4, i5);
|
||||
i4 += i5;
|
||||
}
|
||||
int size = getSize(t2);
|
||||
System.arraycopy(t2, 0, result, i4, size);
|
||||
i4 += size;
|
||||
i = nextInt + 1;
|
||||
}
|
||||
}
|
||||
int i6 = this.size;
|
||||
if (i < i6) {
|
||||
System.arraycopy(values, i, result, i4, i6 - i);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user