恐 怖 老 奶 奶1破 解 版 中 文 版 无 敌 版 v4.15.00版本的 MD5 值为:2c4218ea002b12a6cce81f33a9f0144d
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.kwad.components.offline.tk;
import android.content.Context;
import android.os.SystemClock;
import androidx.annotation.NonNull;
import com.ksad.annotation.invoker.InvokeBy;
import com.kwad.components.core.n.e;
import com.kwad.components.core.n.f;
import com.kwad.components.offline.api.core.api.ILoggerReporter;
import com.kwad.components.offline.api.tk.ITkOfflineCompo;
import com.kwad.components.offline.api.tk.TKInitCallBack;
import com.kwad.components.offline.api.tk.TkLoggerReporter;
import com.kwad.components.offline.api.tk.model.report.TKDownloadMsg;
import com.kwad.sdk.core.config.d;
import com.kwad.sdk.core.response.model.SdkConfigData;
import com.kwad.sdk.service.ServiceProvider;
import com.kwad.sdk.utils.g;
import com.kwad.sdk.utils.x;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicBoolean;
public final class b extends com.kwad.components.core.offline.init.a {
public static long Xn;
public final List<com.kwad.components.core.offline.api.a.a> Xm;
public final AtomicBoolean Xo;
public class AnonymousClass1 implements TKInitCallBack {
public final boolean Kl;
public final ITkOfflineCompo Xp;
public final long Xq;
public final long Xr;
public final Context jL;
public AnonymousClass1(ITkOfflineCompo iTkOfflineCompo, long j, long j2, boolean z, Context context) {
this.Xp = iTkOfflineCompo;
this.Xq = j;
this.Xr = j2;
this.Kl = z;
this.jL = context;
}
@Override
public final void onSuccess(boolean z) {
final TkCompoImpl tkCompoImpl = new TkCompoImpl(this.Xp);
com.kwad.sdk.components.c.a(com.kwad.components.core.offline.api.a.c.class, tkCompoImpl);
b.this.Xo.set(true);
TkLoggerReporter.get().reportTKSOLoad(ILoggerReporter.Category.APM_LOG, new TKDownloadMsg().setDownloadState(3).setOfflineLoadTime(this.Xq).setSoLoadTime(SystemClock.elapsedRealtime() - this.Xr).setOfflineSource(this.Kl ? 1 : 2).setSoSource(z ? 2 : 1).toJson());
com.kwad.sdk.core.d.b.d(b.this.getTag(), "offlineComponent load success");
b.this.si();
e.a(new f() {
@Override
public final void a(@NonNull final SdkConfigData sdkConfigData) {
super.a(sdkConfigData);
g.execute(new Runnable() {
@Override
public final void run() {
C03151 c03151 = C03151.this;
tkCompoImpl.onConfigRefresh(AnonymousClass1.this.jL, sdkConfigData.toJson());
}
});
}
});
}
}
public static final class a {
public static final b Xw = new b((byte) 0);
}
public b() {
this.Xm = new CopyOnWriteArrayList();
this.Xo = new AtomicBoolean(false);
}
public b(byte b2) {
this();
}
@InvokeBy(invokerClass = com.kwad.components.core.offline.init.b.class, methodId = "initOC")
public static void au(Context context) {
Xn = SystemClock.elapsedRealtime();
sh().init(context);
}
public static b sh() {
return a.Xw;
}
public void si() {
for (com.kwad.components.core.offline.api.a.a aVar : this.Xm) {
aVar.onSuccess();
}
}
public final void a(com.kwad.components.core.offline.api.a.a aVar) {
if (aVar == null) {
return;
}
if (this.Xo.get()) {
aVar.onSuccess();
}
this.Xm.add(aVar);
}
public final void b(com.kwad.components.core.offline.api.a.a aVar) {
if (aVar == null) {
return;
}
this.Xm.remove(aVar);
}
@Override
public final boolean b(Context context, ClassLoader classLoader) {
ITkOfflineCompo iTkOfflineCompo = (ITkOfflineCompo) a(classLoader, ITkOfflineCompo.IMPL);
if (iTkOfflineCompo == null) {
com.kwad.sdk.core.d.b.d("TkInitModule", "onPluginLoaded components is null");
return false;
}
long elapsedRealtime = SystemClock.elapsedRealtime();
long elapsedRealtime2 = SystemClock.elapsedRealtime() - Xn;
boolean i2 = x.i(context, od(), oe());
String tag = getTag();
com.kwad.sdk.core.d.b.d(tag, "offlineComponent load " + i2 + " components classLoader: " + iTkOfflineCompo.getClass().getClassLoader());
iTkOfflineCompo.initReal(context, ServiceProvider.CF(), new c(), new AnonymousClass1(iTkOfflineCompo, elapsedRealtime2, elapsedRealtime, i2, context));
return true;
}
@Override
public final String getTag() {
return "TkInitModule";
}
@Override
public final boolean isEnabled() {
return d.isCanUseTk();
}
@Override
public final boolean ob() {
return false;
}
@Override
public final String od() {
return ITkOfflineCompo.PACKAGE_NAME;
}
@Override
public final String oe() {
return "3.3.38.1";
}
@Override
public final String of() {
return "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/offline_components/tk/ks_so-tachikomaNoSoRelease-3.3.38.1-a469423ad-256.zip";
}
@Override
public final String og() {
return "88d6d5051436fd5a35066ce6113d498f";
}
@Override
public final String oh() {
return "ks_tk_134ad9665";
}
}