Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.Activity
* android.app.Application
* android.content.Context
* android.content.Intent
* android.graphics.Bitmap
* android.os.Bundle
* android.os.Handler
* android.view.View
* android.view.View$OnClickListener
* android.view.View$OnTouchListener
* android.view.ViewGroup
* android.view.ViewGroup$LayoutParams
* android.view.ViewParent
* android.view.Window
* android.view.animation.Animation
* android.view.animation.Animation$AnimationListener
* android.widget.ImageView
* android.widget.ImageView$ScaleType
* android.widget.LinearLayout
* android.widget.LinearLayout$LayoutParams
* android.widget.RelativeLayout
* android.widget.RelativeLayout$LayoutParams
* com.google.android.gms.ads.AdListener
* com.google.android.gms.ads.AdRequest
* com.google.android.gms.ads.AdRequest$Builder
* com.google.android.gms.ads.AdView
* com.google.android.gms.ads.InterstitialAd
* com.mobilegame.shootbubble.yuia.a
* com.mobilegame.shootbubble.yuia.a.a
* com.mobilegame.shootbubble.yuia.activities.a
* com.mobilegame.shootbubble.yuia.activities.b
* com.mobilegame.shootbubble.yuia.activities.c
* com.mobilegame.shootbubble.yuia.activities.d
* com.mobilegame.shootbubble.yuia.activities.e
* com.mobilegame.shootbubble.yuia.activities.f
* com.mobilegame.shootbubble.yuia.activities.g
* com.mobilegame.shootbubble.yuia.activities.h
* com.mobilegame.shootbubble.yuia.activities.i
* com.mobilegame.shootbubble.yuia.b.a
* com.mobilegame.shootbubble.yuia.b.b
* com.mobilegame.shootbubble.yuia.b.h
* com.mobilegame.shootbubble.yuia.b.j
* com.mobilegame.shootbubble.yuia.b.m
* com.mobilegame.shootbubble.yuia.b.n
* com.mobilegame.shootbubble.yuia.d
* com.mobilegame.shootbubble.yuia.e
* com.mobilegame.shootbubble.yuia.f
* com.umeng.analytics.MobclickAgent
*/
package com.mobilegame.shootbubble.yuia.activities;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.view.Window;
import android.view.animation.Animation;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.InterstitialAd;
import com.mobilegame.shootbubble.yuia.activities.a;
import com.mobilegame.shootbubble.yuia.activities.b;
import com.mobilegame.shootbubble.yuia.activities.c;
import com.mobilegame.shootbubble.yuia.activities.d;
import com.mobilegame.shootbubble.yuia.activities.e;
import com.mobilegame.shootbubble.yuia.activities.f;
import com.mobilegame.shootbubble.yuia.activities.g;
import com.mobilegame.shootbubble.yuia.activities.h;
import com.mobilegame.shootbubble.yuia.activities.i;
import com.mobilegame.shootbubble.yuia.b.j;
import com.mobilegame.shootbubble.yuia.b.m;
import com.mobilegame.shootbubble.yuia.b.n;
import com.umeng.analytics.MobclickAgent;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class AdViewActivity
extends Activity {
private static final Random a;
private static int b;
private static int c;
private RelativeLayout d;
private ImageView e;
private String f;
private String g;
private int h;
private float i = 1.0f;
private boolean j = true;
private int k = 0;
private boolean l = false;
private boolean m = false;
private int n = 0;
private com.mobilegame.shootbubble.yuia.a.a o;
private InterstitialAd p;
private int[] q;
static {
Random random;
a = random = new Random();
b = 0;
c = 0;
}
public AdViewActivity() {
int[] arrn;
int[] arrn2 = arrn = new int[4];
arrn2[0] = 2130837597;
arrn2[1] = 2130837571;
arrn2[2] = 2130837589;
arrn2[3] = 2130837567;
this.q = arrn;
this.o = null;
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public static Intent a(Activity activity, Map map) {
String string = null;
int n2 = 0;
String string2 = com.mobilegame.shootbubble.yuia.b.a.i;
string2 = (String)map.get(string2);
int n3 = n.a((String)string2, (int)0);
int n4 = n.a((Context)activity);
if (n4 == 0 && (n4 = com.mobilegame.shootbubble.yuia.d.k()) == 0 && n3 != (n4 = com.mobilegame.shootbubble.yuia.e.at)) {
return null;
}
string2 = com.mobilegame.shootbubble.yuia.d.j();
n4 = com.mobilegame.shootbubble.yuia.b.h.a((String)string2);
if (n4 == 0) {
return null;
}
string2 = com.mobilegame.shootbubble.yuia.b.a.e;
string2 = (String)map.get(string2);
string = com.mobilegame.shootbubble.yuia.b.a.f;
string = (String)map.get(string);
String string3 = com.mobilegame.shootbubble.yuia.b.a.q;
int n5 = n.a((String)((String)map.get(string3)), (int)0);
int n6 = n5 * 1000;
string3 = com.mobilegame.shootbubble.yuia.b.a.p;
float f = n.a((String)((String)map.get(string3)), (float)0.85f);
boolean bl = n.a((Activity)activity);
string3 = com.mobilegame.shootbubble.yuia.b.a.k;
boolean bl2 = n.a((String)((String)map.get(string3)), (boolean)false);
string3 = com.mobilegame.shootbubble.yuia.b.a.r;
n2 = n.a((String)((String)map.get(string3)), (int)0);
super();
String string4 = com.mobilegame.shootbubble.yuia.b.a.e;
string3.putExtra(string4, string2);
string2 = com.mobilegame.shootbubble.yuia.b.a.f;
string3.putExtra(string2, string);
string2 = com.mobilegame.shootbubble.yuia.b.a.q;
string3.putExtra(string2, n6);
string2 = com.mobilegame.shootbubble.yuia.b.a.p;
string3.putExtra(string2, f);
string2 = com.mobilegame.shootbubble.yuia.b.a.i;
string3.putExtra(string2, n3);
string2 = com.mobilegame.shootbubble.yuia.b.a.j;
string3.putExtra(string2, bl);
string2 = com.mobilegame.shootbubble.yuia.b.a.k;
string3.putExtra(string2, bl2);
string2 = com.mobilegame.shootbubble.yuia.b.a.r;
string3.putExtra(string2, n2);
string3.setClass((Context)activity, AdViewActivity.class);
return string3;
}
public static Intent a(Context context, boolean bl) {
Intent intent = new Intent();
String string = com.mobilegame.shootbubble.yuia.b.a.l;
intent.putExtra(string, true);
intent.setClass(context, AdViewActivity.class);
return intent;
}
static /* synthetic */ InterstitialAd a(AdViewActivity adViewActivity) {
return adViewActivity.p;
}
/*
* Enabled aggressive block sorting
*/
private void a(ViewGroup viewGroup) {
int n2 = viewGroup.getChildCount();
if (n2 > 0) {
int n3 = 0;
View view = null;
int n4 = 0;
while (n4 < n2) {
view = viewGroup.getChildAt(n4);
if (view != null) {
boolean bl = view instanceof ViewGroup;
if (bl) {
view = (ViewGroup)view;
this.a((ViewGroup)view);
} else {
viewGroup.removeView(view);
}
}
n4 = n3 = n4 + 1;
}
}
viewGroup.removeAllViews();
}
static /* synthetic */ ImageView b(AdViewActivity adViewActivity) {
return adViewActivity.e;
}
static /* synthetic */ RelativeLayout c(AdViewActivity adViewActivity) {
return adViewActivity.d;
}
private void d() {
InterstitialAd interstitialAd;
interstitialAd = this.p = (interstitialAd = new InterstitialAd((Context)this));
String string = com.mobilegame.shootbubble.yuia.e.aa;
interstitialAd.setAdUnitId(string);
interstitialAd = this.p;
super(this);
interstitialAd.setAdListener((AdListener)string);
super();
boolean bl = com.mobilegame.shootbubble.yuia.d.k();
if (bl) {
string = "4DB2DAD1F5A118779F2F65F93F58F906";
interstitialAd.addTestDevice(string);
}
interstitialAd = interstitialAd.build();
this.p.loadAd((AdRequest)interstitialAd);
}
/*
* Enabled aggressive block sorting
*/
private void e() {
int n2 = 1145569280;
float f = 800.0f;
int n3 = 1139802112;
float f2 = 480.0f;
int n4 = 1065353216;
float f3 = 1.0f;
Object object = new Object((Context)this);
this.e = object;
float f4 = this.i;
int n5 = 0;
float f5 = 0.0f;
float f6 = f4 FCMPG 0.0f;
if (f6 <= 0) {
object = new Object();
f6 = object.nextInt(10);
f4 = (float)f6 * 0.02f;
n5 = 1058642330;
f5 = 0.6f;
this.i = f4 += f5;
} else {
f4 = this.i;
f6 = f4 FCMPL f3;
if (f6 >= 0) {
this.i = f3;
}
}
f6 = com.mobilegame.shootbubble.yuia.d.f;
n5 = com.mobilegame.shootbubble.yuia.d.g;
f4 = Math.min((int)f6, n5);
f5 = this.i;
f5 = f4 * f5 / f2;
f4 = 10.0f * f5;
int n6 = (int)f4;
f6 = (float)this.j;
if (f6 != false) {
f4 = this.i;
f6 = f4 FCMPG f3;
if (f6 < 0) {
f3 = f2 * f5;
n4 = (int)f3;
f2 = f * f5;
n3 = (int)f2;
object = new Object(n4, n3);
} else {
n4 = com.mobilegame.shootbubble.yuia.d.f;
n3 = com.mobilegame.shootbubble.yuia.d.g;
object = new Object(n4, n3);
}
} else {
f4 = this.i;
f6 = f4 FCMPG f3;
if (f6 < 0) {
f3 = f * f5;
n4 = (int)f3;
n3 = (int)(f2 *= f5);
object = new Object(n4, n3);
} else {
n4 = com.mobilegame.shootbubble.yuia.d.g;
n3 = com.mobilegame.shootbubble.yuia.d.f;
object = new Object(n4, n3);
}
}
n4 = 13;
f3 = 1.8E-44f;
object.addRule(n4);
LinearLayout linearLayout = new LinearLayout((Context)this);
f2 = 2.4E-44f;
linearLayout.setGravity(17);
ImageView imageView = this.q;
n2 = b;
int[] arrn = this.q;
int n7 = arrn.length;
n3 = imageView[n2 %= n7];
linearLayout.setBackgroundResource(n3);
this.d.addView((View)linearLayout, (ViewGroup.LayoutParams)object);
imageView = this.e = (imageView = new ImageView((Context)this));
ImageView.ScaleType scaleType = ImageView.ScaleType.FIT_XY;
imageView.setScaleType(scaleType);
imageView = this.e;
n2 = n6 + -2;
n7 = n6 + -2;
imageView.setPadding(n2, n7, n6, n6);
Object object2 = this.e;
n2 = object.width;
f6 = object.height;
super(n2, (int)f6);
linearLayout.addView((View)object2, (ViewGroup.LayoutParams)imageView);
object = this.g;
if (object != null) {
object = this.g;
object2 = "!";
f6 = (float)object.startsWith((String)object2);
if (f6 != false) {
object = this.g.substring(1);
n6 = 2130837580;
f6 = n.a((String)object, (int)n6);
object2 = this.e;
object2.setImageResource((int)f6);
} else {
object = j.a((String)n.b((String)this.g));
object2 = this.e;
object2.setImageBitmap((Bitmap)object);
}
}
object = this.e;
object2 = new Object(this, f5);
object.setOnTouchListener((View.OnTouchListener)object2);
}
/*
* Enabled aggressive block sorting
*/
private void f() {
LinearLayout linearLayout;
Object object;
int n2 = com.mobilegame.shootbubble.yuia.d.f;
int n3 = com.mobilegame.shootbubble.yuia.d.g;
float f2 = (float)Math.min(n2, n3) / 480.0f;
n3 = com.mobilegame.shootbubble.yuia.d.f;
int n4 = com.mobilegame.shootbubble.yuia.d.g;
n3 = Math.max(n3, n4);
float f3 = (float)n3 / 800.0f;
double d2 = com.mobilegame.shootbubble.yuia.d.e;
double d3 = 305.0 * d2;
n4 = (int)d3;
double d4 = com.mobilegame.shootbubble.yuia.d.e;
double d5 = 255.0 * d4;
int n5 = (int)d5;
double d6 = com.mobilegame.shootbubble.yuia.d.e;
d2 = 315.0 * d6;
int n6 = (int)d2;
double d7 = com.mobilegame.shootbubble.yuia.d.e;
d4 = 465.0 * d7;
int n7 = (int)d4;
RelativeLayout relativeLayout = new RelativeLayout((Context)this);
Object object2 = new Object(n6, n7);
Object object3 = this.q;
int n8 = b;
Object object4 = this.q;
int n9 = object4.length;
n8 = n8 % n9 % 3;
n7 = object3[n8];
relativeLayout.setBackgroundResource(n7);
relativeLayout.setId(100);
n7 = 13;
object2.addRule(n7);
this.d.addView((View)relativeLayout, (ViewGroup.LayoutParams)object2);
object3 = new Object((Context)this);
int n10 = (int)(40.0f * f2);
n8 = (int)(46.0f * f2);
super(n10, n8);
relativeLayout.addRule(2, 100);
n8 = 100;
relativeLayout.addRule(7, n8);
n10 = -1049624576;
float f4 = -15.0f;
relativeLayout.rightMargin = n2 = (int)(f2 * f4);
relativeLayout.bottomMargin = n2 = (int)(-15.0f * f3);
object3.setImageResource(2130837605);
object3.setBackgroundColor(0);
object3.setId(101);
Object object5 = new Object(this);
object3.setOnClickListener((View.OnClickListener)object5);
this.d.addView((View)object3, (ViewGroup.LayoutParams)relativeLayout);
super(n4, n5);
object3.topMargin = n2 = (int)(5.0f * f3);
n4 = 101;
object3.addRule(3, n4);
n2 = 14;
f2 = 2.0E-44f;
object3.addRule(n2);
object5 = com.mobilegame.shootbubble.yuia.f.l;
if (object5 != null && (object5 = com.mobilegame.shootbubble.yuia.f.l.getParent()) != null) {
object5 = (ViewGroup)com.mobilegame.shootbubble.yuia.f.l.getParent();
object = com.mobilegame.shootbubble.yuia.f.l;
object5.removeView((View)object);
object5 = "Ads.adViewRect.Admob";
object = new Object("width:");
n5 = com.mobilegame.shootbubble.yuia.f.l.getWidth();
object = object.append(n5).append(",height:");
linearLayout = com.mobilegame.shootbubble.yuia.f.l;
n5 = linearLayout.getHeight();
object = object.append(n5).toString();
m.a((String)object5, (String)object);
}
com.mobilegame.shootbubble.yuia.f.l.setId(105);
object5 = this.d;
object = com.mobilegame.shootbubble.yuia.f.l;
object5.addView((View)object, (ViewGroup.LayoutParams)object3);
linearLayout = new LinearLayout((Context)this);
linearLayout.setOrientation(0);
n2 = 1;
f2 = Float.MIN_VALUE;
linearLayout.setGravity(n2);
object5 = new Object(n6, -2);
object5.addRule(3, 105);
object5.topMargin = n3 = (int)(f3 * 1.5f);
object5.addRule(14);
linearLayout.setBackgroundColor(0);
this.d.addView((View)linearLayout, (ViewGroup.LayoutParams)object5);
d2 = com.mobilegame.shootbubble.yuia.d.e;
double d8 = 1.5 * d2;
n6 = (int)d8;
object5 = (com.mobilegame.shootbubble.yuia.a)this.getApplicationContext();
object3 = object5.c();
int n11 = object3.size();
n3 = 0;
f3 = 0.0f;
com.mobilegame.shootbubble.yuia.a.a a2 = null;
n4 = 0;
object = null;
while (n4 < n11) {
n3 = c;
c = n10 = n3 + 1;
a2 = (com.mobilegame.shootbubble.yuia.a.a)object3.get(n3 %= n11);
object2 = a2.a;
object4 = "_port.png";
object2 = n.b((String)object2.replace("_ic.png", (CharSequence)object4));
String string = a2.d;
if ((object2 = j.a((String)object2)) == null) {
n4 = n3 = n4 + 1;
continue;
}
object = new Object((Context)this);
object.setOrientation(1);
n7 = 1;
object.setGravity(n7);
double d9 = com.mobilegame.shootbubble.yuia.d.e;
double d10 = 300.0 * d9;
n11 = (int)d10;
n9 = -2;
object3 = new Object(n11, n9);
super((Context)this);
double d11 = com.mobilegame.shootbubble.yuia.d.e;
int n12 = (int)(300.0 * d11);
double d12 = com.mobilegame.shootbubble.yuia.d.e;
int n13 = (int)(150.0 * d12);
object4 = new Object(n12, n13);
relativeLayout.setPadding(n6, n6, n6, n6);
relativeLayout.setImageBitmap((Bitmap)object2);
n10 = 0;
f4 = 0.0f;
relativeLayout.setBackgroundColor(0);
relativeLayout.setTag((Object)string);
object.addView((View)relativeLayout, (ViewGroup.LayoutParams)object4);
object2 = new Object((Context)this);
object4 = ImageView.ScaleType.FIT_XY;
object2.setScaleType((ImageView.ScaleType)object4);
d11 = com.mobilegame.shootbubble.yuia.d.e;
double d13 = 300.0 * d11;
n12 = (int)d13;
d12 = com.mobilegame.shootbubble.yuia.d.e;
d9 = 50.0 * d12;
n13 = (int)d9;
object4 = new Object(n12, n13);
object2.setPadding(n6, n6, n6, n6);
object2.setImageResource(2130837602);
n6 = 0;
object2.setBackgroundColor(0);
object2.setTag((Object)string);
object.addView((View)object2, (ViewGroup.LayoutParams)object4);
d d14 = new d(this, a2, (com.mobilegame.shootbubble.yuia.a)object5);
object2.setOnClickListener((View.OnClickListener)d14);
relativeLayout.setOnClickListener((View.OnClickListener)d14);
linearLayout.addView((View)object, (ViewGroup.LayoutParams)object3);
break;
}
this.n = n2 = com.mobilegame.shootbubble.yuia.b.b.b.length;
}
/*
* Enabled aggressive block sorting
*/
private void g() {
AdView adView;
Object object;
int n2 = com.mobilegame.shootbubble.yuia.d.f;
int n3 = com.mobilegame.shootbubble.yuia.d.g;
float f2 = (float)Math.min(n2, n3) / 480.0f;
n3 = com.mobilegame.shootbubble.yuia.d.f;
int n4 = com.mobilegame.shootbubble.yuia.d.g;
n3 = Math.max(n3, n4);
float f3 = (float)n3 / 800.0f;
double d2 = com.mobilegame.shootbubble.yuia.d.e;
double d3 = 305.0 * d2;
n4 = (int)d3;
double d4 = com.mobilegame.shootbubble.yuia.d.e;
double d5 = 255.0 * d4;
int n5 = (int)d5;
double d6 = com.mobilegame.shootbubble.yuia.d.e;
d2 = 315.0 * d6;
int n6 = (int)d2;
double d7 = com.mobilegame.shootbubble.yuia.d.e;
d4 = 390.0 * d7;
int n7 = (int)d4;
Object object2 = new Object((Context)this);
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(n6, n7);
ImageView imageView = this.q;
int n8 = b;
Object object3 = this.q;
int n9 = object3.length;
n8 = n8 % n9 % 3;
n7 = imageView[n8];
object2.setBackgroundResource(n7);
object2.setId(100);
n7 = 13;
layoutParams.addRule(n7);
this.d.addView((View)object2, (ViewGroup.LayoutParams)layoutParams);
imageView = new ImageView((Context)this);
int n10 = (int)(40.0f * f2);
n8 = (int)(46.0f * f2);
super(n10, n8);
object2.addRule(2, 100);
n8 = 100;
object2.addRule(7, n8);
n10 = -1049624576;
float f4 = -15.0f;
object2.rightMargin = n2 = (int)(f2 * f4);
object2.bottomMargin = n2 = (int)(-15.0f * f3);
imageView.setImageResource(2130837605);
imageView.setBackgroundColor(0);
imageView.setId(101);
Object object4 = new Object(this);
imageView.setOnClickListener((View.OnClickListener)object4);
this.d.addView((View)imageView, (ViewGroup.LayoutParams)object2);
super(n4, n5);
imageView.topMargin = n2 = (int)(5.0f * f3);
n4 = 101;
imageView.addRule(3, n4);
n2 = 14;
f2 = 2.0E-44f;
imageView.addRule(n2);
object4 = com.mobilegame.shootbubble.yuia.f.l;
if (object4 != null && (object4 = com.mobilegame.shootbubble.yuia.f.l.getParent()) != null) {
object4 = (ViewGroup)com.mobilegame.shootbubble.yuia.f.l.getParent();
object = com.mobilegame.shootbubble.yuia.f.l;
object4.removeView((View)object);
object4 = "Ads.adViewRect.Admob";
object = new Object("width:");
n5 = com.mobilegame.shootbubble.yuia.f.l.getWidth();
object = object.append(n5).append(",height:");
adView = com.mobilegame.shootbubble.yuia.f.l;
n5 = adView.getHeight();
object = object.append(n5).toString();
m.a((String)object4, (String)object);
}
com.mobilegame.shootbubble.yuia.f.l.setId(105);
object4 = this.d;
object = com.mobilegame.shootbubble.yuia.f.l;
object4.addView((View)object, (ViewGroup.LayoutParams)imageView);
super((Context)this);
imageView.setOrientation(0);
n2 = 1;
f2 = Float.MIN_VALUE;
imageView.setGravity(n2);
object4 = new Object(n6, -2);
object4.addRule(3, 105);
object4.topMargin = n3 = (int)(f3 * 1.5f);
object4.addRule(14);
imageView.setBackgroundColor(0);
this.d.addView((View)imageView, (ViewGroup.LayoutParams)object4);
d3 = com.mobilegame.shootbubble.yuia.d.e;
double d8 = 1.5 * d3;
n6 = (int)d8;
object4 = (com.mobilegame.shootbubble.yuia.a)this.getApplicationContext();
object2 = object4.c();
n10 = object2.size();
n4 = 0;
object = null;
n3 = 0;
f3 = 0.0f;
com.mobilegame.shootbubble.yuia.a.a a2 = null;
adView = null;
for (n5 = 0; n5 < n10; ++n5) {
n3 = c;
c = n8 = n3 + 1;
a2 = (com.mobilegame.shootbubble.yuia.a.a)object2.get(n3 %= n10);
String string = a2.a;
String string2 = "_tp.png";
string = n.b((String)string.replace("_ic.png", string2));
object3 = a2.d;
if ((string = j.a((String)string)) == null) {
n3 = n4;
} else {
super((Context)this);
string2.setOrientation(1);
int n11 = 1;
string2.setGravity(n11);
double d9 = com.mobilegame.shootbubble.yuia.d.e;
double d10 = 150.0 * d9;
int n12 = (int)d10;
int n13 = -2;
LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(n12, n13);
ImageView imageView2 = new ImageView((Context)this);
double d11 = com.mobilegame.shootbubble.yuia.d.e;
int n14 = (int)(150.0 * d11);
double d12 = com.mobilegame.shootbubble.yuia.d.e;
int n15 = (int)(100.0 * d12);
LinearLayout.LayoutParams layoutParams3 = new LinearLayout.LayoutParams(n14, n15);
imageView2.setPadding(n6, n6, n6, n6);
imageView2.setImageBitmap((Bitmap)string);
n8 = 0;
imageView2.setBackgroundColor(0);
imageView2.setTag(object3);
string2.addView((View)imageView2, (ViewGroup.LayoutParams)layoutParams3);
super((Context)this);
layoutParams3 = ImageView.ScaleType.FIT_XY;
string.setScaleType((ImageView.ScaleType)layoutParams3);
d11 = com.mobilegame.shootbubble.yuia.d.e;
d9 = 150.0 * d11;
n14 = (int)d9;
d12 = com.mobilegame.shootbubble.yuia.d.e;
double d13 = 25.0 * d12;
n15 = (int)d13;
layoutParams3 = new LinearLayout.LayoutParams(n14, n15);
string.setPadding(n6, n6, n6, n6);
n15 = 2130837602;
string.setImageResource(n15);
n14 = 0;
n15 = 0;
string.setBackgroundColor(0);
string.setTag(object3);
string2.addView((View)string, (ViewGroup.LayoutParams)layoutParams3);
object3 = new Object(this, a2, (com.mobilegame.shootbubble.yuia.a)object4);
string.setOnClickListener((View.OnClickListener)object3);
imageView2.setOnClickListener((View.OnClickListener)object3);
imageView.addView((View)string2, (ViewGroup.LayoutParams)layoutParams2);
n3 = n4 + 1;
n4 = 2;
if (n3 >= n4) break;
}
n4 = n3;
}
this.n = n2 = com.mobilegame.shootbubble.yuia.b.b.b.length;
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private int h() {
int n2 = 1;
int n3 = this.k;
int n4 = com.mobilegame.shootbubble.yuia.e.an;
if (n3 == n4) {
return com.mobilegame.shootbubble.yuia.e.N;
}
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.ap;
if (n3 == n4) {
return com.mobilegame.shootbubble.yuia.e.P;
}
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.ao;
if (n3 == n4) {
return com.mobilegame.shootbubble.yuia.e.O;
}
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.am;
if (n3 == n4) {
return com.mobilegame.shootbubble.yuia.e.L;
}
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.at;
if (n3 == n4) return n2;
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.as;
if (n3 == n4) return n2;
n3 = this.k;
n4 = com.mobilegame.shootbubble.yuia.e.au;
if (n3 != n4) return n2;
return n2;
}
public void a() {
int n2;
float f2;
CharSequence charSequence2;
Animation[] arranimation;
Object object = this.getIntent();
if (object != null) {
int n3;
float f3;
int n4;
CharSequence charSequence2 = com.mobilegame.shootbubble.yuia.b.a.e;
this.f = charSequence2 = object.getStringExtra(charSequence2);
charSequence2 = com.mobilegame.shootbubble.yuia.b.a.f;
this.g = charSequence2 = object.getStringExtra(charSequence2);
charSequence2 = com.mobilegame.shootbubble.yuia.b.a.q;
this.h = n4 = object.getIntExtra(charSequence2, 8000);
charSequence2 = com.mobilegame.shootbubble.yuia.b.a.p;
f2 = 1.0f;
this.i = f3 = object.getFloatExtra(charSequence2, f2);
charSequence2 = this.getIntent();
arranimation = com.mobilegame.shootbubble.yuia.b.a.j;
boolean bl = true;
n4 = charSequence2.getBooleanExtra((String)arranimation, bl) ? 1 : 0;
this.j = n4;
charSequence2 = this.getIntent();
arranimation = com.mobilegame.shootbubble.yuia.b.a.i;
this.k = n4 = charSequence2.getIntExtra((String)arranimation, 0);
charSequence2 = this.getIntent();
arranimation = com.mobilegame.shootbubble.yuia.b.a.k;
n4 = charSequence2.getBooleanExtra((String)arranimation, false) ? 1 : 0;
this.l = n4;
charSequence2 = this.getIntent();
arranimation = com.mobilegame.shootbubble.yuia.b.a.l;
n4 = charSequence2.getBooleanExtra((String)arranimation, false) ? 1 : 0;
this.m = n4;
charSequence2 = com.mobilegame.shootbubble.yuia.b.a.r;
arranimation = com.mobilegame.shootbubble.yuia.b.b.b;
n2 = arranimation.length;
this.n = n3 = object.getIntExtra(charSequence2, n2);
}
object = new Object();
object.append("{");
super("pname=");
arranimation = this.f;
charSequence2 = charSequence2.append((String)arranimation).append(",").toString();
object.append((String)charSequence2);
super("adImg=");
arranimation = this.g;
charSequence2 = charSequence2.append((String)arranimation).append(",").toString();
object.append((String)charSequence2);
super("duration=");
n2 = this.h;
charSequence2 = charSequence2.append(n2).append(",").toString();
object.append((String)charSequence2);
super("scale=");
f2 = this.i;
charSequence2 = charSequence2.append(f2).append(",").toString();
object.append((String)charSequence2);
super("isPort=");
n2 = this.j ? 1 : 0;
charSequence2 = charSequence2.append((boolean)n2).append(",").toString();
object.append((String)charSequence2);
super("location=");
n2 = this.k;
charSequence2 = charSequence2.append(n2).append(",").toString();
object.append((String)charSequence2);
super("isFromNotification=");
n2 = this.l ? 1 : 0;
charSequence2 = charSequence2.append((boolean)n2).append(",").toString();
object.append((String)charSequence2);
super("isFromReceiver=");
n2 = this.m;
charSequence2 = charSequence2.append((boolean)n2).append(",").toString();
object.append((String)charSequence2);
super("anim=");
n2 = this.n;
charSequence2 = charSequence2.append(n2).toString();
object.append((String)charSequence2);
object.append("}");
object = object.toString();
m.a((String)"Ads.FullScreen", (String)object);
}
public void a(String string, boolean bl) {
com.mobilegame.shootbubble.yuia.a.a a2 = this.o;
if (a2 != null) {
String string2;
Object object;
a2 = (com.mobilegame.shootbubble.yuia.a)this.getApplicationContext();
int n2 = this.k;
int n3 = com.mobilegame.shootbubble.yuia.e.am;
if (n2 == n3) {
string2 = "launch_event";
object = this.o.d;
object = a2.a(string, (String)object);
MobclickAgent.onEvent((Context)this, (String)string2, (HashMap)object);
}
if ((n2 = this.k) == (n3 = com.mobilegame.shootbubble.yuia.e.an)) {
string2 = "pause_event";
object = this.o.d;
object = a2.a(string, (String)object);
MobclickAgent.onEvent((Context)this, (String)string2, (HashMap)object);
}
if ((n2 = this.k) == (n3 = com.mobilegame.shootbubble.yuia.e.ap)) {
string2 = "fail_event";
object = this.o.d;
object = a2.a(string, (String)object);
MobclickAgent.onEvent((Context)this, (String)string2, (HashMap)object);
}
if ((n2 = this.k) == (n3 = com.mobilegame.shootbubble.yuia.e.ao)) {
string2 = "win_event";
object = this.o.d;
object = a2.a(string, (String)object);
MobclickAgent.onEvent((Context)this, (String)string2, (HashMap)object);
}
if ((n2 = this.k) == (n3 = com.mobilegame.shootbubble.yuia.e.as)) {
string2 = "msg_event";
object = this.o.d;
object = a2.a(string, (String)object);
MobclickAgent.onEvent((Context)this, (String)string2, (HashMap)object);
}
if ((n2 = (int)(n.a((Context)a2) ? 1 : 0)) != 0) {
string2 = this.o.d;
n.a((com.mobilegame.shootbubble.yuia.a)a2, (String)string2, (String)string);
}
if (bl) {
string2 = this.o;
a2.a((Activity)this, (com.mobilegame.shootbubble.yuia.a.a)string2);
}
}
++b;
this.finish();
}
/*
* Enabled aggressive block sorting
*/
public boolean b() {
int n2;
int n3 = 2;
int n4 = 1;
Object object = (com.mobilegame.shootbubble.yuia.a)this.getApplicationContext();
List list = object.c();
int n5 = list.size();
int n6 = 0;
int n7 = 0;
do {
if (n6 >= n5) {
n2 = n7;
break;
}
object = ((com.mobilegame.shootbubble.yuia.a.a)list.get((int)n6)).a;
String string = "_ic.png";
String string2 = "_tp.png";
if ((object = j.a((String)n.b((String)object.replace(string, string2)))) != null) {
n2 = n4;
} else {
n2 = 0;
object = null;
}
if ((n2 += n7) >= n3) break;
++n6;
n7 = n2;
} while (true);
if (n2 < n3) return (boolean)0;
object = com.mobilegame.shootbubble.yuia.f.l;
if (object == null) return (boolean)0;
n2 = com.mobilegame.shootbubble.yuia.f.m;
if (n2 != n4) return (boolean)0;
return (boolean)n4;
}
/*
* Enabled aggressive block sorting
*/
public boolean c() {
int n2;
int n3 = 1;
Object object = (com.mobilegame.shootbubble.yuia.a)this.getApplicationContext();
List list = object.c();
int n4 = list.size();
int n5 = 0;
int n6 = 0;
do {
if (n5 >= n4) {
n2 = n6;
break;
}
object = ((com.mobilegame.shootbubble.yuia.a.a)list.get((int)n5)).a;
String string = "_ic.png";
String string2 = "_port.png";
if ((object = j.a((String)n.b((String)object.replace(string, string2)))) != null) {
n2 = n3;
} else {
n2 = 0;
object = null;
}
if ((n2 += n6) >= n3) break;
++n5;
n6 = n2;
} while (true);
if (n2 < n3) return (boolean)0;
object = com.mobilegame.shootbubble.yuia.f.l;
if (object == null) return (boolean)0;
n2 = com.mobilegame.shootbubble.yuia.f.m;
if (n2 != n3) return (boolean)0;
return (boolean)n3;
}
/*
* Enabled aggressive block sorting
*/
public void onBackPressed() {
int n2;
int n3 = 0;
h h2 = null;
int n4 = this.l;
if (n4 != 0) {
Animation animation = com.mobilegame.shootbubble.yuia.b.b.h[0];
boolean bl = this.j;
if (!bl) {
animation = com.mobilegame.shootbubble.yuia.b.b.i[0];
}
h2 = new h(this);
animation.setAnimationListener((Animation.AnimationListener)h2);
h2 = this.d;
h2.startAnimation(animation);
return;
}
Animation animation = com.mobilegame.shootbubble.yuia.b.b.b;
n4 = animation.length;
int n5 = this.n;
if (n5 < 0) {
Random random = a;
n4 = random.nextInt(n4);
} else {
n5 = this.n;
if (n5 == 0) {
n5 = b;
n4 = n5 % n4;
} else {
n5 = this.n;
if (n5 > 0) {
n5 = this.n;
n4 = n5 % n4;
} else {
n4 = 0;
animation = null;
}
}
}
if ((n5 = this.k) != (n2 = com.mobilegame.shootbubble.yuia.e.at)) {
n3 = n4;
}
animation = com.mobilegame.shootbubble.yuia.b.b.c[n3];
super(this);
animation.setAnimationListener((Animation.AnimationListener)h2);
h2 = this.d;
h2.startAnimation(animation);
}
/*
* Unable to fully structure code
*/
public void onCreate(Bundle var1_1) {
block18 : {
block19 : {
block20 : {
block22 : {
block23 : {
block21 : {
var2_2 = 0;
var3_3 = null;
var4_4 = 1;
var5_5 = 0;
var6_6 = null;
super.onCreate(var1_1);
this.a();
var7_7 = this.j;
if (var7_7 == 0) ** GOTO lbl-1000
this.setRequestedOrientation(var4_4);
block5 : do {
var8_8 = this.getWindow();
var9_9 = 2.461195E-38f;
var8_8.setBackgroundDrawableResource(17170445);
var8_8 = (com.mobilegame.shootbubble.yuia.a)this.getApplication();
var10_10 = this.f;
this.o = var10_10 = var8_8.a((String)var10_10, null, null, null);
super((Context)this);
this.d = var10_10;
var11_11 = this.h();
if (var11_11 < 0) {
var10_10 = AdViewActivity.a;
var2_2 = 10;
var11_11 = var10_10.nextInt(var2_2) % 3 + 1;
lbl25: // 5 sources:
var3_3 = "Ads.FullScreen";
var12_12 = new StringBuilder("style which:");
var12_13 = var12_12.append(var11_11);
var13_16 = ",location:";
var12_14 = var12_13.append(var13_16);
var14_17 = this.k;
var12_15 = var12_14.append(var14_17).toString();
m.a((String)var3_3, (String)var12_15);
switch (var11_11) lbl-1000: // 6 sources:
{
do {
default: {
var15_18 = this.d;
this.setContentView((View)var15_18);
var8_8.a((Activity)this);
var7_7 = this.l;
if (var7_7 == 0) break block5;
var8_8 = com.mobilegame.shootbubble.yuia.b.b.f[0];
var11_11 = this.j ? 1 : 0;
if (var11_11 == 0) {
var8_8 = com.mobilegame.shootbubble.yuia.b.b.g[0];
}
var10_10 = this.d;
var10_10.startAnimation((Animation)var8_8);
lbl47: // 2 sources:
do {
var7_7 = this.h;
if (var7_7 > 0) {
var16_19 = this.i;
var11_11 = 1056964608;
var9_9 = 0.5f;
var7_7 = (int)(var16_19 FCMPL var9_9);
if (var7_7 >= 0) {
var8_8 = new Object();
var10_10 = new Object(this);
var5_5 = this.h;
var17_20 = var5_5;
var8_8.postDelayed((Runnable)var10_10, var17_20);
}
}
if ((var7_7 = (int)(this.m ? 1 : 0)) != 0) {
var8_8 = "Ads.FullScreen";
var6_6 = "isFromReceiver is ";
var10_10 = new Object(var6_6);
var5_5 = this.m ? 1 : 0;
var10_10 = var10_10.append((boolean)var5_5).toString();
m.a((String)var8_8, (String)var10_10);
this.d();
this.finish();
}
return;
break;
} while (true);
}
break;
} while (true);
}
}
** GOTO lbl73
lbl-1000: // 1 sources:
{
this.setRequestedOrientation(0);
continue block5;
lbl73: // 1 sources:
if (var11_11 != 0) ** GOTO lbl76
var11_11 = AdViewActivity.b % 3 + 1;
** GOTO lbl25
lbl76: // 1 sources:
if (var11_11 <= 0) break block18;
if ((var11_11 %= 3) != 0) ** GOTO lbl25
var11_11 = 3;
var9_9 = 4.2E-45f;
** GOTO lbl25
case 1: {
this.e();
** GOTO lbl-1000
}
case 2: {
var2_2 = this.b() ? 1 : 0;
if (var2_2 == 0) break block19;
this.g();
lbl88: // 2 sources:
do {
if (var4_4 != 0) ** GOTO lbl-1000
this.e();
** GOTO lbl-1000
break;
} while (true);
}
case 3: {
var2_2 = this.c() ? 1 : 0;
if (var2_2 == 0) break block20;
this.f();
lbl96: // 2 sources:
do {
if (var4_4 != 0) ** GOTO lbl-1000
this.e();
** continue;
break;
} while (true);
}
}
break;
} while (true);
var8_8 = com.mobilegame.shootbubble.yuia.b.b.b;
var7_7 = var8_8.length;
var4_4 = this.n;
if (var4_4 >= 0) break block21;
var10_10 = AdViewActivity.a;
var11_11 = var10_10.nextInt(var7_7);
lbl106: // 4 sources:
while ((var7_7 = this.k) == (var4_4 = com.mobilegame.shootbubble.yuia.e.at)) lbl-1000: // 2 sources:
{
do {
var10_10 = new Object("animation which:");
var10_10 = var10_10.append(var5_5);
var15_18 = ",location:";
var10_10 = var10_10.append((String)var15_18);
var4_4 = this.k;
var10_10 = var10_10.append(var4_4).toString();
m.a((String)"Ads.FullScreen", (String)var10_10);
var8_8 = com.mobilegame.shootbubble.yuia.b.b.b[var5_5];
var10_10 = this.d;
var10_10.startAnimation((Animation)var8_8);
** continue;
break;
} while (true);
lbl119: // 1 sources:
** GOTO lbl47
}
break block22;
}
var4_4 = this.n;
if (var4_4 != 0) break block23;
var11_11 = AdViewActivity.b % var7_7;
** GOTO lbl106
}
var4_4 = this.n;
if (var4_4 <= 0) ** GOTO lbl106
var11_11 = this.n % var7_7;
** GOTO lbl106
}
var5_5 = var11_11;
** while (true)
}
var4_4 = 0;
var15_18 = null;
** while (true)
}
var4_4 = 0;
var15_18 = null;
** while (true)
}
var11_11 = 0;
var10_10 = null;
var9_9 = 0.0f;
** GOTO lbl25
}
public void onDestroy() {
this.o = null;
this.f = null;
this.g = null;
this.i = 1.0f;
RelativeLayout relativeLayout = this.d;
this.a((ViewGroup)relativeLayout);
((com.mobilegame.shootbubble.yuia.a)this.getApplication()).b((Activity)this);
System.gc();
super.onDestroy();
}
public void onPause() {
super.onPause();
((com.mobilegame.shootbubble.yuia.a)this.getApplication()).b((Activity)this);
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public void onResume() {
super.onResume();
try {
Window window = this.getWindow();
int n2 = 1024;
int n3 = 1024;
window.setFlags(n2, n3);
}
catch (Exception exception) {}
((com.mobilegame.shootbubble.yuia.a)this.getApplication()).a((Activity)this);
}
public void onStart() {
super.onStart();
}
public void onStop() {
super.onStop();
((com.mobilegame.shootbubble.yuia.a)this.getApplication()).b((Activity)this);
}
}
|