Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.os.Handler
* com.whatsapp.App
* com.whatsapp.App$Me
* com.whatsapp.axd
* com.whatsapp.d9
* com.whatsapp.dg
* com.whatsapp.id
* com.whatsapp.n6
* com.whatsapp.protocol.a9
* com.whatsapp.protocol.ad
* com.whatsapp.protocol.cv
* com.whatsapp.protocol.k
* com.whatsapp.t4
* com.whatsapp.util.Log
* com.whatsapp.vx
*/
package com.whatsapp;
import android.os.Handler;
import com.whatsapp.App;
import com.whatsapp.axd;
import com.whatsapp.d9;
import com.whatsapp.dg;
import com.whatsapp.id;
import com.whatsapp.n6;
import com.whatsapp.protocol.a9;
import com.whatsapp.protocol.ad;
import com.whatsapp.protocol.cv;
import com.whatsapp.protocol.k;
import com.whatsapp.t4;
import com.whatsapp.util.Log;
import com.whatsapp.vx;
import java.net.MalformedURLException;
import java.net.URL;
public class adw
implements k {
private static final String[] z;
public String a;
public String b;
public String c;
final t4 d;
public String e;
public long f;
/*
* Enabled aggressive block sorting
*/
static {
String[] arrstring = new String[8];
String string = "z\ftp1b\u0019|v1sFw4b\u0019|p3v\u001du9";
int n = -1;
String[] arrstring2 = arrstring;
int n2 = 0;
block15 : do {
char[] arrc = string.toCharArray();
int n3 = arrc.length;
int n4 = 0;
do {
int n5;
if (n3 <= n4) {
String string2 = new String(arrc).intern();
switch (n) {
default: {
arrstring2[n2] = string2;
string = "z\ftp1b\u0019|v1sFw4b\u0019|p3v\u001du9>b\u0005|9";
n2 = 1;
arrstring2 = arrstring;
n = 0;
continue block15;
}
case 0: {
arrstring2[n2] = string2;
string = "z\ftp1b\u0019|v1sFw5e\u001bkp";
n2 = 2;
arrstring2 = arrstring;
n = 1;
continue block15;
}
case 1: {
arrstring2[n2] = string2;
string = "z\ftp1b\u0019|v1sFw%g\u0005x47";
n2 = 3;
arrstring2 = arrstring;
n = 2;
continue block15;
}
case 2: {
arrstring2[n2] = string2;
string = "z\ftp1b\u0019|v1sF}x<q\u0006bt5s\u001cbu5o\nui$~\u0006~9";
n2 = 4;
arrstring2 = arrstring;
n = 3;
continue block15;
}
case 3: {
arrstring2[n2] = string2;
n2 = 5;
arrstring2 = arrstring;
string = "W\u001a>n8v\u001dcx gG~|$";
n = 4;
continue block15;
}
case 4: {
arrstring2[n2] = string2;
n2 = 6;
string = "q\u001bt";
n = 5;
arrstring2 = arrstring;
continue block15;
}
case 5: {
arrstring2[n2] = string2;
n2 = 7;
string = "c\u0006";
n = 6;
arrstring2 = arrstring;
continue block15;
}
case 6:
}
arrstring2[n2] = string2;
z = arrstring;
return;
}
char c = arrc[n4];
switch (n4 % 5) {
default: {
n5 = 80;
break;
}
case 0: {
n5 = 23;
break;
}
case 1: {
n5 = 105;
break;
}
case 2: {
n5 = 16;
break;
}
case 3: {
n5 = 25;
}
}
arrc[n4] = (char)(n5 ^ c);
++n4;
} while (true);
break;
} while (true);
}
public adw(t4 t42) {
this.d = t42;
}
private void a() {
App.r.T().post((Runnable)new axd(this));
}
private void b() {
App.r.T().post((Runnable)new d9(this));
}
public void a(int n) {
Log.w((String)(z[2] + n + " " + (Object)this.d.f.m));
t4.c((t4)this.d).cancel();
this.a();
}
/*
* Enabled aggressive block sorting
*/
public void a(cv cv2) {
boolean bl;
block5 : {
block4 : {
bl = true;
if (cv2 == null) break block4;
Log.i((String)(z[0] + cv2.a + " " + cv2.c + " " + cv2.f + " " + (Object)this.d.f.m));
if (!App.U) break block5;
}
Log.i((String)(z[bl] + (Object)this.d.f.m));
}
t4.c((t4)this.d).cancel();
this.d.o = cv2;
t4.a((t4)this.d, (boolean)bl);
t4 t42 = this.d;
if (cv2 == null) {
bl = false;
}
t42.m = bl;
this.b();
}
public void a(String string, String string2, int n) {
URL uRL;
Log.i((String)(z[3] + string + " " + string2 + " " + n + " " + (Object)this.d.f.m));
t4.c((t4)this.d).cancel();
String string3 = App.h((String)string);
try {
uRL = new URL(string3);
}
catch (MalformedURLException malformedURLException) {
Log.e((String)(z[4] + malformedURLException.toString()));
this.a();
return;
}
t4.a((t4)this.d, (dg)new dg(uRL, this.d.g(), n, this.d.h(), (id)new n6(this)));
t4.b((t4)this.d).a(z[6], App.u.jabber_id + z[5]);
t4.b((t4)this.d).a(z[7], this.d.f.m.a);
this.b();
}
}
|