笔 趣 阁 破 解 版2023 v4.18.00版本的 MD5 值为:35c48a89f5572ff5a659afd7c5a81cad
以下内容为反编译后的 f.java 源代码,内容仅作参考
package com.kwad.sdk.crash;
import android.content.Context;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.kwad.sdk.utils.AbiUtil;
import com.kwai.sodler.lib.ext.PluginError;
import com.kwai.sodler.lib.ext.b;
import java.util.concurrent.atomic.AtomicBoolean;
public final class f {
public static final AtomicBoolean ISLOADED = new AtomicBoolean(false);
public interface a {
void yE();
}
public static void a(Context context, com.kwai.sodler.lib.c.b bVar, @Nullable final a aVar) {
com.kwai.sodler.kwai.a.a(context, bVar, new b.c() {
@Override
public void a(com.kwai.sodler.lib.b.c cVar) {
super.a((AnonymousClass1) cVar);
com.kwad.sdk.core.e.b.d("ExceptionSoLoadHelper", "onCanceled thread=" + Thread.currentThread().getName());
}
@Override
public void b(com.kwai.sodler.lib.b.c cVar) {
super.b(cVar);
com.kwad.sdk.core.e.b.d("ExceptionSoLoadHelper", "onPostUpdate thread=" + Thread.currentThread().getName());
}
private void rE() {
com.kwad.sdk.core.e.b.d("ExceptionSoLoadHelper", "onPostLoad thread=" + Thread.currentThread().getName());
a aVar2 = a.this;
if (aVar2 != null) {
aVar2.yE();
}
}
private void yR() {
com.kwad.sdk.core.e.b.d("ExceptionSoLoadHelper", "onFail thread=" + Thread.currentThread().getName());
}
@Override
public final void a(com.kwai.sodler.lib.a.f fVar, com.kwai.sodler.lib.a.a aVar2) {
rE();
}
@Override
public final void a(com.kwai.sodler.lib.a.f fVar, PluginError pluginError) {
yR();
}
});
}
public static void a(@NonNull b bVar, @Nullable a aVar) {
String str;
String str2;
if (ISLOADED.get()) {
aVar.yE();
return;
}
Context context = bVar.context;
ISLOADED.set(true);
if (AbiUtil.isArm64(context)) {
str = bVar.amO;
if (TextUtils.isEmpty(str)) {
str = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/ks_so-exceptionArm64v8aRelease-3.3.23.apk";
}
str2 = "exception-v8a";
} else {
str = bVar.amP;
if (TextUtils.isEmpty(str)) {
str = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/ks_so-exceptionArmeabiv7aRelease-3.3.23.apk";
}
str2 = "exception-v7a";
}
com.kwai.sodler.lib.c.b bVar2 = new com.kwai.sodler.lib.c.b();
bVar2.aFo = com.kwad.sdk.core.network.idc.a.vO().ch(str);
bVar2.Hm = true;
bVar2.aFn = str2;
bVar2.version = "3.1";
bVar2.aFr = false;
a(context, bVar2, aVar);
}
}