导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - AFf1fSDK.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 AFf1fSDK.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.appsflyer.internal;

import android.view.ViewConfiguration;
import com.appsflyer.AFLogger;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0005\u0018\u00002\u00020\u0001B+\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\b\b\u0002\u0010\t\u001a\u00020\b¢\u0006\u0004\b\n\u0010\u000bJ\u0017\u0010\u000e\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\fH\u0002¢\u0006\u0004\b\u000e\u0010\u000fJ\u000f\u0010\u0011\u001a\u00020\u0010H\u0014¢\u0006\u0004\b\u0011\u0010\u0012J\u001f\u0010\u0016\u001a\u0012\u0012\u0004\u0012\u00020\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u0015\u0018\u00010\u0013H\u0002¢\u0006\u0004\b\u0016\u0010\u0017J\u0017\u0010\u0018\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\fH\u0014¢\u0006\u0004\b\u0018\u0010\u000fJ\u000f\u0010\u001a\u001a\u00020\u0019H\u0014¢\u0006\u0004\b\u001a\u0010\u001bJ\u0017\u0010\u0011\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\u001cH\u0014¢\u0006\u0004\b\u0011\u0010\u001dR\u0014\u0010 \u001a\u00020\u00048\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u001e\u0010\u001fR\u0014\u0010\u0018\u001a\u00020\u00028\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u0016\u0010!"}, d2 = {"Lcom/appsflyer/internal/AFf1fSDK;", "Lcom/appsflyer/internal/AFg1ySDK;", "Lcom/appsflyer/internal/AFi1eSDK;", "p0", "Lcom/appsflyer/internal/AFd1nSDK;", "p1", "Lcom/appsflyer/internal/AFd1gSDK;", "p2", "Lcom/appsflyer/internal/AFi1zSDK;", "p3", "<init>", "(Lcom/appsflyer/internal/AFi1eSDK;Lcom/appsflyer/internal/AFd1nSDK;Lcom/appsflyer/internal/AFd1gSDK;Lcom/appsflyer/internal/AFi1zSDK;)V", "Lcom/appsflyer/internal/AFa1rSDK;", "", "component3", "(Lcom/appsflyer/internal/AFa1rSDK;)V", "", "getMonetizationNetwork", "()J", "", "", "", "equals", "()Ljava/util/Map;", "getCurrencyIso4217Code", "", "getRevenue", "()Z", "", "(I)V", "hashCode", "Lcom/appsflyer/internal/AFd1nSDK;", "getMediationNetwork", "Lcom/appsflyer/internal/AFi1eSDK;"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class AFf1fSDK extends AFg1ySDK {
    private static int $10 = 0;
    private static int $11 = 1;
    private static int AFInAppEventParameterName = 0;
    private static int[] valueOf = {-1612931547, 557009486, -667767602, -1237227999, -528596502, -1637579302, -685255551, 901836962, -463709388, 1016487313, 540296107, -1449668307, 1930739446, 2139422805, 956812049, -1419297548, -652047627, 1016062572};
    private static int values = 1;

    private final AFi1eSDK getCurrencyIso4217Code;

    private final AFd1nSDK getMediationNetwork;

    public AFf1fSDK(AFi1eSDK aFi1eSDK, AFd1nSDK aFd1nSDK, AFd1gSDK aFd1gSDK, AFi1zSDK aFi1zSDK, int i4, DefaultConstructorMarker defaultConstructorMarker) {
        this(aFi1eSDK, aFd1nSDK, aFd1gSDK, (i4 & 8) != 0 ? new AFi1zSDK() : aFi1zSDK);
    }

    public static Object AFAdRevenueData(Object[] objArr, int i4, int i5, int i6) {
        int i7 = values + 81;
        AFInAppEventParameterName = i7 % 128;
        return Boolean.valueOf(i7 % 2 != 0);
    }

    private static void a(int[] iArr, int i4, Object[] objArr) {
        AFk1eSDK aFk1eSDK = new AFk1eSDK();
        char[] cArr = new char[4];
        char[] cArr2 = new char[iArr.length * 2];
        int[] iArr2 = valueOf;
        if (iArr2 != null) {
            int length = iArr2.length;
            int[] iArr3 = new int[length];
            for (int i5 = 0; i5 < length; i5++) {
                int i6 = $11 + 115;
                $10 = i6 % 128;
                if (i6 % 2 != 0) {
                    iArr3[i5] = (int) (iArr2[i5] * (-785606903507095591L));
                } else {
                    iArr3[i5] = (int) (iArr2[i5] ^ (-785606903507095591L));
                }
            }
            iArr2 = iArr3;
        }
        int length2 = iArr2.length;
        int[] iArr4 = new int[length2];
        int[] iArr5 = valueOf;
        if (iArr5 != null) {
            int length3 = iArr5.length;
            int[] iArr6 = new int[length3];
            $10 = ($11 + 57) % 128;
            int i7 = 0;
            while (i7 < length3) {
                int i8 = $11 + 125;
                $10 = i8 % 128;
                if (i8 % 2 != 0) {
                    iArr6[i7] = (int) (iArr5[i7] * (-785606903507095591L));
                    i7 /= 0;
                } else {
                    iArr6[i7] = (int) (iArr5[i7] ^ (-785606903507095591L));
                    i7++;
                }
            }
            iArr5 = iArr6;
        }
        System.arraycopy(iArr5, 0, iArr4, 0, length2);
        aFk1eSDK.getMediationNetwork = 0;
        while (true) {
            int i9 = aFk1eSDK.getMediationNetwork;
            if (i9 >= iArr.length) {
                break;
            }
            int i10 = iArr[i9];
            char c4 = (char) (i10 >> 16);
            cArr[0] = c4;
            char c5 = (char) i10;
            cArr[1] = c5;
            char c6 = (char) (iArr[i9 + 1] >> 16);
            cArr[2] = c6;
            char c7 = (char) iArr[i9 + 1];
            cArr[3] = c7;
            aFk1eSDK.AFAdRevenueData = (c4 << 16) + c5;
            aFk1eSDK.getRevenue = (c6 << 16) + c7;
            AFk1eSDK.getMonetizationNetwork(iArr4);
            for (int i11 = 0; i11 < 16; i11++) {
                int i12 = aFk1eSDK.AFAdRevenueData ^ iArr4[i11];
                aFk1eSDK.AFAdRevenueData = i12;
                int currencyIso4217Code = AFk1eSDK.getCurrencyIso4217Code(i12) ^ aFk1eSDK.getRevenue;
                int i13 = aFk1eSDK.AFAdRevenueData;
                aFk1eSDK.AFAdRevenueData = currencyIso4217Code;
                aFk1eSDK.getRevenue = i13;
            }
            int i14 = aFk1eSDK.AFAdRevenueData;
            int i15 = aFk1eSDK.getRevenue;
            aFk1eSDK.AFAdRevenueData = i15;
            aFk1eSDK.getRevenue = i14;
            int i16 = i14 ^ iArr4[16];
            aFk1eSDK.getRevenue = i16;
            int i17 = i15 ^ iArr4[17];
            aFk1eSDK.AFAdRevenueData = i17;
            cArr[0] = (char) (i17 >>> 16);
            cArr[1] = (char) i17;
            cArr[2] = (char) (i16 >>> 16);
            cArr[3] = (char) i16;
            AFk1eSDK.getMonetizationNetwork(iArr4);
            int i18 = aFk1eSDK.getMediationNetwork;
            cArr2[i18 * 2] = cArr[0];
            cArr2[(i18 * 2) + 1] = cArr[1];
            cArr2[(i18 * 2) + 2] = cArr[2];
            cArr2[(i18 * 2) + 3] = cArr[3];
            aFk1eSDK.getMediationNetwork = i18 + 2;
        }
        String str = new String(cArr2, 0, i4);
        int i19 = $10 + 63;
        $11 = i19 % 128;
        if (i19 % 2 != 0) {
            objArr[0] = str;
        } else {
            int i20 = 28 / 0;
            objArr[0] = str;
        }
    }

    private final void component3(AFa1rSDK p02) {
        int i4 = AFInAppEventParameterName + 87;
        values = i4 % 128;
        try {
            if (i4 % 2 == 0) {
                equals();
                throw null;
            }
            Map<String, ?> equals = equals();
            if (equals != null) {
                p02.getMonetizationNetwork(equals);
                values = (AFInAppEventParameterName + 99) % 128;
            }
            if (this.getCurrencyIso4217Code.getMonetizationNetwork()) {
                return;
            }
            AFInAppEventParameterName = (values + 17) % 128;
            Map component4 = AFg1xSDK.component4(p02);
            Intrinsics.checkNotNullExpressionValue(component4, "");
            component4.put("pia_disabled", Boolean.TRUE);
        } catch (Throwable th) {
            AFh1rSDK.e$default(AFLogger.INSTANCE, AFh1sSDK.PLAY_INTEGRITY_API, "Error while adding PIA data to payload", th, true, false, false, false, 96, null);
        }
    }

    private final Map<String, Object> equals() {
        AFi1cSDK revenue = this.getCurrencyIso4217Code.getRevenue();
        if (revenue == null) {
            return null;
        }
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        LinkedHashMap linkedHashMap2 = new LinkedHashMap();
        linkedHashMap2.put("pia_timestamp", Long.valueOf(revenue.getCurrencyIso4217Code));
        linkedHashMap2.put("ttr_millis", Long.valueOf(revenue.getMediationNetwork));
        String str = revenue.getRevenue;
        if (str != null) {
            linkedHashMap2.put("pia_token", str);
        }
        String str2 = revenue.AFAdRevenueData;
        if (str2 != null) {
            linkedHashMap2.put("error_code", str2);
            AFInAppEventParameterName = (values + 111) % 128;
        }
        linkedHashMap.put("pia", linkedHashMap2);
        AFInAppEventParameterName = (values + 47) % 128;
        return linkedHashMap;
    }

    @Override
    protected final void getCurrencyIso4217Code(AFa1rSDK p02) {
        Intrinsics.checkNotNullParameter(p02, "");
        Map<String, Object> currencyIso4217Code = p02.getCurrencyIso4217Code();
        Intrinsics.checkNotNullExpressionValue(currencyIso4217Code, "");
        Object[] objArr = new Object[1];
        a(new int[]{503371830, 416908944, 585451261, -85639521, -892297407, -676472526}, 12 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr);
        currencyIso4217Code.put(((String) objArr[0]).intern(), String.valueOf(new Date().getTime()));
        super.getCurrencyIso4217Code(p02);
        component3(p02);
        AFj1bSDK aFj1bSDK = new AFj1bSDK(this.getMediationNetwork, null, 2, null);
        p02.getRevenue(aFj1bSDK.getCurrencyIso4217Code(AFj1bSDK.getRevenue(aFj1bSDK.getMediationNetwork(aFj1bSDK.AFAdRevenueData.getMonetizationNetwork("https://%spia.%s/api/v1.0/pia-android-event?app_id=")), false)));
        AFg1gSDK aFg1gSDK = ((AFg1xSDK) this).toString;
        Map<String, Object> currencyIso4217Code2 = p02.getCurrencyIso4217Code();
        Intrinsics.checkNotNullExpressionValue(currencyIso4217Code2, "");
        aFg1gSDK.getMediationNetwork(currencyIso4217Code2, this.getMediationNetwork.getCurrencyIso4217Code.AFAdRevenueData("appsFlyerCount", 0), this.getMediationNetwork.getCurrencyIso4217Code.AFAdRevenueData("appsFlyerInAppEventCount", 0));
        int i4 = AFInAppEventParameterName + 121;
        values = i4 % 128;
        if (i4 % 2 == 0) {
            throw null;
        }
    }

    public final long getMonetizationNetwork() {
        int i4 = values + 73;
        AFInAppEventParameterName = i4 % 128;
        int i5 = i4 % 2;
        return TimeUnit.MINUTES.toMillis(1L);
    }

    public final boolean getRevenue() {
        return ((Boolean) AFAdRevenueData(new Object[]{this}, 1580297864, -1580297864, System.identityHashCode(this))).booleanValue();
    }

    @Override
    protected final void getMonetizationNetwork(int p02) {
        int i4 = values + 81;
        AFInAppEventParameterName = i4 % 128;
        if (i4 % 2 != 0) {
            throw null;
        }
    }

    private AFf1fSDK(AFi1eSDK aFi1eSDK, AFd1nSDK aFd1nSDK, AFd1gSDK aFd1gSDK, AFi1zSDK aFi1zSDK) {
        super(aFi1zSDK, aFd1gSDK);
        Intrinsics.checkNotNullParameter(aFi1eSDK, "");
        Intrinsics.checkNotNullParameter(aFd1nSDK, "");
        Intrinsics.checkNotNullParameter(aFd1gSDK, "");
        Intrinsics.checkNotNullParameter(aFi1zSDK, "");
        this.getCurrencyIso4217Code = aFi1eSDK;
        this.getMediationNetwork = aFd1nSDK;
        this.getMonetizationNetwork.add(AFf1rSDK.CONVERSION);
    }

    public AFf1fSDK(AFi1eSDK aFi1eSDK, AFd1nSDK aFd1nSDK, AFd1gSDK aFd1gSDK) {
        this(aFi1eSDK, aFd1nSDK, aFd1gSDK, null, 8, null);
        Intrinsics.checkNotNullParameter(aFi1eSDK, "");
        Intrinsics.checkNotNullParameter(aFd1nSDK, "");
        Intrinsics.checkNotNullParameter(aFd1gSDK, "");
    }
}