APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:ETH Map Game
版本号:1.0.407
包名称:ethiopia.map.game.ethiopia.trivia.quiz

MD5 校验值:d967c90bd4fc5aa328060de26be5b56a

反编译源代码说明

b.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package com.applovin.impl.adview.activity.b;

import android.os.SystemClock;
import com.applovin.adview.AppLovinFullscreenActivity;
import com.applovin.impl.sdk.a.g;
import com.applovin.impl.sdk.k;
import com.applovin.impl.sdk.utils.r;
import com.applovin.sdk.AppLovinAdClickListener;
import com.applovin.sdk.AppLovinAdDisplayListener;
import com.applovin.sdk.AppLovinAdVideoPlaybackListener;
import com.safedk.android.internal.special.SpecialsBridge;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

public class b extends a {
    private final com.applovin.impl.adview.activity.a.b r;
    private com.applovin.impl.sdk.utils.d s;
    private long t;
    private AtomicBoolean u;

    public b(g gVar, AppLovinFullscreenActivity appLovinFullscreenActivity, k kVar, AppLovinAdClickListener appLovinAdClickListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener) {
        super(gVar, appLovinFullscreenActivity, kVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
        this.r = new com.applovin.impl.adview.activity.a.b(this.a, this.d, this.b);
        this.u = new AtomicBoolean();
    }

    private long t() {
        if (!(this.a instanceof com.applovin.impl.sdk.a.a)) {
            return 0L;
        }
        float k = ((com.applovin.impl.sdk.a.a) this.a).k();
        if (k <= 0.0f) {
            k = (float) this.a.t();
        }
        double b = r.b(k);
        double P = this.a.P();
        Double.isNaN(P);
        Double.isNaN(b);
        return (long) (b * (P / 100.0d));
    }

    @Override
    public void a() {
    }

    @Override
    public void b() {
    }

    @Override
    public void c() {
        this.r.a(this.g, this.f);
        a(false);
        SpecialsBridge.appLovinAdViewRenderAd(this.f, this.a);
        a("javascript:al_onPoststitialShow();", this.a.Q());
        if (q()) {
            long t = t();
            this.t = t;
            if (t > 0) {
                this.c.b("InterActivityV2", "Scheduling timer for ad fully watched in " + this.t + "ms...");
                this.s = com.applovin.impl.sdk.utils.d.a(this.t, this.b, new Runnable() {
                    @Override
                    public void run() {
                        b.this.c.b("InterActivityV2", "Marking ad as fully watched");
                        b.this.u.set(true);
                    }
                });
            }
        }
        if (this.g != null) {
            if (this.a.t() >= 0) {
                a(this.g, this.a.t(), new Runnable() {
                    @Override
                    public void run() {
                        b.this.i = SystemClock.elapsedRealtime();
                    }
                });
            } else {
                this.g.setVisibility(0);
            }
        }
        r();
        super.b(s());
    }

    @Override
    public void f() {
        k();
        com.applovin.impl.sdk.utils.d dVar = this.s;
        if (dVar != null) {
            dVar.a();
            this.s = null;
        }
        super.f();
    }

    @Override
    protected void k() {
        com.applovin.impl.sdk.utils.d dVar;
        boolean o = o();
        int i = 100;
        if (q()) {
            if (!o && (dVar = this.s) != null) {
                double b = this.t - dVar.b();
                double d = this.t;
                Double.isNaN(b);
                Double.isNaN(d);
                i = (int) Math.min(100.0d, (b / d) * 100.0d);
            }
            this.c.b("InterActivityV2", "Ad engaged at " + i + "%");
        }
        super.a(i, false, o, -2L);
    }

    @Override
    protected boolean o() {
        if (q()) {
            return this.u.get();
        }
        return true;
    }

    @Override
    protected boolean p() {
        return false;
    }

    @Override
    protected void r() {
        long j;
        long millis;
        long j2 = 0;
        if (this.a.ab() >= 0 || this.a.ac() >= 0) {
            long ab = this.a.ab();
            g gVar = this.a;
            if (ab >= 0) {
                j = gVar.ab();
            } else {
                if (gVar.ad()) {
                    int k = (int) ((com.applovin.impl.sdk.a.a) this.a).k();
                    if (k > 0) {
                        millis = TimeUnit.SECONDS.toMillis(k);
                    } else {
                        int t = (int) this.a.t();
                        if (t > 0) {
                            millis = TimeUnit.SECONDS.toMillis(t);
                        }
                    }
                    j2 = 0 + millis;
                }
                double d = j2;
                double ac = this.a.ac();
                Double.isNaN(ac);
                Double.isNaN(d);
                j = (long) (d * (ac / 100.0d));
            }
            a(j);
        }
    }
}