package com.tencent.mm.pluginsdk;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import com.google.android.gms.common.util.CrashUtils.ErrorDialogData;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bp.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.t;
import com.tencent.mm.modelsimple.h;
import com.tencent.mm.modelsimple.z;
import com.tencent.mm.protocal.protobuf.df;
import com.tencent.mm.sdk.platformtools.aa;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.ah;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.storage.ac.a;
import com.tencent.mm.ui.base.p;
import com.tencent.rtmp.TXLivePushConfig;
import com.tencent.ytcommon.BuildConfig;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;

public final class e {
    private static boolean van = false;
    public static String vao = BuildConfig.FLAVOR;
    private static final Map<String, Long> vap;

    static {
        AppMethodBeat.i(11681);
        HashMap hashMap = new HashMap();
        vap = hashMap;
        hashMap.put("weixin://", Long.valueOf(0));
        vap.put("weixin://dl/stickers", Long.valueOf(1));
        vap.put("weixin://dl/games", Long.valueOf(2));
        vap.put("weixin://dl/moments", Long.valueOf(4));
        vap.put("weixin://dl/add", Long.valueOf(8));
        vap.put("weixin://dl/shopping", Long.valueOf(16));
        vap.put("weixin://dl/groupchat", Long.valueOf(32));
        vap.put("weixin://dl/scan", Long.valueOf(64));
        vap.put("weixin://dl/profile", Long.valueOf(128));
        vap.put("weixin://dl/settings", Long.valueOf(256));
        vap.put("weixin://dl/general", Long.valueOf(512));
        vap.put("weixin://dl/help", Long.valueOf(1024));
        vap.put("weixin://dl/notifications", Long.valueOf(2048));
        vap.put("weixin://dl/terms", Long.valueOf(4096));
        vap.put("weixin://dl/chat", Long.valueOf(8192));
        vap.put("weixin://dl/features", Long.valueOf(16384));
        vap.put("weixin://dl/clear", Long.valueOf(32768));
        vap.put("weixin://dl/feedback", Long.valueOf(65536));
        vap.put("weixin://dl/faq", Long.valueOf(131072));
        vap.put("weixin://dl/recommendation", Long.valueOf(262144));
        vap.put("weixin://dl/groups", Long.valueOf(524288));
        vap.put("weixin://dl/tags", Long.valueOf(1048576));
        vap.put("weixin://dl/officialaccounts", Long.valueOf(2097152));
        vap.put("weixin://dl/posts", Long.valueOf(4194304));
        vap.put("weixin://dl/favorites", Long.valueOf(8388608));
        vap.put("weixin://dl/privacy", Long.valueOf(16777216));
        vap.put("weixin://dl/security", Long.valueOf(33554432));
        vap.put("weixin://dl/wallet", Long.valueOf(67108864));
        vap.put("weixin://dl/businessPay", Long.valueOf(134217728));
        vap.put("weixin://dl/businessPay/", Long.valueOf(134217728));
        vap.put("weixin://dl/wechatout", Long.valueOf(268435456));
        vap.put("weixin://dl/protection", Long.valueOf(1073741824));
        vap.put("weixin://dl/card", Long.valueOf(2147483648L));
        vap.put("weixin://dl/about", Long.valueOf(1125899906842624L));
        vap.put("weixin://dl/blacklist", Long.valueOf(4294967296L));
        vap.put("weixin://dl/textsize", Long.valueOf(8589934592L));
        vap.put("weixin://dl/sight", Long.valueOf(17179869184L));
        vap.put("weixin://dl/languages", Long.valueOf(34359738368L));
        vap.put("weixin://dl/chathistory", Long.valueOf(68719476736L));
        vap.put("weixin://dl/bindqq", Long.valueOf(137438953472L));
        vap.put("weixin://dl/bindmobile", Long.valueOf(274877906944L));
        vap.put("weixin://dl/bindemail", Long.valueOf(549755813888L));
        vap.put("weixin://dl/securityassistant", Long.valueOf(1099511627776L));
        vap.put("weixin://dl/broadcastmessage", Long.valueOf(2199023255552L));
        vap.put("weixin://dl/setname", Long.valueOf(4398046511104L));
        vap.put("weixin://dl/myQRcode", Long.valueOf(8796093022208L));
        vap.put("weixin://dl/myaddress", Long.valueOf(17592186044416L));
        vap.put("weixin://dl/hidemoments", Long.valueOf(35184372088832L));
        vap.put("weixin://dl/blockmoments", Long.valueOf(70368744177664L));
        vap.put("weixin://dl/stickersetting", Long.valueOf(140737488355328L));
        vap.put("weixin://dl/log", Long.valueOf(281474976710656L));
        vap.put("weixin://dl/wechatoutcoupon", Long.valueOf(562949953421312L));
        vap.put("weixin://dl/wechatoutshare", Long.valueOf(18014398509481984L));
        vap.put("weixin://dl/personalemoticon", Long.valueOf(4503599627370496L));
        vap.put("weixin://dl/designeremoji", Long.valueOf(9007199254740992L));
        vap.put("weixin://dl/sightdraft", Long.valueOf(576460752303423488L));
        vap.put("weixin://dl/jumpWxa/", Long.valueOf(576460752303423489L));
        vap.put("weixin://dl/offlinepay/", Long.valueOf(576460752303423490L));
        AppMethodBeat.o(11681);
    }

    public static boolean aH(String str, long j) {
        boolean z;
        AppMethodBeat.i(11659);
        if (!bo.isNullOrNil(str)) {
            long longValue;
            String air = air(str);
            if (vap.containsKey(air)) {
                longValue = ((Long) vap.get(air)).longValue();
            } else {
                longValue = -1;
            }
            if (longValue != -1 && (longValue == 0 || (longValue & j) == longValue)) {
                z = true;
                AppMethodBeat.o(11659);
                return z;
            }
        }
        z = false;
        AppMethodBeat.o(11659);
        return z;
    }

    public static boolean aim(String str) {
        AppMethodBeat.i(11660);
        String air = air(str);
        if (!(vap.containsKey(air) || ain(air) || aio(air))) {
            boolean z;
            if (bo.isNullOrNil(air) || !(air.startsWith("weixin://dl/jumpFakeWxa/") || air.startsWith("weixin://dl/openNativeView/"))) {
                z = false;
            } else {
                z = true;
            }
            if (!z) {
                AppMethodBeat.o(11660);
                return false;
            }
        }
        AppMethodBeat.o(11660);
        return true;
    }

    public static boolean ain(String str) {
        AppMethodBeat.i(11661);
        if (bo.isNullOrNil(str) || !str.startsWith("weixin://dl/business")) {
            AppMethodBeat.o(11661);
            return false;
        }
        AppMethodBeat.o(11661);
        return true;
    }

    public static boolean aio(String str) {
        AppMethodBeat.i(11662);
        if (bo.isNullOrNil(str) || !str.startsWith("weixin://dl/openbusinesswebview")) {
            AppMethodBeat.o(11662);
            return false;
        }
        AppMethodBeat.o(11662);
        return true;
    }

    public static boolean s(Uri uri) {
        AppMethodBeat.i(11663);
        if (uri == null) {
            AppMethodBeat.o(11663);
            return false;
        } else if (bo.isNullOrNil(uri.getQueryParameter("ticket"))) {
            boolean t = t(uri);
            AppMethodBeat.o(11663);
            return t;
        } else {
            AppMethodBeat.o(11663);
            return true;
        }
    }

    public static boolean t(Uri uri) {
        AppMethodBeat.i(11664);
        if (uri == null) {
            AppMethodBeat.o(11664);
            return false;
        } else if (uri.toString().startsWith("weixin://dl/business/tempsession/") || uri.toString().startsWith("weixin://dl/businessTempSession/")) {
            AppMethodBeat.o(11664);
            return true;
        } else {
            AppMethodBeat.o(11664);
            return false;
        }
    }

    private static boolean dgP() {
        AppMethodBeat.i(11665);
        if (!g.RK()) {
            AppMethodBeat.o(11665);
            return false;
        } else if (com.tencent.mm.m.g.Nu().getInt("WCOEntranceSwitch", 0) > 0) {
            g.RP().Ry().set(a.xLB, Boolean.TRUE);
            AppMethodBeat.o(11665);
            return true;
        } else {
            g.RP().Ry().set(a.xLB, Boolean.FALSE);
            AppMethodBeat.o(11665);
            return false;
        }
    }

    private static boolean aip(String str) {
        AppMethodBeat.i(11666);
        if ((str.equals("weixin://dl/wechatout") || str.equals("weixin://dl/wechatoutcoupon") || str.equals("weixin://dl/wechatoutshare")) && !dgP()) {
            Intent intent = new Intent();
            intent.setFlags(ErrorDialogData.BINDER_CRASH);
            intent.setClassName(ah.getContext(), "com.tencent.mm.plugin.webview.ui.tools.WebViewUI");
            intent.putExtra("rawUrl", "https://support.weixin.qq.com/deeplink/noaccess#wechat_redirect");
            ah.getContext().startActivity(intent);
            AppMethodBeat.o(11666);
            return true;
        }
        AppMethodBeat.o(11666);
        return false;
    }

    public static void a(Context context, String str, String str2, int i, String str3, a aVar) {
        AppMethodBeat.i(11667);
        String str4 = bo.isNullOrNil(str) ? str3 : str;
        if (aip(str4)) {
            AppMethodBeat.o(11667);
            return;
        }
        h hVar = new h(str4, str2, i, 0, (int) System.currentTimeMillis(), new byte[0]);
        g.Rg().a(233, new 1(context, i, str2, str4, aVar));
        g.Rg().a(hVar, 0);
        AppMethodBeat.o(11667);
    }

