Files
qianbian/analysis/apk/decomp/qbsg_top_MainActivity.java
T

75 lines
2.7 KiB
Java

package qbsg.top;
public final class MainActivity extends b.l {
public static final synthetic int w;
public MainActivity()
{
return;
}
public final void onCreate(android.os.Bundle p8)
{
super.onCreate(p8);
w2.h1 v8_1 = w7.a.h;
if (v8_1 == null) {
kotlin.jvm.internal.s.l("instance");
throw 0;
} else {
w2.h1 v8_16 = v8_1.b;
qbsg.top.activation.ActivationManager v3 = qbsg.top.activation.ActivationManager.a;
v3.nativeInit(w7.w.g());
((kotlinx.coroutines.flow.MutableStateFlow) v8_16.e).setValue(v3.nativeGetDeviceId());
String v5 = "";
boolean v2_9 = ((android.content.SharedPreferences) ((a6.a) ((a0.m2) v8_16.b).d).d).getString("activation_code", "");
if (v2_9) {
v5 = v2_9;
}
boolean v2_12;
w2.h1 v8_3 = ((kotlinx.coroutines.flow.MutableStateFlow) v8_16.c);
if ((v5.length() <= 0) || (!v3.nativeChecksumOk(v5))) {
v2_12 = 0;
} else {
v3.nativeActivate(v5);
v2_12 = 1;
}
v8_3.setValue(Boolean.valueOf(v2_12));
w2.h1 v8_4 = w7.a.h;
if (v8_4 == null) {
kotlin.jvm.internal.s.l("instance");
throw 0;
} else {
w2.h1 v8_13;
v8_4.d.f();
int v1_3 = new o1.f(865824856, 1, new m0.r(28, this));
w2.h1 v8_12 = ((android.view.ViewGroup) this.getWindow().getDecorView().findViewById(16908290)).getChildAt(0);
if (!(v8_12 instanceof w2.h1)) {
v8_13 = 0;
} else {
v8_13 = ((w2.h1) v8_12);
}
if (v8_13 == null) {
w2.h1 v8_15 = new w2.h1(this);
v8_15.setParentCompositionContext(0);
v8_15.setContent(v1_3);
android.view.ViewGroup$LayoutParams v0_2 = this.getWindow().getDecorView();
if (androidx.lifecycle.l0.d(v0_2) == null) {
androidx.lifecycle.l0.h(v0_2, this);
}
if (androidx.lifecycle.l0.e(v0_2) == null) {
v0_2.setTag(2131034234, this);
}
if (v0.b.j(v0_2) == null) {
v0_2.setTag(2131034233, this);
}
this.setContentView(v8_15, c.f.a);
return;
} else {
v8_13.setParentCompositionContext(0);
v8_13.setContent(v1_3);
return;
}
}
}
}
}