我要上王者 v1.1版本的 MD5 值为:b7d3566522def961cabeb92cb17f5db9
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.kwad.sdk.kgeo;
import android.content.Context;
import android.os.Build;
import com.kwad.library.solder.lib.a.e;
import com.kwad.library.solder.lib.ext.PluginError;
import com.kwad.library.solder.lib.ext.b;
import com.kwad.sdk.utils.AbiUtil;
import com.kwad.sdk.utils.au;
import com.kwad.sdk.utils.o;
import java.util.concurrent.atomic.AtomicBoolean;
public final class c {
private static final AtomicBoolean sHasInit = new AtomicBoolean(false);
public interface a {
void FF();
void onSuccess(String str);
}
public static void a(final Context context, final a aVar) {
if (au.Kk()) {
aVar.FF();
} else if (!o.Jh()) {
aVar.FF();
} else if (Build.VERSION.SDK_INT < 23) {
aVar.FF();
} else {
AtomicBoolean atomicBoolean = sHasInit;
if (atomicBoolean.get()) {
return;
}
atomicBoolean.set(true);
boolean isArm64 = AbiUtil.isArm64(context);
com.kwad.library.solder.lib.c.b bVar = new com.kwad.library.solder.lib.c.b();
bVar.version = "1.0.2";
bVar.ajg = isArm64 ? "kmc-v8a" : "kmc-v7a";
bVar.ajh = com.kwad.sdk.core.network.idc.a.Ci().dj(isArm64 ? "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/kmac/ks_kmac64" : "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/kmac/ks_kmac32");
bVar.ajj = isArm64 ? "db9a8da62a0354ec5710ec03e2743f07" : "2440a8221230913d4287c6b1e02b49f1";
bVar.Jn = true;
com.kwad.library.solder.a.a.a(context, bVar, new b.c() {
@Override
public final void a(e eVar, com.kwad.library.solder.lib.a.a aVar2) {
th();
}
@Override
public final void a(e eVar, PluginError pluginError) {
a(pluginError);
}
private void th() {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "onPostLoad");
try {
System.loadLibrary("ipneigh-android");
a.this.onSuccess(com.kwai.library.ipneigh.c.dy(context).aRU);
} catch (Throwable unused) {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "loadLibrary fail");
a.this.FF();
}
}
private void a(PluginError pluginError) {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "onFail error:" + pluginError.getMessage());
a.this.FF();
}
});
}
}
}