导航菜单

页面标题

页面副标题

Moneyman v2.316.0.0 - HttpPostService.java 源代码

正在查看: Moneyman v2.316.0.0 应用的 HttpPostService.java JAVA 源代码文件

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


package com.uxcam.service;

import Hr.l;
import Kh.C;
import Kh.C0384i0;
import Kh.N;
import Vf.A;
import ag.InterfaceC0557c;
import ag.InterfaceC0562h;
import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Message;
import be.AbstractC0646h2;
import be.AbstractC0703t2;
import be.G0;
import be.S1;
import be.W1;
import cg.InterfaceC0802c;
import com.singular.sdk.BuildConfig;
import com.uxcam.internals.bt;
import ee.C0932a;
import ie.d;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import kg.InterfaceC1348n;
import kotlin.Metadata;
import kotlin.c;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.internal.i;
import kotlinx.coroutines.a;
import ne.C1509a;
import z4.h;

@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u00012\u00020\u0002:\u0001\u0005B\u0007¢\u0006\u0004\b\u0003\u0010\u0004¨\u0006\u0006"}, d2 = {"Lcom/uxcam/service/HttpPostService;", "Landroid/app/Service;", "LKh/C;", "<init>", "()V", "a2/a", "uxcamlib_littleRelease"}, k = 1, mv = {1, 8, 0})
public final class HttpPostService extends Service implements C {
    public static final String a = "HttpPostService";
    public static boolean b;
    public static final List<String> c;

    @InterfaceC0802c(c = "com.uxcam.service.HttpPostService$onDestroy$1", f = "HttpPostService.kt", l = {80}, m = "invokeSuspend")
    public static final class ab extends SuspendLambda implements InterfaceC1348n {
        public int a;

        public ab(InterfaceC0557c<? super ab> interfaceC0557c) {
            super(2, interfaceC0557c);
        }

        @Override
        public final InterfaceC0557c create(Object obj, InterfaceC0557c interfaceC0557c) {
            return new ab(interfaceC0557c);
        }

        @Override
        public final Object invoke(Object obj, Object obj2) {
            return new ab((InterfaceC0557c) obj2).invokeSuspend(A.a);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            CoroutineSingletons coroutineSingletons = CoroutineSingletons.a;
            int i = this.a;
            if (i == 0) {
                c.b(obj);
                HttpPostService.b = false;
                this.a = 1;
                if (l.j(700L, this) == coroutineSingletons) {
                    return coroutineSingletons;
                }
            } else {
                if (i != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                c.b(obj);
            }
            HttpPostService.b = false;
            return A.a;
        }
    }

    @InterfaceC0802c(c = "com.uxcam.service.HttpPostService$onStartCommand$1", f = "HttpPostService.kt", l = {}, m = "invokeSuspend")
    public static final class ac extends SuspendLambda implements InterfaceC1348n {
        public final Message b;

        public ac(Message message, InterfaceC0557c<? super ac> interfaceC0557c) {
            super(2, interfaceC0557c);
            this.b = message;
        }

        @Override
        public final InterfaceC0557c create(Object obj, InterfaceC0557c interfaceC0557c) {
            return HttpPostService.this.new ac(this.b, interfaceC0557c);
        }

        @Override
        public final Object invoke(Object obj, Object obj2) {
            ac acVar = (ac) create((C) obj, (InterfaceC0557c) obj2);
            A a = A.a;
            acVar.invokeSuspend(a);
            return a;
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            CoroutineSingletons coroutineSingletons = CoroutineSingletons.a;
            c.b(obj);
            String str = HttpPostService.a;
            HttpPostService.this.getClass();
            String string = this.b.getData().getString("arg_which_service");
            String str2 = HttpPostService.a;
            AbstractC0703t2.a(str2).getClass();
            if (string != null) {
                int hashCode = string.hashCode();
                if (hashCode != 666429405) {
                    if (hashCode != 901710240) {
                        if (hashCode != 1586837812) {
                            if (hashCode == 1592315741 && string.equals("value_stop_uxcam")) {
                                if (bt.K == null) {
                                    C1509a.s.getClass();
                                    C1509a a = C1509a.C0238a.a();
                                    C0932a.i.getClass();
                                    bt.K = new bt(a, C0932a.C0104a.a());
                                }
                                bt btVar = bt.K;
                                i.d(btVar);
                                W1 h = btVar.h();
                                d.j();
                                h.b(BuildConfig.FLAVOR);
                            }
                        } else if (string.equals("screen_upload")) {
                            try {
                                new G0(d.j()).a();
                            } catch (Exception unused) {
                                AbstractC0703t2.a(HttpPostService.a).getClass();
                            }
                        }
                    } else if (string.equals("stop_foreground")) {
                        AbstractC0703t2.a(str2).getClass();
                    }
                } else if (string.equals("send_offline_data")) {
                    new S1(d.j()).a();
                }
            }
            return A.a;
        }
    }

    static {
        List<String> synchronizedList = Collections.synchronizedList(new ArrayList());
        i.f(synchronizedList, "synchronizedList(ArrayList())");
        c = synchronizedList;
    }

    public static final boolean a(File file) {
        i.g(file, "file");
        Iterator<String> it = c.iterator();
        while (it.hasNext()) {
            if (i.b(file.getAbsolutePath(), it.next())) {
                return false;
            }
        }
        return true;
    }

    @Override
    public final InterfaceC0562h getCoroutineContext() {
        C0384i0 a2 = a.a();
        N n = N.a;
        return com.bumptech.glide.d.I(Rh.a.c, a2);
    }

    @Override
    public final IBinder onBind(Intent intent) {
        i.g(intent, "intent");
        return null;
    }

    @Override
    public final void onDestroy() {
        if (AbstractC0646h2.M) {
            b = false;
        } else {
            h.v(this, (InterfaceC0562h) null, new ab(null), 3);
        }
    }

    @Override
    public final int onStartCommand(Intent intent, int i, int i2) {
        if (intent != null && intent.getExtras() != null) {
            b = true;
            Bundle extras = intent.getExtras();
            i.d(extras);
            String string = extras.getString("arg_which_service");
            if (string != null && !string.equalsIgnoreCase("stop_foreground")) {
                Message message = new Message();
                message.arg1 = i2;
                message.setData(intent.getExtras());
                h.v(this, (InterfaceC0562h) null, new ac(message, null), 3);
            }
        }
        return 2;
    }

    @Override
    public final void onTaskRemoved(Intent rootIntent) {
        i.g(rootIntent, "rootIntent");
        stopSelf();
    }
}