    public static void a(Context context, String str, int i, a aVar, String str2, String str3) {
        AppMethodBeat.i(11668);
        a(context, str, i, null, aVar, str2, str3);
        AppMethodBeat.o(11668);
    }

    public static void a(Context context, String str, int i, Bundle bundle, a aVar, String str2, String str3) {
        AppMethodBeat.i(11669);
        LinkedList linkedList = new LinkedList();
        df dfVar = new df();
        if (!(bo.isNullOrNil(str2) || bo.isNullOrNil(str3))) {
            ab.i("MicroMsg.DeepLinkHelper", "package name = %s, package signature = %s", new Object[]{str2, str3});
            dfVar.kKO = str2;
            dfVar.signature = str3;
            linkedList.add(dfVar);
        }
        if (aip(str)) {
            AppMethodBeat.o(11669);
            return;
        }
        z zVar = new z(str, i, linkedList);
        g.Rg().a(TXLivePushConfig.DEFAULT_MAX_VIDEO_BITRATE, new 2(bundle, context, i, str, aVar));
        g.Rg().a(zVar, 0);
        AppMethodBeat.o(11669);
    }

    public static void a(Context context, String str, int i, a aVar) {
        AppMethodBeat.i(11670);
        a(context, str, i, null, aVar, null, null);
        AppMethodBeat.o(11670);
    }

    public static void a(Context context, String str, int i, Bundle bundle, a aVar) {
        AppMethodBeat.i(11671);
        a(context, str, i, bundle, aVar, null, null);
        AppMethodBeat.o(11671);
    }

    public static boolean a(Context context, int i, byte[] bArr, String str) {
        AppMethodBeat.i(11673);
        boolean a = a(context, str, 0, null, i, bArr, null);
        AppMethodBeat.o(11673);
        return a;
    }

