what-the-bank/sources/com/scb/phone/view/custom/common/CustomProxyNumber.java

972 lines
31 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.common;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.Editable;
import android.text.InputFilter;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.SpannedString;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.util.Base64;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.CustomProxyNumber;
import com.scb.phone.view.custom.common.ScbEditText;
import com.scb.phone.view.fragment.BaseFragment;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C1238Ys;
import o.C1245Yu;
import o.C15602gz;
import o.C3614bBe;
import o.C6583cXR;
import o.InterfaceC12866fJj;
import o.fJT;
import o.nMh;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class CustomProxyNumber extends RelativeLayout {
private static byte d;
private static boolean f;
private static char[] g;
private static int h;
private static boolean i;
private static int m;
private InterfaceC12866fJj a;
private String b;
@BindView
protected ImageButton buttonContacts;
private Sts c;
private String e;
@BindView
protected TextView mErrorValidation;
@BindView
TextView proxyLabel;
@BindView
ScbEditText proxyNumberField;
private static final byte[] $$a = {54, -108, 123, 45};
private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int j = 0;
/* loaded from: classes5.dex */
public interface Sts {
void e(boolean z);
}
public static /* synthetic */ Object b(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = (i2 * 273) + (i3 * (-271)) + (((~((~i3) | i5 | (~i4))) | (~(i2 | i3 | i4))) * (-272)) + (((~(i5 | i4)) | (~(i5 | i3))) * (-272)) + (((~(i2 | i4)) | i3) * 272);
return i6 != 1 ? i6 != 2 ? e(objArr) : d(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002e). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void n(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.custom.common.CustomProxyNumber.$$a
int r7 = r7 * 57
int r7 = 122 - r7
int r8 = r8 * 3
int r8 = 4 - r8
int r6 = r6 * 3
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L18
r3 = r8
r4 = r2
goto L2e
L18:
r3 = r2
L19:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r4 = r0[r8]
int r3 = r3 + 1
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2e:
int r8 = r8 + 1
int r7 = r7 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.custom.common.CustomProxyNumber.n(byte, int, short, java.lang.Object[]):void");
}
private void l(String str, Object[] objArr) {
byte[] decode;
byte[] bArr;
int i2;
int i3 = 2 % 2;
int i4 = j + 93;
m = i4 % 128;
if (i4 % 2 == 0) {
decode = Base64.decode(str, 0);
bArr = new byte[decode.length];
i2 = 1;
} else {
decode = Base64.decode(str, 0);
bArr = new byte[decode.length];
i2 = 0;
}
while (i2 < decode.length) {
bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ d);
i2++;
}
String str2 = new String(bArr, StandardCharsets.UTF_8);
int i5 = j + 97;
m = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str2;
}
public CustomProxyNumber(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.b = "";
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131559310, (ViewGroup) this, true);
ButterKnife.c(this);
f();
i();
}
private void f() {
int i2 = 2 % 2;
int i3 = j + 9;
m = i3 % 128;
(i3 % 2 == 0 ? this.buttonContacts : this.buttonContacts).setEnabled(false);
this.buttonContacts.setAlpha(0.5f);
int i4 = j + 95;
m = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void setProxyLabel(String str) {
int i2 = 2 % 2;
int i3 = j + 99;
m = i3 % 128;
if (i3 % 2 != 0) {
this.proxyLabel.setText(str);
} else {
this.proxyLabel.setText(str);
int i4 = 99 / 0;
}
}
public void setProxyHint(String str) {
int i2 = 2 % 2;
int i3 = j + 119;
m = i3 % 128;
int i4 = i3 % 2;
this.proxyNumberField.setHint(str);
int i5 = m + 31;
j = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private /* synthetic */ boolean b(int i2) {
int i3 = 2 % 2;
int i4 = j + 115;
int i5 = i4 % 128;
m = i5;
if (i4 % 2 != 0 ? i2 == 5 : i2 == 2) {
this.a.f();
this.a.t_(this.proxyNumberField.getText().toString());
int i6 = j + 39;
m = i6 % 128;
int i7 = i6 % 2;
} else {
int i8 = i5 + 125;
j = i8 % 128;
int i9 = i8 % 2;
if (i2 == 6) {
this.a.bp_();
}
}
int i10 = j + 23;
m = i10 % 128;
if (i10 % 2 != 0) {
return false;
}
throw null;
}
/* renamed from: com.scb.phone.view.custom.common.CustomProxyNumber$5 */
/* loaded from: classes5.dex */
public final class AnonymousClass5 implements TextWatcher {
private CustomProxyNumber d;
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
AnonymousClass5(CustomProxyNumber customProxyNumber) {
this.d = customProxyNumber;
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
this.d.mErrorValidation.setVisibility(8);
if (!CustomProxyNumber.c(this.d).equals(editable.toString())) {
CustomProxyNumber.b(this.d, "");
}
if (CustomProxyNumber.e(this.d) != null) {
CustomProxyNumber.e(this.d).d(editable.toString());
}
}
}
private void i() {
int i2 = 2 % 2;
this.proxyNumberField.setOnEditorActionListener(new TextView.OnEditorActionListener(this) { // from class: o.eCb
private CustomProxyNumber d;
@Override // android.widget.TextView.OnEditorActionListener
public final boolean onEditorAction(TextView textView, int i3, KeyEvent keyEvent) {
return CustomProxyNumber.b(this.d, i3);
}
{
this.d = this;
}
});
this.proxyNumberField.addTextChangedListener(new TextWatcher(this) { // from class: com.scb.phone.view.custom.common.CustomProxyNumber.5
private CustomProxyNumber d;
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i3, int i22, int i32) {
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i3, int i22, int i32) {
}
AnonymousClass5(CustomProxyNumber this) {
this.d = this;
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
this.d.mErrorValidation.setVisibility(8);
if (!CustomProxyNumber.c(this.d).equals(editable.toString())) {
CustomProxyNumber.b(this.d, "");
}
if (CustomProxyNumber.e(this.d) != null) {
CustomProxyNumber.e(this.d).d(editable.toString());
}
}
});
this.proxyNumberField.setOnFocusChangeListener(new View.OnFocusChangeListener(this) { // from class: o.eCa
private CustomProxyNumber a;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view, boolean z) {
CustomProxyNumber.d(this.a, z);
}
{
this.a = this;
}
});
int i3 = m + 27;
j = i3 % 128;
int i4 = i3 % 2;
}
private /* synthetic */ void a(boolean z) {
int i2 = 2 % 2;
Sts sts = this.c;
if (sts != null) {
int i3 = j + 59;
m = i3 % 128;
int i4 = i3 % 2;
sts.e(z);
int i5 = j + 49;
m = i5 % 128;
int i6 = i5 % 2;
}
}
@OnClick
public void onContactsButtonClick() {
BaseFragment baseFragment;
int i2;
int i3 = 2 % 2;
Intent intent = new Intent("android.intent.action.PICK", Uri.parse("content://contacts"));
intent.setType("vnd.android.cursor.dir/phone_v2");
Object obj = this.a;
if (obj instanceof BaseFragment) {
int i4 = m + 11;
j = i4 % 128;
if (i4 % 2 != 0) {
baseFragment = (BaseFragment) obj;
i2 = 29691;
} else {
baseFragment = (BaseFragment) obj;
i2 = 347;
}
baseFragment.startActivityForResult(intent, i2);
int i5 = m + 57;
j = i5 % 128;
int i6 = i5 % 2;
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x001a, code lost:
if (r5 != 347) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x001c, code lost:
r1 = r1 + 61;
com.scb.phone.view.custom.common.CustomProxyNumber.j = r1 % 128;
r1 = r1 % 2;
b(new java.lang.Object[]{r4, r7}, 1496567014, -1496567012, java.lang.System.identityHashCode(r4));
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0016, code lost:
if (r6 == (-1)) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost:
if (r6 == (-1)) goto L24;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void apo_(int r5, int r6, android.content.Intent r7) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.custom.common.CustomProxyNumber.m
int r2 = r1 + 75
int r3 = r2 % 128
com.scb.phone.view.custom.common.CustomProxyNumber.j = r3
int r2 = r2 % r0
r3 = -1
if (r2 == 0) goto L16
r2 = 67
int r2 = r2 / 0
if (r6 != r3) goto L34
goto L18
L16:
if (r6 != r3) goto L34
L18:
r6 = 347(0x15b, float:4.86E-43)
if (r5 != r6) goto L34
int r1 = r1 + 61
int r5 = r1 % 128
com.scb.phone.view.custom.common.CustomProxyNumber.j = r5
int r1 = r1 % r0
java.lang.Object[] r5 = new java.lang.Object[]{r4, r7}
int r6 = java.lang.System.identityHashCode(r4)
r7 = 1496567014(0x5933cce6, float:3.1630818E15)
r1 = -1496567012(0xffffffffa6cc331c, float:-1.4169197E-15)
b(r5, r7, r1, r6)
L34:
int r5 = com.scb.phone.view.custom.common.CustomProxyNumber.j
int r5 = r5 + 53
int r6 = r5 % 128
com.scb.phone.view.custom.common.CustomProxyNumber.m = r6
int r5 = r5 % r0
if (r5 == 0) goto L40
return
L40:
r5 = 0
r5.hashCode()
throw r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.custom.common.CustomProxyNumber.apo_(int, int, android.content.Intent):void");
}
public final void b() {
int i2 = 2 % 2;
int i3 = j + 31;
m = i3 % 128;
int i4 = i3 % 2;
this.buttonContacts.setVisibility(8);
int i5 = m + 19;
j = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
CustomProxyNumber customProxyNumber = (CustomProxyNumber) objArr[0];
int i2 = 2 % 2;
int i3 = m + 57;
j = i3 % 128;
int i4 = i3 % 2;
customProxyNumber.buttonContacts.setEnabled(true);
customProxyNumber.buttonContacts.setAlpha(1.0f);
int i5 = j + 33;
m = i5 % 128;
Object obj = null;
if (i5 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
public void setErrorValidationVisibility(int i2) {
int i3 = 2 % 2;
int i4 = j + 121;
m = i4 % 128;
if (i4 % 2 != 0) {
this.mErrorValidation.setVisibility(i2);
} else {
this.mErrorValidation.setVisibility(i2);
int i5 = 82 / 0;
}
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v1, types: [android.text.SpannableString, android.text.Spannable] */
public void setErrorInLine(int i2) {
int i3 = 2 % 2;
int i4 = m + 125;
j = i4 % 128;
int i5 = i4 % 2;
TextView textView = this.mErrorValidation;
Context context = textView.getContext();
String string = context.getString(i2);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
l(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
CharSequence text = context.getText(i2);
if (text instanceof Spanned) {
?? spannableString = new SpannableString(string);
TextUtils.copySpansFrom((SpannedString) text, 0, string.length(), Object.class, spannableString, 0);
string = spannableString;
} else {
int i6 = m + 31;
j = i6 % 128;
int i7 = i6 % 2;
}
}
textView.setText(string);
}
private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
Object method;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = g;
char c = '0';
int i4 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $11 + 101;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.lastIndexOf("", c), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) Color.red(i4));
byte b = (byte) i4;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
n(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
c = '0';
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(h)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (39813 - Drawable.resolveOpacity(0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
n(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (i) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $10 + 47;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c / 0) << c3614bBe.a] * i2] >>> intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), View.resolveSizeAndState(0, 0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 != null) {
method = obj4;
} else {
method = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 41, 4 - MotionEvent.axisFromString(""), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, method);
}
((Method) method).invoke(null, objArr7);
}
}
objArr[0] = new String(cArr4);
return;
}
if (f) {
int i9 = $10 + 35;
$11 = i9 % 128;
int i10 = i9 % 2;
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i11 = $11 + 125;
$10 = i11 % 128;
int i12 = i11 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(39 - ExpandableListView.getPackedPositionChild(0L), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) Color.argb(0, 0, 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr5);
return;
}
int i13 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i13;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
i13 = c3614bBe.a + 1;
}
}
}
private static /* synthetic */ Object d(Object[] objArr) {
CustomProxyNumber customProxyNumber = (CustomProxyNumber) objArr[0];
int i2 = 2 % 2;
C1245Yu ayL_ = fJT.ayL_((Intent) objArr[1], customProxyNumber.getContext());
if (ayL_ != null) {
int i3 = j + 111;
m = i3 % 128;
int i4 = i3 % 2;
e(ayL_);
customProxyNumber.b = ayL_.b;
customProxyNumber.proxyNumberField.setText(ayL_.b);
customProxyNumber.e = ayL_.d;
if (!(!((Boolean) C15602gz.b(new Object[]{ayL_.b}, -396693817, 396693819, (int) System.currentTimeMillis())).booleanValue())) {
int i5 = j + 45;
m = i5 % 128;
int i6 = i5 % 2;
ayL_.b = (String) C6583cXR.c(new Object[]{false, true, ayL_.b}, -1092823629, 1092823630, (int) System.currentTimeMillis());
customProxyNumber.a.a(ayL_);
return null;
}
if (C15602gz.b(ayL_.b)) {
C1238Ys c1238Ys = new C1238Ys();
c1238Ys.b = (String) C6583cXR.c(new Object[]{false, true, ayL_.b}, -1092823629, 1092823630, (int) System.currentTimeMillis());
customProxyNumber.a.a(c1238Ys);
return null;
}
customProxyNumber.a.t_(ayL_.b);
}
return null;
}
@Override // android.view.ViewGroup, android.view.View
protected void onAttachedToWindow() {
int i2 = 2 % 2;
int i3 = m + 109;
j = i3 % 128;
int i4 = i3 % 2;
super.onAttachedToWindow();
if (this.a == null) {
throw new IllegalArgumentException("setOnProxyNumberListener needs to be set");
}
int i5 = j + 1;
m = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final String a() {
int i2 = 2 % 2;
int i3 = j + 5;
m = i3 % 128;
if (i3 % 2 == 0) {
this.proxyNumberField.getText().toString();
throw null;
}
String obj = this.proxyNumberField.getText().toString();
int i4 = m + 21;
j = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 27 / 0;
}
return obj;
}
public void setProxyNumber(String str) {
int i2 = 2 % 2;
int i3 = m + 101;
j = i3 % 128;
if (i3 % 2 == 0) {
this.proxyNumberField.setText(str);
return;
}
this.proxyNumberField.setText(str);
Object obj = null;
obj.hashCode();
throw null;
}
private static C1245Yu e(C1245Yu c1245Yu) {
String str;
int i2 = 2 % 2;
int i3 = j + 73;
m = i3 % 128;
int i4 = i3 % 2;
c1245Yu.b = (String) b(new Object[]{b(c1245Yu.b)}, 1881186191, -1881186190, (int) System.currentTimeMillis());
if (c1245Yu.d == null) {
int i5 = j + 47;
m = i5 % 128;
if (i5 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
str = "";
} else {
str = c1245Yu.d;
}
c1245Yu.d = str;
return c1245Yu;
}
private static /* synthetic */ Object b(Object[] objArr) {
String str = (String) objArr[0];
int i2 = 2 % 2;
int i3 = m + 105;
j = i3 % 128;
int i4 = i3 % 2;
String replaceAll = str.replaceAll("[^0-9]", "");
int i5 = m + 51;
j = i5 % 128;
int i6 = i5 % 2;
return replaceAll;
}
private static String b(String str) {
int i2 = 2 % 2;
int i3 = j + 7;
m = i3 % 128;
int i4 = i3 % 2;
if (str.startsWith("+66")) {
String substring = str.substring(3, str.length());
Object[] objArr = new Object[1];
k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 127 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), objArr);
str = ((String) objArr[0]).intern().concat(substring);
}
int i5 = j + 35;
m = i5 % 128;
int i6 = i5 % 2;
return str;
}
public void setFieldToOriginBackground() {
int i2 = 2 % 2;
int i3 = j + 71;
m = i3 % 128;
if (i3 % 2 != 0) {
this.proxyNumberField.setBackgroundDrawable(nMh.getDrawable(getContext(), R.drawable.shape_gray_rounded_rectangle));
} else {
this.proxyNumberField.setBackgroundDrawable(nMh.getDrawable(getContext(), R.drawable.shape_gray_rounded_rectangle));
int i4 = 36 / 0;
}
}
public void setFieldToErrorRedBackground() {
int i2 = 2 % 2;
int i3 = m + 121;
j = i3 % 128;
if (i3 % 2 != 0) {
this.proxyNumberField.setBackgroundDrawable(nMh.getDrawable(getContext(), R.drawable.shape_red_reounded_reactangle_border));
throw null;
}
this.proxyNumberField.setBackgroundDrawable(nMh.getDrawable(getContext(), R.drawable.shape_red_reounded_reactangle_border));
int i4 = m + 63;
j = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public void setProxyNumberFieldColor(int i2) {
int i3 = 2 % 2;
int i4 = m + 93;
j = i4 % 128;
if (i4 % 2 == 0) {
this.proxyNumberField.setTextColor(nMh.getColor(getContext(), i2));
} else {
this.proxyNumberField.setTextColor(nMh.getColor(getContext(), i2));
Object obj = null;
obj.hashCode();
throw null;
}
}
public void setOnPasteListener(ScbEditText.LWm lWm) {
int i2 = 2 % 2;
int i3 = m + 9;
j = i3 % 128;
int i4 = i3 % 2;
this.proxyNumberField.setOnPasteListener(lWm);
int i5 = m + 35;
j = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public void setMaxLength(int i2) {
int i3 = 2 % 2;
this.proxyNumberField.setFilters(new InputFilter[]{new InputFilter.LengthFilter(i2)});
int i4 = j + 107;
m = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 4 / 0;
}
}
static void e() {
g = new char[]{16072};
h = 1934311096;
f = true;
i = true;
}
static {
m = 1;
e();
d = (byte) 6;
int i2 = j + 21;
m = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 28 / 0;
}
}
public void setOnProxyNumberListener(InterfaceC12866fJj interfaceC12866fJj) {
int i2 = 2 % 2;
int i3 = m + 91;
j = i3 % 128;
int i4 = i3 % 2;
this.a = interfaceC12866fJj;
if (i4 != 0) {
throw null;
}
}
public void setOnFocusChangeListener(Sts sts) {
int i2 = 2 % 2;
int i3 = j + 63;
int i4 = i3 % 128;
m = i4;
int i5 = i3 % 2;
this.c = sts;
if (i5 == 0) {
int i6 = 4 / 0;
}
int i7 = i4 + 7;
j = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
}
private void app_(Intent intent) {
b(new Object[]{this, intent}, 1496567014, -1496567012, System.identityHashCode(this));
}
public final void c() {
b(new Object[]{this}, -59289781, 59289781, System.identityHashCode(this));
}
public final String d() {
int i2 = 2 % 2;
int i3 = m + 107;
j = i3 % 128;
if (i3 % 2 == 0) {
return this.e;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static String d(String str) {
return (String) b(new Object[]{str}, 1881186191, -1881186190, (int) System.currentTimeMillis());
}
static /* synthetic */ void b(CustomProxyNumber customProxyNumber, String str) {
int i2 = 2 % 2;
int i3 = j + 95;
m = i3 % 128;
int i4 = i3 % 2;
customProxyNumber.e = str;
if (i4 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static /* synthetic */ String c(CustomProxyNumber customProxyNumber) {
int i2 = 2 % 2;
int i3 = m + 81;
j = i3 % 128;
int i4 = i3 % 2;
String str = customProxyNumber.b;
if (i4 == 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
static /* bridge */ /* synthetic */ InterfaceC12866fJj e(CustomProxyNumber customProxyNumber) {
int i2 = 2 % 2;
int i3 = m + 7;
j = i3 % 128;
int i4 = i3 % 2;
InterfaceC12866fJj interfaceC12866fJj = customProxyNumber.a;
if (i4 != 0) {
int i5 = 42 / 0;
}
return interfaceC12866fJj;
}
public static /* synthetic */ boolean b(CustomProxyNumber customProxyNumber, int i2) {
int i3 = 2 % 2;
int i4 = j + 11;
m = i4 % 128;
if (i4 % 2 == 0) {
customProxyNumber.b(i2);
Object obj = null;
obj.hashCode();
throw null;
}
boolean b = customProxyNumber.b(i2);
int i5 = m + 81;
j = i5 % 128;
int i6 = i5 % 2;
return b;
}
public static /* synthetic */ void d(CustomProxyNumber customProxyNumber, boolean z) {
int i2 = 2 % 2;
int i3 = j + 89;
m = i3 % 128;
int i4 = i3 % 2;
customProxyNumber.a(z);
if (i4 == 0) {
int i5 = 62 / 0;
}
}
}