整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 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 Hm();
void onSuccess(String str);
}
public static void a(final Context context, final a aVar) {
if (au.Mk()) {
aVar.Hm();
} else if (!o.Lh()) {
aVar.Hm();
} else if (Build.VERSION.SDK_INT < 23) {
aVar.Hm();
} 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.3";
bVar.akb = isArm64 ? "kmc-v8a" : "kmc-v7a";
bVar.akc = com.kwad.sdk.core.network.idc.a.DS().dU(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.ake = isArm64 ? "db9a8da62a0354ec5710ec03e2743f07" : "2440a8221230913d4287c6b1e02b49f1";
bVar.Jd = true;
com.kwad.library.solder.a.a.a(context, bVar, new b.c() {
private void tG() {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "onPostLoad");
try {
System.loadLibrary("ipneigh-android");
a.this.onSuccess(com.kwai.library.ipneigh.c.dw(context).aUq);
} catch (Throwable unused) {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "loadLibrary fail");
a.this.Hm();
}
}
@Override
public final void a(e eVar, com.kwad.library.solder.lib.a.a aVar2) {
tG();
}
@Override
public final void a(e eVar, PluginError pluginError) {
a(pluginError);
}
private void a(PluginError pluginError) {
com.kwad.sdk.core.e.c.d("KGeoSoHelper", "onFail error:" + pluginError.getMessage());
a.this.Hm();
}
});
}
}
}