Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.fusepowered.ac;
import android.content.Context;
import android.os.Build;
import com.apptracker.android.advert.AppJSInterface;
import com.apptracker.android.util.AppConstants;
import com.facebook.internal.ServerProtocol;
import com.fusepowered.ac.ADCData;
import com.fusepowered.ac.n;
import com.google.android.gms.common.GooglePlayServicesUtil;
public class c {
static String f113c = "https://androidads21.adcolony.com/configure";
String A;
String B;
String C;
String D;
String E;
String F;
String G;
String H;
String I;
String J;
String K;
boolean L;
d a;
String h;
String j;
String[] k;
n.y l;
n.a m;
String t;
String u;
String v;
String w;
String f114y;
String z;
String b = "2.1.3";
int d = 300;
int e = 0;
boolean f = false;
boolean g = false;
ADCData.g i = new ADCData.g();
double n = 0.0d;
String o = "android";
String p = "android_native";
String q = "1.0";
String r = "google";
boolean s = false;
String x = "";
public c(d dVar) {
this.a = dVar;
}
public void a(String str) {
if (str == null) {
str = "";
}
for (String str2 : str.split(",")) {
String[] split = str2.split(AppConstants.K);
if (split.length == 2) {
String str3 = split[0];
String str4 = split[1];
if (str3.equals(ServerProtocol.FALLBACK_DIALOG_PARAM_VERSION)) {
this.q = str4;
} else if (str3.equals("store")) {
if (str4.toLowerCase().equals("google") || str4.toLowerCase().equals("amazon")) {
this.r = str4;
} else {
throw new AdColonyException("Origin store in client options must be set to either 'google' or 'amazon'");
}
} else if (str3.equals("skippable")) {
this.s = false;
}
} else if (split[0].equals("skippable")) {
this.s = false;
}
}
}
public void a() {
while (!AdColony.b && this.e < 60) {
try {
this.e++;
Thread.sleep(50L);
} catch (Exception e) {
}
}
this.e = 0;
this.a.g.a();
this.K = a(g.a, "");
this.L = g.b;
this.t = a(g.a(), "");
this.u = !this.K.equals("") ? "" : a(ab.b(this.t), "");
this.w = a(g.b(), "");
if (this.f114y == null) {
this.f114y = a(g.e(), "");
}
this.z = a(g.l(), "");
this.A = a(g.m(), "");
this.E = a(g.j(), "en");
this.F = a(g.n(), "");
this.G = a(g.o(), "");
this.J = a("" + Build.VERSION.SDK_INT, "");
this.C = a(g.h(), "");
this.D = "";
this.H = a("" + g.c(), "");
this.I = a("" + g.d(), "");
a.T = this.G;
a.U = this.b;
if (a.m) {
this.B = "tablet";
} else {
this.B = Context.TELEPHONY_SERVICE;
}
this.v = "";
if (ab.a(GooglePlayServicesUtil.GOOGLE_PLAY_STORE_PACKAGE) || ab.a("com.android.market")) {
this.v = "google";
}
if (ab.a("com.amazon.venezia")) {
if (this.v.length() > 0) {
this.v += ",";
}
this.v += "amazon";
}
if (l.b.f) {
l.b.a("sdk_version:").b((Object) this.b);
l.b.a("ad_manifest_url:").b((Object) f113c);
l.b.a("app_id:").b((Object) this.j);
l.b.a("zone_ids:").b(this.k);
l.b.a("os_name:").b((Object) this.o);
l.b.a("sdk_type:").b((Object) this.p);
l.b.a("app_version:").b((Object) this.q);
l.b.a("origin_store:").b((Object) this.r);
l.b.a("skippable:").b(this.s);
l.b.a("android_id:").b((Object) this.t);
l.b.a("android_id_sha1:").b((Object) this.u);
l.b.a("available_stores:").b((Object) this.v);
l.b.a("carrier_name:").b((Object) this.w);
l.b.a("custom_id:").b((Object) this.x);
l.b.a("device_id:").b((Object) this.f114y);
l.b.a("device_manufacturer:").b((Object) this.z);
l.b.a("device_model:").b((Object) this.A);
l.b.a("device_type:").b((Object) this.B);
l.b.a("imei:").b((Object) this.C);
l.b.a("imei_sha1:").b((Object) this.D);
l.b.a("language:").b((Object) this.E);
l.b.a("open_udid:").b((Object) this.F);
l.b.a("os_version:").b((Object) this.G);
}
z zVar = new z();
zVar.a("&os_name=");
zVar.a(q.a(this.o));
zVar.a("&os_version=");
zVar.a(q.a(this.G));
zVar.a("&device_api=");
zVar.a(q.a(this.J));
zVar.a("&app_version=");
zVar.a(q.a(this.q));
zVar.a("&android_id_sha1=");
zVar.a(q.a(this.u));
zVar.a("&device_id=");
zVar.a(q.a(this.f114y));
zVar.a("&open_udid=");
zVar.a(q.a(this.F));
zVar.a("&device_type=");
zVar.a(q.a(this.B));
zVar.a("&ln=");
zVar.a(q.a(this.E));
zVar.a("&device_brand=");
zVar.a(q.a(this.z));
zVar.a("&device_model=");
zVar.a(q.a(this.A));
zVar.a("&screen_width=");
zVar.a(q.a("" + g.f()));
zVar.a("&screen_height=");
zVar.a(q.a("" + g.g()));
zVar.a("&sdk_type=");
zVar.a(q.a(this.p));
zVar.a("&sdk_version=");
zVar.a(q.a(this.b));
zVar.a("&origin_store=");
zVar.a(q.a(this.r));
zVar.a("&available_stores=");
zVar.a(q.a(this.v));
zVar.a("&imei_sha1=");
zVar.a(q.a(this.D));
zVar.a("&memory_class=");
zVar.a(q.a(this.H));
zVar.a("&memory_used_mb=");
zVar.a(q.a(this.I));
zVar.a("&advertiser_id=");
zVar.a(q.a(this.K));
zVar.a("&limit_tracking=");
zVar.a(this.L);
this.h = zVar.toString();
this.a.f.a();
this.a.f115c.a();
this.a.d.a();
this.a.b.a();
this.a.e.a();
this.a.h.a();
this.g = true;
this.a.b.e();
if (this.a.b.j.i == null || this.a.b.j.i.equals("")) {
this.a.b.j.i = "all";
}
if (this.a.b.j.j == null || this.a.b.j.j.equals("")) {
this.a.b.j.j = "all";
}
}
String a(String str, String str2) {
return str != null ? str : str2;
}
public void b(String str) {
a(str, (n.a) null);
}
public void a(String str, n.a aVar) {
this.l = this.a.b.j.n.a(str);
if (this.l != null) {
if (aVar == null) {
this.m = this.l.i();
} else {
this.m = aVar;
}
if (this.m != null) {
o oVar = this.a.f115c;
n.x xVar = this.m.v;
this.i.b("video_enabled", xVar.a);
this.i.b("video_filepath", xVar.b());
this.i.b("video_width", xVar.f151c);
this.i.b("video_height", xVar.d);
this.i.b("video_duration", xVar.m);
this.i.b("engagement_delay", xVar.o.e);
this.i.b("skip_delay", xVar.n.e);
this.i.b("browser_close_image_normal", oVar.b(this.m.r.k.f));
this.i.b("browser_close_image_down", oVar.b(this.m.r.k.h));
this.i.b("browser_reload_image_normal", oVar.b(this.m.r.m.f));
this.i.b("browser_reload_image_down", oVar.b(this.m.r.m.h));
this.i.b("browser_back_image_normal", oVar.b(this.m.r.j.f));
this.i.b("browser_back_image_down", oVar.b(this.m.r.j.h));
this.i.b("browser_forward_image_normal", oVar.b(this.m.r.l.f));
this.i.b("browser_forward_image_down", oVar.b(this.m.r.l.h));
this.i.b("browser_stop_image_normal", oVar.b(this.m.r.i.f));
this.i.b("browser_stop_image_down", oVar.b(this.m.r.i.h));
this.i.b("browser_glow_button", oVar.b(this.m.r.a));
this.i.b("browser_icon", oVar.b(this.m.r.h.d));
this.i.b(AppJSInterface.G, oVar.b(this.m.w.k.d));
this.i.b(AppJSInterface.A, oVar.b(this.m.w.l.d));
this.i.b("poster_image", oVar.b(this.m.w.f140c));
this.i.b("thumb_image", oVar.b(this.m.w.g));
this.i.b("advertiser_name", this.m.w.d);
this.i.b("description", this.m.w.e);
this.i.b("title", this.m.w.f);
this.i.b("native_engagement_enabled", this.m.w.j.a);
this.i.b("native_engagement_type", this.m.w.j.f141c);
this.i.b("native_engagement_command", this.m.w.j.e);
this.i.b("native_engagement_label", this.m.w.j.d);
this.i.b("skip_video_image_normal", oVar.b(xVar.n.f));
this.i.b("skip_video_image_down", oVar.b(xVar.n.h));
this.i.b("engagement_image_normal", oVar.b(xVar.o.f));
this.i.b("engagement_image_down", oVar.b(xVar.o.h));
b();
}
}
}
public void c(String str) {
this.l = this.a.b.j.n.a(str);
this.m = this.l.i();
o oVar = this.a.f115c;
n.x xVar = this.m.v;
this.i.b("video_enabled", xVar.a);
this.i.b("video_filepath", xVar.b());
this.i.b("video_width", xVar.f151c);
this.i.b("video_height", xVar.d);
this.i.b("video_duration", xVar.m);
this.i.b("engagement_delay", xVar.o.e);
this.i.b("skip_delay", xVar.n.e);
b();
n.c cVar = this.m.s;
this.i.b("pre_popup_bg", oVar.b(cVar.b.d.e));
this.i.b("v4vc_logo", oVar.b(cVar.b.d.l.d));
this.i.b("no_button_normal", oVar.b(cVar.b.d.n.f));
this.i.b("no_button_down", oVar.b(cVar.b.d.n.h));
this.i.b("yes_button_normal", oVar.b(cVar.b.d.m.f));
this.i.b("yes_button_down", oVar.b(cVar.b.d.m.h));
this.i.b("done_button_normal", oVar.b(cVar.f130c.d.m.f));
this.i.b("done_button_down", oVar.b(cVar.f130c.d.m.h));
this.i.b("browser_close_image_normal", oVar.b(this.m.r.k.f));
this.i.b("browser_close_image_down", oVar.b(this.m.r.k.h));
this.i.b("browser_reload_image_normal", oVar.b(this.m.r.m.f));
this.i.b("browser_reload_image_down", oVar.b(this.m.r.m.h));
this.i.b("browser_back_image_normal", oVar.b(this.m.r.j.f));
this.i.b("browser_back_image_down", oVar.b(this.m.r.j.h));
this.i.b("browser_forward_image_normal", oVar.b(this.m.r.l.f));
this.i.b("browser_forward_image_down", oVar.b(this.m.r.l.h));
this.i.b("browser_stop_image_normal", oVar.b(this.m.r.i.f));
this.i.b("browser_stop_image_down", oVar.b(this.m.r.i.h));
this.i.b("browser_glow_button", oVar.b(this.m.r.a));
this.i.b("browser_icon", oVar.b(this.m.r.h.d));
this.i.b("skip_video_image_normal", oVar.b(xVar.n.f));
this.i.b("skip_video_image_down", oVar.b(xVar.n.h));
this.i.b("engagement_image_normal", oVar.b(xVar.o.f));
this.i.b("engagement_image_down", oVar.b(xVar.o.h));
}
void b() {
n.t tVar = this.m.u.h;
n.i iVar = this.m.u.i;
o oVar = this.a.f115c;
if (!this.m.u.d) {
this.i.b("end_card_enabled", this.m.u.d);
return;
}
if (iVar.a()) {
a.M = true;
a.R = iVar.g;
a.S = oVar.b(iVar.f.b);
this.i.b("close_image_normal", oVar.b(iVar.j.f));
this.i.b("close_image_down", oVar.b(iVar.j.h));
this.i.b("reload_image_normal", oVar.b(iVar.i.f));
this.i.b("reload_image_down", oVar.b(iVar.i.h));
} else {
a.M = false;
this.i.b("end_card_filepath", oVar.b(tVar.d));
this.i.b("info_image_normal", oVar.b(tVar.f.f));
this.i.b("info_image_down", oVar.b(tVar.f.h));
this.i.b("info_url", tVar.f.j);
this.i.b("replay_image_normal", oVar.b(tVar.h.f));
this.i.b("replay_image_down", oVar.b(tVar.h.h));
this.i.b("continue_image_normal", oVar.b(tVar.i.f));
this.i.b("continue_image_down", oVar.b(tVar.i.h));
this.i.b("download_image_normal", oVar.b(tVar.g.f));
this.i.b("download_image_down", oVar.b(tVar.g.h));
this.i.b("download_url", tVar.g.j);
}
n.x xVar = this.m.v;
this.i.b("end_card_enabled", this.m.u.d);
this.i.b("load_timeout_enabled", this.m.u.i.f135c);
this.i.b("load_timeout", this.m.u.i.b);
this.i.b("hardware_acceleration_disabled", this.a.b.j.e);
}
}