what-the-bank/sources/o/VX.java

189 lines
5.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Base64;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes3.dex */
public final class VX implements Parcelable {
public static final Parcelable.Creator<VX> CREATOR;
private static byte f = 0;
private static int h = 1;
private static int j;
public final int a;
public final int b;
public final String c;
public HashMap<String, String> d;
public final int e;
private final int g;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public VX(int i, int i2, int i3, int i4, String str, HashMap<String, String> hashMap) {
C14957gcv.e(str, "");
this.a = i;
this.g = i2;
this.e = i3;
this.b = i4;
this.c = str;
this.d = hashMap;
}
public /* synthetic */ VX(int i, int i2, int i3, int i4, String str) {
this(i, i2, i3, i4, str, new HashMap());
}
public final String e(Context context) {
String str;
int i = 2 % 2;
if (context != null) {
int i2 = j + 7;
h = i2 % 128;
int i3 = i2 % 2;
str = context.getString(this.g);
if (!(!str.startsWith(",*,)"))) {
Object[] objArr = new Object[1];
i(str.substring(4), objArr);
str = ((String) objArr[0]).intern();
}
int i4 = h + 71;
j = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 % 5;
}
} else {
int i6 = j + 11;
h = i6 % 128;
int i7 = i6 % 2;
str = null;
}
if (str != null) {
return str;
}
int i8 = h + 121;
j = i8 % 128;
int i9 = i8 % 2;
return "";
}
private void i(String str, Object[] objArr) {
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
for (int i = 0; i < decode.length; i++) {
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ f);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<VX> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ VX createFromParcel(Parcel parcel) {
HashMap hashMap;
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
int readInt2 = parcel.readInt();
int readInt3 = parcel.readInt();
int readInt4 = parcel.readInt();
String readString = parcel.readString();
if (parcel.readInt() == 0) {
hashMap = null;
} else {
int readInt5 = parcel.readInt();
HashMap hashMap2 = new HashMap(readInt5);
for (int i = 0; i != readInt5; i++) {
hashMap2.put(parcel.readString(), parcel.readString());
}
hashMap = hashMap2;
}
return new VX(readInt, readInt2, readInt3, readInt4, readString, hashMap);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ VX[] newArray(int i) {
return new VX[i];
}
}
static void c() {
f = (byte) 6;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.a);
parcel.writeInt(this.g);
parcel.writeInt(this.e);
parcel.writeInt(this.b);
parcel.writeString(this.c);
HashMap<String, String> hashMap = this.d;
if (hashMap == null) {
parcel.writeInt(0);
return;
}
parcel.writeInt(1);
parcel.writeInt(hashMap.size());
for (Map.Entry<String, String> entry : hashMap.entrySet()) {
parcel.writeString(entry.getKey());
parcel.writeString(entry.getValue());
}
}
public final String toString() {
int i = this.a;
int i2 = this.g;
int i3 = this.e;
int i4 = this.b;
String str = this.c;
HashMap<String, String> hashMap = this.d;
StringBuilder sb = new StringBuilder("SearchPageItemDisplay(index=");
sb.append(i);
sb.append(", title=");
sb.append(i2);
sb.append(", searchHeader=");
sb.append(i3);
sb.append(", searchHint=");
sb.append(i4);
sb.append(", keyResult=");
sb.append(str);
sb.append(", currentMapData=");
sb.append(hashMap);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = Integer.hashCode(this.a);
int hashCode2 = Integer.hashCode(this.g);
int hashCode3 = Integer.hashCode(this.e);
int hashCode4 = Integer.hashCode(this.b);
int hashCode5 = this.c.hashCode();
HashMap<String, String> hashMap = this.d;
return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + (hashMap == null ? 0 : hashMap.hashCode());
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof VX)) {
return false;
}
VX vx = (VX) obj;
return this.a == vx.a && this.g == vx.g && this.e == vx.e && this.b == vx.b && C14957gcv.b((Object) this.c, (Object) vx.c) && C14957gcv.b(this.d, vx.d);
}
static {
c();
CREATOR = new LWm();
}
}