整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.kc.openset.sdk.mat;
import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import com.bytedance.sdk.openadsdk.api.plugin.PluginConstants;
import com.jiagu.sdk.OSETSDKProtected;
import com.kc.openset.util.m;
import com.sigmob.sdk.base.mta.PointType;
import com.ss.android.socialbase.downloader.constants.DBDefinition;
import com.ss.android.socialbase.downloader.constants.DownloadErrorCode;
import java.io.IOException;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.Response;
import org.json.JSONException;
import org.json.JSONObject;
public class a {
private MATRewardListener a;
private String b;
private String c;
private String d;
private String e;
private String f;
private String g;
private String h;
private String i;
private Handler j = new b(Looper.getMainLooper());
class C0189a implements Callback {
static {
OSETSDKProtected.interface11(DownloadErrorCode.ERROR_TEMP_FILE_CREATE_FAILED);
}
C0189a() {
}
@Override
public native void onFailure(Call call, IOException iOException);
@Override
public native void onResponse(Call call, Response response);
}
class b extends Handler {
b(Looper looper) {
super(looper);
}
@Override
public void handleMessage(Message message) {
MATRewardListener j;
String str;
String str2;
super.handleMessage(message);
int i = message.what;
if (i == 1) {
m.a("mat-http", a.d(a.this));
try {
JSONObject jSONObject = new JSONObject(a.d(a.this));
int optInt = jSONObject.optInt(PluginConstants.KEY_ERROR_CODE);
if (optInt != 0) {
a.j(a.this).onError(optInt + "", jSONObject.optString("message"));
return;
}
JSONObject jSONObject2 = jSONObject.optJSONArray("adm").getJSONObject(0);
a.d(a.this, jSONObject2.optString("mat_id"));
if (a.e(a.this) == null || a.e(a.this).equals("")) {
a.d(a.this, "e99d8fc4");
}
a.e(a.this, jSONObject2.optString("url"));
if (a.f(a.this) == null || a.f(a.this).equals("")) {
a.e(a.this, "http://static01.kuaichuanad.com/upload/20220221/1bd77fc5f982095ac4d96bb53f34f362.mp4");
}
a.f(a.this, jSONObject2.optString(DBDefinition.TITLE));
if (a.g(a.this) == null || a.g(a.this).equals("")) {
a.f(a.this, "幸运大抽奖");
}
a.g(a.this, jSONObject2.optString("desc"));
if (a.h(a.this) == null || a.h(a.this).equals("")) {
a.g(a.this, " 红包来袭,豪礼抽不停!");
}
a.h(a.this, jSONObject2.optString("landing_page"));
if (a.i(a.this) == null || a.i(a.this).equals("")) {
a.h(a.this, "https://engine.tuifish.com/index/activity?appKey=36cYig9mbhQdFcbYJQgdaKACmVnL\\u0026adslotId=376287\\u0026uk_a1=__IMEI__\\u0026uk_a2=__IMEI2__\\u0026uk_a3=__MUID__\\u0026uk_b1=__IDFA__\\u0026uk_b2=__IDFA2__\\u0026uk_c1=__OAID__\\u0026uk_c2=__OAID2__");
}
a.j(a.this).onLoad(jSONObject.optString("requestId"));
return;
} catch (JSONException e) {
e.printStackTrace();
j = a.j(a.this);
str = PointType.ANTI_SPAM;
str2 = "数据解析失败";
}
} else if (i != 2) {
return;
} else {
j = a.j(a.this);
str = a.a(a.this) + "";
str2 = a.b(a.this);
}
j.onError(str, str2);
}
}
static {
OSETSDKProtected.interface11(DownloadErrorCode.ERROR_TEMP_TO_TARGET_FAILED);
}
static native String a(a aVar);
static native String a(a aVar, String str);
static native String b(a aVar);
static native String b(a aVar, String str);
static native Handler c(a aVar);
static native String c(a aVar, String str);
static native String d(a aVar);
static native String d(a aVar, String str);
static native String e(a aVar);
static native String e(a aVar, String str);
static native String f(a aVar);
static native String f(a aVar, String str);
static native String g(a aVar);
static native String g(a aVar, String str);
static native String h(a aVar);
static native String h(a aVar, String str);
static native String i(a aVar);
static native MATRewardListener j(a aVar);
public native void a(Activity activity);
public native void a(Context context, String str, MATRewardListener mATRewardListener);
}