Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.Activity
* android.content.ComponentName
* android.content.Context
* android.content.Intent
* android.content.res.Resources
* android.graphics.Bitmap
* android.graphics.BitmapFactory
* android.os.Bundle
* android.os.Handler
* android.os.Parcelable
* android.view.KeyEvent
* android.view.View
* android.view.animation.Animation
* android.view.animation.Interpolator
* android.view.animation.LinearInterpolator
* android.view.animation.TranslateAnimation
* android.widget.AdapterView
* android.widget.AdapterView$OnItemClickListener
* android.widget.Toast
* com.wyfc.bp.JM
* com.wyfc.bp.am
* com.wyfc.bp.aq
* com.wyfc.bp.at
* com.wyfc.bp.ay
* com.wyfc.bp.b.a
* com.wyfc.bp.b.b
* com.wyfc.bp.b.f
* com.wyfc.bp.c
* com.wyfc.bp.h
* com.wyfc.bp.i
* com.wyfc.bp.s
* com.wyfc.bp.t
* com.wyfc.bp.u
*/
package com.wyfc.bp;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.os.Handler;
import android.os.Parcelable;
import android.view.KeyEvent;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Interpolator;
import android.view.animation.LinearInterpolator;
import android.view.animation.TranslateAnimation;
import android.widget.AdapterView;
import android.widget.Toast;
import com.wyfc.bp.JM;
import com.wyfc.bp.am;
import com.wyfc.bp.aq;
import com.wyfc.bp.at;
import com.wyfc.bp.ay;
import com.wyfc.bp.b.a;
import com.wyfc.bp.b.b;
import com.wyfc.bp.b.f;
import com.wyfc.bp.c;
import com.wyfc.bp.h;
import com.wyfc.bp.i;
import com.wyfc.bp.s;
import com.wyfc.bp.t;
import com.wyfc.bp.u;
import java.io.File;
import java.util.Stack;
public class JA
extends Activity {
private static Activity d = null;
AdapterView.OnItemClickListener a;
protected i b;
private at c;
private c e;
private c f;
private Context g;
private Stack h;
private TranslateAnimation i;
private TranslateAnimation j;
private TranslateAnimation k;
private TranslateAnimation l;
public JA() {
Stack stack = new Stack(this);
this.a = stack;
this.h = stack = new Stack();
}
static /* synthetic */ c a(JA jA) {
return jA.f;
}
static /* synthetic */ c a(JA jA, c c2) {
jA.f = c2;
return c2;
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
protected static void a(Context context, at at2) {
boolean bl;
Object object;
String string = at2.q;
if (string == null || (bl = (string = at2.q.trim()).equals(object = ""))) {
bl = false;
string = null;
JA.b(context, null, at2);
do {
return;
break;
} while (true);
}
object = at2.q;
Object object2 = new Object();
String string2 = h.aB;
object2 = object2.append(string2);
string2 = h.s;
object2 = object2.append(string2).toString();
int n = at2.h;
object2 = ay.b((Context)context, (String)object2, (int)n);
super((String)object, (File)object2, 0);
object = 0;
string.a(object);
object = new Object(context, at2);
aq.a((Context)context, (f)string, (a)object);
}
static /* synthetic */ void a(Context context, String string, at at2) {
JA.b(context, string, at2);
}
/*
* Enabled aggressive block sorting
*/
private void a(at at2, boolean bl, boolean bl2) {
Object object;
boolean bl3;
Object object2;
boolean bl4 = true;
boolean bl5 = BADBOOL 2;
if (!bl) {
bl3 = at2.e;
switch (bl3) {
case 0:
case 1:
case 2:
case 5:
case 7:
case 8:
case 9:
case 10: {
if (!bl2) {
object2 = am.b((Context)this, (at)at2);
bl3 = at2.F;
int n = am.a((int)bl3);
int n2 = ay.a;
object = this;
ay.a((Context)this, (Intent)object2, (int)n, (at)at2, (int)n2, (boolean)false, (boolean)false);
} else {
break;
}
}
}
}
if ((bl3 = at2.s) == bl4) {
object = new Object((Activity)this, at2, false);
this.e = object;
object = this.e;
object2 = this.a;
object.a((AdapterView.OnItemClickListener)object2);
object = this.e;
object.a(bl4);
} else {
bl3 = (boolean)at2.e;
if (bl3 == bl5) {
object = at2.d;
aq.a((Context)this, (String)object);
at2.l = object = Integer.valueOf((int)bl5);
ay.b((Context)this, (at)at2);
this.finish();
} else {
at2.l = object = Integer.valueOf((int)bl5);
ay.b((Context)this, (at)at2);
object = this.c;
ay.c((Context)this, (at)object);
this.finish();
}
}
object2 = JM.getService((Context)this.g);
object = new Object((Context)this, (Class)object2);
object2 = h.T;
object.putExtra((String)object2, 10);
this.startService((Intent)object);
}
static /* synthetic */ Activity b() {
return d;
}
private static Intent b(Context context, at at2) {
Object object = JM.getActivity((Context)context);
Intent intent = new Intent(context, (Class)object);
intent.setFlags(268435456);
object = h.S;
intent.putExtra((String)object, true);
object = h.R;
int n = at2.f;
intent.putExtra((String)object, n);
object = h.aA;
String string = at2.a();
intent.putExtra((String)object, string);
return intent;
}
private static void b(Context context, String string, at at2) {
boolean bl = true;
String string2 = h.al;
Intent intent = new Intent(string2);
String string3 = at2.g;
intent.putExtra("android.intent.extra.shortcut.NAME", string3);
string2 = h.az;
intent.putExtra(string2, bl);
string2 = JA.b(context, at2);
string3 = "android.intent.extra.shortcut.INTENT";
intent.putExtra(string3, (Parcelable)string2);
string2 = null;
if (string != null) {
string2 = ay.a((Context)context, (String)string, (boolean)false);
}
if (string2 == null) {
string2 = context.getResources();
int n = 17301651;
string2 = BitmapFactory.decodeResource((Resources)string2, (int)n);
}
string3 = ay.a((Context)context, (String)"", (boolean)bl);
string2 = ay.a((Bitmap)string2, (Bitmap)string3);
intent.putExtra("android.intent.extra.shortcut.ICON", (Parcelable)string2);
context.sendBroadcast(intent);
}
private void c() {
TranslateAnimation translateAnimation;
this.i = translateAnimation = new TranslateAnimation(1, 0.0f, 1, -1.0f, 1, 0.0f, 1, 0.0f);
this.i.setDuration(400L);
this.i.setFillAfter(true);
translateAnimation = this.i;
LinearInterpolator linearInterpolator = new LinearInterpolator();
translateAnimation.setInterpolator((Interpolator)linearInterpolator);
this.j = translateAnimation = new TranslateAnimation(1, 1.0f, 1, 0.0f, 1, 0.0f, 1, 0.0f);
this.j.setDuration(400L);
this.j.setFillAfter(true);
translateAnimation = this.j;
linearInterpolator = new LinearInterpolator();
translateAnimation.setInterpolator((Interpolator)linearInterpolator);
this.k = translateAnimation = new TranslateAnimation(1, 0.0f, 1, 1.0f, 1, 0.0f, 1, 0.0f);
this.k.setDuration(400L);
this.k.setFillAfter(true);
translateAnimation = this.k;
linearInterpolator = new LinearInterpolator();
translateAnimation.setInterpolator((Interpolator)linearInterpolator);
this.l = translateAnimation = new TranslateAnimation(1, -1.0f, 1, 0.0f, 1, 0.0f, 1, 0.0f);
this.l.setDuration(400L);
this.l.setFillAfter(true);
translateAnimation = this.l;
linearInterpolator = new LinearInterpolator();
translateAnimation.setInterpolator((Interpolator)linearInterpolator);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public View a() {
int n;
Stack stack = this.h;
int n2 = stack.size();
if (n2 > (n = 1)) {
stack = (View)this.h.pop();
stack.clearFocus();
TranslateAnimation translateAnimation = this.k;
stack.startAnimation((Animation)translateAnimation);
stack = (i)this.h.peek();
this.b = stack;
stack = this.b;
this.setContentView((View)stack);
this.b.requestFocus();
this.b.requestFocusFromTouch();
stack = this.b;
translateAnimation = this.l;
stack.startAnimation((Animation)translateAnimation);
return this.b;
}
this.finish();
return null;
}
public void a(i i2) {
Stack stack = this.h;
int n = stack.size();
if (n > 0) {
stack = (View)this.h.peek();
stack.clearFocus();
TranslateAnimation translateAnimation = this.i;
stack.startAnimation((Animation)translateAnimation);
}
this.h.push(i2);
this.b = i2;
this.setContentView((View)i2);
i2.requestFocus();
stack = this.h;
n = stack.size();
int n2 = 1;
if (n > n2) {
stack = this.j;
i2.startAnimation((Animation)stack);
}
}
public void finish() {
d = null;
super.finish();
}
protected void onActivityResult(int n, int n2, Intent intent) {
Object object;
boolean bl = true;
super.onActivityResult(n, n2, intent);
int n3 = 100011;
if (n == n3 && n2 == (n3 = 1200) && (object = this.c) != null) {
object = new Object();
String string = h.cd;
object = object.append(string).append("[");
string = this.c.g;
object = object.append(string).append("]");
string = h.cf;
object = object.append(string).toString();
Toast.makeText((Context)this, (CharSequence)object, (int)bl).show();
object = this.c;
JA.a((Context)this, (at)object);
string = null;
int n4 = -1;
at at2 = this.c;
int n5 = ay.a;
object = this;
ay.a((Context)this, (Intent)null, (int)n4, (at)at2, (int)n5, (boolean)false, (boolean)bl);
}
this.finish();
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
protected void onCreate(Bundle bundle) {
int n = 1;
Object object = null;
super.onCreate(bundle);
this.g = this;
this.c();
b.a((Context)this);
this.requestWindowFeature(n);
Intent intent = this.getIntent();
Object object2 = new Object();
this.c = object2;
object2 = this.c;
String string = h.aA;
string = intent.getStringExtra(string);
boolean bl = object2.a(string);
if (bl) {
int n2;
d = this;
object2 = h.Q;
bl = intent.getBooleanExtra((String)object2, false);
string = h.S;
boolean bl2 = intent.getBooleanExtra(string, false);
object = this.c;
String string2 = h.R;
int n3 = -1;
object.f = n2 = intent.getIntExtra(string2, n3);
intent = this.c;
intent.l = object = Integer.valueOf(n);
intent = this.c;
ay.b((Context)this, (at)intent);
intent = this.c;
this.a((at)intent, bl2, bl);
do {
return;
break;
} while (true);
}
this.finish();
}
protected void onDestroy() {
super.onDestroy();
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public boolean onKeyDown(int n, KeyEvent keyEvent) {
boolean bl = true;
int n2 = 4;
if (n != n2) return super.onKeyDown(n, keyEvent);
c c2 = this.e;
if (c2 != null && (n2 = (int)((c2 = this.e).a() ? 1 : 0)) != 0) {
do {
return bl;
break;
} while (true);
}
c2 = this.f;
if (c2 != null) {
c2 = this.f;
n2 = c2.a() ? 1 : 0;
if (n2 != 0) return bl;
}
if ((c2 = this.e) == null || (n2 = (int)((c2 = this.e).a() ? 1 : 0)) != 0) {
c2 = this.f;
if (c2 == null) return super.onKeyDown(n, keyEvent);
c2 = this.f;
n2 = c2.a() ? 1 : 0;
if (n2 != 0) return super.onKeyDown(n, keyEvent);
}
super();
t t2 = new t(this);
long l = 300L;
c2.postDelayed((Runnable)t2, l);
return bl;
}
public void onWindowFocusChanged(boolean bl) {
super.onWindowFocusChanged(bl);
}
public String toString() {
return Object.super.toString();
}
}
|