Fortune Cow 6 v1.0.1版本的 MD5 值为:cc5dbc2a635a6fa7c66a7991d91041f6
以下内容为反编译后的 AFd1zSDK.java 源代码,内容仅作参考
package com.appsflyer.internal;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import java.lang.reflect.Method;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.StringCompanionObject;
import kotlin.text.Regex;
import kotlin.text.Typography;
import org.json.JSONObject;
public final class AFd1zSDK {
private static int $10 = 0;
private static int $11 = 1;
public static String AFInAppEventType = null;
private static String AFKeystoreWrapper = null;
private static int AFLogger$LogLevel = 1;
private static int afDebugLog;
private static char[] afErrorLog;
private static char afInfoLog;
private static String values;
private final AFc1tSDK AFInAppEventParameterName;
private final AppsFlyerProperties AFLogger;
private final AFd1rSDK afRDLog;
private final AFd1ySDK valueOf;
static void AFInAppEventType() {
afErrorLog = new char[]{32920, 32977, 32979, 33012, 32980, 32919, 32961, 32998, 32967, 32978, 32988, 32976, 32918, 32960, 32983, 32987};
afInfoLog = (char) 46379;
}
static {
AFInAppEventType();
AFKeystoreWrapper = "https://%smonitorsdk.%s/remote-debug?app_id=";
AFInAppEventType = "https://%sgcdsdk.%s/install_data/v5.0/";
values = "https://%sonelink.%s/shortlink-sdk/v2";
int i = afDebugLog + 87;
AFLogger$LogLevel = i % 128;
int i2 = i % 2;
}
public AFd1zSDK(AFd1ySDK aFd1ySDK, AFc1tSDK aFc1tSDK, AppsFlyerProperties appsFlyerProperties, AFd1rSDK aFd1rSDK) {
this.valueOf = aFd1ySDK;
this.AFInAppEventParameterName = aFc1tSDK;
this.AFLogger = appsFlyerProperties;
this.afRDLog = aFd1rSDK;
}
public final AFc1cSDK<String> valueOf(Map<String, Object> map, String str, String str2) {
boolean z;
String valueOf;
Object[] objArr = null;
try {
boolean z2 = true;
Object[] objArr2 = {map, str};
Object obj = AFa1ySDK.init.get(-1752405675);
if (obj == null) {
obj = ((Class) AFa1ySDK.AFKeystoreWrapper((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 36, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)), TextUtils.lastIndexOf("", '0') + 75)).getMethod("valueOf", Map.class, String.class);
AFa1ySDK.init.put(-1752405675, obj);
}
byte[] bArr = (byte[]) ((Method) obj).invoke(null, objArr2);
int i = afDebugLog + 39;
AFLogger$LogLevel = i % 128;
int i2 = i % 2;
AFg1kSDK aFg1kSDK = new AFg1kSDK(this.AFInAppEventParameterName);
String str3 = str2;
if (str3 != null) {
int i3 = afDebugLog + 101;
AFLogger$LogLevel = i3 % 128;
if (i3 % 2 == 0) {
int length = str3.length();
int length2 = objArr.length;
}
if (!z && !new Regex("4.?(\\d+)?.?(\\d+)").matches(str3)) {
if ((!new Regex("3.?(\\d+)?.?(\\d+)").matches(str3) ? (char) 25 : '.') == '.') {
z2 = false;
}
}
if (!z2) {
valueOf = aFg1kSDK.valueOf.valueOf("https://%sars.%s/api/v2/android/validate_subscription?app_id=");
} else {
valueOf = aFg1kSDK.valueOf.valueOf("https://%sars.%s/api/v2/android/validate_subscription_v2?app_id=");
}
StringBuilder sb = new StringBuilder();
sb.append(valueOf);
sb.append(aFg1kSDK.AFInAppEventType.values.AFInAppEventType.getPackageName());
return valueOf(new AFd1wSDK(aFg1kSDK.values(sb.toString()), bArr, "POST", Collections.emptyMap(), true), new AFd1xSDK());
}
z = true;
if (!z) {
if ((!new Regex("3.?(\\d+)?.?(\\d+)").matches(str3) ? (char) 25 : '.') == '.') {
}
}
if (!z2) {
}
StringBuilder sb2 = new StringBuilder();
sb2.append(valueOf);
sb2.append(aFg1kSDK.AFInAppEventType.values.AFInAppEventType.getPackageName());
return valueOf(new AFd1wSDK(aFg1kSDK.values(sb2.toString()), bArr, "POST", Collections.emptyMap(), true), new AFd1xSDK());
} catch (Throwable th) {
try {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
} catch (Exception e) {
AFLogger.afErrorLogForExcManagerOnly("AFFinalizer: reflection init failed", e);
return null;
}
}
}
public final AFc1cSDK<String> AFInAppEventParameterName(Map<String, Object> map, String str, String str2) {
byte[] bArr;
boolean z;
String valueOf;
int i = afDebugLog + 109;
AFLogger$LogLevel = i % 128;
Object obj = null;
boolean z2 = false;
try {
if ((i % 2 == 0 ? '9' : '7') != '9') {
Object[] objArr = {map, str};
Object obj2 = AFa1ySDK.init.get(-1752405675);
if (obj2 == null) {
obj2 = ((Class) AFa1ySDK.AFKeystoreWrapper(36 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ImageFormat.getBitsPerPixel(0) + 1), ((byte) KeyEvent.getModifierMetaStateMask()) + 75)).getMethod("valueOf", Map.class, String.class);
AFa1ySDK.init.put(-1752405675, obj2);
}
bArr = (byte[]) ((Method) obj2).invoke(null, objArr);
} else {
Object[] objArr2 = {map, str};
Object obj3 = AFa1ySDK.init.get(-1752405675);
if (obj3 == null) {
obj3 = ((Class) AFa1ySDK.AFKeystoreWrapper(36 - (Process.myPid() >> 22), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1), 74 - (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("valueOf", Map.class, String.class);
AFa1ySDK.init.put(-1752405675, obj3);
}
bArr = (byte[]) ((Method) obj3).invoke(null, objArr2);
obj.hashCode();
}
byte[] bArr2 = bArr;
AFg1kSDK aFg1kSDK = new AFg1kSDK(this.AFInAppEventParameterName);
String str3 = str2;
if (!(str3 == null)) {
int i2 = AFLogger$LogLevel + 55;
afDebugLog = i2 % 128;
int i3 = i2 % 2;
if (str3.length() != 0) {
z = false;
if (!z && !new Regex("4.?(\\d+)?.?(\\d+)").matches(str3)) {
}
z2 = true;
if (!z2) {
valueOf = aFg1kSDK.valueOf.valueOf("https://%sviap.%s/api/v1/android/validate_purchase?app_id=");
} else {
valueOf = aFg1kSDK.valueOf.valueOf("https://%sviap.%s/api/v1/android/validate_purchase_v2?app_id=");
}
StringBuilder sb = new StringBuilder();
sb.append(valueOf);
sb.append(aFg1kSDK.AFInAppEventType.values.AFInAppEventType.getPackageName());
return valueOf(new AFd1wSDK(aFg1kSDK.values(sb.toString()), bArr2, "POST", Collections.emptyMap(), true), new AFd1xSDK());
}
}
z = true;
if (!z) {
}
z2 = true;
if (!z2) {
}
StringBuilder sb2 = new StringBuilder();
sb2.append(valueOf);
sb2.append(aFg1kSDK.AFInAppEventType.values.AFInAppEventType.getPackageName());
return valueOf(new AFd1wSDK(aFg1kSDK.values(sb2.toString()), bArr2, "POST", Collections.emptyMap(), true), new AFd1xSDK());
}
}
public final AFc1cSDK<String> AFKeystoreWrapper(Map<String, Object> map) {
StringBuilder sb = new StringBuilder();
sb.append(String.format(AFKeystoreWrapper, AppsFlyerLib.getInstance().getHostPrefix(), AFa1cSDK.AFInAppEventType().getHostName()));
sb.append(this.AFInAppEventParameterName.values.AFInAppEventType.getPackageName());
AFc1cSDK<String> valueOf = valueOf(new AFd1wSDK(sb.toString(), new JSONObject(map).toString().getBytes(Charset.defaultCharset()), "POST", Collections.emptyMap(), false, false), new AFd1xSDK());
int i = afDebugLog + 111;
AFLogger$LogLevel = i % 128;
if (i % 2 != 0) {
return valueOf;
}
int i2 = 8 / 0;
return valueOf;
}
public final AFc1cSDK<AFf1eSDK> AFInAppEventType(boolean z, boolean z2, String str, int i) {
String str2;
String str3;
AFd1rSDK aFd1rSDK = this.afRDLog;
Intrinsics.checkNotNullParameter(str, "");
if ((z ? '%' : '6') != '6') {
int i2 = afDebugLog + 119;
AFLogger$LogLevel = i2 % 128;
int i3 = i2 % 2;
str2 = AFd1rSDK.AFInAppEventParameterName;
} else {
str2 = AFd1rSDK.AFInAppEventType;
}
Object obj = null;
String str4 = "stg";
if (!(z2)) {
str4 = "";
} else {
int i4 = afDebugLog + 47;
AFLogger$LogLevel = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
}
}
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
Object[] objArr = new Object[4];
if (AFd1rSDK.AFKeystoreWrapper()) {
int i5 = AFLogger$LogLevel + 11;
afDebugLog = i5 % 128;
if (!(i5 % 2 != 0)) {
str3 = (String) aFd1rSDK.values.getValue();
} else {
String str5 = (String) aFd1rSDK.values.getValue();
obj.hashCode();
str3 = str5;
}
} else {
str3 = "";
}
objArr[0] = str3;
objArr[1] = str4;
objArr[2] = aFd1rSDK.valueOf();
objArr[3] = str;
String format = String.format(str2, Arrays.copyOf(objArr, 4));
Intrinsics.checkNotNullExpressionValue(format, "");
AFd1wSDK aFd1wSDK = new AFd1wSDK(format, "GET");
aFd1wSDK.AFLogger = 1500;
return valueOf(aFd1wSDK, new AFd1vSDK());
}
public final AFc1cSDK<String> AFKeystoreWrapper(AFa1uSDK aFa1uSDK, String str, AFc1rSDK aFc1rSDK) {
byte[] bArr;
int i = AFLogger$LogLevel + 19;
afDebugLog = i % 128;
Object[] objArr = null;
try {
if ((i % 2 != 0 ? 'M' : Typography.quote) != 'M') {
Object[] objArr2 = {aFa1uSDK, str, aFc1rSDK};
Object obj = AFa1ySDK.init.get(844995992);
if (obj == null) {
obj = ((Class) AFa1ySDK.AFKeystoreWrapper(37 - (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 74 - TextUtils.indexOf("", "", 0, 0))).getMethod("AFInAppEventParameterName", AFa1uSDK.class, String.class, AFc1rSDK.class);
AFa1ySDK.init.put(844995992, obj);
}
bArr = (byte[]) ((Method) obj).invoke(null, objArr2);
} else {
try {
Object[] objArr3 = {aFa1uSDK, str, aFc1rSDK};
Object obj2 = AFa1ySDK.init.get(844995992);
if (obj2 == null) {
obj2 = ((Class) AFa1ySDK.AFKeystoreWrapper(ExpandableListView.getPackedPositionChild(0L) + 37, (char) (1 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))), 74 - Color.red(0))).getMethod("AFInAppEventParameterName", AFa1uSDK.class, String.class, AFc1rSDK.class);
AFa1ySDK.init.put(844995992, obj2);
}
bArr = (byte[]) ((Method) obj2).invoke(null, objArr3);
int length = objArr.length;
} catch (Throwable th) {
try {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
} catch (Throwable th2) {
AFLogger.afErrorLogForExcManagerOnly("AFFinalizer: reflection init failed", th2);
return null;
}
}
}
byte[] bArr2 = bArr;
int i2 = afDebugLog + 69;
AFLogger$LogLevel = i2 % 128;
int i3 = i2 % 2;
return valueOf(new AFd1wSDK(aFa1uSDK.afErrorLog, bArr2, "POST", Collections.emptyMap(), aFa1uSDK.values()), new AFd1xSDK());
}
}
public final AFc1cSDK<Map<String, Object>> valueOf(String str, String str2) {
String packageName = this.AFInAppEventParameterName.values.AFInAppEventType.getPackageName();
AFc1tSDK aFc1tSDK = this.AFInAppEventParameterName;
AFc1cSDK<Map<String, Object>> valueOf = valueOf(AFc1aSDK.AFKeystoreWrapper(packageName, AFb1uSDK.values(aFc1tSDK.values, aFc1tSDK.AFKeystoreWrapper), str, str2), new AFc1bSDK());
int i = AFLogger$LogLevel + 101;
afDebugLog = i % 128;
if (i % 2 == 0) {
return valueOf;
}
int i2 = 39 / 0;
return valueOf;
}
public final AFc1cSDK<String> values(AFf1nSDK aFf1nSDK) {
AFc1cSDK<String> valueOf = valueOf(new AFd1wSDK(aFf1nSDK.afErrorLog, aFf1nSDK.AFInAppEventParameterName(), "POST", Collections.emptyMap(), true), new AFd1xSDK());
int i = afDebugLog + 73;
AFLogger$LogLevel = i % 128;
if ((i % 2 == 0 ? Typography.dollar : (char) 15) != 15) {
int i2 = 97 / 0;
return valueOf;
}
return valueOf;
}
public final AFc1cSDK<String> values(String str, Map<String, String> map, String str2, UUID uuid, String str3) {
String obj = uuid.toString();
HashMap hashMap = new HashMap();
hashMap.put("ttl", "-1");
hashMap.put("uuid", obj);
hashMap.put("data", map);
hashMap.put("meta", valueOf());
Object[] objArr = null;
if ((str2 != null ? (char) 2 : 'b') == 2) {
int i = AFLogger$LogLevel + 29;
afDebugLog = i % 128;
if (i % 2 != 0) {
hashMap.put("brand_domain", str2);
int length = objArr.length;
} else {
hashMap.put("brand_domain", str2);
}
}
String jSONObject = AFa1tSDK.AFInAppEventType(hashMap).toString();
HashMap hashMap2 = new HashMap();
Object[] objArr2 = new Object[1];
a(Color.blue(0) + 12, (byte) ('^' - AndroidCharacter.getMirror('0')), "\u0000\u0003\u0003\u0004\u000b\n\f\u0007\u0005\u000e\t\b", objArr2);
hashMap2.put(((String) objArr2[0]).intern(), valueOf(str3, obj, "POST", jSONObject));
StringBuilder sb = new StringBuilder();
sb.append(String.format(values, AppsFlyerLib.getInstance().getHostPrefix(), AFa1cSDK.AFInAppEventType().getHostName()));
sb.append("/");
sb.append(str);
AFc1cSDK<String> AFInAppEventParameterName = AFInAppEventParameterName(new AFd1wSDK(sb.toString(), jSONObject.getBytes(Charset.defaultCharset()), "POST", hashMap2, false), (AFd1sSDK) new AFd1xSDK(), true);
int i2 = AFLogger$LogLevel + 91;
afDebugLog = i2 % 128;
if ((i2 % 2 != 0 ? '*' : 'X') != '*') {
return AFInAppEventParameterName;
}
int length2 = objArr.length;
return AFInAppEventParameterName;
}
public final AFc1cSDK<Map<String, String>> AFInAppEventParameterName(String str, String str2, UUID uuid, String str3) {
String obj = uuid.toString();
StringBuilder sb = new StringBuilder();
sb.append(String.format(values, AppsFlyerLib.getInstance().getHostPrefix(), AFa1cSDK.AFInAppEventType().getHostName()));
sb.append("/");
sb.append(str);
sb.append("?id=");
sb.append(str2);
String obj2 = sb.toString();
Map<String, Object> valueOf = valueOf();
String valueOf2 = String.valueOf(valueOf.get("build_number"));
HashMap hashMap = new HashMap();
hashMap.put("Af-UUID", uuid.toString());
hashMap.put("Af-Meta-Sdk-Ver", valueOf2);
hashMap.put("Af-Meta-Counter", String.valueOf(valueOf.get("counter")));
hashMap.put("Af-Meta-Model", String.valueOf(valueOf.get("model")));
hashMap.put("Af-Meta-Platform", String.valueOf(valueOf.get("platformextension")));
hashMap.put("Af-Meta-System-Version", String.valueOf(valueOf.get("sdk")));
Object[] objArr = new Object[1];
a(View.combineMeasuredStates(0, 0) + 12, (byte) (KeyEvent.normalizeMetaState(0) + 46), "\u0000\u0003\u0003\u0004\u000b\n\f\u0007\u0005\u000e\t\b", objArr);
hashMap.put(((String) objArr[0]).intern(), valueOf(str3, obj, "GET", obj, str, str2, valueOf2));
AFc1cSDK<Map<String, String>> valueOf3 = valueOf(new AFd1wSDK(obj2, null, "GET", hashMap, false), new AFd1qSDK());
int i = AFLogger$LogLevel + 59;
afDebugLog = i % 128;
int i2 = i % 2;
return valueOf3;
}
public final AFc1cSDK<String> valueOf(String str) {
AFd1wSDK aFd1wSDK = new AFd1wSDK(str, null, "GET", Collections.emptyMap(), false);
aFd1wSDK.AFLogger = 10000;
aFd1wSDK.AFKeystoreWrapper = false;
AFc1cSDK<String> valueOf = valueOf(aFd1wSDK, new AFd1xSDK());
int i = AFLogger$LogLevel + 83;
afDebugLog = i % 128;
if ((i % 2 != 0 ? '\b' : ']') != '\b') {
return valueOf;
}
Object obj = null;
obj.hashCode();
return valueOf;
}
private <T> AFc1cSDK<T> valueOf(AFd1wSDK aFd1wSDK, AFd1sSDK<T> aFd1sSDK) {
AFc1cSDK<T> AFInAppEventParameterName;
int i = AFLogger$LogLevel + 69;
afDebugLog = i % 128;
Object obj = null;
if (i % 2 != 0) {
AFInAppEventParameterName = AFInAppEventParameterName(aFd1wSDK, aFd1sSDK, AFInAppEventParameterName());
obj.hashCode();
} else {
AFInAppEventParameterName = AFInAppEventParameterName(aFd1wSDK, aFd1sSDK, AFInAppEventParameterName());
}
int i2 = AFLogger$LogLevel + 85;
afDebugLog = i2 % 128;
if (!(i2 % 2 == 0)) {
obj.hashCode();
return AFInAppEventParameterName;
}
return AFInAppEventParameterName;
}
private Map<String, Object> valueOf() {
HashMap hashMap = new HashMap();
hashMap.put("build_number", "6.12.4");
hashMap.put("counter", Integer.valueOf(this.AFInAppEventParameterName.AFKeystoreWrapper.AFInAppEventParameterName("appsFlyerCount", 0)));
hashMap.put("model", Build.MODEL);
Object[] objArr = new Object[1];
a((ViewConfiguration.getTouchSlop() >> 8) + 5, (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 15), "\f\n\u0007\f㘍", objArr);
hashMap.put(((String) objArr[0]).intern(), Build.BRAND);
hashMap.put("sdk", Integer.toString(Build.VERSION.SDK_INT));
AFc1tSDK aFc1tSDK = this.AFInAppEventParameterName;
hashMap.put("app_version_name", AFa1eSDK.AFKeystoreWrapper(aFc1tSDK.values.AFInAppEventType, aFc1tSDK.values.AFInAppEventType.getPackageName()));
hashMap.put("app_id", this.AFInAppEventParameterName.values.AFInAppEventType.getPackageName());
hashMap.put("platformextension", new AFb1vSDK().AFKeystoreWrapper());
int i = afDebugLog + 39;
AFLogger$LogLevel = i % 128;
if (!(i % 2 == 0)) {
return hashMap;
}
Object obj = null;
obj.hashCode();
return hashMap;
}
private static String valueOf(String str, String str2, String... strArr) {
ArrayList arrayList = new ArrayList(Arrays.asList(strArr));
arrayList.add(1, "v2");
String join = TextUtils.join("\u2063", (String[]) arrayList.toArray(new String[0]));
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(str2);
sb.append("v2");
String valueOf = AFb1wSDK.valueOf(join, sb.toString());
int i = afDebugLog + 5;
AFLogger$LogLevel = i % 128;
int i2 = i % 2;
return valueOf;
}
private boolean AFInAppEventParameterName() {
int i = AFLogger$LogLevel + 103;
afDebugLog = i % 128;
int i2 = i % 2;
if (!this.AFLogger.getBoolean(AppsFlyerProperties.HTTP_CACHE, true)) {
int i3 = AFLogger$LogLevel + 39;
afDebugLog = i3 % 128;
int i4 = i3 % 2;
return true;
}
return false;
}
private <T> AFc1cSDK<T> AFInAppEventParameterName(AFd1wSDK aFd1wSDK, AFd1sSDK<T> aFd1sSDK, boolean z) {
aFd1wSDK.AFInAppEventParameterName = z;
AFd1ySDK aFd1ySDK = this.valueOf;
AFc1cSDK<T> aFc1cSDK = new AFc1cSDK<>(aFd1wSDK, aFd1ySDK.AFInAppEventParameterName, aFd1ySDK.values, aFd1sSDK);
int i = AFLogger$LogLevel + 21;
afDebugLog = i % 128;
int i2 = i % 2;
return aFc1cSDK;
}
private static void a(int i, byte b, String str, Object[] objArr) {
int i2;
int length;
char[] cArr;
if (str != 0) {
str = str.toCharArray();
}
char[] cArr2 = (char[]) str;
AFh1tSDK aFh1tSDK = new AFh1tSDK();
char[] cArr3 = afErrorLog;
if (cArr3 != null) {
int i3 = $11 + 103;
$10 = i3 % 128;
if (i3 % 2 != 0) {
length = cArr3.length;
cArr = new char[length];
} else {
length = cArr3.length;
cArr = new char[length];
}
int i4 = 0;
while (true) {
if (i4 >= length) {
break;
}
cArr[i4] = (char) (cArr3[i4] ^ 5106174104007652655L);
i4++;
}
int i5 = $10 + 105;
$11 = i5 % 128;
int i6 = i5 % 2;
cArr3 = cArr;
}
char c = (char) (5106174104007652655L ^ afInfoLog);
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $10 + 105;
$11 = i7 % 128;
if ((i7 % 2 == 0 ? ';' : 'T') != ';') {
i2 = i - 1;
cArr4[i2] = (char) (cArr2[i2] - b);
} else {
i2 = i + 119;
cArr4[i2] = (char) (cArr2[i2] >>> b);
}
} else {
i2 = i;
}
if (i2 > 1) {
aFh1tSDK.AFInAppEventParameterName = 0;
int i8 = $10 + 45;
$11 = i8 % 128;
int i9 = i8 % 2;
while (aFh1tSDK.AFInAppEventParameterName < i2) {
aFh1tSDK.AFKeystoreWrapper = cArr2[aFh1tSDK.AFInAppEventParameterName];
aFh1tSDK.AFInAppEventType = cArr2[aFh1tSDK.AFInAppEventParameterName + 1];
if (aFh1tSDK.AFKeystoreWrapper == aFh1tSDK.AFInAppEventType) {
int i10 = $10 + 119;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr4[aFh1tSDK.AFInAppEventParameterName] = (char) (aFh1tSDK.AFKeystoreWrapper % b);
cArr4[aFh1tSDK.AFInAppEventParameterName - 0] = (char) (aFh1tSDK.AFInAppEventType % b);
} else {
cArr4[aFh1tSDK.AFInAppEventParameterName] = (char) (aFh1tSDK.AFKeystoreWrapper - b);
cArr4[aFh1tSDK.AFInAppEventParameterName + 1] = (char) (aFh1tSDK.AFInAppEventType - b);
}
} else {
aFh1tSDK.values = aFh1tSDK.AFKeystoreWrapper / c;
aFh1tSDK.afRDLog = aFh1tSDK.AFKeystoreWrapper % c;
aFh1tSDK.valueOf = aFh1tSDK.AFInAppEventType / c;
aFh1tSDK.afErrorLog = aFh1tSDK.AFInAppEventType % c;
if (aFh1tSDK.afRDLog == aFh1tSDK.afErrorLog) {
int i11 = $11 + 29;
$10 = i11 % 128;
int i12 = i11 % 2;
aFh1tSDK.values = ((aFh1tSDK.values + c) - 1) % c;
aFh1tSDK.valueOf = ((aFh1tSDK.valueOf + c) - 1) % c;
int i13 = (aFh1tSDK.values * c) + aFh1tSDK.afRDLog;
int i14 = (aFh1tSDK.valueOf * c) + aFh1tSDK.afErrorLog;
cArr4[aFh1tSDK.AFInAppEventParameterName] = cArr3[i13];
cArr4[aFh1tSDK.AFInAppEventParameterName + 1] = cArr3[i14];
} else if (aFh1tSDK.values != aFh1tSDK.valueOf) {
int i15 = (aFh1tSDK.values * c) + aFh1tSDK.afErrorLog;
int i16 = (aFh1tSDK.valueOf * c) + aFh1tSDK.afRDLog;
cArr4[aFh1tSDK.AFInAppEventParameterName] = cArr3[i15];
cArr4[aFh1tSDK.AFInAppEventParameterName + 1] = cArr3[i16];
} else {
aFh1tSDK.afRDLog = ((aFh1tSDK.afRDLog + c) - 1) % c;
aFh1tSDK.afErrorLog = ((aFh1tSDK.afErrorLog + c) - 1) % c;
int i17 = (aFh1tSDK.values * c) + aFh1tSDK.afRDLog;
int i18 = (aFh1tSDK.valueOf * c) + aFh1tSDK.afErrorLog;
cArr4[aFh1tSDK.AFInAppEventParameterName] = cArr3[i17];
cArr4[aFh1tSDK.AFInAppEventParameterName + 1] = cArr3[i18];
}
}
aFh1tSDK.AFInAppEventParameterName += 2;
}
}
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
}