Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.Dialog
* android.app.ProgressDialog
* android.content.Context
* android.content.Intent
* android.os.Bundle
* android.view.LayoutInflater
* android.view.View
* android.view.View$OnClickListener
* android.view.ViewGroup
* android.widget.Button
* android.widget.ListAdapter
* android.widget.ListView
* com.actionbarsherlock.app.ActionBar
* com.whatsapp.App
* com.whatsapp.DialogToastListActivity
* com.whatsapp.asb
* com.whatsapp.asl
* com.whatsapp.fieldstats.a0
* com.whatsapp.fieldstats.ab
* com.whatsapp.fieldstats.o
* com.whatsapp.fieldstats.q
* com.whatsapp.lp
* com.whatsapp.pt
* com.whatsapp.util.Log
*/
package com.whatsapp;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ListAdapter;
import android.widget.ListView;
import com.actionbarsherlock.app.ActionBar;
import com.whatsapp.App;
import com.whatsapp.DialogToastListActivity;
import com.whatsapp.asb;
import com.whatsapp.asl;
import com.whatsapp.fieldstats.a0;
import com.whatsapp.fieldstats.ab;
import com.whatsapp.fieldstats.o;
import com.whatsapp.fieldstats.q;
import com.whatsapp.lp;
import com.whatsapp.pt;
import com.whatsapp.util.Log;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class SearchFAQ
extends DialogToastListActivity {
private static final String[] z;
private String i;
private q j;
private ArrayList k;
private String l;
private HashMap m;
private String n;
private String o;
/*
* Enabled aggressive block sorting
*/
static {
String[] arrstring = new String[19];
String string = "\u0016i!b]\u001ecky\\\u0003b+d\u001c\u00121bSYT\u0011Bw6J";
int n = -1;
String[] arrstring2 = arrstring;
int n2 = 0;
block26 : 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 = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vks]\u0002i1";
n2 = 1;
arrstring2 = arrstring;
n = 0;
continue block26;
}
case 0: {
arrstring2[n2] = string2;
string = "\u001bf<G\u0003X,~T\u001bf1u@";
n2 = 2;
arrstring2 = arrstring;
n = 1;
continue block26;
}
case 1: {
arrstring2[n2] = string2;
n2 = 3;
arrstring2 = arrstring;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6VkcF\u0016s0c";
n = 2;
continue block26;
}
case 2: {
arrstring2[n2] = string2;
n2 = 4;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6VktW\u0004d7yB\u0003n*~A";
n = 3;
arrstring2 = arrstring;
continue block26;
}
case 3: {
arrstring2[n2] = string2;
n2 = 5;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vkv@\u0018j";
n = 4;
arrstring2 = arrstring;
continue block26;
}
case 4: {
arrstring2[n2] = string2;
n2 = 6;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vkd[\u0003k c";
n = 5;
arrstring2 = arrstring;
continue block26;
}
case 5: {
arrstring2[n2] = string2;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vk`@\u0018e)u_";
n = 6;
n2 = 7;
arrstring2 = arrstring;
continue block26;
}
case 6: {
arrstring2[n2] = string2;
n2 = 8;
arrstring2 = arrstring;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vke@\u001bt";
n = 7;
continue block26;
}
case 7: {
arrstring2[n2] = string2;
n2 = 9;
string = "\u0003h1q^(s,}W(t5u\\\u0003";
n = 8;
arrstring2 = arrstring;
continue block26;
}
case 8: {
arrstring2[n2] = string2;
n2 = 10;
string = "2u7@Ww$bA\u001ei\"0V\u0018r'|WWh0d\u0012\u0018ae";
n = 9;
arrstring2 = arrstring;
continue block26;
}
case 9: {
arrstring2[n2] = string2;
n2 = 11;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6VktW\u0004d7yB\u0003n*~A";
n = 10;
arrstring2 = arrstring;
continue block26;
}
case 10: {
arrstring2[n2] = string2;
n2 = 12;
string = "\u0016i!b]\u001ecky\\\u0003b+d\u001c\u00121bSYT\u0011Bw6J";
n = 11;
arrstring2 = arrstring;
continue block26;
}
case 11: {
arrstring2[n2] = string2;
n2 = 13;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vkd[\u0003k c";
n = 12;
arrstring2 = arrstring;
continue block26;
}
case 12: {
arrstring2[n2] = string2;
n2 = 14;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vke@\u001bt";
n = 13;
arrstring2 = arrstring;
continue block26;
}
case 13: {
arrstring2[n2] = string2;
n2 = 15;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vk`@\u0018e)u_";
n = 14;
arrstring2 = arrstring;
continue block26;
}
case 14: {
arrstring2[n2] = string2;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6VkcF\u0016s0c";
n = 15;
n2 = 16;
arrstring2 = arrstring;
continue block26;
}
case 15: {
arrstring2[n2] = string2;
n2 = 17;
arrstring2 = arrstring;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vks]\u0002i1";
n = 16;
continue block26;
}
case 16: {
arrstring2[n2] = string2;
n2 = 18;
string = "\u0014h(>E\u001ff1cS\u0007wkCW\u0016u&xt6Vkv@\u0018j";
n = 17;
arrstring2 = arrstring;
continue block26;
}
case 17:
}
arrstring2[n2] = string2;
z = arrstring;
return;
}
char c = arrc[n4];
switch (n4 % 5) {
default: {
n5 = 50;
break;
}
case 0: {
n5 = 119;
break;
}
case 1: {
n5 = 7;
break;
}
case 2: {
n5 = 69;
break;
}
case 3: {
n5 = 16;
}
}
arrc[n4] = (char)(n5 ^ c);
++n4;
} while (true);
break;
} while (true);
}
static String a(SearchFAQ searchFAQ, String string) {
searchFAQ.i = string;
return string;
}
static ArrayList a(SearchFAQ searchFAQ) {
return searchFAQ.k;
}
public static void a(Context context, String string, String string2, ArrayList arrayList, String string3, int n, ArrayList arrayList2, ArrayList arrayList3, ArrayList arrayList4) {
Intent intent = new Intent(context, SearchFAQ.class);
intent.putExtra(z[18], string);
intent.putExtra(z[15], string2);
intent.putExtra(z[16], string3);
intent.putExtra(z[17], n);
intent.putStringArrayListExtra(z[13], arrayList2);
intent.putStringArrayListExtra(z[11], arrayList3);
intent.putStringArrayListExtra(z[14], arrayList4);
intent.putParcelableArrayListExtra(z[12], arrayList);
context.startActivity(intent);
}
static String b(SearchFAQ searchFAQ) {
return searchFAQ.o;
}
static String c(SearchFAQ searchFAQ) {
return searchFAQ.l;
}
static String d(SearchFAQ searchFAQ) {
return searchFAQ.n;
}
static q e(SearchFAQ searchFAQ) {
return searchFAQ.j;
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
protected void onActivityResult(int var1_1, int var2_2, Intent var3_3) {
block9 : {
if (var1_1 != 1) return;
if (var2_2 != -1) return;
var4_4 = var3_3.getLongExtra(SearchFAQ.z[9], 0L);
var6_5 = this.m.containsKey(this.i) != false ? var4_4 + (Double)this.m.get(this.i) : var4_4;
this.m.put(this.i, var6_5);
if (this.j.l == null) {
this.j.l = 0.0;
}
** if (var6_5 <= this.j.l.doubleValue()) goto lbl-1000
lbl-1000: // 1 sources:
{
this.j.m = Double.valueOf(this.i);
this.j.l = var6_5;
}
lbl-1000: // 2 sources:
{
break block9;
}
catch (Exception var12_8) {
Log.e((String)(SearchFAQ.z[10] + this.i));
}
}
if (this.j.k == null) {
this.j.k = 0.0;
}
var11_6 = this.j;
var11_6.k = var4_4 + var11_6.k;
}
public void onCreate(Bundle bundle) {
boolean bl = App.U;
super.onCreate(bundle);
this.getSupportActionBar().setDisplayHomeAsUpEnabled(true);
this.setContentView(2130903197);
Intent intent = this.getIntent();
this.l = intent.getStringExtra(z[5]);
this.o = intent.getStringExtra(z[7]);
this.n = intent.getStringExtra(z[3]);
this.k = intent.getParcelableArrayListExtra(z[0]);
this.j = new q();
this.j.c = this.o;
this.j.a = ab.PROBLEM_DESCRIPTION.getCode();
this.m = new HashMap();
((Button)this.findViewById(2131427983)).setOnClickListener((View.OnClickListener)new asl(this));
ArrayList arrayList = intent.getStringArrayListExtra(z[6]);
ArrayList arrayList2 = intent.getStringArrayListExtra(z[4]);
ArrayList arrayList3 = intent.getStringArrayListExtra(z[8]);
int n = intent.getIntExtra(z[1], 0);
ArrayList<asb> arrayList4 = new ArrayList<asb>();
int n2 = 0;
do {
int n3;
block4 : {
block3 : {
if (n2 >= n) break block3;
arrayList4.add(new asb(this, (String)arrayList.get(n2), (String)arrayList2.get(n2), (String)arrayList3.get(n2)));
n3 = n2 + 1;
if (!bl) break block4;
}
pt pt2 = new pt(this, (Context)this, 2130903199, arrayList4);
ListView listView = this.getListView();
listView.addHeaderView(lp.a((LayoutInflater)((LayoutInflater)this.getSystemService(z[2])), (int)2130903198, (ViewGroup)null));
this.setListAdapter((ListAdapter)pt2);
this.registerForContextMenu((View)listView);
return;
}
n2 = n3;
} while (true);
}
protected Dialog onCreateDialog(int n) {
switch (n) {
default: {
return super.onCreateDialog(n);
}
case 1:
}
ProgressDialog progressDialog = new ProgressDialog((Context)this);
progressDialog.setMessage((CharSequence)this.getString(2131624750));
progressDialog.setIndeterminate(true);
progressDialog.setCancelable(false);
return progressDialog;
}
public void onDestroy() {
super.onDestroy();
a0.a((Context)this, (o)this.j);
}
}
|