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:
6
apk_decompiled/sources/x/C0652a.java
Normal file
6
apk_decompiled/sources/x/C0652a.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package x;
|
||||
|
||||
/* renamed from: x.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0652a extends f {
|
||||
}
|
||||
32
apk_decompiled/sources/x/C0653b.java
Normal file
32
apk_decompiled/sources/x/C0653b.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package x;
|
||||
|
||||
/* renamed from: x.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0653b {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f8811a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f8812b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f8813c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f8814d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f8815e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f8816f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f8817g;
|
||||
public boolean h;
|
||||
public boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f8818j;
|
||||
}
|
||||
225
apk_decompiled/sources/x/C0654c.java
Normal file
225
apk_decompiled/sources/x/C0654c.java
Normal file
@@ -0,0 +1,225 @@
|
||||
package x;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* renamed from: x.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0654c extends n {
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final ArrayList f8819k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public int f8820l;
|
||||
|
||||
public C0654c(w.d dVar, int i) {
|
||||
super(dVar);
|
||||
w.d dVar2;
|
||||
this.f8819k = new ArrayList();
|
||||
this.f8849f = i;
|
||||
w.d dVar3 = this.f8845b;
|
||||
w.d m4 = dVar3.m(i);
|
||||
while (true) {
|
||||
w.d dVar4 = m4;
|
||||
dVar2 = dVar3;
|
||||
dVar3 = dVar4;
|
||||
if (dVar3 == null) {
|
||||
break;
|
||||
} else {
|
||||
m4 = dVar3.m(this.f8849f);
|
||||
}
|
||||
}
|
||||
this.f8845b = dVar2;
|
||||
int i4 = this.f8849f;
|
||||
n nVar = i4 == 0 ? dVar2.f8693d : i4 == 1 ? dVar2.f8695e : null;
|
||||
ArrayList arrayList = this.f8819k;
|
||||
arrayList.add(nVar);
|
||||
w.d l4 = dVar2.l(this.f8849f);
|
||||
while (l4 != null) {
|
||||
int i5 = this.f8849f;
|
||||
arrayList.add(i5 == 0 ? l4.f8693d : i5 == 1 ? l4.f8695e : null);
|
||||
l4 = l4.l(this.f8849f);
|
||||
}
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
n nVar2 = (n) it.next();
|
||||
int i6 = this.f8849f;
|
||||
if (i6 == 0) {
|
||||
nVar2.f8845b.f8689b = this;
|
||||
} else if (i6 == 1) {
|
||||
nVar2.f8845b.f8691c = this;
|
||||
}
|
||||
}
|
||||
if (this.f8849f == 0 && ((w.e) this.f8845b.f8681T).f8741v0 && arrayList.size() > 1) {
|
||||
this.f8845b = ((n) arrayList.get(arrayList.size() - 1)).f8845b;
|
||||
}
|
||||
this.f8820l = this.f8849f == 0 ? this.f8845b.f8702i0 : this.f8845b.f8704j0;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:288:0x0395, code lost:
|
||||
|
||||
r0 = r0 - r10;
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:56:0x00ce */
|
||||
/* JADX WARN: Removed duplicated region for block: B:65:0x00dd */
|
||||
@Override // x.InterfaceC0655d
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void a(x.InterfaceC0655d r28) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 948
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: x.C0654c.a(x.d):void");
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void d() {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
((n) it.next()).d();
|
||||
}
|
||||
int size = arrayList.size();
|
||||
if (size < 1) {
|
||||
return;
|
||||
}
|
||||
w.d dVar = ((n) arrayList.get(0)).f8845b;
|
||||
w.d dVar2 = ((n) arrayList.get(size - 1)).f8845b;
|
||||
int i = this.f8849f;
|
||||
e eVar = this.i;
|
||||
e eVar2 = this.h;
|
||||
if (i == 0) {
|
||||
w.c cVar = dVar.f8671I;
|
||||
w.c cVar2 = dVar2.f8672K;
|
||||
e i4 = n.i(cVar, 0);
|
||||
int e4 = cVar.e();
|
||||
w.d m4 = m();
|
||||
if (m4 != null) {
|
||||
e4 = m4.f8671I.e();
|
||||
}
|
||||
if (i4 != null) {
|
||||
n.b(eVar2, i4, e4);
|
||||
}
|
||||
e i5 = n.i(cVar2, 0);
|
||||
int e5 = cVar2.e();
|
||||
w.d n4 = n();
|
||||
if (n4 != null) {
|
||||
e5 = n4.f8672K.e();
|
||||
}
|
||||
if (i5 != null) {
|
||||
n.b(eVar, i5, -e5);
|
||||
}
|
||||
} else {
|
||||
w.c cVar3 = dVar.J;
|
||||
w.c cVar4 = dVar2.f8673L;
|
||||
e i6 = n.i(cVar3, 1);
|
||||
int e6 = cVar3.e();
|
||||
w.d m5 = m();
|
||||
if (m5 != null) {
|
||||
e6 = m5.J.e();
|
||||
}
|
||||
if (i6 != null) {
|
||||
n.b(eVar2, i6, e6);
|
||||
}
|
||||
e i7 = n.i(cVar4, 1);
|
||||
int e7 = cVar4.e();
|
||||
w.d n5 = n();
|
||||
if (n5 != null) {
|
||||
e7 = n5.f8673L.e();
|
||||
}
|
||||
if (i7 != null) {
|
||||
n.b(eVar, i7, -e7);
|
||||
}
|
||||
}
|
||||
eVar2.f8821a = this;
|
||||
eVar.f8821a = this;
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void e() {
|
||||
int i = 0;
|
||||
while (true) {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
if (i >= arrayList.size()) {
|
||||
return;
|
||||
}
|
||||
((n) arrayList.get(i)).e();
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void f() {
|
||||
this.f8846c = null;
|
||||
Iterator it = this.f8819k.iterator();
|
||||
while (it.hasNext()) {
|
||||
((n) it.next()).f();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final long j() {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
int size = arrayList.size();
|
||||
long j4 = 0;
|
||||
for (int i = 0; i < size; i++) {
|
||||
j4 = r4.i.f8826f + ((n) arrayList.get(i)).j() + j4 + r4.h.f8826f;
|
||||
}
|
||||
return j4;
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final boolean k() {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
int size = arrayList.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (!((n) arrayList.get(i)).k()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public final w.d m() {
|
||||
int i = 0;
|
||||
while (true) {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
if (i >= arrayList.size()) {
|
||||
return null;
|
||||
}
|
||||
w.d dVar = ((n) arrayList.get(i)).f8845b;
|
||||
if (dVar.f8700g0 != 8) {
|
||||
return dVar;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
public final w.d n() {
|
||||
ArrayList arrayList = this.f8819k;
|
||||
for (int size = arrayList.size() - 1; size >= 0; size--) {
|
||||
w.d dVar = ((n) arrayList.get(size)).f8845b;
|
||||
if (dVar.f8700g0 != 8) {
|
||||
return dVar;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder("ChainRun ");
|
||||
sb.append(this.f8849f == 0 ? "horizontal : " : "vertical : ");
|
||||
Iterator it = this.f8819k.iterator();
|
||||
while (it.hasNext()) {
|
||||
n nVar = (n) it.next();
|
||||
sb.append("<");
|
||||
sb.append(nVar);
|
||||
sb.append("> ");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
7
apk_decompiled/sources/x/InterfaceC0655d.java
Normal file
7
apk_decompiled/sources/x/InterfaceC0655d.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package x;
|
||||
|
||||
/* renamed from: x.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0655d {
|
||||
void a(InterfaceC0655d interfaceC0655d);
|
||||
}
|
||||
163
apk_decompiled/sources/x/e.java
Normal file
163
apk_decompiled/sources/x/e.java
Normal file
@@ -0,0 +1,163 @@
|
||||
package x;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class e implements InterfaceC0655d {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final n f8824d;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f8826f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f8827g;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public n f8821a = null;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public boolean f8822b = false;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f8823c = false;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f8825e = 1;
|
||||
public int h = 1;
|
||||
public f i = null;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public boolean f8828j = false;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final ArrayList f8829k = new ArrayList();
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final ArrayList f8830l = new ArrayList();
|
||||
|
||||
public e(n nVar) {
|
||||
this.f8824d = nVar;
|
||||
}
|
||||
|
||||
@Override // x.InterfaceC0655d
|
||||
public final void a(InterfaceC0655d interfaceC0655d) {
|
||||
ArrayList arrayList = this.f8830l;
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
if (!((e) it.next()).f8828j) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.f8823c = true;
|
||||
n nVar = this.f8821a;
|
||||
if (nVar != null) {
|
||||
nVar.a(this);
|
||||
}
|
||||
if (this.f8822b) {
|
||||
this.f8824d.a(this);
|
||||
return;
|
||||
}
|
||||
Iterator it2 = arrayList.iterator();
|
||||
e eVar = null;
|
||||
int i = 0;
|
||||
while (it2.hasNext()) {
|
||||
e eVar2 = (e) it2.next();
|
||||
if (!(eVar2 instanceof f)) {
|
||||
i++;
|
||||
eVar = eVar2;
|
||||
}
|
||||
}
|
||||
if (eVar != null && i == 1 && eVar.f8828j) {
|
||||
f fVar = this.i;
|
||||
if (fVar != null) {
|
||||
if (!fVar.f8828j) {
|
||||
return;
|
||||
} else {
|
||||
this.f8826f = this.h * fVar.f8827g;
|
||||
}
|
||||
}
|
||||
d(eVar.f8827g + this.f8826f);
|
||||
}
|
||||
n nVar2 = this.f8821a;
|
||||
if (nVar2 != null) {
|
||||
nVar2.a(this);
|
||||
}
|
||||
}
|
||||
|
||||
public final void b(n nVar) {
|
||||
this.f8829k.add(nVar);
|
||||
if (this.f8828j) {
|
||||
nVar.a(nVar);
|
||||
}
|
||||
}
|
||||
|
||||
public final void c() {
|
||||
this.f8830l.clear();
|
||||
this.f8829k.clear();
|
||||
this.f8828j = false;
|
||||
this.f8827g = 0;
|
||||
this.f8823c = false;
|
||||
this.f8822b = false;
|
||||
}
|
||||
|
||||
public void d(int i) {
|
||||
if (this.f8828j) {
|
||||
return;
|
||||
}
|
||||
this.f8828j = true;
|
||||
this.f8827g = i;
|
||||
Iterator it = this.f8829k.iterator();
|
||||
while (it.hasNext()) {
|
||||
InterfaceC0655d interfaceC0655d = (InterfaceC0655d) it.next();
|
||||
interfaceC0655d.a(interfaceC0655d);
|
||||
}
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
String str;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(this.f8824d.f8845b.f8701h0);
|
||||
sb.append(":");
|
||||
switch (this.f8825e) {
|
||||
case 1:
|
||||
str = "UNKNOWN";
|
||||
break;
|
||||
case 2:
|
||||
str = "HORIZONTAL_DIMENSION";
|
||||
break;
|
||||
case 3:
|
||||
str = "VERTICAL_DIMENSION";
|
||||
break;
|
||||
case 4:
|
||||
str = "LEFT";
|
||||
break;
|
||||
case 5:
|
||||
str = "RIGHT";
|
||||
break;
|
||||
case 6:
|
||||
str = "TOP";
|
||||
break;
|
||||
case 7:
|
||||
str = "BOTTOM";
|
||||
break;
|
||||
case 8:
|
||||
str = "BASELINE";
|
||||
break;
|
||||
default:
|
||||
str = "null";
|
||||
break;
|
||||
}
|
||||
sb.append(str);
|
||||
sb.append("(");
|
||||
sb.append(this.f8828j ? Integer.valueOf(this.f8827g) : "unresolved");
|
||||
sb.append(") <t=");
|
||||
sb.append(this.f8830l.size());
|
||||
sb.append(":d=");
|
||||
sb.append(this.f8829k.size());
|
||||
sb.append(">");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/x/f.java
Normal file
33
apk_decompiled/sources/x/f.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package x;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class f extends e {
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public int f8831m;
|
||||
|
||||
public f(n nVar) {
|
||||
super(nVar);
|
||||
if (nVar instanceof j) {
|
||||
this.f8825e = 2;
|
||||
} else {
|
||||
this.f8825e = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.e
|
||||
public final void d(int i) {
|
||||
if (this.f8828j) {
|
||||
return;
|
||||
}
|
||||
this.f8828j = true;
|
||||
this.f8827g = i;
|
||||
Iterator it = this.f8829k.iterator();
|
||||
while (it.hasNext()) {
|
||||
InterfaceC0655d interfaceC0655d = (InterfaceC0655d) it.next();
|
||||
interfaceC0655d.a(interfaceC0655d);
|
||||
}
|
||||
}
|
||||
}
|
||||
486
apk_decompiled/sources/x/g.java
Normal file
486
apk_decompiled/sources/x/g.java
Normal file
@@ -0,0 +1,486 @@
|
||||
package x;
|
||||
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class g {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final C0653b f8832a = new Object();
|
||||
|
||||
public static boolean a(w.d dVar) {
|
||||
int[] iArr = dVar.f8715p0;
|
||||
int i = iArr[0];
|
||||
int i4 = iArr[1];
|
||||
w.d dVar2 = dVar.f8681T;
|
||||
w.e eVar = dVar2 != null ? (w.e) dVar2 : null;
|
||||
if (eVar != null) {
|
||||
int i5 = eVar.f8715p0[0];
|
||||
}
|
||||
if (eVar != null) {
|
||||
int i6 = eVar.f8715p0[1];
|
||||
}
|
||||
boolean z3 = i == 1 || dVar.A() || i == 2 || (i == 3 && dVar.f8717r == 0 && dVar.f8684W == BitmapDescriptorFactory.HUE_RED && dVar.t(0)) || (i == 3 && dVar.f8717r == 1 && dVar.u(0, dVar.q()));
|
||||
boolean z4 = i4 == 1 || dVar.B() || i4 == 2 || (i4 == 3 && dVar.f8718s == 0 && dVar.f8684W == BitmapDescriptorFactory.HUE_RED && dVar.t(1)) || (i4 == 3 && dVar.f8718s == 1 && dVar.u(1, dVar.k()));
|
||||
return (dVar.f8684W > BitmapDescriptorFactory.HUE_RED && (z3 || z4)) || (z3 && z4);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r10v0, types: [x.m, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r10v1 */
|
||||
/* JADX WARN: Type inference failed for: r10v3 */
|
||||
/* JADX WARN: Type inference failed for: r10v4, types: [java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r10v5, types: [x.m, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r10v6 */
|
||||
/* JADX WARN: Type inference failed for: r10v7 */
|
||||
public static m b(w.d dVar, int i, ArrayList arrayList, m mVar) {
|
||||
int i4;
|
||||
int i5 = i == 0 ? dVar.f8712n0 : dVar.f8714o0;
|
||||
if (i5 != -1 && (mVar == 0 || i5 != mVar.f8840b)) {
|
||||
int i6 = 0;
|
||||
while (true) {
|
||||
if (i6 >= arrayList.size()) {
|
||||
break;
|
||||
}
|
||||
m mVar2 = (m) arrayList.get(i6);
|
||||
if (mVar2.f8840b == i5) {
|
||||
if (mVar != 0) {
|
||||
mVar.c(i, mVar2);
|
||||
arrayList.remove((Object) mVar);
|
||||
}
|
||||
mVar = mVar2;
|
||||
} else {
|
||||
i6++;
|
||||
}
|
||||
}
|
||||
} else if (i5 != -1) {
|
||||
return mVar;
|
||||
}
|
||||
m mVar3 = mVar;
|
||||
if (mVar == 0) {
|
||||
if (dVar instanceof w.i) {
|
||||
w.i iVar = (w.i) dVar;
|
||||
int i7 = 0;
|
||||
while (true) {
|
||||
if (i7 >= iVar.f8801r0) {
|
||||
i4 = -1;
|
||||
break;
|
||||
}
|
||||
w.d dVar2 = iVar.f8800q0[i7];
|
||||
if ((i == 0 && (i4 = dVar2.f8712n0) != -1) || (i == 1 && (i4 = dVar2.f8714o0) != -1)) {
|
||||
break;
|
||||
}
|
||||
i7++;
|
||||
}
|
||||
if (i4 != -1) {
|
||||
int i8 = 0;
|
||||
while (true) {
|
||||
if (i8 >= arrayList.size()) {
|
||||
break;
|
||||
}
|
||||
m mVar4 = (m) arrayList.get(i8);
|
||||
if (mVar4.f8840b == i4) {
|
||||
mVar = mVar4;
|
||||
break;
|
||||
}
|
||||
i8++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (mVar == 0) {
|
||||
mVar = new Object();
|
||||
mVar.f8839a = new ArrayList();
|
||||
mVar.f8842d = null;
|
||||
mVar.f8843e = -1;
|
||||
int i9 = m.f8838f;
|
||||
m.f8838f = i9 + 1;
|
||||
mVar.f8840b = i9;
|
||||
mVar.f8841c = i;
|
||||
}
|
||||
arrayList.add(mVar);
|
||||
mVar3 = mVar;
|
||||
}
|
||||
ArrayList arrayList2 = mVar3.f8839a;
|
||||
if (arrayList2.contains(dVar)) {
|
||||
return mVar3;
|
||||
}
|
||||
arrayList2.add(dVar);
|
||||
if (dVar instanceof w.h) {
|
||||
w.h hVar = (w.h) dVar;
|
||||
hVar.f8797t0.c(hVar.f8798u0 == 0 ? 1 : 0, arrayList, mVar3);
|
||||
}
|
||||
int i10 = mVar3.f8840b;
|
||||
if (i == 0) {
|
||||
dVar.f8712n0 = i10;
|
||||
dVar.f8671I.c(i, arrayList, mVar3);
|
||||
dVar.f8672K.c(i, arrayList, mVar3);
|
||||
} else {
|
||||
dVar.f8714o0 = i10;
|
||||
dVar.J.c(i, arrayList, mVar3);
|
||||
dVar.f8674M.c(i, arrayList, mVar3);
|
||||
dVar.f8673L.c(i, arrayList, mVar3);
|
||||
}
|
||||
dVar.f8677P.c(i, arrayList, mVar3);
|
||||
return mVar3;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r3v11, types: [java.lang.Object, x.b] */
|
||||
/* JADX WARN: Type inference failed for: r9v6, types: [java.lang.Object, x.b] */
|
||||
/* JADX WARN: Type inference failed for: r9v9, types: [java.lang.Object, x.b] */
|
||||
public static void c(int i, androidx.constraintlayout.widget.f fVar, w.d dVar, boolean z3) {
|
||||
w.c cVar;
|
||||
w.c cVar2;
|
||||
char c4;
|
||||
w.c cVar3;
|
||||
w.c cVar4;
|
||||
if (dVar.f8709m) {
|
||||
return;
|
||||
}
|
||||
if (!(dVar instanceof w.e) && dVar.z() && a(dVar)) {
|
||||
w.e.V(dVar, fVar, new Object());
|
||||
}
|
||||
w.c i4 = dVar.i(2);
|
||||
w.c i5 = dVar.i(4);
|
||||
int d4 = i4.d();
|
||||
int d5 = i5.d();
|
||||
HashSet hashSet = i4.f8656a;
|
||||
if (hashSet != null && i4.f8658c) {
|
||||
Iterator it = hashSet.iterator();
|
||||
while (it.hasNext()) {
|
||||
w.c cVar5 = (w.c) it.next();
|
||||
w.d dVar2 = cVar5.f8659d;
|
||||
int i6 = i + 1;
|
||||
boolean a2 = a(dVar2);
|
||||
if (dVar2.z() && a2) {
|
||||
c4 = 0;
|
||||
w.e.V(dVar2, fVar, new Object());
|
||||
} else {
|
||||
c4 = 0;
|
||||
}
|
||||
w.c cVar6 = dVar2.f8671I;
|
||||
w.c cVar7 = dVar2.f8672K;
|
||||
char c5 = ((cVar5 == cVar6 && (cVar4 = cVar7.f8661f) != null && cVar4.f8658c) || (cVar5 == cVar7 && (cVar3 = cVar6.f8661f) != null && cVar3.f8658c)) ? (char) 1 : c4;
|
||||
int i7 = dVar2.f8715p0[c4];
|
||||
if (i7 != 3 || a2) {
|
||||
if (!dVar2.z()) {
|
||||
if (cVar5 == cVar6 && cVar7.f8661f == null) {
|
||||
int e4 = cVar6.e() + d4;
|
||||
dVar2.J(e4, dVar2.q() + e4);
|
||||
c(i6, fVar, dVar2, z3);
|
||||
} else if (cVar5 == cVar7 && cVar6.f8661f == null) {
|
||||
int e5 = d4 - cVar7.e();
|
||||
dVar2.J(e5 - dVar2.q(), e5);
|
||||
c(i6, fVar, dVar2, z3);
|
||||
} else if (c5 != 0 && !dVar2.x()) {
|
||||
d(i6, fVar, dVar2, z3);
|
||||
}
|
||||
}
|
||||
} else if (i7 == 3 && dVar2.f8721v >= 0 && dVar2.f8720u >= 0 && (dVar2.f8700g0 == 8 || (dVar2.f8717r == 0 && dVar2.f8684W == BitmapDescriptorFactory.HUE_RED))) {
|
||||
if (!dVar2.x() && !dVar2.f8668F && c5 != 0 && !dVar2.x()) {
|
||||
e(i6, dVar, fVar, dVar2, z3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (dVar instanceof w.h) {
|
||||
return;
|
||||
}
|
||||
HashSet hashSet2 = i5.f8656a;
|
||||
if (hashSet2 != null && i5.f8658c) {
|
||||
Iterator it2 = hashSet2.iterator();
|
||||
while (it2.hasNext()) {
|
||||
w.c cVar8 = (w.c) it2.next();
|
||||
w.d dVar3 = cVar8.f8659d;
|
||||
int i8 = i + 1;
|
||||
boolean a4 = a(dVar3);
|
||||
if (dVar3.z() && a4) {
|
||||
w.e.V(dVar3, fVar, new Object());
|
||||
}
|
||||
w.c cVar9 = dVar3.f8671I;
|
||||
w.c cVar10 = dVar3.f8672K;
|
||||
boolean z4 = (cVar8 == cVar9 && (cVar2 = cVar10.f8661f) != null && cVar2.f8658c) || (cVar8 == cVar10 && (cVar = cVar9.f8661f) != null && cVar.f8658c);
|
||||
int i9 = dVar3.f8715p0[0];
|
||||
if (i9 != 3 || a4) {
|
||||
if (!dVar3.z()) {
|
||||
if (cVar8 == cVar9 && cVar10.f8661f == null) {
|
||||
int e6 = cVar9.e() + d5;
|
||||
dVar3.J(e6, dVar3.q() + e6);
|
||||
c(i8, fVar, dVar3, z3);
|
||||
} else if (cVar8 == cVar10 && cVar9.f8661f == null) {
|
||||
int e7 = d5 - cVar10.e();
|
||||
dVar3.J(e7 - dVar3.q(), e7);
|
||||
c(i8, fVar, dVar3, z3);
|
||||
} else if (z4 && !dVar3.x()) {
|
||||
d(i8, fVar, dVar3, z3);
|
||||
}
|
||||
}
|
||||
} else if (i9 == 3 && dVar3.f8721v >= 0 && dVar3.f8720u >= 0) {
|
||||
if (dVar3.f8700g0 == 8 || (dVar3.f8717r == 0 && dVar3.f8684W == BitmapDescriptorFactory.HUE_RED)) {
|
||||
if (!dVar3.x() && !dVar3.f8668F && z4 && !dVar3.x()) {
|
||||
e(i8, dVar, fVar, dVar3, z3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
dVar.f8709m = true;
|
||||
}
|
||||
|
||||
public static void d(int i, androidx.constraintlayout.widget.f fVar, w.d dVar, boolean z3) {
|
||||
float f2 = dVar.f8694d0;
|
||||
w.c cVar = dVar.f8671I;
|
||||
int d4 = cVar.f8661f.d();
|
||||
w.c cVar2 = dVar.f8672K;
|
||||
int d5 = cVar2.f8661f.d();
|
||||
int e4 = cVar.e() + d4;
|
||||
int e5 = d5 - cVar2.e();
|
||||
if (d4 == d5) {
|
||||
f2 = 0.5f;
|
||||
} else {
|
||||
d4 = e4;
|
||||
d5 = e5;
|
||||
}
|
||||
int q4 = dVar.q();
|
||||
int i4 = (d5 - d4) - q4;
|
||||
if (d4 > d5) {
|
||||
i4 = (d4 - d5) - q4;
|
||||
}
|
||||
int i5 = ((int) (i4 > 0 ? (f2 * i4) + 0.5f : f2 * i4)) + d4;
|
||||
int i6 = i5 + q4;
|
||||
if (d4 > d5) {
|
||||
i6 = i5 - q4;
|
||||
}
|
||||
dVar.J(i5, i6);
|
||||
c(i + 1, fVar, dVar, z3);
|
||||
}
|
||||
|
||||
public static void e(int i, w.d dVar, androidx.constraintlayout.widget.f fVar, w.d dVar2, boolean z3) {
|
||||
float f2 = dVar2.f8694d0;
|
||||
w.c cVar = dVar2.f8671I;
|
||||
int e4 = cVar.e() + cVar.f8661f.d();
|
||||
w.c cVar2 = dVar2.f8672K;
|
||||
int d4 = cVar2.f8661f.d() - cVar2.e();
|
||||
if (d4 >= e4) {
|
||||
int q4 = dVar2.q();
|
||||
if (dVar2.f8700g0 != 8) {
|
||||
int i4 = dVar2.f8717r;
|
||||
if (i4 == 2) {
|
||||
q4 = (int) (dVar2.f8694d0 * 0.5f * (dVar instanceof w.e ? dVar.q() : dVar.f8681T.q()));
|
||||
} else if (i4 == 0) {
|
||||
q4 = d4 - e4;
|
||||
}
|
||||
q4 = Math.max(dVar2.f8720u, q4);
|
||||
int i5 = dVar2.f8721v;
|
||||
if (i5 > 0) {
|
||||
q4 = Math.min(i5, q4);
|
||||
}
|
||||
}
|
||||
int i6 = e4 + ((int) ((f2 * ((d4 - e4) - q4)) + 0.5f));
|
||||
dVar2.J(i6, q4 + i6);
|
||||
c(i + 1, fVar, dVar2, z3);
|
||||
}
|
||||
}
|
||||
|
||||
public static void f(int i, androidx.constraintlayout.widget.f fVar, w.d dVar) {
|
||||
float f2 = dVar.f8696e0;
|
||||
w.c cVar = dVar.J;
|
||||
int d4 = cVar.f8661f.d();
|
||||
w.c cVar2 = dVar.f8673L;
|
||||
int d5 = cVar2.f8661f.d();
|
||||
int e4 = cVar.e() + d4;
|
||||
int e5 = d5 - cVar2.e();
|
||||
if (d4 == d5) {
|
||||
f2 = 0.5f;
|
||||
} else {
|
||||
d4 = e4;
|
||||
d5 = e5;
|
||||
}
|
||||
int k4 = dVar.k();
|
||||
int i4 = (d5 - d4) - k4;
|
||||
if (d4 > d5) {
|
||||
i4 = (d4 - d5) - k4;
|
||||
}
|
||||
int i5 = (int) (i4 > 0 ? (f2 * i4) + 0.5f : f2 * i4);
|
||||
int i6 = d4 + i5;
|
||||
int i7 = i6 + k4;
|
||||
if (d4 > d5) {
|
||||
i6 = d4 - i5;
|
||||
i7 = i6 - k4;
|
||||
}
|
||||
dVar.K(i6, i7);
|
||||
i(i + 1, fVar, dVar);
|
||||
}
|
||||
|
||||
public static void g(int i, w.d dVar, androidx.constraintlayout.widget.f fVar, w.d dVar2) {
|
||||
float f2 = dVar2.f8696e0;
|
||||
w.c cVar = dVar2.J;
|
||||
int e4 = cVar.e() + cVar.f8661f.d();
|
||||
w.c cVar2 = dVar2.f8673L;
|
||||
int d4 = cVar2.f8661f.d() - cVar2.e();
|
||||
if (d4 >= e4) {
|
||||
int k4 = dVar2.k();
|
||||
if (dVar2.f8700g0 != 8) {
|
||||
int i4 = dVar2.f8718s;
|
||||
if (i4 == 2) {
|
||||
k4 = (int) (f2 * 0.5f * (dVar instanceof w.e ? dVar.k() : dVar.f8681T.k()));
|
||||
} else if (i4 == 0) {
|
||||
k4 = d4 - e4;
|
||||
}
|
||||
k4 = Math.max(dVar2.f8723x, k4);
|
||||
int i5 = dVar2.f8724y;
|
||||
if (i5 > 0) {
|
||||
k4 = Math.min(i5, k4);
|
||||
}
|
||||
}
|
||||
int i6 = e4 + ((int) ((f2 * ((d4 - e4) - k4)) + 0.5f));
|
||||
dVar2.K(i6, k4 + i6);
|
||||
i(i + 1, fVar, dVar2);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean h(int i, int i4, int i5, int i6) {
|
||||
return (i5 == 1 || i5 == 2 || (i5 == 4 && i != 2)) || (i6 == 1 || i6 == 2 || (i6 == 4 && i4 != 2));
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r15v2, types: [java.lang.Object, x.b] */
|
||||
/* JADX WARN: Type inference failed for: r2v5, types: [java.lang.Object, x.b] */
|
||||
/* JADX WARN: Type inference failed for: r9v10, types: [java.lang.Object, x.b] */
|
||||
/* JADX WARN: Type inference failed for: r9v7, types: [java.lang.Object, x.b] */
|
||||
public static void i(int i, androidx.constraintlayout.widget.f fVar, w.d dVar) {
|
||||
boolean z3;
|
||||
w.c cVar;
|
||||
w.c cVar2;
|
||||
w.c cVar3;
|
||||
w.c cVar4;
|
||||
if (dVar.f8711n) {
|
||||
return;
|
||||
}
|
||||
if (!(dVar instanceof w.e) && dVar.z() && a(dVar)) {
|
||||
w.e.V(dVar, fVar, new Object());
|
||||
}
|
||||
w.c i4 = dVar.i(3);
|
||||
w.c i5 = dVar.i(5);
|
||||
int d4 = i4.d();
|
||||
int d5 = i5.d();
|
||||
HashSet hashSet = i4.f8656a;
|
||||
if (hashSet != null && i4.f8658c) {
|
||||
Iterator it = hashSet.iterator();
|
||||
while (it.hasNext()) {
|
||||
w.c cVar5 = (w.c) it.next();
|
||||
w.d dVar2 = cVar5.f8659d;
|
||||
int i6 = i + 1;
|
||||
boolean a2 = a(dVar2);
|
||||
if (dVar2.z() && a2) {
|
||||
w.e.V(dVar2, fVar, new Object());
|
||||
}
|
||||
w.c cVar6 = dVar2.J;
|
||||
w.c cVar7 = dVar2.f8673L;
|
||||
boolean z4 = (cVar5 == cVar6 && (cVar4 = cVar7.f8661f) != null && cVar4.f8658c) || (cVar5 == cVar7 && (cVar3 = cVar6.f8661f) != null && cVar3.f8658c);
|
||||
int i7 = dVar2.f8715p0[1];
|
||||
if (i7 != 3 || a2) {
|
||||
if (!dVar2.z()) {
|
||||
if (cVar5 == cVar6 && cVar7.f8661f == null) {
|
||||
int e4 = cVar6.e() + d4;
|
||||
dVar2.K(e4, dVar2.k() + e4);
|
||||
i(i6, fVar, dVar2);
|
||||
} else if (cVar5 == cVar7 && cVar6.f8661f == null) {
|
||||
int e5 = d4 - cVar7.e();
|
||||
dVar2.K(e5 - dVar2.k(), e5);
|
||||
i(i6, fVar, dVar2);
|
||||
} else if (z4 && !dVar2.y()) {
|
||||
f(i6, fVar, dVar2);
|
||||
}
|
||||
}
|
||||
} else if (i7 == 3 && dVar2.f8724y >= 0 && dVar2.f8723x >= 0 && (dVar2.f8700g0 == 8 || (dVar2.f8718s == 0 && dVar2.f8684W == BitmapDescriptorFactory.HUE_RED))) {
|
||||
if (!dVar2.y() && !dVar2.f8668F && z4 && !dVar2.y()) {
|
||||
g(i6, dVar, fVar, dVar2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
boolean z5 = true;
|
||||
z5 = true;
|
||||
z5 = true;
|
||||
if (dVar instanceof w.h) {
|
||||
return;
|
||||
}
|
||||
HashSet hashSet2 = i5.f8656a;
|
||||
if (hashSet2 != null && i5.f8658c) {
|
||||
Iterator it2 = hashSet2.iterator();
|
||||
while (it2.hasNext()) {
|
||||
w.c cVar8 = (w.c) it2.next();
|
||||
w.d dVar3 = cVar8.f8659d;
|
||||
int i8 = i + 1;
|
||||
boolean a4 = a(dVar3);
|
||||
if (dVar3.z() && a4) {
|
||||
w.e.V(dVar3, fVar, new Object());
|
||||
}
|
||||
w.c cVar9 = dVar3.J;
|
||||
w.c cVar10 = dVar3.f8673L;
|
||||
boolean z6 = (cVar8 == cVar9 && (cVar2 = cVar10.f8661f) != null && cVar2.f8658c) || (cVar8 == cVar10 && (cVar = cVar9.f8661f) != null && cVar.f8658c);
|
||||
int i9 = dVar3.f8715p0[1];
|
||||
if (i9 != 3 || a4) {
|
||||
if (!dVar3.z()) {
|
||||
if (cVar8 == cVar9 && cVar10.f8661f == null) {
|
||||
int e6 = cVar9.e() + d5;
|
||||
dVar3.K(e6, dVar3.k() + e6);
|
||||
i(i8, fVar, dVar3);
|
||||
} else if (cVar8 == cVar10 && cVar9.f8661f == null) {
|
||||
int e7 = d5 - cVar10.e();
|
||||
dVar3.K(e7 - dVar3.k(), e7);
|
||||
i(i8, fVar, dVar3);
|
||||
} else if (z6 && !dVar3.y()) {
|
||||
f(i8, fVar, dVar3);
|
||||
}
|
||||
}
|
||||
} else if (i9 == 3 && dVar3.f8724y >= 0 && dVar3.f8723x >= 0 && (dVar3.f8700g0 == 8 || (dVar3.f8718s == 0 && dVar3.f8684W == BitmapDescriptorFactory.HUE_RED))) {
|
||||
if (!dVar3.y() && !dVar3.f8668F && z6 && !dVar3.y()) {
|
||||
g(i8, dVar, fVar, dVar3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
w.c i10 = dVar.i(6);
|
||||
if (i10.f8656a != null && i10.f8658c) {
|
||||
int d6 = i10.d();
|
||||
Iterator it3 = i10.f8656a.iterator();
|
||||
while (it3.hasNext()) {
|
||||
w.c cVar11 = (w.c) it3.next();
|
||||
w.d dVar4 = cVar11.f8659d;
|
||||
int i11 = i + 1;
|
||||
boolean a5 = a(dVar4);
|
||||
if (dVar4.z() && a5) {
|
||||
w.e.V(dVar4, fVar, new Object());
|
||||
}
|
||||
if (dVar4.f8715p0[z5 ? 1 : 0] != 3 || a5) {
|
||||
if (!dVar4.z()) {
|
||||
w.c cVar12 = dVar4.f8674M;
|
||||
if (cVar11 == cVar12) {
|
||||
int e8 = cVar11.e() + d6;
|
||||
if (dVar4.f8667E) {
|
||||
int i12 = e8 - dVar4.f8688a0;
|
||||
int i13 = dVar4.f8683V + i12;
|
||||
dVar4.Z = i12;
|
||||
dVar4.J.l(i12);
|
||||
dVar4.f8673L.l(i13);
|
||||
cVar12.l(e8);
|
||||
z3 = z5 ? 1 : 0;
|
||||
dVar4.f8707l = z3;
|
||||
} else {
|
||||
z3 = z5 ? 1 : 0;
|
||||
}
|
||||
i(i11, fVar, dVar4);
|
||||
z5 = z3;
|
||||
}
|
||||
}
|
||||
}
|
||||
z3 = z5 ? 1 : 0;
|
||||
z5 = z3;
|
||||
}
|
||||
}
|
||||
dVar.f8711n = z5;
|
||||
}
|
||||
}
|
||||
83
apk_decompiled/sources/x/h.java
Normal file
83
apk_decompiled/sources/x/h.java
Normal file
@@ -0,0 +1,83 @@
|
||||
package x;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h extends n {
|
||||
@Override // x.InterfaceC0655d
|
||||
public final void a(InterfaceC0655d interfaceC0655d) {
|
||||
e eVar = this.h;
|
||||
if (eVar.f8823c && !eVar.f8828j) {
|
||||
eVar.d((int) ((((e) eVar.f8830l.get(0)).f8827g * ((w.h) this.f8845b).f8794q0) + 0.5f));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void d() {
|
||||
w.d dVar = this.f8845b;
|
||||
w.h hVar = (w.h) dVar;
|
||||
int i = hVar.f8795r0;
|
||||
int i4 = hVar.f8796s0;
|
||||
int i5 = hVar.f8798u0;
|
||||
e eVar = this.h;
|
||||
if (i5 == 1) {
|
||||
if (i != -1) {
|
||||
eVar.f8830l.add(dVar.f8681T.f8693d.h);
|
||||
this.f8845b.f8681T.f8693d.h.f8829k.add(eVar);
|
||||
eVar.f8826f = i;
|
||||
} else if (i4 != -1) {
|
||||
eVar.f8830l.add(dVar.f8681T.f8693d.i);
|
||||
this.f8845b.f8681T.f8693d.i.f8829k.add(eVar);
|
||||
eVar.f8826f = -i4;
|
||||
} else {
|
||||
eVar.f8822b = true;
|
||||
eVar.f8830l.add(dVar.f8681T.f8693d.i);
|
||||
this.f8845b.f8681T.f8693d.i.f8829k.add(eVar);
|
||||
}
|
||||
m(this.f8845b.f8693d.h);
|
||||
m(this.f8845b.f8693d.i);
|
||||
return;
|
||||
}
|
||||
if (i != -1) {
|
||||
eVar.f8830l.add(dVar.f8681T.f8695e.h);
|
||||
this.f8845b.f8681T.f8695e.h.f8829k.add(eVar);
|
||||
eVar.f8826f = i;
|
||||
} else if (i4 != -1) {
|
||||
eVar.f8830l.add(dVar.f8681T.f8695e.i);
|
||||
this.f8845b.f8681T.f8695e.i.f8829k.add(eVar);
|
||||
eVar.f8826f = -i4;
|
||||
} else {
|
||||
eVar.f8822b = true;
|
||||
eVar.f8830l.add(dVar.f8681T.f8695e.i);
|
||||
this.f8845b.f8681T.f8695e.i.f8829k.add(eVar);
|
||||
}
|
||||
m(this.f8845b.f8695e.h);
|
||||
m(this.f8845b.f8695e.i);
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void e() {
|
||||
w.d dVar = this.f8845b;
|
||||
int i = ((w.h) dVar).f8798u0;
|
||||
e eVar = this.h;
|
||||
if (i == 1) {
|
||||
dVar.f8686Y = eVar.f8827g;
|
||||
} else {
|
||||
dVar.Z = eVar.f8827g;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void f() {
|
||||
this.h.c();
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final boolean k() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final void m(e eVar) {
|
||||
e eVar2 = this.h;
|
||||
eVar2.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar2);
|
||||
}
|
||||
}
|
||||
135
apk_decompiled/sources/x/i.java
Normal file
135
apk_decompiled/sources/x/i.java
Normal file
@@ -0,0 +1,135 @@
|
||||
package x;
|
||||
|
||||
import java.util.Iterator;
|
||||
import w.C0643a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class i extends n {
|
||||
@Override // x.InterfaceC0655d
|
||||
public final void a(InterfaceC0655d interfaceC0655d) {
|
||||
C0643a c0643a = (C0643a) this.f8845b;
|
||||
int i = c0643a.f8638s0;
|
||||
e eVar = this.h;
|
||||
Iterator it = eVar.f8830l.iterator();
|
||||
int i4 = 0;
|
||||
int i5 = -1;
|
||||
while (it.hasNext()) {
|
||||
int i6 = ((e) it.next()).f8827g;
|
||||
if (i5 == -1 || i6 < i5) {
|
||||
i5 = i6;
|
||||
}
|
||||
if (i4 < i6) {
|
||||
i4 = i6;
|
||||
}
|
||||
}
|
||||
if (i == 0 || i == 2) {
|
||||
eVar.d(i5 + c0643a.f8640u0);
|
||||
} else {
|
||||
eVar.d(i4 + c0643a.f8640u0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void d() {
|
||||
w.d dVar = this.f8845b;
|
||||
if (dVar instanceof C0643a) {
|
||||
e eVar = this.h;
|
||||
eVar.f8822b = true;
|
||||
C0643a c0643a = (C0643a) dVar;
|
||||
int i = c0643a.f8638s0;
|
||||
boolean z3 = c0643a.f8639t0;
|
||||
int i4 = 0;
|
||||
if (i == 0) {
|
||||
eVar.f8825e = 4;
|
||||
while (i4 < c0643a.f8801r0) {
|
||||
w.d dVar2 = c0643a.f8800q0[i4];
|
||||
if (z3 || dVar2.f8700g0 != 8) {
|
||||
e eVar2 = dVar2.f8693d.h;
|
||||
eVar2.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar2);
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
m(this.f8845b.f8693d.h);
|
||||
m(this.f8845b.f8693d.i);
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
eVar.f8825e = 5;
|
||||
while (i4 < c0643a.f8801r0) {
|
||||
w.d dVar3 = c0643a.f8800q0[i4];
|
||||
if (z3 || dVar3.f8700g0 != 8) {
|
||||
e eVar3 = dVar3.f8693d.i;
|
||||
eVar3.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar3);
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
m(this.f8845b.f8693d.h);
|
||||
m(this.f8845b.f8693d.i);
|
||||
return;
|
||||
}
|
||||
if (i == 2) {
|
||||
eVar.f8825e = 6;
|
||||
while (i4 < c0643a.f8801r0) {
|
||||
w.d dVar4 = c0643a.f8800q0[i4];
|
||||
if (z3 || dVar4.f8700g0 != 8) {
|
||||
e eVar4 = dVar4.f8695e.h;
|
||||
eVar4.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar4);
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
m(this.f8845b.f8695e.h);
|
||||
m(this.f8845b.f8695e.i);
|
||||
return;
|
||||
}
|
||||
if (i != 3) {
|
||||
return;
|
||||
}
|
||||
eVar.f8825e = 7;
|
||||
while (i4 < c0643a.f8801r0) {
|
||||
w.d dVar5 = c0643a.f8800q0[i4];
|
||||
if (z3 || dVar5.f8700g0 != 8) {
|
||||
e eVar5 = dVar5.f8695e.i;
|
||||
eVar5.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar5);
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
m(this.f8845b.f8695e.h);
|
||||
m(this.f8845b.f8695e.i);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void e() {
|
||||
w.d dVar = this.f8845b;
|
||||
if (dVar instanceof C0643a) {
|
||||
int i = ((C0643a) dVar).f8638s0;
|
||||
e eVar = this.h;
|
||||
if (i == 0 || i == 1) {
|
||||
dVar.f8686Y = eVar.f8827g;
|
||||
} else {
|
||||
dVar.Z = eVar.f8827g;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void f() {
|
||||
this.f8846c = null;
|
||||
this.h.c();
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final boolean k() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final void m(e eVar) {
|
||||
e eVar2 = this.h;
|
||||
eVar2.f8829k.add(eVar);
|
||||
eVar.f8830l.add(eVar2);
|
||||
}
|
||||
}
|
||||
277
apk_decompiled/sources/x/j.java
Normal file
277
apk_decompiled/sources/x/j.java
Normal file
@@ -0,0 +1,277 @@
|
||||
package x;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class j extends n {
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public static final int[] f8833k = new int[2];
|
||||
|
||||
public static void m(int[] iArr, int i, int i4, int i5, int i6, float f2, int i7) {
|
||||
int i8 = i4 - i;
|
||||
int i9 = i6 - i5;
|
||||
if (i7 != -1) {
|
||||
if (i7 == 0) {
|
||||
iArr[0] = (int) ((i9 * f2) + 0.5f);
|
||||
iArr[1] = i9;
|
||||
return;
|
||||
} else {
|
||||
if (i7 != 1) {
|
||||
return;
|
||||
}
|
||||
iArr[0] = i8;
|
||||
iArr[1] = (int) ((i8 * f2) + 0.5f);
|
||||
return;
|
||||
}
|
||||
}
|
||||
int i10 = (int) ((i9 * f2) + 0.5f);
|
||||
int i11 = (int) ((i8 / f2) + 0.5f);
|
||||
if (i10 <= i8) {
|
||||
iArr[0] = i10;
|
||||
iArr[1] = i9;
|
||||
} else if (i11 <= i9) {
|
||||
iArr[0] = i8;
|
||||
iArr[1] = i11;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:154:0x0243, code lost:
|
||||
|
||||
if (r7 != 1) goto L125;
|
||||
*/
|
||||
@Override // x.InterfaceC0655d
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void a(x.InterfaceC0655d r24) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 913
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: x.j.a(x.d):void");
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void d() {
|
||||
w.d dVar;
|
||||
w.d dVar2;
|
||||
int i;
|
||||
w.d dVar3;
|
||||
w.d dVar4;
|
||||
int i4;
|
||||
w.d dVar5 = this.f8845b;
|
||||
boolean z3 = dVar5.f8687a;
|
||||
f fVar = this.f8848e;
|
||||
if (z3) {
|
||||
fVar.d(dVar5.q());
|
||||
}
|
||||
boolean z4 = fVar.f8828j;
|
||||
e eVar = this.i;
|
||||
e eVar2 = this.h;
|
||||
if (!z4) {
|
||||
w.d dVar6 = this.f8845b;
|
||||
int i5 = dVar6.f8715p0[0];
|
||||
this.f8847d = i5;
|
||||
if (i5 != 3) {
|
||||
if (i5 == 4 && (dVar4 = dVar6.f8681T) != null && ((i4 = dVar4.f8715p0[0]) == 1 || i4 == 4)) {
|
||||
int q4 = (dVar4.q() - this.f8845b.f8671I.e()) - this.f8845b.f8672K.e();
|
||||
n.b(eVar2, dVar4.f8693d.h, this.f8845b.f8671I.e());
|
||||
n.b(eVar, dVar4.f8693d.i, -this.f8845b.f8672K.e());
|
||||
fVar.d(q4);
|
||||
return;
|
||||
}
|
||||
if (i5 == 1) {
|
||||
fVar.d(dVar6.q());
|
||||
}
|
||||
}
|
||||
} else if (this.f8847d == 4 && (dVar2 = (dVar = this.f8845b).f8681T) != null && ((i = dVar2.f8715p0[0]) == 1 || i == 4)) {
|
||||
n.b(eVar2, dVar2.f8693d.h, dVar.f8671I.e());
|
||||
n.b(eVar, dVar2.f8693d.i, -this.f8845b.f8672K.e());
|
||||
return;
|
||||
}
|
||||
if (fVar.f8828j) {
|
||||
w.d dVar7 = this.f8845b;
|
||||
if (dVar7.f8687a) {
|
||||
w.c[] cVarArr = dVar7.f8678Q;
|
||||
w.c cVar = cVarArr[0];
|
||||
w.c cVar2 = cVar.f8661f;
|
||||
if (cVar2 != null && cVarArr[1].f8661f != null) {
|
||||
if (dVar7.x()) {
|
||||
eVar2.f8826f = this.f8845b.f8678Q[0].e();
|
||||
eVar.f8826f = -this.f8845b.f8678Q[1].e();
|
||||
return;
|
||||
}
|
||||
e h = n.h(this.f8845b.f8678Q[0]);
|
||||
if (h != null) {
|
||||
n.b(eVar2, h, this.f8845b.f8678Q[0].e());
|
||||
}
|
||||
e h4 = n.h(this.f8845b.f8678Q[1]);
|
||||
if (h4 != null) {
|
||||
n.b(eVar, h4, -this.f8845b.f8678Q[1].e());
|
||||
}
|
||||
eVar2.f8822b = true;
|
||||
eVar.f8822b = true;
|
||||
return;
|
||||
}
|
||||
if (cVar2 != null) {
|
||||
e h5 = n.h(cVar);
|
||||
if (h5 != null) {
|
||||
n.b(eVar2, h5, this.f8845b.f8678Q[0].e());
|
||||
n.b(eVar, eVar2, fVar.f8827g);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
w.c cVar3 = cVarArr[1];
|
||||
if (cVar3.f8661f != null) {
|
||||
e h6 = n.h(cVar3);
|
||||
if (h6 != null) {
|
||||
n.b(eVar, h6, -this.f8845b.f8678Q[1].e());
|
||||
n.b(eVar2, eVar, -fVar.f8827g);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ((dVar7 instanceof w.i) || dVar7.f8681T == null || dVar7.i(7).f8661f != null) {
|
||||
return;
|
||||
}
|
||||
w.d dVar8 = this.f8845b;
|
||||
n.b(eVar2, dVar8.f8681T.f8693d.h, dVar8.r());
|
||||
n.b(eVar, eVar2, fVar.f8827g);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.f8847d == 3) {
|
||||
w.d dVar9 = this.f8845b;
|
||||
int i6 = dVar9.f8717r;
|
||||
if (i6 == 2) {
|
||||
w.d dVar10 = dVar9.f8681T;
|
||||
if (dVar10 != null) {
|
||||
f fVar2 = dVar10.f8695e.f8848e;
|
||||
fVar.f8830l.add(fVar2);
|
||||
fVar2.f8829k.add(fVar);
|
||||
fVar.f8822b = true;
|
||||
fVar.f8829k.add(eVar2);
|
||||
fVar.f8829k.add(eVar);
|
||||
}
|
||||
} else if (i6 == 3) {
|
||||
if (dVar9.f8718s == 3) {
|
||||
eVar2.f8821a = this;
|
||||
eVar.f8821a = this;
|
||||
l lVar = dVar9.f8695e;
|
||||
lVar.h.f8821a = this;
|
||||
lVar.i.f8821a = this;
|
||||
fVar.f8821a = this;
|
||||
if (dVar9.y()) {
|
||||
fVar.f8830l.add(this.f8845b.f8695e.f8848e);
|
||||
this.f8845b.f8695e.f8848e.f8829k.add(fVar);
|
||||
l lVar2 = this.f8845b.f8695e;
|
||||
lVar2.f8848e.f8821a = this;
|
||||
fVar.f8830l.add(lVar2.h);
|
||||
fVar.f8830l.add(this.f8845b.f8695e.i);
|
||||
this.f8845b.f8695e.h.f8829k.add(fVar);
|
||||
this.f8845b.f8695e.i.f8829k.add(fVar);
|
||||
} else if (this.f8845b.x()) {
|
||||
this.f8845b.f8695e.f8848e.f8830l.add(fVar);
|
||||
fVar.f8829k.add(this.f8845b.f8695e.f8848e);
|
||||
} else {
|
||||
this.f8845b.f8695e.f8848e.f8830l.add(fVar);
|
||||
}
|
||||
} else {
|
||||
f fVar3 = dVar9.f8695e.f8848e;
|
||||
fVar.f8830l.add(fVar3);
|
||||
fVar3.f8829k.add(fVar);
|
||||
this.f8845b.f8695e.h.f8829k.add(fVar);
|
||||
this.f8845b.f8695e.i.f8829k.add(fVar);
|
||||
fVar.f8822b = true;
|
||||
fVar.f8829k.add(eVar2);
|
||||
fVar.f8829k.add(eVar);
|
||||
eVar2.f8830l.add(fVar);
|
||||
eVar.f8830l.add(fVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
w.d dVar11 = this.f8845b;
|
||||
w.c[] cVarArr2 = dVar11.f8678Q;
|
||||
w.c cVar4 = cVarArr2[0];
|
||||
w.c cVar5 = cVar4.f8661f;
|
||||
if (cVar5 != null && cVarArr2[1].f8661f != null) {
|
||||
if (dVar11.x()) {
|
||||
eVar2.f8826f = this.f8845b.f8678Q[0].e();
|
||||
eVar.f8826f = -this.f8845b.f8678Q[1].e();
|
||||
return;
|
||||
}
|
||||
e h7 = n.h(this.f8845b.f8678Q[0]);
|
||||
e h8 = n.h(this.f8845b.f8678Q[1]);
|
||||
if (h7 != null) {
|
||||
h7.b(this);
|
||||
}
|
||||
if (h8 != null) {
|
||||
h8.b(this);
|
||||
}
|
||||
this.f8851j = 4;
|
||||
return;
|
||||
}
|
||||
if (cVar5 != null) {
|
||||
e h9 = n.h(cVar4);
|
||||
if (h9 != null) {
|
||||
n.b(eVar2, h9, this.f8845b.f8678Q[0].e());
|
||||
c(eVar, eVar2, 1, fVar);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
w.c cVar6 = cVarArr2[1];
|
||||
if (cVar6.f8661f != null) {
|
||||
e h10 = n.h(cVar6);
|
||||
if (h10 != null) {
|
||||
n.b(eVar, h10, -this.f8845b.f8678Q[1].e());
|
||||
c(eVar2, eVar, -1, fVar);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ((dVar11 instanceof w.i) || (dVar3 = dVar11.f8681T) == null) {
|
||||
return;
|
||||
}
|
||||
n.b(eVar2, dVar3.f8693d.h, dVar11.r());
|
||||
c(eVar, eVar2, 1, fVar);
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void e() {
|
||||
e eVar = this.h;
|
||||
if (eVar.f8828j) {
|
||||
this.f8845b.f8686Y = eVar.f8827g;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void f() {
|
||||
this.f8846c = null;
|
||||
this.h.c();
|
||||
this.i.c();
|
||||
this.f8848e.c();
|
||||
this.f8850g = false;
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final boolean k() {
|
||||
return this.f8847d != 3 || this.f8845b.f8717r == 0;
|
||||
}
|
||||
|
||||
public final void n() {
|
||||
this.f8850g = false;
|
||||
e eVar = this.h;
|
||||
eVar.c();
|
||||
eVar.f8828j = false;
|
||||
e eVar2 = this.i;
|
||||
eVar2.c();
|
||||
eVar2.f8828j = false;
|
||||
this.f8848e.f8828j = false;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return "HorizontalRun " + this.f8845b.f8701h0;
|
||||
}
|
||||
}
|
||||
63
apk_decompiled/sources/x/k.java
Normal file
63
apk_decompiled/sources/x/k.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package x;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class k {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public n f8834a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public ArrayList f8835b;
|
||||
|
||||
public static long a(e eVar, long j4) {
|
||||
n nVar = eVar.f8824d;
|
||||
if (nVar instanceof i) {
|
||||
return j4;
|
||||
}
|
||||
ArrayList arrayList = eVar.f8829k;
|
||||
int size = arrayList.size();
|
||||
long j5 = j4;
|
||||
for (int i = 0; i < size; i++) {
|
||||
InterfaceC0655d interfaceC0655d = (InterfaceC0655d) arrayList.get(i);
|
||||
if (interfaceC0655d instanceof e) {
|
||||
e eVar2 = (e) interfaceC0655d;
|
||||
if (eVar2.f8824d != nVar) {
|
||||
j5 = Math.min(j5, a(eVar2, eVar2.f8826f + j4));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (eVar != nVar.i) {
|
||||
return j5;
|
||||
}
|
||||
long j6 = nVar.j();
|
||||
long j7 = j4 - j6;
|
||||
return Math.min(Math.min(j5, a(nVar.h, j7)), j7 - r9.f8826f);
|
||||
}
|
||||
|
||||
public static long b(e eVar, long j4) {
|
||||
n nVar = eVar.f8824d;
|
||||
if (nVar instanceof i) {
|
||||
return j4;
|
||||
}
|
||||
ArrayList arrayList = eVar.f8829k;
|
||||
int size = arrayList.size();
|
||||
long j5 = j4;
|
||||
for (int i = 0; i < size; i++) {
|
||||
InterfaceC0655d interfaceC0655d = (InterfaceC0655d) arrayList.get(i);
|
||||
if (interfaceC0655d instanceof e) {
|
||||
e eVar2 = (e) interfaceC0655d;
|
||||
if (eVar2.f8824d != nVar) {
|
||||
j5 = Math.max(j5, b(eVar2, eVar2.f8826f + j4));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (eVar != nVar.h) {
|
||||
return j5;
|
||||
}
|
||||
long j6 = nVar.j();
|
||||
long j7 = j4 + j6;
|
||||
return Math.max(Math.max(j5, b(nVar.i, j7)), j7 - r9.f8826f);
|
||||
}
|
||||
}
|
||||
390
apk_decompiled/sources/x/l.java
Normal file
390
apk_decompiled/sources/x/l.java
Normal file
@@ -0,0 +1,390 @@
|
||||
package x;
|
||||
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import u.AbstractC0629f;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class l extends n {
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public e f8836k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public C0652a f8837l;
|
||||
|
||||
@Override // x.InterfaceC0655d
|
||||
public final void a(InterfaceC0655d interfaceC0655d) {
|
||||
float f2;
|
||||
float f4;
|
||||
float f5;
|
||||
int i;
|
||||
if (AbstractC0629f.b(this.f8851j) == 3) {
|
||||
w.d dVar = this.f8845b;
|
||||
l(dVar.J, dVar.f8673L, 1);
|
||||
return;
|
||||
}
|
||||
f fVar = this.f8848e;
|
||||
if (fVar.f8823c && !fVar.f8828j && this.f8847d == 3) {
|
||||
w.d dVar2 = this.f8845b;
|
||||
int i4 = dVar2.f8718s;
|
||||
if (i4 == 2) {
|
||||
w.d dVar3 = dVar2.f8681T;
|
||||
if (dVar3 != null) {
|
||||
if (dVar3.f8695e.f8848e.f8828j) {
|
||||
fVar.d((int) ((r5.f8827g * dVar2.f8725z) + 0.5f));
|
||||
}
|
||||
}
|
||||
} else if (i4 == 3) {
|
||||
f fVar2 = dVar2.f8693d.f8848e;
|
||||
if (fVar2.f8828j) {
|
||||
int i5 = dVar2.f8685X;
|
||||
if (i5 == -1) {
|
||||
f2 = fVar2.f8827g;
|
||||
f4 = dVar2.f8684W;
|
||||
} else if (i5 == 0) {
|
||||
f5 = fVar2.f8827g * dVar2.f8684W;
|
||||
i = (int) (f5 + 0.5f);
|
||||
fVar.d(i);
|
||||
} else if (i5 != 1) {
|
||||
i = 0;
|
||||
fVar.d(i);
|
||||
} else {
|
||||
f2 = fVar2.f8827g;
|
||||
f4 = dVar2.f8684W;
|
||||
}
|
||||
f5 = f2 / f4;
|
||||
i = (int) (f5 + 0.5f);
|
||||
fVar.d(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
e eVar = this.h;
|
||||
if (eVar.f8823c) {
|
||||
e eVar2 = this.i;
|
||||
if (eVar2.f8823c) {
|
||||
if (eVar.f8828j && eVar2.f8828j && fVar.f8828j) {
|
||||
return;
|
||||
}
|
||||
if (!fVar.f8828j && this.f8847d == 3) {
|
||||
w.d dVar4 = this.f8845b;
|
||||
if (dVar4.f8717r == 0 && !dVar4.y()) {
|
||||
e eVar3 = (e) eVar.f8830l.get(0);
|
||||
e eVar4 = (e) eVar2.f8830l.get(0);
|
||||
int i6 = eVar3.f8827g + eVar.f8826f;
|
||||
int i7 = eVar4.f8827g + eVar2.f8826f;
|
||||
eVar.d(i6);
|
||||
eVar2.d(i7);
|
||||
fVar.d(i7 - i6);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!fVar.f8828j && this.f8847d == 3 && this.f8844a == 1 && eVar.f8830l.size() > 0 && eVar2.f8830l.size() > 0) {
|
||||
e eVar5 = (e) eVar.f8830l.get(0);
|
||||
int i8 = (((e) eVar2.f8830l.get(0)).f8827g + eVar2.f8826f) - (eVar5.f8827g + eVar.f8826f);
|
||||
int i9 = fVar.f8831m;
|
||||
if (i8 < i9) {
|
||||
fVar.d(i8);
|
||||
} else {
|
||||
fVar.d(i9);
|
||||
}
|
||||
}
|
||||
if (fVar.f8828j && eVar.f8830l.size() > 0 && eVar2.f8830l.size() > 0) {
|
||||
e eVar6 = (e) eVar.f8830l.get(0);
|
||||
e eVar7 = (e) eVar2.f8830l.get(0);
|
||||
int i10 = eVar6.f8827g;
|
||||
int i11 = eVar.f8826f + i10;
|
||||
int i12 = eVar7.f8827g;
|
||||
int i13 = eVar2.f8826f + i12;
|
||||
float f6 = this.f8845b.f8696e0;
|
||||
if (eVar6 == eVar7) {
|
||||
f6 = 0.5f;
|
||||
} else {
|
||||
i10 = i11;
|
||||
i12 = i13;
|
||||
}
|
||||
eVar.d((int) ((((i12 - i10) - fVar.f8827g) * f6) + i10 + 0.5f));
|
||||
eVar2.d(eVar.f8827g + fVar.f8827g);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v114, types: [x.f, x.a] */
|
||||
@Override // x.n
|
||||
public final void d() {
|
||||
w.d dVar;
|
||||
w.d dVar2;
|
||||
w.d dVar3;
|
||||
w.d dVar4;
|
||||
w.d dVar5 = this.f8845b;
|
||||
boolean z3 = dVar5.f8687a;
|
||||
f fVar = this.f8848e;
|
||||
if (z3) {
|
||||
fVar.d(dVar5.k());
|
||||
}
|
||||
boolean z4 = fVar.f8828j;
|
||||
e eVar = this.i;
|
||||
e eVar2 = this.h;
|
||||
if (!z4) {
|
||||
w.d dVar6 = this.f8845b;
|
||||
this.f8847d = dVar6.f8715p0[1];
|
||||
if (dVar6.f8667E) {
|
||||
this.f8837l = new f(this);
|
||||
}
|
||||
int i = this.f8847d;
|
||||
if (i != 3) {
|
||||
if (i == 4 && (dVar4 = this.f8845b.f8681T) != null && dVar4.f8715p0[1] == 1) {
|
||||
int k4 = (dVar4.k() - this.f8845b.J.e()) - this.f8845b.f8673L.e();
|
||||
n.b(eVar2, dVar4.f8695e.h, this.f8845b.J.e());
|
||||
n.b(eVar, dVar4.f8695e.i, -this.f8845b.f8673L.e());
|
||||
fVar.d(k4);
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
fVar.d(this.f8845b.k());
|
||||
}
|
||||
}
|
||||
} else if (this.f8847d == 4 && (dVar2 = (dVar = this.f8845b).f8681T) != null && dVar2.f8715p0[1] == 1) {
|
||||
n.b(eVar2, dVar2.f8695e.h, dVar.J.e());
|
||||
n.b(eVar, dVar2.f8695e.i, -this.f8845b.f8673L.e());
|
||||
return;
|
||||
}
|
||||
boolean z5 = fVar.f8828j;
|
||||
e eVar3 = this.f8836k;
|
||||
if (z5) {
|
||||
w.d dVar7 = this.f8845b;
|
||||
if (dVar7.f8687a) {
|
||||
w.c[] cVarArr = dVar7.f8678Q;
|
||||
w.c cVar = cVarArr[2];
|
||||
w.c cVar2 = cVar.f8661f;
|
||||
if (cVar2 != null && cVarArr[3].f8661f != null) {
|
||||
if (dVar7.y()) {
|
||||
eVar2.f8826f = this.f8845b.f8678Q[2].e();
|
||||
eVar.f8826f = -this.f8845b.f8678Q[3].e();
|
||||
} else {
|
||||
e h = n.h(this.f8845b.f8678Q[2]);
|
||||
if (h != null) {
|
||||
n.b(eVar2, h, this.f8845b.f8678Q[2].e());
|
||||
}
|
||||
e h4 = n.h(this.f8845b.f8678Q[3]);
|
||||
if (h4 != null) {
|
||||
n.b(eVar, h4, -this.f8845b.f8678Q[3].e());
|
||||
}
|
||||
eVar2.f8822b = true;
|
||||
eVar.f8822b = true;
|
||||
}
|
||||
w.d dVar8 = this.f8845b;
|
||||
if (dVar8.f8667E) {
|
||||
n.b(eVar3, eVar2, dVar8.f8688a0);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (cVar2 != null) {
|
||||
e h5 = n.h(cVar);
|
||||
if (h5 != null) {
|
||||
n.b(eVar2, h5, this.f8845b.f8678Q[2].e());
|
||||
n.b(eVar, eVar2, fVar.f8827g);
|
||||
w.d dVar9 = this.f8845b;
|
||||
if (dVar9.f8667E) {
|
||||
n.b(eVar3, eVar2, dVar9.f8688a0);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
w.c cVar3 = cVarArr[3];
|
||||
if (cVar3.f8661f != null) {
|
||||
e h6 = n.h(cVar3);
|
||||
if (h6 != null) {
|
||||
n.b(eVar, h6, -this.f8845b.f8678Q[3].e());
|
||||
n.b(eVar2, eVar, -fVar.f8827g);
|
||||
}
|
||||
w.d dVar10 = this.f8845b;
|
||||
if (dVar10.f8667E) {
|
||||
n.b(eVar3, eVar2, dVar10.f8688a0);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
w.c cVar4 = cVarArr[4];
|
||||
if (cVar4.f8661f != null) {
|
||||
e h7 = n.h(cVar4);
|
||||
if (h7 != null) {
|
||||
n.b(eVar3, h7, 0);
|
||||
n.b(eVar2, eVar3, -this.f8845b.f8688a0);
|
||||
n.b(eVar, eVar2, fVar.f8827g);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ((dVar7 instanceof w.i) || dVar7.f8681T == null || dVar7.i(7).f8661f != null) {
|
||||
return;
|
||||
}
|
||||
w.d dVar11 = this.f8845b;
|
||||
n.b(eVar2, dVar11.f8681T.f8695e.h, dVar11.s());
|
||||
n.b(eVar, eVar2, fVar.f8827g);
|
||||
w.d dVar12 = this.f8845b;
|
||||
if (dVar12.f8667E) {
|
||||
n.b(eVar3, eVar2, dVar12.f8688a0);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (z5 || this.f8847d != 3) {
|
||||
fVar.b(this);
|
||||
} else {
|
||||
w.d dVar13 = this.f8845b;
|
||||
int i4 = dVar13.f8718s;
|
||||
if (i4 == 2) {
|
||||
w.d dVar14 = dVar13.f8681T;
|
||||
if (dVar14 != null) {
|
||||
f fVar2 = dVar14.f8695e.f8848e;
|
||||
fVar.f8830l.add(fVar2);
|
||||
fVar2.f8829k.add(fVar);
|
||||
fVar.f8822b = true;
|
||||
fVar.f8829k.add(eVar2);
|
||||
fVar.f8829k.add(eVar);
|
||||
}
|
||||
} else if (i4 == 3 && !dVar13.y()) {
|
||||
w.d dVar15 = this.f8845b;
|
||||
if (dVar15.f8717r != 3) {
|
||||
f fVar3 = dVar15.f8693d.f8848e;
|
||||
fVar.f8830l.add(fVar3);
|
||||
fVar3.f8829k.add(fVar);
|
||||
fVar.f8822b = true;
|
||||
fVar.f8829k.add(eVar2);
|
||||
fVar.f8829k.add(eVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
w.d dVar16 = this.f8845b;
|
||||
w.c[] cVarArr2 = dVar16.f8678Q;
|
||||
w.c cVar5 = cVarArr2[2];
|
||||
w.c cVar6 = cVar5.f8661f;
|
||||
if (cVar6 != null && cVarArr2[3].f8661f != null) {
|
||||
if (dVar16.y()) {
|
||||
eVar2.f8826f = this.f8845b.f8678Q[2].e();
|
||||
eVar.f8826f = -this.f8845b.f8678Q[3].e();
|
||||
} else {
|
||||
e h8 = n.h(this.f8845b.f8678Q[2]);
|
||||
e h9 = n.h(this.f8845b.f8678Q[3]);
|
||||
if (h8 != null) {
|
||||
h8.b(this);
|
||||
}
|
||||
if (h9 != null) {
|
||||
h9.b(this);
|
||||
}
|
||||
this.f8851j = 4;
|
||||
}
|
||||
if (this.f8845b.f8667E) {
|
||||
c(eVar3, eVar2, 1, this.f8837l);
|
||||
}
|
||||
} else if (cVar6 != null) {
|
||||
e h10 = n.h(cVar5);
|
||||
if (h10 != null) {
|
||||
n.b(eVar2, h10, this.f8845b.f8678Q[2].e());
|
||||
c(eVar, eVar2, 1, fVar);
|
||||
if (this.f8845b.f8667E) {
|
||||
c(eVar3, eVar2, 1, this.f8837l);
|
||||
}
|
||||
if (this.f8847d == 3) {
|
||||
w.d dVar17 = this.f8845b;
|
||||
if (dVar17.f8684W > BitmapDescriptorFactory.HUE_RED) {
|
||||
j jVar = dVar17.f8693d;
|
||||
if (jVar.f8847d == 3) {
|
||||
jVar.f8848e.f8829k.add(fVar);
|
||||
fVar.f8830l.add(this.f8845b.f8693d.f8848e);
|
||||
fVar.f8821a = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
w.c cVar7 = cVarArr2[3];
|
||||
if (cVar7.f8661f != null) {
|
||||
e h11 = n.h(cVar7);
|
||||
if (h11 != null) {
|
||||
n.b(eVar, h11, -this.f8845b.f8678Q[3].e());
|
||||
c(eVar2, eVar, -1, fVar);
|
||||
if (this.f8845b.f8667E) {
|
||||
c(eVar3, eVar2, 1, this.f8837l);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
w.c cVar8 = cVarArr2[4];
|
||||
if (cVar8.f8661f != null) {
|
||||
e h12 = n.h(cVar8);
|
||||
if (h12 != null) {
|
||||
n.b(eVar3, h12, 0);
|
||||
c(eVar2, eVar3, -1, this.f8837l);
|
||||
c(eVar, eVar2, 1, fVar);
|
||||
}
|
||||
} else if (!(dVar16 instanceof w.i) && (dVar3 = dVar16.f8681T) != null) {
|
||||
n.b(eVar2, dVar3.f8695e.h, dVar16.s());
|
||||
c(eVar, eVar2, 1, fVar);
|
||||
if (this.f8845b.f8667E) {
|
||||
c(eVar3, eVar2, 1, this.f8837l);
|
||||
}
|
||||
if (this.f8847d == 3) {
|
||||
w.d dVar18 = this.f8845b;
|
||||
if (dVar18.f8684W > BitmapDescriptorFactory.HUE_RED) {
|
||||
j jVar2 = dVar18.f8693d;
|
||||
if (jVar2.f8847d == 3) {
|
||||
jVar2.f8848e.f8829k.add(fVar);
|
||||
fVar.f8830l.add(this.f8845b.f8693d.f8848e);
|
||||
fVar.f8821a = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fVar.f8830l.size() == 0) {
|
||||
fVar.f8823c = true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void e() {
|
||||
e eVar = this.h;
|
||||
if (eVar.f8828j) {
|
||||
this.f8845b.Z = eVar.f8827g;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final void f() {
|
||||
this.f8846c = null;
|
||||
this.h.c();
|
||||
this.i.c();
|
||||
this.f8836k.c();
|
||||
this.f8848e.c();
|
||||
this.f8850g = false;
|
||||
}
|
||||
|
||||
@Override // x.n
|
||||
public final boolean k() {
|
||||
return this.f8847d != 3 || this.f8845b.f8718s == 0;
|
||||
}
|
||||
|
||||
public final void m() {
|
||||
this.f8850g = false;
|
||||
e eVar = this.h;
|
||||
eVar.c();
|
||||
eVar.f8828j = false;
|
||||
e eVar2 = this.i;
|
||||
eVar2.c();
|
||||
eVar2.f8828j = false;
|
||||
e eVar3 = this.f8836k;
|
||||
eVar3.c();
|
||||
eVar3.f8828j = false;
|
||||
this.f8848e.f8828j = false;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return "VerticalRun " + this.f8845b.f8701h0;
|
||||
}
|
||||
}
|
||||
124
apk_decompiled/sources/x/m.java
Normal file
124
apk_decompiled/sources/x/m.java
Normal file
@@ -0,0 +1,124 @@
|
||||
package x;
|
||||
|
||||
import C.w;
|
||||
import f0.C0338b;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import u.C0626c;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class m {
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public static int f8838f;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public ArrayList f8839a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f8840b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f8841c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public ArrayList f8842d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f8843e;
|
||||
|
||||
public final void a(ArrayList arrayList) {
|
||||
int size = this.f8839a.size();
|
||||
if (this.f8843e != -1 && size > 0) {
|
||||
for (int i = 0; i < arrayList.size(); i++) {
|
||||
m mVar = (m) arrayList.get(i);
|
||||
if (this.f8843e == mVar.f8840b) {
|
||||
c(this.f8841c, mVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (size == 0) {
|
||||
arrayList.remove(this);
|
||||
}
|
||||
}
|
||||
|
||||
public final int b(C0626c c0626c, int i) {
|
||||
int n4;
|
||||
int n5;
|
||||
ArrayList arrayList = this.f8839a;
|
||||
if (arrayList.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
w.e eVar = (w.e) ((w.d) arrayList.get(0)).f8681T;
|
||||
c0626c.t();
|
||||
eVar.b(c0626c, false);
|
||||
for (int i4 = 0; i4 < arrayList.size(); i4++) {
|
||||
((w.d) arrayList.get(i4)).b(c0626c, false);
|
||||
}
|
||||
if (i == 0 && eVar.f8745z0 > 0) {
|
||||
w.j.a(eVar, c0626c, arrayList, 0);
|
||||
}
|
||||
if (i == 1 && eVar.A0 > 0) {
|
||||
w.j.a(eVar, c0626c, arrayList, 1);
|
||||
}
|
||||
try {
|
||||
c0626c.p();
|
||||
} catch (Exception e4) {
|
||||
e4.printStackTrace();
|
||||
}
|
||||
this.f8842d = new ArrayList();
|
||||
for (int i5 = 0; i5 < arrayList.size(); i5++) {
|
||||
w.d dVar = (w.d) arrayList.get(i5);
|
||||
C0338b c0338b = new C0338b(20);
|
||||
new WeakReference(dVar);
|
||||
C0626c.n(dVar.f8671I);
|
||||
C0626c.n(dVar.J);
|
||||
C0626c.n(dVar.f8672K);
|
||||
C0626c.n(dVar.f8673L);
|
||||
C0626c.n(dVar.f8674M);
|
||||
this.f8842d.add(c0338b);
|
||||
}
|
||||
if (i == 0) {
|
||||
n4 = C0626c.n(eVar.f8671I);
|
||||
n5 = C0626c.n(eVar.f8672K);
|
||||
c0626c.t();
|
||||
} else {
|
||||
n4 = C0626c.n(eVar.J);
|
||||
n5 = C0626c.n(eVar.f8673L);
|
||||
c0626c.t();
|
||||
}
|
||||
return n5 - n4;
|
||||
}
|
||||
|
||||
public final void c(int i, m mVar) {
|
||||
Iterator it = this.f8839a.iterator();
|
||||
while (it.hasNext()) {
|
||||
w.d dVar = (w.d) it.next();
|
||||
ArrayList arrayList = mVar.f8839a;
|
||||
if (!arrayList.contains(dVar)) {
|
||||
arrayList.add(dVar);
|
||||
}
|
||||
int i4 = mVar.f8840b;
|
||||
if (i == 0) {
|
||||
dVar.f8712n0 = i4;
|
||||
} else {
|
||||
dVar.f8714o0 = i4;
|
||||
}
|
||||
}
|
||||
this.f8843e = mVar.f8840b;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int i = this.f8841c;
|
||||
sb.append(i == 0 ? "Horizontal" : i == 1 ? "Vertical" : i == 2 ? "Both" : "Unknown");
|
||||
sb.append(" [");
|
||||
String m4 = com.google.android.gms.measurement.internal.a.m(sb, this.f8840b, "] <");
|
||||
Iterator it = this.f8839a.iterator();
|
||||
while (it.hasNext()) {
|
||||
m4 = m4 + " " + ((w.d) it.next()).f8701h0;
|
||||
}
|
||||
return w.n(m4, " >");
|
||||
}
|
||||
}
|
||||
150
apk_decompiled/sources/x/n.java
Normal file
150
apk_decompiled/sources/x/n.java
Normal file
@@ -0,0 +1,150 @@
|
||||
package x;
|
||||
|
||||
import u.AbstractC0629f;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class n implements InterfaceC0655d {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f8844a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public w.d f8845b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public k f8846c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f8847d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final f f8848e = new f(this);
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f8849f = 0;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f8850g = false;
|
||||
public final e h = new e(this);
|
||||
public final e i = new e(this);
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f8851j = 1;
|
||||
|
||||
public n(w.d dVar) {
|
||||
this.f8845b = dVar;
|
||||
}
|
||||
|
||||
public static void b(e eVar, e eVar2, int i) {
|
||||
eVar.f8830l.add(eVar2);
|
||||
eVar.f8826f = i;
|
||||
eVar2.f8829k.add(eVar);
|
||||
}
|
||||
|
||||
public static e h(w.c cVar) {
|
||||
w.c cVar2 = cVar.f8661f;
|
||||
if (cVar2 == null) {
|
||||
return null;
|
||||
}
|
||||
int b4 = AbstractC0629f.b(cVar2.f8660e);
|
||||
w.d dVar = cVar2.f8659d;
|
||||
if (b4 == 1) {
|
||||
return dVar.f8693d.h;
|
||||
}
|
||||
if (b4 == 2) {
|
||||
return dVar.f8695e.h;
|
||||
}
|
||||
if (b4 == 3) {
|
||||
return dVar.f8693d.i;
|
||||
}
|
||||
if (b4 == 4) {
|
||||
return dVar.f8695e.i;
|
||||
}
|
||||
if (b4 != 5) {
|
||||
return null;
|
||||
}
|
||||
return dVar.f8695e.f8836k;
|
||||
}
|
||||
|
||||
public static e i(w.c cVar, int i) {
|
||||
w.c cVar2 = cVar.f8661f;
|
||||
if (cVar2 == null) {
|
||||
return null;
|
||||
}
|
||||
w.d dVar = cVar2.f8659d;
|
||||
n nVar = i == 0 ? dVar.f8693d : dVar.f8695e;
|
||||
int b4 = AbstractC0629f.b(cVar2.f8660e);
|
||||
if (b4 == 1 || b4 == 2) {
|
||||
return nVar.h;
|
||||
}
|
||||
if (b4 == 3 || b4 == 4) {
|
||||
return nVar.i;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void c(e eVar, e eVar2, int i, f fVar) {
|
||||
eVar.f8830l.add(eVar2);
|
||||
eVar.f8830l.add(this.f8848e);
|
||||
eVar.h = i;
|
||||
eVar.i = fVar;
|
||||
eVar2.f8829k.add(eVar);
|
||||
fVar.f8829k.add(eVar);
|
||||
}
|
||||
|
||||
public abstract void d();
|
||||
|
||||
public abstract void e();
|
||||
|
||||
public abstract void f();
|
||||
|
||||
public final int g(int i, int i4) {
|
||||
if (i4 == 0) {
|
||||
w.d dVar = this.f8845b;
|
||||
int i5 = dVar.f8721v;
|
||||
int max = Math.max(dVar.f8720u, i);
|
||||
if (i5 > 0) {
|
||||
max = Math.min(i5, i);
|
||||
}
|
||||
if (max != i) {
|
||||
return max;
|
||||
}
|
||||
} else {
|
||||
w.d dVar2 = this.f8845b;
|
||||
int i6 = dVar2.f8724y;
|
||||
int max2 = Math.max(dVar2.f8723x, i);
|
||||
if (i6 > 0) {
|
||||
max2 = Math.min(i6, i);
|
||||
}
|
||||
if (max2 != i) {
|
||||
return max2;
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public long j() {
|
||||
if (this.f8848e.f8828j) {
|
||||
return r2.f8827g;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public abstract boolean k();
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:23:0x0051, code lost:
|
||||
|
||||
if (r9.f8844a == 3) goto L50;
|
||||
*/
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void l(w.c r12, w.c r13, int r14) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 232
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: x.n.l(w.c, w.c, int):void");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user