    private static boolean a(android.content.Context r18, java.lang.String r19, int r20, android.os.Bundle r21, int r22, byte[] r23, java.lang.String r24) {
        /*
        r2 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r2);
        r8 = air(r19);
        r2 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r8);
        if (r2 == 0) goto L_0x0016;
    L_0x000f:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
    L_0x0015:
        return r2;
    L_0x0016:
        r2 = vap;
        r2 = r2.containsKey(r8);
        if (r2 == 0) goto L_0x0a74;
    L_0x001e:
        r2 = vap;
        r2 = r2.get(r8);
        r2 = (java.lang.Long) r2;
        r4 = r2.longValue();
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "gotoUri, deepLinkMap contains uri, result = %d";
        r6 = 1;
        r6 = new java.lang.Object[r6];
        r7 = 0;
        r8 = java.lang.Long.valueOf(r4);
        r6[r7] = r8;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r3, r6);
        r2 = 0;
        r3 = new android.content.Intent;
        r3.<init>();
        r6 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;
        r3.setFlags(r6);
        r6 = 0;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x006c;
    L_0x004e:
        r2 = "com.tencent.mm.ui.LauncherUI";
    L_0x0051:
        r4 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r2);
        if (r4 != 0) goto L_0x0a6c;
    L_0x0057:
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r3.setClassName(r4, r2);
        if (r18 == 0) goto L_0x0a47;
    L_0x0060:
        r0 = r18;
        r0.startActivity(r3);	 Catch:{ Exception -> 0x0a57 }
    L_0x0065:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x006c:
        r6 = 1;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0088;
    L_0x0072:
        r2 = "com.tencent.mm.plugin.emoji.ui.v2.EmojiStoreV2UI";
        r4 = com.tencent.mm.plugin.report.service.h.pYm;
        r5 = 12065; // 0x2f21 float:1.6907E-41 double:5.961E-320;
        r6 = 1;
        r6 = new java.lang.Object[r6];
        r7 = 0;
        r8 = 7;
        r8 = java.lang.Integer.valueOf(r8);
        r6[r7] = r8;
        r4.e(r5, r6);
        goto L_0x0051;
    L_0x0088:
        r6 = 2;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x00a0;
    L_0x008e:
        r2 = "from_deeplink";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = "game_report_from_scene";
        r4 = 6;
        r3.putExtra(r2, r4);
        r2 = "com.tencent.mm.plugin.game.ui.GameCenterUI";
        goto L_0x0051;
    L_0x00a0:
        r6 = 4;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x00c0;
    L_0x00a6:
        r4 = com.tencent.mm.model.r.YK();
        r5 = 32768; // 0x8000 float:4.5918E-41 double:1.61895E-319;
        r4 = r4 & r5;
        if (r4 != 0) goto L_0x00be;
    L_0x00b0:
        r4 = 1;
    L_0x00b1:
        if (r4 == 0) goto L_0x0051;
    L_0x00b3:
        r2 = "com.tencent.mm.plugin.sns.ui.SnsTimeLineUI";
        r4 = "sns_timeline_NeedFirstLoadint";
        r5 = 1;
        r3.putExtra(r4, r5);
        goto L_0x0051;
    L_0x00be:
        r4 = 0;
        goto L_0x00b1;
    L_0x00c0:
        r6 = 8;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x00ca;
    L_0x00c6:
        r2 = "com.tencent.mm.plugin.subapp.ui.pluginapp.AddMoreFriendsUI";
        goto L_0x0051;
    L_0x00ca:
        r6 = 16;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x010d;
    L_0x00d0:
        r4 = new com.tencent.mm.g.a.hv;
        r4.<init>();
        r5 = com.tencent.mm.sdk.b.a.xxA;
        r5.m(r4);
        r4 = r4.cCO;
        r4 = r4.url;
        r5 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r4);
        if (r5 != 0) goto L_0x0051;
    L_0x00e4:
        r2 = "rawUrl";
        r3.putExtra(r2, r4);
        r2 = "useJs";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = "vertical_scroll";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = "geta8key_session_id";
        r0 = r22;
        r3.putExtra(r2, r0);
        r2 = "geta8key_cookie";
        r0 = r23;
        r3.putExtra(r2, r0);
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        goto L_0x0051;
    L_0x010d:
        r6 = 32;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x014c;
    L_0x0113:
        r2 = "titile";
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = 2131296484; // 0x7f0900e4 float:1.8210886E38 double:1.053000374E-314;
        r4 = r4.getString(r5);
        r3.putExtra(r2, r4);
        r2 = "list_type";
        r4 = 0;
        r3.putExtra(r2, r4);
        r2 = "list_attr";
        r4 = 3;
        r4 = new int[r4];
        r5 = 0;
        r6 = com.tencent.mm.ui.contact.s.znG;
        r4[r5] = r6;
        r5 = 1;
        r6 = 256; // 0x100 float:3.59E-43 double:1.265E-321;
        r4[r5] = r6;
        r5 = 2;
        r6 = 512; // 0x200 float:7.175E-43 double:2.53E-321;
        r4[r5] = r6;
        r4 = com.tencent.mm.ui.contact.s.C(r4);
        r3.putExtra(r2, r4);
        r2 = "com.tencent.mm.ui.contact.SelectContactUI";
        goto L_0x0051;
    L_0x014c:
        r6 = 64;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x015e;
    L_0x0152:
        r2 = "com.tencent.mm.plugin.scanner.ui.BaseScanUI";
        r4 = "animation_pop_in";
        r5 = 1;
        r3.putExtra(r4, r5);
        goto L_0x0051;
    L_0x015e:
        r6 = 128; // 0x80 float:1.794E-43 double:6.32E-322;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0169;
    L_0x0164:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsPersonalInfoUI";
        goto L_0x0051;
    L_0x0169:
        r6 = 256; // 0x100 float:3.59E-43 double:1.265E-321;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0174;
    L_0x016f:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsUI";
        goto L_0x0051;
    L_0x0174:
        r6 = 512; // 0x200 float:7.175E-43 double:2.53E-321;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x017f;
    L_0x017a:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsAboutSystemUI";
        goto L_0x0051;
    L_0x017f:
        r6 = 1024; // 0x400 float:1.435E-42 double:5.06E-321;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0190;
    L_0x0185:
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r0 = r22;
        ac(r4, r0);
        goto L_0x0051;
    L_0x0190:
        r6 = 2048; // 0x800 float:2.87E-42 double:1.0118E-320;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x019b;
    L_0x0196:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsNotificationUI";
        goto L_0x0051;
    L_0x019b:
        r6 = 4096; // 0x1000 float:5.74E-42 double:2.0237E-320;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x01e7;
    L_0x01a1:
        r2 = "title";
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = r4.getResources();
        r5 = 2131302023; // 0x7f091687 float:1.822212E38 double:1.0530031105E-314;
        r4 = r4.getString(r5);
        r3.putExtra(r2, r4);
        r2 = "rawUrl";
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = r4.getResources();
        r5 = 2131304189; // 0x7f091efd float:1.8226514E38 double:1.0530041806E-314;
        r4 = r4.getString(r5);
        r3.putExtra(r2, r4);
        r2 = "showShare";
        r4 = 0;
        r3.putExtra(r2, r4);
        r2 = "geta8key_session_id";
        r0 = r22;
        r3.putExtra(r2, r0);
        r2 = "geta8key_cookie";
        r0 = r23;
        r3.putExtra(r2, r0);
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        goto L_0x0051;
    L_0x01e7:
        r6 = 8192; // 0x2000 float:1.14794E-41 double:4.0474E-320;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x01f2;
    L_0x01ed:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsChattingUI";
        goto L_0x0051;
    L_0x01f2:
        r6 = 16384; // 0x4000 float:2.2959E-41 double:8.0948E-320;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x01fd;
    L_0x01f8:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsPluginsUI";
        goto L_0x0051;
    L_0x01fd:
        r6 = 32768; // 0x8000 float:4.5918E-41 double:1.61895E-319;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0209;
    L_0x0204:
        r2 = "com.tencent.mm.plugin.clean.ui.CleanUI";
        goto L_0x0051;
    L_0x0209:
        r6 = 65536; // 0x10000 float:9.18355E-41 double:3.2379E-319;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x039e;
    L_0x0210:
        r4 = "";
        r5 = "?";
        r0 = r19;
        r5 = r0.indexOf(r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        if (r5 <= 0) goto L_0x0ffb;
    L_0x021e:
        r4 = r5 + 1;
        r0 = r19;
        r4 = r0.substring(r4);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r5 = r4;
    L_0x0227:
        com.tencent.mm.kernel.g.RN();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = com.tencent.mm.kernel.a.QF();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = com.tencent.mm.protocal.d.DEVICE_NAME;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = "utf-8";
        r6 = java.net.URLEncoder.encode(r6, r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = new java.lang.StringBuilder;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7.<init>();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r8 = com.tencent.mm.sdk.platformtools.bo.dpA();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = r7.append(r8);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = r7.toString();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r8 = "utf-8";
        r7 = java.net.URLEncoder.encode(r7, r8);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r8 = com.tencent.mm.compatible.e.q.LK();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r9 = "utf-8";
        r8 = java.net.URLEncoder.encode(r8, r9);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r9 = com.tencent.mm.protocal.d.vxi;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r10 = "utf-8";
        r9 = java.net.URLEncoder.encode(r9, r10);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r10 = com.tencent.mm.protocal.d.vxj;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r11 = "utf-8";
        r10 = java.net.URLEncoder.encode(r10, r11);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r11 = com.tencent.mm.protocal.d.vxk;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r12 = "utf-8";
        r11 = java.net.URLEncoder.encode(r11, r12);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r12 = com.tencent.mm.kernel.a.Rb();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r13 = "utf-8";
        r12 = java.net.URLEncoder.encode(r12, r13);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r13 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r13 = com.tencent.mm.sdk.platformtools.bo.gS(r13);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r14 = "utf-8";
        r13 = java.net.URLEncoder.encode(r13, r14);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r14 = new java.lang.StringBuilder;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r15 = "&uin=";
        r14.<init>(r15);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r14.append(r4);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r14 = "&deviceName=";
        r4 = r4.append(r14);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&timeZone=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&imei=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r8);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&deviceBrand=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r9);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&deviceModel=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r10);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&ostype=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r11);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&clientSeqID=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r12);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&signature=";
        r4 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.append(r13);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "&scene=";
        r6 = r4.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        if (r4 == 0) goto L_0x0385;
    L_0x0300:
        r4 = 0;
    L_0x0301:
        r4 = r6.append(r4);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.toString();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=feedback/index";
        r7 = new java.lang.StringBuilder;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7.<init>();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = r7.append(r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = "&version=";
        r6 = r6.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = com.tencent.mm.protocal.d.vxo;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = r6.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = "&lang=";
        r6 = r6.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = com.tencent.mm.sdk.platformtools.aa.gw(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r6 = r6.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r7 = "&";
        r6 = r6.append(r7);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r5 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r5 = r6.append(r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r5.append(r4);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = r4.toString();	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r5 = "showShare";
        r6 = 0;
        r3.putExtra(r5, r6);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r5 = "rawUrl";
        r3.putExtra(r5, r4);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = "neverGetA8Key";
        r5 = 1;
        r3.putExtra(r4, r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = "geta8key_session_id";
        r0 = r22;
        r3.putExtra(r4, r0);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = "geta8key_cookie";
        r0 = r23;
        r3.putExtra(r4, r0);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = "hardcode_jspermission";
        r5 = com.tencent.mm.protocal.JsapiPermissionWrapper.vxI;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r3.putExtra(r4, r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r4 = "hardcode_general_ctrl";
        r5 = com.tencent.mm.protocal.GeneralControlWrapper.vxE;	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r3.putExtra(r4, r5);	 Catch:{ UnsupportedEncodingException -> 0x0388 }
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        goto L_0x0051;
    L_0x0385:
        r4 = 1;
        goto L_0x0301;
    L_0x0388:
        r4 = move-exception;
        r5 = "MicroMsg.DeepLinkHelper";
        r6 = "[oneliang]UnsupportedEncodingException:%s";
        r7 = 1;
        r7 = new java.lang.Object[r7];
        r8 = 0;
        r4 = r4.getMessage();
        r7[r8] = r4;
        com.tencent.mm.sdk.platformtools.ab.e(r5, r6, r7);
        goto L_0x0051;
    L_0x039e:
        r6 = 131072; // 0x20000 float:1.83671E-40 double:6.47582E-319;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x03ff;
    L_0x03a5:
        com.tencent.mm.kernel.g.RN();
        r4 = com.tencent.mm.kernel.a.QF();
        r2 = com.tencent.mm.kernel.g.RP();
        r2 = r2.Ry();
        r5 = 12304; // 0x3010 float:1.7242E-41 double:6.079E-320;
        r6 = 0;
        r2 = r2.get(r5, r6);
        r2 = (java.lang.Integer) r2;
        r2 = com.tencent.mm.sdk.platformtools.bo.h(r2);
        r5 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r6 = 2131303297; // 0x7f091b81 float:1.8224704E38 double:1.05300374E-314;
        r7 = 2;
        r7 = new java.lang.Object[r7];
        r8 = 0;
        r4 = java.lang.Integer.valueOf(r4);
        r7[r8] = r4;
        r4 = 1;
        r2 = java.lang.Integer.valueOf(r2);
        r7[r4] = r2;
        r2 = r5.getString(r6, r7);
        r4 = "showShare";
        r5 = 0;
        r3.putExtra(r4, r5);
        r4 = "rawUrl";
        r3.putExtra(r4, r2);
        r2 = "geta8key_session_id";
        r0 = r22;
        r3.putExtra(r2, r0);
        r2 = "geta8key_cookie";
        r0 = r23;
        r3.putExtra(r2, r0);
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        goto L_0x0051;
    L_0x03ff:
        r6 = 262144; // 0x40000 float:3.67342E-40 double:1.295163E-318;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x040b;
    L_0x0406:
        r2 = "com.tencent.mm.plugin.subapp.ui.friend.FMessageConversationUI";
        goto L_0x0051;
    L_0x040b:
        r6 = 524288; // 0x80000 float:7.34684E-40 double:2.590327E-318;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0417;
    L_0x0412:
        r2 = "com.tencent.mm.ui.contact.ChatroomContactUI";
        goto L_0x0051;
    L_0x0417:
        r6 = 1048576; // 0x100000 float:1.469368E-39 double:5.180654E-318;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0423;
    L_0x041e:
        r2 = "com.tencent.mm.plugin.label.ui.ContactLabelManagerUI";
        goto L_0x0051;
    L_0x0423:
        r6 = 2097152; // 0x200000 float:2.938736E-39 double:1.0361308E-317;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x042f;
    L_0x042a:
        r2 = "com.tencent.mm.plugin.brandservice.ui.BrandServiceIndexUI";
        goto L_0x0051;
    L_0x042f:
        r6 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0452;
    L_0x0436:
        r2 = "IPCallAddressUI_KFrom";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "ipcall";
        r5 = ".ui.IPCallAddressUI";
        com.tencent.mm.bp.d.b(r2, r4, r5, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0452:
        r6 = 4194304; // 0x400000 float:5.877472E-39 double:2.0722615E-317;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x04ac;
    L_0x0459:
        r2 = com.tencent.mm.kernel.g.RP();
        r2 = r2.Ry();
        r4 = 2;
        r5 = 0;
        r2 = r2.get(r4, r5);
        r2 = (java.lang.String) r2;
        r4 = "sns_userName";
        r3.putExtra(r4, r2);
        r2 = 67108864; // 0x4000000 float:1.5046328E-36 double:3.31561842E-316;
        r3.addFlags(r2);
        r2 = "sns_adapter_type";
        r4 = 1;
        r3.putExtra(r2, r4);
        r4 = "com.tencent.mm.plugin.sns.ui.SnsTimeLineUserPagerUI";
        r2 = com.tencent.mm.kernel.g.RP();
        r2 = r2.Ry();
        r5 = 68389; // 0x10b25 float:9.5833E-41 double:3.37887E-319;
        r6 = 0;
        r2 = r2.get(r5, r6);
        r2 = (java.lang.Integer) r2;
        r5 = 0;
        r2 = com.tencent.mm.sdk.platformtools.bo.a(r2, r5);
        r5 = com.tencent.mm.kernel.g.RP();
        r5 = r5.Ry();
        r6 = 68389; // 0x10b25 float:9.5833E-41 double:3.37887E-319;
        r2 = r2 + 1;
        r2 = java.lang.Integer.valueOf(r2);
        r5.set(r6, r2);
        r2 = r4;
        goto L_0x0051;
    L_0x04ac:
        r6 = 8388608; // 0x800000 float:1.17549435E-38 double:4.144523E-317;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x04b8;
    L_0x04b3:
        r2 = "com.tencent.mm.plugin.fav.ui.FavoriteIndexUI";
        goto L_0x0051;
    L_0x04b8:
        r6 = 16777216; // 0x1000000 float:2.3509887E-38 double:8.289046E-317;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x04c4;
    L_0x04bf:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsPrivacyUI";
        goto L_0x0051;
    L_0x04c4:
        r6 = 33554432; // 0x2000000 float:9.403955E-38 double:1.6578092E-316;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x04d0;
    L_0x04cb:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsAccountInfoUI";
        goto L_0x0051;
    L_0x04d0:
        r6 = 67108864; // 0x4000000 float:1.5046328E-36 double:3.31561842E-316;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x04dc;
    L_0x04d7:
        r2 = "com.tencent.mm.plugin.mall.ui.MallIndexUI";
        goto L_0x0051;
    L_0x04dc:
        r6 = 134217728; // 0x8000000 float:3.85186E-34 double:6.63123685E-316;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x058d;
    L_0x04e3:
        if (r18 == 0) goto L_0x0580;
    L_0x04e5:
        r3 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r19);
        if (r3 != 0) goto L_0x0580;
    L_0x04eb:
        r3 = "weixin://dl/businessPay";
        r0 = r19;
        r3 = r0.startsWith(r3);
        if (r3 == 0) goto L_0x0580;
    L_0x04f6:
        r3 = android.net.Uri.parse(r19);
        if (r3 == 0) goto L_0x0583;
    L_0x04fc:
        r4 = "reqkey";
        r4 = r3.getQueryParameter(r4);
        r5 = "appid";
        r3 = r3.getQueryParameter(r5);
        r5 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r4);
        if (r5 != 0) goto L_0x0577;
    L_0x0510:
        r5 = new com.tencent.mm.pluginsdk.wallet.PayInfo;
        r5.<init>();
        r5.czZ = r4;
        r5.appId = r3;
        r3 = 36;
        r5.cIf = r3;
        r3 = 0;
        r5.mXg = r3;
        r3 = new android.content.Intent;
        r3.<init>();
        r4 = "key_pay_info";
        r3.putExtra(r4, r5);
        r0 = r18;
        r4 = r0 instanceof android.app.Activity;
        if (r4 == 0) goto L_0x0555;
    L_0x0531:
        r4 = "key_context_hashcode";
        r5 = r18.hashCode();
        r3.putExtra(r4, r5);
        r4 = "MicroMsg.DeepLinkHelper";
        r5 = "startPay context %s %s";
        r6 = 2;
        r6 = new java.lang.Object[r6];
        r7 = 0;
        r6[r7] = r18;
        r7 = 1;
        r8 = r18.hashCode();
        r8 = java.lang.Integer.valueOf(r8);
        r6[r7] = r8;
        com.tencent.mm.sdk.platformtools.ab.i(r4, r5, r6);
    L_0x0555:
        r4 = com.tencent.mm.model.r.YM();
        if (r4 == 0) goto L_0x0569;
    L_0x055b:
        r4 = "wallet_payu";
        r5 = ".pay.ui.WalletPayUPayUI";
        r6 = 1;
        r0 = r18;
        com.tencent.mm.bp.d.b(r0, r4, r5, r3, r6);
        goto L_0x0051;
    L_0x0569:
        r4 = "wallet";
        r5 = ".pay.ui.WalletPayUI";
        r6 = 1;
        r0 = r18;
        com.tencent.mm.bp.d.b(r0, r4, r5, r3, r6);
        goto L_0x0051;
    L_0x0577:
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "reqkey null";
        com.tencent.mm.sdk.platformtools.ab.w(r3, r4);
    L_0x0580:
        r3 = 0;
        goto L_0x0051;
    L_0x0583:
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "payUri null";
        com.tencent.mm.sdk.platformtools.ab.w(r3, r4);
        goto L_0x0580;
    L_0x058d:
        r6 = 1073741824; // 0x40000000 float:2.0 double:5.304989477E-315;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0599;
    L_0x0594:
        r2 = "com.tencent.mm.plugin.safedevice.ui.MySafeDeviceListUI";
        goto L_0x0051;
    L_0x0599:
        r6 = 2147483648; // 0x80000000 float:-0.0 double:1.0609978955E-314;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x05bd;
    L_0x05a2:
        r4 = "MicroMsg.DeepLinkHelper";
        r5 = "enter to cardhome";
        com.tencent.mm.sdk.platformtools.ab.i(r4, r5);
        r4 = new com.tencent.mm.g.a.ik;
        r4.<init>();
        r5 = r4.cDz;
        r0 = r18;
        r5.context = r0;
        r5 = com.tencent.mm.sdk.b.a.xxA;
        r5.m(r4);
        goto L_0x0051;
    L_0x05bd:
        r6 = 4294967296; // 0x100000000 float:0.0 double:2.121995791E-314;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x05fe;
    L_0x05c6:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = 2131300423; // 0x7f091047 float:1.8218875E38 double:1.05300232E-314;
        r2 = r2.getString(r4);
        r2 = com.tencent.mm.model.z.nY(r2);
        r4 = "filter_type";
        r2 = r2.getType();
        r3.putExtra(r4, r2);
        r2 = "titile";
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = 2131303224; // 0x7f091b38 float:1.8224556E38 double:1.053003704E-314;
        r4 = r4.getString(r5);
        r3.putExtra(r2, r4);
        r2 = "list_attr";
        r4 = 32768; // 0x8000 float:4.5918E-41 double:1.61895E-319;
        r3.putExtra(r2, r4);
        r2 = "com.tencent.mm.ui.contact.SelectSpecialContactUI";
        goto L_0x0051;
    L_0x05fe:
        r6 = 8589934592; // 0x200000000 float:0.0 double:4.243991582E-314;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x060c;
    L_0x0607:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsFontUI";
        goto L_0x0051;
    L_0x060c:
        r6 = 17179869184; // 0x400000000 float:0.0 double:8.4879831639E-314;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x061a;
    L_0x0615:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsAboutSystemUI";
        goto L_0x0051;
    L_0x061a:
        r6 = 34359738368; // 0x800000000 float:0.0 double:1.69759663277E-313;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0628;
    L_0x0623:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsLanguageUI";
        goto L_0x0051;
    L_0x0628:
        r6 = 68719476736; // 0x1000000000 float:0.0 double:3.39519326554E-313;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0636;
    L_0x0631:
        r2 = "com.tencent.mm.plugin.backup.backupmoveui.BackupUI";
        goto L_0x0051;
    L_0x0636:
        r6 = 137438953472; // 0x2000000000 float:0.0 double:6.7903865311E-313;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0656;
    L_0x063f:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "com.tencent.mm.plugin.account.bind.ui.BindQQUI";
        r3.setClassName(r2, r4);
        r0 = r18;
        com.tencent.mm.ui.MMWizardActivity.J(r0, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0656:
        r6 = 274877906944; // 0x4000000000 float:0.0 double:1.358077306218E-312;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0676;
    L_0x065f:
        r2 = "com.tencent.mm.plugin.account.bind.ui.BindMContactIntroUI";
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r3.setClassName(r4, r2);
        r0 = r18;
        com.tencent.mm.ui.MMWizardActivity.J(r0, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0676:
        r6 = 549755813888; // 0x8000000000 float:0.0 double:2.716154612436E-312;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0684;
    L_0x067f:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsModifyEmailAddrUI";
        goto L_0x0051;
    L_0x0684:
        r6 = 1099511627776; // 0x10000000000 float:0.0 double:5.43230922487E-312;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x06ac;
    L_0x068d:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "profile";
        r5 = ".ui.ContactInfoUI";
        r6 = "Contact_User";
        r7 = "qqsync";
        r3 = r3.putExtra(r6, r7);
        com.tencent.mm.bp.d.b(r2, r4, r5, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x06ac:
        r6 = 2199023255552; // 0x20000000000 float:0.0 double:1.0864618449742E-311;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x06ba;
    L_0x06b5:
        r2 = "com.tencent.mm.plugin.masssend.ui.MassSendHistoryUI";
        goto L_0x0051;
    L_0x06ba:
        r6 = 4398046511104; // 0x40000000000 float:0.0 double:2.1729236899484E-311;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x06c8;
    L_0x06c3:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsModifyNameUI";
        goto L_0x0051;
    L_0x06c8:
        r6 = 8796093022208; // 0x80000000000 float:0.0 double:4.345847379897E-311;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x06d6;
    L_0x06d1:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SelfQRCodeUI";
        goto L_0x0051;
    L_0x06d6:
        r6 = 17592186044416; // 0x100000000000 float:0.0 double:8.6916947597938E-311;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x06fb;
    L_0x06df:
        r2 = "launch_from_webview";
        r4 = 0;
        r3.putExtra(r2, r4);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "address";
        r5 = ".ui.WalletSelectAddrUI";
        com.tencent.mm.bp.d.c(r2, r4, r5, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x06fb:
        r6 = 35184372088832; // 0x200000000000 float:0.0 double:1.73833895195875E-310;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0728;
    L_0x0704:
        r2 = "k_sns_tag_id";
        r4 = 4;
        r3.putExtra(r2, r4);
        r2 = "k_sns_from_settings_about_sns";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "sns";
        r5 = ".ui.SnsBlackDetailUI";
        com.tencent.mm.bp.d.b(r2, r4, r5, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0728:
        r6 = 70368744177664; // 0x400000000000 float:0.0 double:3.4766779039175E-310;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0757;
    L_0x0731:
        r4 = "k_sns_tag_id";
        r6 = 5;
        r3.putExtra(r4, r6);
        r4 = "k_sns_from_settings_about_sns";
        r5 = 2;
        r3.putExtra(r4, r5);
        r4 = "k_tag_detail_sns_block_scene";
        r5 = 8;
        r3.putExtra(r4, r5);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "sns";
        r6 = ".ui.SnsTagDetailUI";
        com.tencent.mm.bp.d.b(r4, r5, r6, r3);
        goto L_0x0051;
    L_0x0757:
        r6 = 140737488355328; // 0x800000000000 float:0.0 double:6.953355807835E-310;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0765;
    L_0x0760:
        r2 = "com.tencent.mm.plugin.emoji.ui.EmojiMineUI";
        goto L_0x0051;
    L_0x0765:
        r6 = 281474976710656; // 0x1000000000000 float:0.0 double:1.390671161567E-309;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x078c;
    L_0x076b:
        r2 = new com.tencent.mm.g.a.by;
        r2.<init>();
        r3 = r2.cvf;
        r4 = "//uplog";
        r3.cvh = r4;
        r3 = r2.cvf;
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r3.context = r4;
        r3 = com.tencent.mm.sdk.b.a.xxA;
        r3.m(r2);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x078c:
        r6 = 562949953421312; // 0x2000000000000 float:0.0 double:2.781342323134002E-309;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x07bb;
    L_0x0792:
        r2 = "IPCallAddressUI_KFrom";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "ipcall";
        r5 = ".ui.IPCallAddressUI";
        com.tencent.mm.bp.d.b(r2, r4, r5, r3);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4 = "ipcall";
        r5 = ".ui.IPCallShareCouponUI";
        com.tencent.mm.bp.d.b(r2, r4, r5, r3);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x07bb:
        r6 = 18014398509481984; // 0x40000000000000 float:0.0 double:1.7800590868057611E-307;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x07f1;
    L_0x07c1:
        r4 = "IPCallAddressUI_KFrom";
        r5 = 1;
        r3.putExtra(r4, r5);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "ipcall";
        r6 = ".ui.IPCallAddressUI";
        com.tencent.mm.bp.d.b(r4, r5, r6, r3);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "ipcall";
        r6 = ".ui.IPCallShareCouponUI";
        com.tencent.mm.bp.d.b(r4, r5, r6, r3);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "ipcall";
        r6 = ".ui.IPCallShareCouponCardUI";
        com.tencent.mm.bp.d.b(r4, r5, r6, r3);
        goto L_0x0051;
    L_0x07f1:
        r6 = 576460752303423488; // 0x800000000000000 float:0.0 double:3.785766995733679E-270;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0811;
    L_0x07f7:
        r4 = "IPCallAddressUI_KFrom";
        r5 = 1;
        r3.putExtra(r4, r5);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "com.tencent.mm.plugin.sight.draft.ui.SightDraftUI";
        r3.setClassName(r4, r5);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4.startActivity(r3);
        goto L_0x0051;
    L_0x0811:
        r6 = 1125899906842624; // 0x4000000000000 float:0.0 double:5.562684646268003E-309;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x081c;
    L_0x0817:
        r2 = "com.tencent.mm.plugin.setting.ui.setting.SettingsAboutMicroMsgUI";
        goto L_0x0051;
    L_0x081c:
        r6 = 4503599627370496; // 0x10000000000000 float:0.0 double:2.2250738585072014E-308;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0840;
    L_0x0822:
        r2 = "emoji_tab";
        r4 = 1;
        r3.putExtra(r2, r4);
        r2 = "com.tencent.mm.plugin.emoji.ui.v2.EmojiStoreV2UI";
        r4 = com.tencent.mm.plugin.report.service.h.pYm;
        r5 = 12065; // 0x2f21 float:1.6907E-41 double:5.961E-320;
        r6 = 1;
        r6 = new java.lang.Object[r6];
        r7 = 0;
        r8 = 7;
        r8 = java.lang.Integer.valueOf(r8);
        r6[r7] = r8;
        r4.e(r5, r6);
        goto L_0x0051;
    L_0x0840:
        r6 = 9007199254740992; // 0x20000000000000 float:0.0 double:4.450147717014403E-308;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x084b;
    L_0x0846:
        r2 = "com.tencent.mm.plugin.emoji.ui.v2.EmojiStoreV2SingleProductUI";
        goto L_0x0051;
    L_0x084b:
        r6 = 576460752303423489; // 0x800000000000001 float:1.4E-45 double:3.78576699573368E-270;
        r6 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r6 != 0) goto L_0x0a03;
    L_0x0854:
        r2 = android.net.Uri.parse(r19);
        r3 = "appid";
        r16 = r2.getQueryParameter(r3);
        r3 = "userName";
        r4 = r2.getQueryParameter(r3);
        r3 = "path";
        r8 = r2.getQueryParameter(r3);
        r3 = "pathType";
        r3 = r2.getQueryParameter(r3);
        r3 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r3);
        r5 = 0;
        r3 = com.tencent.mm.sdk.platformtools.bo.getInt(r3, r5);
        r5 = "invokeData";
        r17 = r2.getQueryParameter(r5);
        r5 = "runtimeSessionId";
        r5 = r2.getQueryParameter(r5);
        r6 = "runtimeTicket";
        r7 = r2.getQueryParameter(r6);
        r6 = "runtimeAppid";
        r10 = r2.getQueryParameter(r6);
        r6 = 0;
        r2 = com.tencent.mm.model.v.Zp();
        r9 = "key_data_center_session_id";
        r11 = 0;
        r2 = r2.y(r9, r11);
        if (r2 == 0) goto L_0x08ba;
    L_0x08a8:
        r6 = "key_launch_miniprogram_type";
        r9 = 0;
        r9 = java.lang.Integer.valueOf(r9);
        r2 = r2.get(r6, r9);
        r2 = (java.lang.Integer) r2;
        r6 = r2.intValue();
    L_0x08ba:
        r2 = "MicroMsg.DeepLinkHelper";
        r9 = "appid = %s, userName = %s, path = %s, translateLinkScene = %d, type = %d";
        r11 = 5;
        r11 = new java.lang.Object[r11];
        r12 = 0;
        r11[r12] = r16;
        r12 = 1;
        r11[r12] = r4;
        r12 = 2;
        r11[r12] = r8;
        r12 = 3;
        r13 = java.lang.Integer.valueOf(r20);
        r11[r12] = r13;
        r12 = 4;
        r13 = java.lang.Integer.valueOf(r6);
        r11[r12] = r13;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r9, r11);
        r2 = com.tencent.mm.model.v.Zp();
        r9 = "key_data_center_session_id";
        r2.nV(r9);
        r9 = new com.tencent.mm.plugin.appbrand.report.AppBrandStatObject;
        r9.<init>();
        r2 = java.net.URLEncoder.encode(r24);
        r9.cst = r2;
        r2 = 2;
        r0 = r20;
        if (r0 != r2) goto L_0x0912;
    L_0x08f7:
        r2 = 1065; // 0x429 float:1.492E-42 double:5.26E-321;
        r9.scene = r2;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r5 = 0;
        r7 = 0;
        r3 = r18;
        r2.a(r3, r4, r5, r6, r7, r8, r9);
    L_0x090a:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0912:
        r2 = 1;
        r0 = r20;
        if (r0 != r2) goto L_0x09b9;
    L_0x0917:
        r2 = "MicroMsg.DeepLinkHelper";
        r11 = "pathType:%d invokeData:%s";
        r12 = 2;
        r12 = new java.lang.Object[r12];
        r13 = 0;
        r14 = java.lang.Integer.valueOf(r3);
        r12[r13] = r14;
        r13 = 1;
        r12[r13] = r17;
        com.tencent.mm.sdk.platformtools.ab.d(r2, r11, r12);
        r2 = 1;
        if (r3 != r2) goto L_0x099e;
    L_0x0930:
        r2 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r17);
        if (r2 != 0) goto L_0x099e;
    L_0x0936:
        r2 = "";
        r3 = new com.tencent.mm.aa.i;	 Catch:{ g -> 0x0990 }
        r0 = r17;
        r3.<init>(r0);	 Catch:{ g -> 0x0990 }
        r11 = "name";
        r2 = r3.optString(r11);	 Catch:{ g -> 0x0990 }
    L_0x0947:
        r3 = "MicroMsg.DeepLinkHelper";
        r11 = "runtimeSessionId:%s runtimeTicket:%s runtimeAppId:%s functionName:%s";
        r12 = 4;
        r12 = new java.lang.Object[r12];
        r13 = 0;
        r12[r13] = r5;
        r5 = 1;
        r12[r5] = r7;
        r5 = 2;
        r12[r5] = r10;
        r5 = 3;
        r12[r5] = r2;
        com.tencent.mm.sdk.platformtools.ab.i(r3, r11, r12);
        r3 = 1111; // 0x457 float:1.557E-42 double:5.49E-321;
        r9.scene = r3;
        r3 = new java.lang.StringBuilder;
        r3.<init>();
        r3 = r3.append(r10);
        r5 = ":";
        r3 = r3.append(r5);
        r2 = r3.append(r2);
        r2 = r2.toString();
        r9.cst = r2;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r10 = com.tencent.mm.kernel.g.K(r2);
        r10 = (com.tencent.mm.plugin.appbrand.service.e) r10;
        r11 = r18;
        r12 = r4;
        r13 = r6;
        r14 = r8;
        r15 = r9;
        r10.a(r11, r12, r13, r14, r15, r16, r17);
        goto L_0x090a;
    L_0x0990:
        r3 = move-exception;
        r11 = "MicroMsg.DeepLinkHelper";
        r12 = "";
        r13 = 0;
        r13 = new java.lang.Object[r13];
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r11, r3, r12, r13);
        goto L_0x0947;
    L_0x099e:
        r2 = 1069; // 0x42d float:1.498E-42 double:5.28E-321;
        r9.scene = r2;
        r0 = r16;
        r9.cst = r0;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r5 = 0;
        r7 = 0;
        r3 = r18;
        r10 = r16;
        r2.a(r3, r4, r5, r6, r7, r8, r9, r10);
        goto L_0x090a;
    L_0x09b9:
        r2 = 6;
        r0 = r20;
        if (r0 != r2) goto L_0x09d3;
    L_0x09be:
        r2 = 1007; // 0x3ef float:1.411E-42 double:4.975E-321;
        r9.scene = r2;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r5 = 0;
        r7 = 0;
        r3 = r18;
        r2.a(r3, r4, r5, r6, r7, r8, r9);
        goto L_0x090a;
    L_0x09d3:
        r2 = 7;
        r0 = r20;
        if (r0 != r2) goto L_0x09ed;
    L_0x09d8:
        r2 = 1008; // 0x3f0 float:1.413E-42 double:4.98E-321;
        r9.scene = r2;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r5 = 0;
        r7 = 0;
        r3 = r18;
        r2.a(r3, r4, r5, r6, r7, r8, r9);
        goto L_0x090a;
    L_0x09ed:
        r2 = 1000; // 0x3e8 float:1.401E-42 double:4.94E-321;
        r9.scene = r2;
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r5 = 0;
        r6 = 0;
        r7 = 0;
        r3 = r18;
        r2.a(r3, r4, r5, r6, r7, r8, r9);
        goto L_0x090a;
    L_0x0a03:
        r6 = 576460752303423490; // 0x800000000000002 float:2.8E-45 double:3.785766995733681E-270;
        r4 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));
        if (r4 != 0) goto L_0x0051;
    L_0x0a0c:
        r4 = android.net.Uri.parse(r19);
        r5 = "appid";
        r4 = r4.getQueryParameter(r5);
        r5 = new android.content.Intent;
        r5.<init>();
        r6 = "MicroMsg.WalletManager";
        r7 = "start offline from sdk: %s";
        r8 = 1;
        r8 = new java.lang.Object[r8];
        r9 = 0;
        r8[r9] = r4;
        com.tencent.mm.sdk.platformtools.ab.d(r6, r7, r8);
        r6 = "key_from_scene";
        r7 = 8;
        r5.putExtra(r6, r7);
        r6 = "key_appid";
        r5.putExtra(r6, r4);
        r4 = "offline";
        r6 = ".ui.WalletOfflineEntranceUI";
        r7 = 0;
        r0 = r18;
        com.tencent.mm.bp.d.b(r0, r4, r6, r5, r7);
        goto L_0x0051;
    L_0x0a47:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0a57 }
        r2.startActivity(r3);	 Catch:{ Exception -> 0x0a57 }
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0a57 }
        com.tencent.mm.ui.base.b.K(r2, r3);	 Catch:{ Exception -> 0x0a57 }
        goto L_0x0065;
    L_0x0a57:
        r2 = move-exception;
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "";
        r5 = 1;
        r5 = new java.lang.Object[r5];
        r6 = 0;
        r7 = "";
        r5[r6] = r7;
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r3, r2, r4, r5);
        goto L_0x0065;
    L_0x0a6c:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0a74:
        r2 = "weixin://dl/businessTempSession/";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0b8c;
    L_0x0a7d:
        r4 = new android.content.Intent;
        r4.<init>();
        r2 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;
        r4.setFlags(r2);
        r5 = android.net.Uri.parse(r19);
        if (r5 != 0) goto L_0x0a9e;
    L_0x0a8d:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "tempsession uri is null";
        com.tencent.mm.sdk.platformtools.ab.e(r2, r3);
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0a9e:
        r2 = "sessionFrom";
        r6 = r5.getQueryParameter(r2);
        r2 = "showtype";
        r7 = r5.getQueryParameter(r2);
        r2 = "username";
        r2 = r5.getQueryParameter(r2);
        r3 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r2);
        if (r3 == 0) goto L_0x0ff8;
    L_0x0ab9:
        r2 = "userName";
        r2 = r5.getQueryParameter(r2);
        r3 = r2;
    L_0x0ac1:
        r2 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r3);
        if (r2 == 0) goto L_0x0ad8;
    L_0x0ac7:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "tempsession user is null";
        com.tencent.mm.sdk.platformtools.ab.e(r2, r3);
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0ad8:
        r2 = "scene";
        r2 = r5.getQueryParameter(r2);
        r2 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r2);
        r5 = 0;
        r2 = com.tencent.mm.sdk.platformtools.bo.getInt(r2, r5);
        if (r2 == 0) goto L_0x0b02;
    L_0x0aea:
        r5 = 4;
        r0 = r20;
        if (r0 != r5) goto L_0x0b02;
    L_0x0aef:
        r5 = "MicroMsg.DeepLinkHelper";
        r8 = "Jsapi assign scene to ";
        r9 = java.lang.String.valueOf(r2);
        r8 = r8.concat(r9);
        com.tencent.mm.sdk.platformtools.ab.i(r5, r8);
        r20 = r2;
    L_0x0b02:
        r2 = "MicroMsg.DeepLinkHelper";
        r5 = "tempsession jump, %s, %s, %s, %s, %s.";
        r8 = 5;
        r8 = new java.lang.Object[r8];
        r9 = 0;
        r8[r9] = r3;
        r9 = 1;
        r8[r9] = r6;
        r9 = 2;
        r10 = java.lang.Integer.valueOf(r20);
        r8[r9] = r10;
        r9 = 3;
        r8[r9] = r19;
        r9 = 4;
        r8[r9] = r7;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r5, r8);
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r5 = "com.tencent.mm.ui.chatting.ChattingUI";
        r4.setClassName(r2, r5);
        r2 = "Chat_User";
        r4.putExtra(r2, r3);
        r2 = "finish_direct";
        r5 = 1;
        r4.putExtra(r2, r5);
        r2 = "key_is_temp_session";
        r5 = 1;
        r4.putExtra(r2, r5);
        r2 = "key_temp_session_from";
        r4.putExtra(r2, r6);
        r2 = "key_temp_session_scene";
        r0 = r20;
        r4.putExtra(r2, r0);
        r2 = "key_temp_session_show_type";
        r5 = 0;
        r5 = com.tencent.mm.sdk.platformtools.bo.getInt(r7, r5);
        r4.putExtra(r2, r5);
        r2 = com.tencent.mm.plugin.messenger.foundation.a.j.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.messenger.foundation.a.j) r2;
        r2 = r2.XM();
        r2 = r2.aoO(r3);
        if (r2 == 0) goto L_0x0b6f;
    L_0x0b6a:
        r6 = r2.ewQ;
        r2 = (int) r6;
        if (r2 > 0) goto L_0x0b86;
    L_0x0b6f:
        r2 = com.tencent.mm.model.ao.a.flu;
        r5 = "";
        r6 = new com.tencent.mm.pluginsdk.e$3;
        r0 = r18;
        r6.<init>(r4, r0);
        r2.a(r3, r5, r6);
    L_0x0b7e:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0b86:
        r0 = r18;
        r0.startActivity(r4);
        goto L_0x0b7e;
    L_0x0b8c:
        r2 = "weixin://dl/businessGame/detail/";
        r2 = r8.startsWith(r2);
        if (r2 != 0) goto L_0x0b9e;
    L_0x0b95:
        r2 = "weixin://dl/businessGame/detail";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0c11;
    L_0x0b9e:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "gotoUri, uri startsWith GAME_DETAIL";
        com.tencent.mm.sdk.platformtools.ab.i(r2, r3);
        r3 = android.net.Uri.parse(r19);
        r2 = 0;
        r4 = new android.content.Intent;
        r4.<init>();
        if (r3 == 0) goto L_0x0bca;
    L_0x0bb3:
        r2 = "appid";
        r3 = r3.getQueryParameter(r2);
        r2 = "com.tencent.mm.plugin.game.ui.GameDetailUI";
        r5 = "game_app_id";
        r4.putExtra(r5, r3);
        r3 = "game_report_from_scene";
        r5 = 6;
        r4.putExtra(r3, r5);
    L_0x0bca:
        r3 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r2);
        if (r3 != 0) goto L_0x0c09;
    L_0x0bd0:
        r3 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4.setClassName(r3, r2);
        if (r18 == 0) goto L_0x0be6;
    L_0x0bd9:
        r0 = r18;
        r0.startActivity(r4);	 Catch:{ Exception -> 0x0bf5 }
    L_0x0bde:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0be6:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0bf5 }
        r2.startActivity(r4);	 Catch:{ Exception -> 0x0bf5 }
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0bf5 }
        com.tencent.mm.ui.base.b.K(r2, r4);	 Catch:{ Exception -> 0x0bf5 }
        goto L_0x0bde;
    L_0x0bf5:
        r2 = move-exception;
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "";
        r5 = 1;
        r5 = new java.lang.Object[r5];
        r6 = 0;
        r7 = "";
        r5[r6] = r7;
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r3, r2, r4, r5);
        goto L_0x0bde;
    L_0x0c09:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0c11:
        r2 = "weixin://dl/businessGame/library/";
        r2 = r8.startsWith(r2);
        if (r2 != 0) goto L_0x0c23;
    L_0x0c1a:
        r2 = "weixin://dl/businessGame/library";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0c82;
    L_0x0c23:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "gotoUri, uri startsWith GAME_LIBRARY";
        com.tencent.mm.sdk.platformtools.ab.i(r2, r3);
        r2 = new android.content.Intent;
        r2.<init>();
        r3 = "com.tencent.mm.plugin.game.ui.GameLibraryUI";
        r4 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r3);
        if (r4 != 0) goto L_0x0c7a;
    L_0x0c3a:
        r4 = "game_report_from_scene";
        r5 = 6;
        r2.putExtra(r4, r5);
        r4 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r2.setClassName(r4, r3);
        if (r18 == 0) goto L_0x0c57;
    L_0x0c4a:
        r0 = r18;
        r0.startActivity(r2);	 Catch:{ Exception -> 0x0c66 }
    L_0x0c4f:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0c57:
        r3 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0c66 }
        r3.startActivity(r2);	 Catch:{ Exception -> 0x0c66 }
        r3 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0c66 }
        com.tencent.mm.ui.base.b.K(r3, r2);	 Catch:{ Exception -> 0x0c66 }
        goto L_0x0c4f;
    L_0x0c66:
        r2 = move-exception;
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "";
        r5 = 1;
        r5 = new java.lang.Object[r5];
        r6 = 0;
        r7 = "";
        r5[r6] = r7;
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r3, r2, r4, r5);
        goto L_0x0c4f;
    L_0x0c7a:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0c82:
        r2 = "weixin://dl/businessWebview/link/";
        r2 = r8.startsWith(r2);
        if (r2 != 0) goto L_0x0c94;
    L_0x0c8b:
        r2 = "weixin://dl/businessWebview/link";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0de6;
    L_0x0c94:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "gotoUri, uri startsWith H5_LINK";
        com.tencent.mm.sdk.platformtools.ab.i(r2, r3);
        r3 = android.net.Uri.parse(r19);
        r4 = new android.content.Intent;
        r4.<init>();
        r2 = 0;
        if (r3 == 0) goto L_0x0d7b;
    L_0x0ca9:
        r2 = "url";
        r5 = r3.getQueryParameter(r2);
        r2 = "type";
        r2 = r3.getQueryParameter(r2);
        r6 = 0;
        r6 = com.tencent.mm.sdk.platformtools.bo.getInt(r2, r6);
        r2 = "appid";
        r2 = r3.getQueryParameter(r2);
        r7 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r2);
        r2 = "outer";
        r2 = r3.getQueryParameter(r2);
        r2 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r2);
        r3 = 0;
        r3 = com.tencent.mm.sdk.platformtools.bo.getInt(r2, r3);
        r2 = "MicroMsg.DeepLinkHelper";
        r8 = "gotoUri, rawUrl = %s, appId:%s, translateLinkScene: %s, outer:%d";
        r9 = 4;
        r9 = new java.lang.Object[r9];
        r10 = 0;
        r9[r10] = r5;
        r10 = 1;
        r9[r10] = r7;
        r10 = 2;
        r11 = java.lang.Integer.valueOf(r20);
        r9[r10] = r11;
        r10 = 3;
        r11 = java.lang.Integer.valueOf(r3);
        r9[r10] = r11;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r8, r9);
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        r8 = "rawUrl";
        r4.putExtra(r8, r5);
        r5 = "geta8key_session_id";
        r0 = r22;
        r4.putExtra(r5, r0);
        r5 = "geta8key_cookie";
        r0 = r23;
        r4.putExtra(r5, r0);
        r5 = 1;
        r0 = r20;
        if (r0 != r5) goto L_0x0d97;
    L_0x0d15:
        r5 = 1;
        if (r3 != r5) goto L_0x0d26;
    L_0x0d18:
        r3 = "geta8key_open_webview_appid";
        r4.putExtra(r3, r7);
        r3 = "geta8key_scene";
        r5 = 53;
        r4.putExtra(r3, r5);
    L_0x0d26:
        r3 = "show_openapp_dialog";
        r5 = 0;
        r4.putExtra(r3, r5);
        r3 = "pay_channel";
        r5 = 40;
        r4.putExtra(r3, r5);
        r3 = 39;
        com.tencent.mm.pluginsdk.wallet.i.Lt(r3);
    L_0x0d3a:
        r3 = 5;
        if (r6 != r3) goto L_0x0d6c;
    L_0x0d3d:
        r3 = "webview_invoke_launch_app_when_back";
        r5 = 1;
        r4.putExtra(r3, r5);
        r3 = "webview_invoke_launch_app_ext_info_when_back";
        r5 = "%s://opentypewebview?wx_internal_resptype=%d&ret=%d";
        r8 = 3;
        r8 = new java.lang.Object[r8];
        r9 = 0;
        r8[r9] = r7;
        r9 = 1;
        r6 = java.lang.Integer.valueOf(r6);
        r8[r9] = r6;
        r6 = 2;
        r9 = -2;
        r9 = java.lang.Integer.valueOf(r9);
        r8[r6] = r9;
        r5 = java.lang.String.format(r5, r8);
        r4.putExtra(r3, r5);
        r3 = "KAppId";
        r4.putExtra(r3, r7);
    L_0x0d6c:
        r3 = "transaction_for_openapi_openwebview";
        r5 = vao;
        r4.putExtra(r3, r5);
        if (r21 == 0) goto L_0x0d7b;
    L_0x0d76:
        r0 = r21;
        r4.putExtras(r0);
    L_0x0d7b:
        r3 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r2);
        if (r3 != 0) goto L_0x0dde;
    L_0x0d81:
        r3 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4.setClassName(r3, r2);
        if (r18 == 0) goto L_0x0dbb;
    L_0x0d8a:
        r0 = r18;
        r0.startActivity(r4);	 Catch:{ Exception -> 0x0dca }
    L_0x0d8f:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0d97:
        r5 = 2;
        r0 = r20;
        if (r0 != r5) goto L_0x0d3a;
    L_0x0d9c:
        r5 = 1;
        if (r3 != r5) goto L_0x0dad;
    L_0x0d9f:
        r3 = "geta8key_open_webview_appid";
        r4.putExtra(r3, r7);
        r3 = "geta8key_scene";
        r5 = 52;
        r4.putExtra(r3, r5);
    L_0x0dad:
        r3 = "pay_channel";
        r5 = 39;
        r4.putExtra(r3, r5);
        r3 = 39;
        com.tencent.mm.pluginsdk.wallet.i.Lt(r3);
        goto L_0x0d3a;
    L_0x0dbb:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0dca }
        r2.startActivity(r4);	 Catch:{ Exception -> 0x0dca }
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0dca }
        com.tencent.mm.ui.base.b.K(r2, r4);	 Catch:{ Exception -> 0x0dca }
        goto L_0x0d8f;
    L_0x0dca:
        r2 = move-exception;
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "";
        r5 = 1;
        r5 = new java.lang.Object[r5];
        r6 = 0;
        r7 = "";
        r5[r6] = r7;
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r3, r2, r4, r5);
        goto L_0x0d8f;
    L_0x0dde:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0de6:
        r2 = "weixin://dl/openbusinesswebview/link/";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0eee;
    L_0x0def:
        r2 = "MicroMsg.DeepLinkHelper";
        r3 = "gotoUri, uri startsWith openbusinesswebview";
        com.tencent.mm.sdk.platformtools.ab.i(r2, r3);
        r3 = android.net.Uri.parse(r19);
        r4 = new android.content.Intent;
        r4.<init>();
        r2 = 0;
        if (r3 == 0) goto L_0x0ea7;
    L_0x0e04:
        r2 = "url";
        r5 = r3.getQueryParameter(r2);
        r2 = "type";
        r2 = r3.getQueryParameter(r2);
        r6 = 0;
        r6 = com.tencent.mm.sdk.platformtools.bo.getInt(r2, r6);
        r2 = "appid";
        r2 = r3.getQueryParameter(r2);
        r3 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r2);
        r2 = "MicroMsg.DeepLinkHelper";
        r7 = "gotoUri, rawUrl = %s, appId:%s, translateLinkScene: %s";
        r8 = 3;
        r8 = new java.lang.Object[r8];
        r9 = 0;
        r8[r9] = r5;
        r9 = 1;
        r8[r9] = r3;
        r9 = 2;
        r10 = java.lang.Integer.valueOf(r20);
        r8[r9] = r10;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r7, r8);
        r2 = "com.tencent.mm.plugin.webview.ui.tools.WebViewUI";
        r7 = "rawUrl";
        r4.putExtra(r7, r5);
        r5 = "geta8key_session_id";
        r0 = r22;
        r4.putExtra(r5, r0);
        r5 = "geta8key_cookie";
        r0 = r23;
        r4.putExtra(r5, r0);
        r5 = "geta8key_open_webview_appid";
        r4.putExtra(r5, r3);
        r5 = "geta8key_scene";
        r7 = 57;
        r4.putExtra(r5, r7);
        r5 = "show_openapp_dialog";
        r7 = 0;
        r4.putExtra(r5, r7);
        r5 = "webview_invoke_launch_app_when_back";
        r7 = 1;
        r4.putExtra(r5, r7);
        r5 = "webview_invoke_launch_app_ext_info_when_back";
        r7 = "%s://openbusinesswebview?type=%d&ret=%d";
        r8 = 3;
        r8 = new java.lang.Object[r8];
        r9 = 0;
        r8[r9] = r3;
        r9 = 1;
        r6 = java.lang.Integer.valueOf(r6);
        r8[r9] = r6;
        r6 = 2;
        r9 = -2;
        r9 = java.lang.Integer.valueOf(r9);
        r8[r6] = r9;
        r6 = java.lang.String.format(r7, r8);
        r4.putExtra(r5, r6);
        r5 = "KAppId";
        r4.putExtra(r5, r3);
        r3 = "transaction_for_openapi_openwebview";
        r5 = vao;
        r4.putExtra(r3, r5);
        if (r21 == 0) goto L_0x0ea7;
    L_0x0ea2:
        r0 = r21;
        r4.putExtras(r0);
    L_0x0ea7:
        r3 = com.tencent.mm.sdk.platformtools.bo.isNullOrNil(r2);
        if (r3 != 0) goto L_0x0ee6;
    L_0x0ead:
        r3 = com.tencent.mm.sdk.platformtools.ah.getContext();
        r4.setClassName(r3, r2);
        if (r18 == 0) goto L_0x0ec3;
    L_0x0eb6:
        r0 = r18;
        r0.startActivity(r4);	 Catch:{ Exception -> 0x0ed2 }
    L_0x0ebb:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0ec3:
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0ed2 }
        r2.startActivity(r4);	 Catch:{ Exception -> 0x0ed2 }
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0ed2 }
        com.tencent.mm.ui.base.b.K(r2, r4);	 Catch:{ Exception -> 0x0ed2 }
        goto L_0x0ebb;
    L_0x0ed2:
        r2 = move-exception;
        r3 = "MicroMsg.DeepLinkHelper";
        r4 = "";
        r5 = 1;
        r5 = new java.lang.Object[r5];
        r6 = 0;
        r7 = "";
        r5[r6] = r7;
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r3, r2, r4, r5);
        goto L_0x0ebb;
    L_0x0ee6:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0eee:
        r2 = "weixin://dl/jumpFakeWxa/";
        r2 = r8.startsWith(r2);
        if (r2 != 0) goto L_0x0f00;
    L_0x0ef7:
        r2 = "weixin://dl/openNativeView/";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0ff0;
    L_0x0f00:
        r2 = android.net.Uri.parse(r19);
        r3 = "appid";
        r4 = r2.getQueryParameter(r3);
        r3 = "businessType";
        r5 = r2.getQueryParameter(r3);
        r6 = 0;
        r3 = 0;
        r7 = 0;
        r2 = com.tencent.mm.model.v.Zp();
        r9 = "key_data_center_session_id";
        r10 = 0;
        r9 = r2.y(r9, r10);
        if (r9 == 0) goto L_0x0f4e;
    L_0x0f23:
        r2 = "key_launch_miniprogram_type";
        r3 = 0;
        r3 = java.lang.Integer.valueOf(r3);
        r2 = r9.get(r2, r3);
        r2 = (java.lang.Integer) r2;
        r7 = r2.intValue();
        r2 = "key_launch_miniprogram_query_info";
        r3 = "";
        r2 = r9.get(r2, r3);
        r2 = (java.lang.String) r2;
        r3 = "key_open_business_view_ext_info";
        r6 = "";
        r3 = r9.get(r3, r6);
        r3 = (java.lang.String) r3;
        r6 = r2;
    L_0x0f4e:
        r2 = "MicroMsg.DeepLinkHelper";
        r9 = "appid = %s, translateLinkScene = %d, type = %d";
        r10 = 3;
        r10 = new java.lang.Object[r10];
        r11 = 0;
        r10[r11] = r4;
        r11 = 1;
        r12 = java.lang.Integer.valueOf(r20);
        r10[r11] = r12;
        r11 = 2;
        r12 = java.lang.Integer.valueOf(r7);
        r10[r11] = r12;
        com.tencent.mm.sdk.platformtools.ab.i(r2, r9, r10);
        r2 = com.tencent.mm.model.v.Zp();
        r9 = "key_data_center_session_id";
        r2.nV(r9);
        r2 = "weixin://dl/jumpFakeWxa/";
        r2 = r8.startsWith(r2);
        if (r2 == 0) goto L_0x0fa0;
    L_0x0f7e:
        r2 = 1;
        r0 = r20;
        if (r0 != r2) goto L_0x0f98;
    L_0x0f83:
        r2 = com.tencent.mm.plugin.appbrand.service.e.class;
        r2 = com.tencent.mm.kernel.g.K(r2);
        r2 = (com.tencent.mm.plugin.appbrand.service.e) r2;
        r3 = r18;
        r2.a(r3, r4, r5, r6, r7);
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0f98:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0fa0:
        r2 = com.tencent.mm.pluginsdk.b.vaj;
        if (r5 == 0) goto L_0x0fab;
    L_0x0fa4:
        r2 = r5.hashCode();
        switch(r2) {
            case -1919727738: goto L_0x0fb6;
            case 554520581: goto L_0x0fd1;
            default: goto L_0x0fab;
        };
    L_0x0fab:
        r2 = 0;
    L_0x0fac:
        if (r2 == 0) goto L_0x0fe5;
    L_0x0fae:
        r2 = 1;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0fb6:
        r2 = "nativeEmergencyContact";
        r2 = r5.equals(r2);
        if (r2 == 0) goto L_0x0fab;
    L_0x0fbf:
        r2 = "businessType";
        a.f.b.j.p(r5, r2);
        r2 = "testExtMsg";
        r3 = -3;
        r6 = "testErrMsg";
        com.tencent.mm.pluginsdk.ui.tools.i.c(r5, r2, r4, r3, r6);
        r2 = 1;
        goto L_0x0fac;
    L_0x0fd1:
        r2 = "nativeShareToHaokan";
        r2 = r5.equals(r2);
        if (r2 == 0) goto L_0x0fab;
    L_0x0fda:
        r2 = "businessType";
        a.f.b.j.p(r5, r2);
        com.tencent.mm.plugin.topstory.ui.c.an(r5, r4, r3);
        r2 = 1;
        goto L_0x0fac;
    L_0x0fe5:
        r2 = 1;
        van = r2;
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0ff0:
        r2 = 0;
        r3 = 11675; // 0x2d9b float:1.636E-41 double:5.768E-320;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r3);
        goto L_0x0015;
    L_0x0ff8:
        r3 = r2;
        goto L_0x0ac1;
    L_0x0ffb:
        r5 = r4;
        goto L_0x0227;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.pluginsdk.e.a(android.content.Context, java.lang.String, int, android.os.Bundle, int, byte[], java.lang.String):boolean");
    }

    private static void ac(Context context, int i) {
        String string;
        AppMethodBeat.i(11677);
        if (!com.tencent.mm.sdk.platformtools.g.xyg && aa.dor().equals("zh_CN")) {
            string = context.getString(2131305626);
        } else if (aa.dor().equals("zh_HK")) {
            string = context.getString(2131305627);
        } else if (aa.dor().equals("zh_TW")) {
            string = context.getString(2131305628);
        } else {
            string = context.getString(2131305629);
        }
        ab.d("MicroMsg.DeepLinkHelper", "using faq webpage");
        Intent intent = new Intent();
        intent.putExtra("rawUrl", string);
        intent.putExtra("show_feedback", false);
        intent.putExtra("KShowFixToolsBtn", true);
        intent.putExtra("geta8key_session_id", i);
        d.b(context, "webview", ".ui.tools.WebViewUI", intent);
        AppMethodBeat.o(11677);
    }

    private static String air(String str) {
        AppMethodBeat.i(11678);
        String str2 = null;
        if (!bo.isNullOrNil(str)) {
            Uri parse = Uri.parse(str);
            str2 = parse.getScheme() + "://" + parse.getHost() + parse.getPath();
        }
        AppMethodBeat.o(11678);
        return str2;
    }

    public static void A(Context context, String str, String str2) {
        AppMethodBeat.i(11679);
        if (aip(str2)) {
            AppMethodBeat.o(11679);
            return;
        }
        p b = com.tencent.mm.ui.base.h.b(context, BuildConfig.FLAVOR, true, null);
        int i = 6;
        if (!bo.isNullOrNil(str)) {
            if (t.kH(str)) {
                i = 7;
            } else if (t.mZ(str)) {
                i = 9;
            }
        }
        a(context, str2, i, new 4(b, context));
        AppMethodBeat.o(11679);
    }

    public static void bu(Context context, String str) {
        AppMethodBeat.i(11680);
        if (bo.isNullOrNil(str)) {
            ab.e("MicroMsg.DeepLinkHelper", "cpan gotoLoginUI url is null. finish");
            AppMethodBeat.o(11680);
        } else if (str.startsWith("weixin://dl/login/phone_view")) {
            Uri parse = Uri.parse(str);
            ab.d("MicroMsg.DeepLinkHelper", "cpan gotoLoginUI cc:%s num:%s", new Object[]{parse.getQueryParameter("cc"), parse.getQueryParameter("num")});
            Intent intent = new Intent();
            intent.putExtra("couttry_code", r1);
            intent.putExtra("input_mobile_number", r0);
            intent.putExtra("from_deep_link", true);
            intent.putExtra("mobile_input_purpose", 1);
            intent.addFlags(ErrorDialogData.BINDER_CRASH);
            d.b(context, "account", ".ui.MobileInputUI", intent);
            AppMethodBeat.o(11680);
        } else if (str.startsWith("weixin://dl/login/common_view")) {
            ab.d("MicroMsg.DeepLinkHelper", "cpan gotoLoginUI  username:%s", new Object[]{Uri.parse(str).getQueryParameter("username")});
            Intent intent2 = new Intent();
            intent2.putExtra("login_username", r0);
            intent2.putExtra("from_deep_link", true);
            intent2.addFlags(ErrorDialogData.BINDER_CRASH);
            d.b(context, "account", ".ui.LoginUI", intent2);
            AppMethodBeat.o(11680);
        } else {
            ab.e("MicroMsg.DeepLinkHelper", "cpan gotoLoginUI url not Correct:%s", new Object[]{str});
            AppMethodBeat.o(11680);
        }
    }

    public static boolean aiq(String str) {
        AppMethodBeat.i(11672);
        boolean a = a(null, str, 0, null, (int) System.currentTimeMillis(), new byte[0], null);
        AppMethodBeat.o(11672);
        return a;
    }

    public static boolean a(Context context, String str, int i, Bundle bundle, String str2) {
        AppMethodBeat.i(11674);
        boolean a = a(context, str, i, bundle, (int) System.currentTimeMillis(), new byte[0], str2);
        AppMethodBeat.o(11674);
        return a;
    }

    public static void fC(Context context) {
        AppMethodBeat.i(11676);
        ac(context, (int) System.currentTimeMillis());
        AppMethodBeat.o(11676);
    }
}
