正在查看: Brevistay v5.8.2 应用的 an.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Brevistay v5.8.2 应用的 an.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.text.TextUtils;
import android.view.ViewConfiguration;
import com.appsflyer.AppsFlyerProperties;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.net.ssl.HttpsURLConnection;
import org.json.JSONException;
public abstract class an implements Runnable {
protected static String AFInAppEventType = null;
private static String AFKeystoreWrapper = null;
private static int AFLogger$LogLevel = 0;
private static long init = 0;
private static char onAppOpenAttributionNative = 0;
private static int onAttributionFailureNative = 1;
private static int onInstallConversionDataLoadedNative;
public String AFInAppEventParameterName;
private final Context getLevel;
public final String valueOf;
private final ac values;
public final String AppsFlyer2dXConversionCallback = UUID.randomUUID().toString();
public final Map<String, Object> AFVersionDeclaration = AFInAppEventParameterName();
static void AFKeystoreWrapper() {
init = 5852232774877074978L;
onAppOpenAttributionNative = (char) 0;
AFLogger$LogLevel = 0;
}
protected abstract void AFInAppEventParameterName(HttpsURLConnection httpsURLConnection) throws JSONException, IOException;
protected abstract void valueOf();
protected abstract void valueOf(String str);
protected abstract String values();
static {
AFKeystoreWrapper();
AFKeystoreWrapper = "v2";
StringBuilder sb = new StringBuilder("https://%sonelink.%s/shortlink-sdk/");
sb.append(AFKeystoreWrapper);
AFInAppEventType = sb.toString();
int i = onAttributionFailureNative + 25;
onInstallConversionDataLoadedNative = i % 128;
int i2 = i % 2;
}
public an(ac acVar, Context context, String str) {
this.values = acVar;
this.getLevel = context;
this.valueOf = str;
}
@Override
public void run() {
int i = 2 % 2;
int i2 = onAttributionFailureNative + 23;
onInstallConversionDataLoadedNative = i2 % 128;
int i3 = i2 % 2;
AFInAppEventType();
if (i3 != 0) {
int i4 = 65 / 0;
}
int i5 = onAttributionFailureNative + 125;
onInstallConversionDataLoadedNative = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
super.hashCode();
throw null;
}
private void AFInAppEventType() {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.an.AFInAppEventType():void");
}
public static class c implements Runnable {
private final cm AFKeystoreWrapper;
public c() {
}
public c(cm cmVar) {
this.AFKeystoreWrapper = cmVar;
}
public java.net.HttpURLConnection values() {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.an.c.values():java.net.HttpURLConnection");
}
@Override
public void run() {
HttpURLConnection values = values();
if (values != null) {
values.disconnect();
}
}
}
protected final void AFKeystoreWrapper(HttpsURLConnection httpsURLConnection, String... strArr) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList(Arrays.asList(strArr));
arrayList.add(1, AFKeystoreWrapper);
String AFInAppEventParameterName = ag.AFInAppEventParameterName((String[]) arrayList.toArray(new String[0]));
StringBuilder sb = new StringBuilder();
sb.append(AppsFlyerProperties.getInstance().getDevKey());
sb.append(this.AppsFlyer2dXConversionCallback);
sb.append(AFKeystoreWrapper);
httpsURLConnection.setRequestProperty(AFKeystoreWrapper("ዺ力\ufffb쬣\ua83bጵ삸瑃뜂ᣫ\ud9f4\uef35", "뾎숵\udf77⒗", "嘢쥲亳儷", (-1) - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0))).intern(), ag.valueOf(AFInAppEventParameterName, sb.toString()));
int i2 = onInstallConversionDataLoadedNative + 41;
onAttributionFailureNative = i2 % 128;
int i3 = i2 % 2;
}
private Map<String, Object> AFInAppEventParameterName() {
int i = 2 % 2;
HashMap hashMap = new HashMap();
hashMap.put("build_number", "6.5.4");
hashMap.put("counter", Integer.valueOf(this.values.valueOf(ac.AFInAppEventType(this.getLevel), false)));
hashMap.put("model", Build.MODEL);
hashMap.put(AFKeystoreWrapper("粞Რ䥕穷작", "\ue724\uecbcẨ⋾", "嘢쥲亳儷", (-1460880153) - TextUtils.indexOf("", ""), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 65054)).intern(), Build.BRAND);
hashMap.put("sdk", Integer.toString(Build.VERSION.SDK_INT));
try {
hashMap.put("app_version_name", this.getLevel.getPackageManager().getPackageInfo(this.getLevel.getPackageName(), 0).versionName);
int i2 = onInstallConversionDataLoadedNative + 95;
onAttributionFailureNative = i2 % 128;
int i3 = i2 % 2;
} catch (PackageManager.NameNotFoundException unused) {
}
hashMap.put("app_id", this.getLevel.getPackageName());
hashMap.put("platformextension", new al().AFInAppEventType());
int i4 = onAttributionFailureNative + 69;
onInstallConversionDataLoadedNative = i4 % 128;
int i5 = i4 % 2;
return hashMap;
}
private static String AFKeystoreWrapper(String str, String str2, String str3, int i, char c2) {
String str4;
char[] cArr = str3;
if (str3 != null) {
cArr = str3.toCharArray();
}
char[] cArr2 = cArr;
char[] cArr3 = str2;
if (str2 != null) {
cArr3 = str2.toCharArray();
}
char[] cArr4 = cArr3;
char[] cArr5 = str;
if (str != null) {
cArr5 = str.toCharArray();
}
char[] cArr6 = cArr5;
synchronized (dp.valueOf) {
char[] cArr7 = (char[]) cArr4.clone();
char[] cArr8 = (char[]) cArr2.clone();
cArr7[0] = (char) (c2 ^ cArr7[0]);
cArr8[2] = (char) (cArr8[2] + ((char) i));
int length = cArr6.length;
char[] cArr9 = new char[length];
dp.AFInAppEventParameterName = 0;
while (dp.AFInAppEventParameterName < length) {
int i2 = (dp.AFInAppEventParameterName + 2) % 4;
int i3 = (dp.AFInAppEventParameterName + 3) % 4;
dp.AFInAppEventType = (char) (((cArr7[dp.AFInAppEventParameterName % 4] * 32718) + cArr8[i2]) % 65535);
cArr8[i3] = (char) (((cArr7[i3] * 32718) + cArr8[i2]) / 65535);
cArr7[i3] = dp.AFInAppEventType;
cArr9[dp.AFInAppEventParameterName] = (char) ((((cArr7[i3] ^ cArr6[dp.AFInAppEventParameterName]) ^ init) ^ AFLogger$LogLevel) ^ onAppOpenAttributionNative);
dp.AFInAppEventParameterName++;
}
str4 = new String(cArr9);
}
return str4;
}
}