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:
114
apk_decompiled/sources/kotlin/ranges/LongProgression.java
Normal file
114
apk_decompiled/sources/kotlin/ranges/LongProgression.java
Normal file
@@ -0,0 +1,114 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.internal.ProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0010\t\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0016\u0018\u0000 \u00182\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0018B\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0002¢\u0006\u0002\u0010\u0006J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\u000eH\u0016J\t\u0010\u0014\u001a\u00020\u0015H\u0096\u0002J\b\u0010\u0016\u001a\u00020\u0017H\u0016R\u0011\u0010\u0007\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\n\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/LongProgression;", "", "", "start", "endInclusive", "step", "(JJJ)V", "first", "getFirst", "()J", "last", "getLast", "getStep", "equals", "", "other", "", "hashCode", "", "isEmpty", "iterator", "Lkotlin/collections/LongIterator;", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class LongProgression implements Iterable<Long>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final long first;
|
||||
private final long last;
|
||||
private final long step;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0006¨\u0006\t"}, d2 = {"Lkotlin/ranges/LongProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/LongProgression;", "rangeStart", "", "rangeEnd", "step", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final LongProgression fromClosedRange(long rangeStart, long rangeEnd, long step) {
|
||||
return new LongProgression(rangeStart, rangeEnd, step);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public LongProgression(long j4, long j5, long j6) {
|
||||
if (j6 == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (j6 == Long.MIN_VALUE) {
|
||||
throw new IllegalArgumentException("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
this.first = j4;
|
||||
this.last = ProgressionUtilKt.getProgressionLastElement(j4, j5, j6);
|
||||
this.step = j6;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof LongProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((LongProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
LongProgression longProgression = (LongProgression) other;
|
||||
return this.first == longProgression.first && this.last == longProgression.last && this.step == longProgression.step;
|
||||
}
|
||||
|
||||
public final long getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
public final long getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final long getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
long j4 = 31;
|
||||
long j5 = this.first;
|
||||
long j6 = this.last;
|
||||
long j7 = (((j5 ^ (j5 >>> 32)) * j4) + (j6 ^ (j6 >>> 32))) * j4;
|
||||
long j8 = this.step;
|
||||
return (int) (j7 + (j8 ^ (j8 >>> 32)));
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
long j4 = this.step;
|
||||
long j5 = this.first;
|
||||
long j6 = this.last;
|
||||
return j4 > 0 ? j5 > j6 : j5 < j6;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
long j4;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append("..");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
j4 = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append(" downTo ");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
j4 = -this.step;
|
||||
}
|
||||
sb.append(j4);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public Iterator<Long> iterator() {
|
||||
return new LongProgressionIterator(this.first, this.last, this.step);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user