恐 怖 老 奶 奶1破 解 版 中 文 版 无 敌 版 v4.15.00版本的 MD5 值为:2c4218ea002b12a6cce81f33a9f0144d
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.kwad.components.offline.tk.a;
import android.content.Context;
import android.os.SystemClock;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.kwad.components.offline.api.core.api.ILoggerReporter;
import com.kwad.components.offline.api.core.soloader.SoLoadListener;
import com.kwad.components.offline.api.tk.ITkOfflineCompo;
import com.kwad.components.offline.api.tk.TkLoggerReporter;
import com.kwad.components.offline.api.tk.model.report.TKDownloadMsg;
import com.kwad.sdk.api.model.AdnName;
import com.kwad.sdk.core.config.d;
import com.kwad.sdk.utils.AbiUtil;
import com.kwad.sdk.utils.z;
import com.kwai.sodler.lib.a.f;
import com.kwai.sodler.lib.b.c;
import com.kwai.sodler.lib.c.b;
import com.kwai.sodler.lib.ext.PluginError;
import com.kwai.sodler.lib.ext.b;
import java.util.HashMap;
import java.util.concurrent.atomic.AtomicBoolean;
public final class a {
public static long XN;
public static final AtomicBoolean Xa = new AtomicBoolean(false);
public static final String XH = z.format("lib%s.so", "tk_runtime_v0_0_38");
public static final String f9444XI = z.format("lib%s.so", "tk_runtime_lite_v0_0_38");
public static final String XJ = z.format("lib%s.so", "kwai-v8");
public static final String XK = z.format("lib%s.so", "kwai-v8-lite");
public static final String XL = z.format("lib%s.so", "kwad-fb");
public static final String XM = z.format("lib%s.so", "kwad-yoga");
public static final String Xb = z.format("lib%s.so", "c++_shared");
public static Boolean XO = null;
public static void a(Context context, @NonNull final SoLoadListener soLoadListener) {
String uo;
String str;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
String str8;
if (Xa.get()) {
return;
}
Xa.set(true);
HashMap<String, String> hashMap = new HashMap<>();
boolean useTkLite = useTkLite();
if (AbiUtil.isArm64(context)) {
uo = d.up();
if (TextUtils.isEmpty(uo)) {
uo = useTkLite ? "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/tachikoma/3.3.34/ks_so-tachikomaLiteSoArm64v8aRelease-3.3.34.apk" : "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/tachikoma/3.3.34/ks_so-tachikomaSoArm64v8aRelease-3.3.34.apk";
}
str = useTkLite ? "sotk-v8a-lite" : "sotk-v8a";
str2 = useTkLite ? "39df505f83794e951720e9c753824d0c" : "2c0fb7069df4a3e6fd55e417229bcb6b";
if (useTkLite) {
hashMap.put(f9444XI, "a5009e795307441cc05dbd3e8aeaead3");
str7 = XK;
str8 = "77545ba1892c1a1d4a039db37b3249eb";
} else {
hashMap.put(XH, "e1478b9b4f377d667c7e510e88ae1bcb");
str7 = XJ;
str8 = "7316cd8d074b04e6cb21486288d314ce";
}
hashMap.put(str7, str8);
hashMap.put(XL, "31f065607e6da6b741330d1df0b35460");
hashMap.put(XM, "76308532f64b68fd5a930c42cceec22b");
str5 = Xb;
str6 = "6ca7958ee0b0192a7c52c16faffaa8ba";
} else {
uo = d.uo();
if (TextUtils.isEmpty(uo)) {
uo = useTkLite ? "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/tachikoma/3.3.34/ks_so-tachikomaLiteSoArmeabiv7aRelease-3.3.34.apk" : "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/tachikoma/3.3.34/ks_so-tachikomaSoArmeabiv7aRelease-3.3.34.apk";
}
str = useTkLite ? "sotk-v7a-lite" : "sotk-v7a";
str2 = useTkLite ? "a46a370ee3a1a61a0d6041b3c69c0ab7" : "f8d270613187202ab45cfec0dca9deee";
if (useTkLite) {
hashMap.put(f9444XI, "8ffd76abe9e5fe33f4035b56b9d6e8e3");
str3 = XK;
str4 = "2dbd72527a0739740746adaae48ed2e0";
} else {
hashMap.put(XH, "55e6b8f6cd2091d8f8412dafcf9f381a");
str3 = XJ;
str4 = "519ba633e88efafb8fbd536d800da734";
}
hashMap.put(str3, str4);
hashMap.put(XL, "eff11bebb8a3c872fa30b0484b460d12");
hashMap.put(XM, "2c6f402c6a565d2e6912b0013fa59380");
str5 = Xb;
str6 = "7cb16c2840085bbdf4be628e6604bac1";
}
hashMap.put(str5, str6);
b bVar = new b();
bVar.aJz = com.kwad.sdk.core.network.idc.a.wy().bR(uo);
bVar.It = true;
bVar.aJy = str;
bVar.version = useTkLite ? "3.3.34-lite" : "3.3.34";
bVar.aJC = false;
bVar.aJB = str2;
bVar.aJE = hashMap;
final com.kwai.sodler.lib.a.a as = com.kwai.sodler.kwai.a.as(context, ITkOfflineCompo.PACKAGE_NAME);
com.kwad.sdk.core.d.b.d("TkSoLoadHelper", "tkOfflineCompoPlugin: " + as);
if (as instanceof com.kwai.sodler.lib.kwai.a) {
bVar.aJH = ((com.kwai.sodler.lib.kwai.a) as).Jj();
}
com.kwai.sodler.kwai.a.a(context, bVar, new b.c() {
@Override
public void a(c cVar) {
super.a((AnonymousClass1) cVar);
}
private void a(PluginError pluginError) {
soLoadListener.onFailed(pluginError.getCode(), pluginError);
}
@Override
public void c(c cVar) {
super.c((AnonymousClass1) cVar);
soLoadListener.onPreUpdate();
long unused = a.XN = SystemClock.elapsedRealtime();
TkLoggerReporter.get().reportTKSODownload(ILoggerReporter.Category.APM_LOG, new TKDownloadMsg().setDownloadState(0).setRetryCount(cVar.Jt()).toJson());
}
@Override
public void b(c cVar) {
String str9;
super.b((AnonymousClass1) cVar);
if (cVar.getState() == 1) {
TkLoggerReporter.get().reportTKSODownload(ILoggerReporter.Category.APM_LOG, new TKDownloadMsg().setRetryCount(cVar.Jt()).setDownloadTime(SystemClock.elapsedRealtime() - a.XN).setDownloadState(1).toJson());
return;
}
if (cVar.Jq() != null) {
Throwable Jq = cVar.Jq();
if (Jq instanceof PluginError) {
str9 = String.valueOf(((PluginError) Jq).getCode());
TkLoggerReporter.get().reportTKSODownload(ILoggerReporter.Category.ERROR_LOG, new TKDownloadMsg().setRetryCount(cVar.Jt()).setErrorReason(str9).setDownloadState(2).toJson());
}
}
str9 = AdnName.OTHER;
TkLoggerReporter.get().reportTKSODownload(ILoggerReporter.Category.ERROR_LOG, new TKDownloadMsg().setRetryCount(cVar.Jt()).setErrorReason(str9).setDownloadState(2).toJson());
}
private void se() {
soLoadListener.onLoaded();
}
@Override
public final void a(f fVar, com.kwai.sodler.lib.a.a aVar) {
se();
}
@Override
public final void a(f fVar, PluginError pluginError) {
a(pluginError);
}
});
}
public static boolean useTkLite() {
if (XO == null) {
XO = Boolean.valueOf(!d.a(com.kwad.sdk.core.config.c.abL));
}
return XO.booleanValue();
}
}