Ericky
有什么问题 就这里问好了
还有就是
/* JADX WARNING: inconsistent code. */
/* Code decompiled incorrectly, please refer to instructions dump. */
public void onReceive(android.content.Context r9, android.content.Intent r10) {
/*
r8 = this;
r7 = 2131165233; // 0x7f070031 float:1.7944677E38 double:1.052935527E-314;
r1 = 2;
r2 = -1;
r5 = 1;
r3 = 0;
r0 = r10.getAction();
r4 = r0.hashCode();
switch(r4) {
case -1899811619: goto L_0x0053;
case -1356804674: goto L_0x002b;
case -343630553: goto L_0x003f;
case 856315570: goto L_0x0035;
case 1122837604: goto L_0x0017;
case 1166561965: goto L_0x0021;
case 1884108618: goto L_0x0049;
default: goto L_0x0012;
};
L_0x0012:
r0 = r2;
L_0x0013:
switch(r0) {
case 0: goto L_0x005d;
case 1: goto L_0x0081;
case 2: goto L_0x01bb;
case 3: goto L_0x022a;
case 4: goto L_0x0289;
case 5: goto L_0x0290;
case 6: goto L_0x0332;
default: goto L_0x0016;
};
L_0x0016:
return;
L_0x0017:
r4 = "BOARDCAST_CANNOT_ROOT";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x001f:
r0 = r3;
goto L_0x0013;
L_0x0021:
r4 = "BROADCAST_DEVICE_DETECTED";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x0029:
r0 = r5;
goto L_0x0013;
L_0x002b:
r4 = "BROADCAST_DEVICE_DETECT_PROGRESS";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x0033:
r0 = r1;
goto L_0x0013;
L_0x0035:
r4 = "BROADCAST_MODE_SWITCH";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x003d:
r0 = 3;
goto L_0x0013;
L_0x003f:
r4 = "android.net.wifi.STATE_CHANGE";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x0047:
r0 = 4;
goto L_0x0013;
L_0x0049:
r4 = "BROADCAST_SPOOF_DEVICE";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x0051:
r0 = 5;
goto L_0x0013;
L_0x0053:
r4 = "BROADCAST_UNSPOOF_DEIVCE";
r0 = r0.equals(r4);
if (r0 == 0) goto L_0x0012;
L_0x005b:
r0 = 6;
goto L_0x0013;
L_0x005d:
r0 = new android.app.AlertDialog$Builder;
r1 = r8.a;
r0.<init>(r1);
r1 = 2131165210; // 0x7f07001a float:1.794463E38 double:1.052935516E-314;
r0 = r0.setTitle(r1);
r1 = 2131165209; // 0x7f070019 float:1.7944629E38 double:1.0529355154E-314;
r0 = r0.setMessage(r1);
r1 = 2130903050; // 0x7f03000a float:1.7412907E38 double:1.0528059916E-314;
r0 = r0.setIcon(r1);
r0 = r0.create();
r0.show();
goto L_0x0016;
L_0x0081:
r0 = "Status";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x0089:
r0 = "Status";
r6 = r10.getIntExtra(r0, r3);
r0 = "Device";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x0097:
r0 = "Device";
r0 = r10.getSerializableExtra(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
if (r0 == 0) goto L_0x00a9;
L_0x00a1:
r4 = r8.a;
r4 = r4.p;
if (r4 != 0) goto L_0x00b4;
L_0x00a9:
r0 = r8.a;
r0 = r0.n;
r1 = "BROADCAST_DEVICE_DETECTED: null devices.";
r0.b(r1);
goto L_0x0016;
L_0x00b4:
r4 = r0.e();
if (r4 != r1) goto L_0x00e9;
L_0x00ba:
r1 = r8.a;
r1 = r1.t;
r4 = r1;
L_0x00c1:
if (r6 != 0) goto L_0x00f1;
L_0x00c3:
r2 = r3;
L_0x00c4:
r1 = r4.getCount();
if (r2 >= r1) goto L_0x0117;
L_0x00ca:
r1 = r4.getItem(r2);
r1 = (com.fcwds.wifiprotect.data.Device) r1;
r1 = r1.c();
r6 = r0.c();
r1 = com.fcwds.wifiprotect.d.k.a(r1, r6);
if (r1 == 0) goto L_0x00e5;
L_0x00de:
r1 = r4.getItem(r2);
r4.remove(r1);
L_0x00e5:
r1 = r2 + 1;
r2 = r1;
goto L_0x00c4;
L_0x00e9:
r1 = r8.a;
r1 = r1.s;
r4 = r1;
goto L_0x00c1;
L_0x00f1:
r1 = r8.a;
r1 = r1.p;
r0 = r0.c();
r0 = r1.get(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
if (r0 != 0) goto L_0x010e;
L_0x0103:
r0 = r8.a;
r0 = r0.n;
r1 = "BROADCAST_DEVICE_DETECTED: Dev is not in devices list.";
r0.b(r1);
goto L_0x0016;
L_0x010e:
r1 = r4.getPosition(r0);
if (r1 != r2) goto L_0x0117;
L_0x0114:
r4.add(r0);
L_0x0117:
r0 = r8.a;
r0 = r0.z;
r1 = r8.a;
r1 = r1.getString(r7);
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.s;
r4 = r4.getCount();
r6 = r8.a;
r6 = r6.t;
r6 = r6.getCount();
r4 = r4 + r6;
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
r0 = r8.a;
r0 = r0.E;
r1 = r8.a;
r1 = r1.getString(r7);
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.s;
r4 = r4.getCount();
r6 = r8.a;
r6 = r6.t;
r6 = r6.getCount();
r4 = r4 + r6;
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
r0 = r8.a;
r0 = r0.C;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.s;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
r0 = r8.a;
r0 = r0.D;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.t;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
goto L_0x0016;
L_0x01bb:
r0 = "Progress";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x01c3:
r0 = "Progress";
r0 = r10.getSerializableExtra(r0);
r0 = (com.fcwds.wifiprotect.json.result.DetectDeviceProgress) r0;
r1 = r8.a;
r1 = r1.z;
r2 = r0.getProgress();
r1.setProgress(r2);
r1 = r8.a;
r1 = r1.z;
r2 = r8.a;
r2 = r2.getString(r7);
r4 = new java.lang.Object[r5];
r5 = r8.a;
r5 = r5.s;
r5 = r5.getCount();
r6 = r8.a;
r6 = r6.t;
r6 = r6.getCount();
r5 = r5 + r6;
r5 = java.lang.Integer.valueOf(r5);
r4[r3] = r5;
r2 = java.lang.String.format(r2, r4);
r1.setText(r2);
r1 = r8.a;
r1 = r1.A;
r0 = r0.getProgress();
r1.setProgress(r0);
r0 = r8.a;
r0 = r0.z;
r0 = r0.getProgress();
r1 = 100;
if (r0 < r1) goto L_0x0016;
L_0x0223:
r0 = r8.a;
r0.q();
goto L_0x0016;
L_0x022a:
r0 = "Mode";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x0232:
r0 = r8.a;
r2 = "Mode";
r1 = r10.getIntExtra(r2, r1);
r0.x = r1;
r0 = r8.a;
r0 = r0.x;
if (r0 != r5) goto L_0x025c;
L_0x0245:
r0 = r8.a;
r0 = r0.y;
r1 = 2131165227; // 0x7f07002b float:1.7944665E38 double:1.0529355243E-314;
r0.setText(r1);
r0 = r8.a;
r0 = r0.y;
r0.setVisibility(r3);
goto L_0x0016;
L_0x025c:
r0 = r8.a;
r0 = r0.x;
r1 = 3;
if (r0 != r1) goto L_0x027c;
L_0x0265:
r0 = r8.a;
r0 = r0.y;
r1 = 2131165228; // 0x7f07002c float:1.7944667E38 double:1.052935525E-314;
r0.setText(r1);
r0 = r8.a;
r0 = r0.y;
r0.setVisibility(r3);
goto L_0x0016;
L_0x027c:
r0 = r8.a;
r0 = r0.y;
r1 = 8;
r0.setVisibility(r1);
goto L_0x0016;
L_0x0289:
r0 = r8.a;
r0.o();
goto L_0x0016;
L_0x0290:
r0 = "Device";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x0298:
r0 = "Device";
r0 = r10.getSerializableExtra(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
if (r0 == 0) goto L_0x0016;
L_0x02a2:
r1 = r8.a;
r1 = r1.p;
if (r1 == 0) goto L_0x0016;
L_0x02aa:
r1 = r8.a;
r1 = r1.p;
r0 = r0.c();
r0 = r1.get(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
r1 = r8.a;
r1 = r1.s;
r1 = r1.getPosition(r0);
if (r1 < 0) goto L_0x031c;
L_0x02c6:
r1 = r8.a;
r1 = r1.s;
r1.remove(r0);
r1 = r8.a;
r1 = r1.t;
r1.add(r0);
L_0x02d8:
r0 = r8.a;
r0 = r0.C;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.s;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
r0 = r8.a;
r0 = r0.D;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.t;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
goto L_0x0016;
L_0x031c:
r1 = r8.a;
r1 = r1.t;
r1 = r1.getPosition(r0);
if (r1 != r2) goto L_0x02d8;
L_0x0328:
r1 = r8.a;
r1 = r1.t;
r1.add(r0);
goto L_0x02d8;
L_0x0332:
r0 = "Device";
r0 = r10.hasExtra(r0);
if (r0 == 0) goto L_0x0016;
L_0x033a:
r0 = "Device";
r0 = r10.getSerializableExtra(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
if (r0 == 0) goto L_0x0016;
L_0x0344:
r1 = r8.a;
r1 = r1.p;
if (r1 == 0) goto L_0x0016;
L_0x034c:
r1 = r8.a;
r1 = r1.p;
r0 = r0.c();
r0 = r1.get(r0);
r0 = (com.fcwds.wifiprotect.data.Device) r0;
r1 = r8.a;
r1 = r1.t;
r1 = r1.getPosition(r0);
if (r1 < 0) goto L_0x03bc;
L_0x0368:
r1 = r8.a;
r1 = r1.t;
r1.remove(r0);
r1 = r8.a;
r1 = r1.s;
r1.add(r0);
r0 = r8.a;
r0 = r0.C;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.s;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
r0 = r8.a;
r0 = r0.D;
r1 = "%s";
r2 = new java.lang.Object[r5];
r4 = r8.a;
r4 = r4.t;
r4 = r4.getCount();
r4 = java.lang.Integer.valueOf(r4);
r2[r3] = r4;
r1 = java.lang.String.format(r1, r2);
r0.setText(r1);
L_0x03bc:
r0 = r8.a;
r0 = r0.s;
r0.notifyDataSetChanged();
goto L_0x0016;
*/