Skip to content

Instantly share code, notes, and snippets.

@nrafter
Last active August 14, 2019 00:56
Show Gist options
  • Save nrafter/6fec2855eeb1ed137aa66ad10f40fa32 to your computer and use it in GitHub Desktop.
Save nrafter/6fec2855eeb1ed137aa66ad10f40fa32 to your computer and use it in GitHub Desktop.
Overlapped try statements detected. Not all exception handlers will be resolved in the method onCreate
Couldn't fully decompile method onCreate
Couldn't resolve all exception handlers in method onCreate
public void onCreate()
{
B = com.waybots.blackbox.s.a(this);
a((new StringBuilder()).append("onCreate: ").append(B).toString());
super.onCreate();
F = true;
J = false;
G = false;
H = false;
m m1 = JVM INSTR new #542 <Class m>;
m1.m(this, this);
w = m1;
K = "";
if(B == null)
{
c("+14152642004", "IMEI is null. Weird.");
B = "1111";
}
k = com.google.firebase.firestore.i.a().b().c().d().contains("waybots-a2558");
if(!k) goto _L2; else goto _L1
_L1:
a("Running in development");
_L3:
Object obj;
j = com.google.firebase.firestore.i.a().a("blackboxes").a(B);
Object obj1 = JVM INSTR new #112 <Class HashMap>;
((HashMap) (obj1)).HashMap();
((Map) (obj1)).put("armed", Boolean.valueOf(F));
((Map) (obj1)).put("siren", Boolean.valueOf(G));
((Map) (obj1)).put("SOS", Boolean.valueOf(H));
((Map) (obj1)).put("vehicleOn", Boolean.valueOf(J));
obj = JVM INSTR new #414 <Class Date>;
((Date) (obj)).Date();
((Map) (obj1)).put("startedAt", obj);
((Map) (obj1)).put("usbConnected", Boolean.valueOf(false));
j.a(((Map) (obj1)), com.google.firebase.firestore.t.c());
obj = JVM INSTR new #1266 <Class k>;
((k) (obj)).k(j);
r = ((k) (obj));
b("Starting");
obj = (TelephonyManager)getSystemService("phone");
obj1 = JVM INSTR new #43 <Class MainService$b>;
((b) (obj1)).this. b();
((TelephonyManager) (obj)).listen(((PhoneStateListener) (obj1)), 256);
g = com.google.android.gms.location.a.a(this);
r();
u();
p();
q();
I();
l();
K();
a();
obj1 = JVM INSTR new #530 <Class o>;
((o) (obj1)).o(w);
A = ((o) (obj1));
x = false;
if(com.google.android.gms.common.c.a().a(this) != 0)
A.a(com.waybots.blackbox.n.e);
if(!c())
A.a(com.waybots.blackbox.n.d);
Exception exception;
boolean flag;
if(((TelephonyManager) (obj)).getNetworkType() != 0)
flag = true;
else
flag = false;
if(flag)
break MISSING_BLOCK_LABEL_455;
A.a(com.waybots.blackbox.n.a);
if(m())
A.a(com.waybots.blackbox.n.b);
if(B.equalsIgnoreCase("1111"))
A.a(com.waybots.blackbox.n.c);
if(A.a())
{
obj = JVM INSTR new #164 <Class StringBuilder>;
((StringBuilder) (obj)).StringBuilder();
a(((StringBuilder) (obj)).append("StartupExceptions: ").append(A).toString());
e(A.toString());
}
_L4:
h = new com.waybots.blackbox.t(this, this, this, this);
C = new com.waybots.blackbox.e(this, h, this);
D = new com.waybots.blackbox.b(this, this);
k();
A();
f = com.google.android.gms.location.j.a(this);
B();
M();
return;
_L2:
a("Running in production");
goto _L3
exception;
a(exception);
w.a();
goto _L4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment