package com.tencent.mm.plugin.normsg;

import com.tencent.matrix.trace.core.AppMethodBeat;

class b$1 implements Runnable {
    final /* synthetic */ b oTH;

    b$1(b bVar) {
        this.oTH = bVar;
    }

    /* JADX WARNING: Failed to process nested try/catch */
    /* JADX WARNING: Missing block: B:16:0x013e, code skipped:
            r0 = move-exception;
     */
    /* JADX WARNING: Missing block: B:17:0x013f, code skipped:
            com.tencent.mm.sdk.platformtools.ab.e("MicroMsg.NormsgSourceImpl", "exception:%s", new java.lang.Object[]{com.tencent.mm.sdk.platformtools.bo.l(r0)});
     */
    /* JADX WARNING: Missing block: B:18:0x0152, code skipped:
            r0 = r1;
     */
    public final void run() {
        /*
        r11 = this;
        r10 = 10313; // 0x2849 float:1.4452E-41 double:5.0953E-320;
        r9 = 0;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r10);
        r0 = com.tencent.mm.kernel.g.RK();
        if (r0 != 0) goto L_0x0010;
    L_0x000c:
        com.tencent.matrix.trace.core.AppMethodBeat.o(r10);
    L_0x000f:
        return;
    L_0x0010:
        r0 = java.lang.System.currentTimeMillis();	 Catch:{ Exception -> 0x0154 }
        r2 = com.tencent.mm.sdk.platformtools.ah.getContext();	 Catch:{ Exception -> 0x0154 }
        r2 = r2.getApplicationInfo();	 Catch:{ Exception -> 0x0154 }
        r2 = r2.sourceDir;	 Catch:{ Exception -> 0x0154 }
        com.tencent.mm.kernel.g.RN();	 Catch:{ Exception -> 0x0154 }
        r2 = com.tencent.mm.kernel.a.QF();	 Catch:{ Exception -> 0x0154 }
        r2 = com.tencent.mm.plugin.normsg.Normsg.b.Ak(r2);	 Catch:{ Exception -> 0x0154 }
        com.tencent.mm.kernel.g.RN();	 Catch:{ Exception -> 0x0154 }
        r3 = com.tencent.mm.kernel.a.QF();	 Catch:{ Exception -> 0x0154 }
        r3 = com.tencent.mm.plugin.normsg.Normsg.b.Al(r3);	 Catch:{ Exception -> 0x0154 }
        r4 = java.lang.System.currentTimeMillis();	 Catch:{ Exception -> 0x0154 }
        r4 = r4 - r0;
        r0 = "<k25>%s</k25>";
        r1 = 1;
        r1 = new java.lang.Object[r1];	 Catch:{ Exception -> 0x0154 }
        r6 = 0;
        r7 = 0;
        r8 = r2.length;	 Catch:{ Exception -> 0x0154 }
        r2 = com.tencent.mm.plugin.normsg.b.d.v(r2, r7, r8);	 Catch:{ Exception -> 0x0154 }
        r1[r6] = r2;	 Catch:{ Exception -> 0x0154 }
        r1 = java.lang.String.format(r0, r1);	 Catch:{ Exception -> 0x0154 }
        if (r3 == 0) goto L_0x00b1;
    L_0x004e:
        r0 = r3.length;	 Catch:{ Exception -> 0x0154 }
        r2 = 8;
        if (r0 != r2) goto L_0x0118;
    L_0x0053:
        r0 = 0;
        r0 = r3[r0];	 Catch:{ Exception -> 0x0154 }
        r2 = 0;
        r6 = 3;
        r6 = r3[r6];	 Catch:{ Exception -> 0x0154 }
        r3[r2] = r6;	 Catch:{ Exception -> 0x0154 }
        r2 = 3;
        r3[r2] = r0;	 Catch:{ Exception -> 0x0154 }
        r0 = 1;
        r0 = r3[r0];	 Catch:{ Exception -> 0x0154 }
        r2 = 1;
        r6 = 2;
        r6 = r3[r6];	 Catch:{ Exception -> 0x0154 }
        r3[r2] = r6;	 Catch:{ Exception -> 0x0154 }
        r2 = 2;
        r3[r2] = r0;	 Catch:{ Exception -> 0x0154 }
        r0 = 4;
        r0 = r3[r0];	 Catch:{ Exception -> 0x0154 }
        r2 = 4;
        r6 = 7;
        r6 = r3[r6];	 Catch:{ Exception -> 0x0154 }
        r3[r2] = r6;	 Catch:{ Exception -> 0x0154 }
        r2 = 7;
        r3[r2] = r0;	 Catch:{ Exception -> 0x0154 }
        r0 = 5;
        r0 = r3[r0];	 Catch:{ Exception -> 0x0154 }
        r2 = 5;
        r6 = 6;
        r6 = r3[r6];	 Catch:{ Exception -> 0x0154 }
        r3[r2] = r6;	 Catch:{ Exception -> 0x0154 }
        r2 = 6;
        r3[r2] = r0;	 Catch:{ Exception -> 0x0154 }
        r0 = new java.lang.StringBuilder;	 Catch:{ Exception -> 0x0154 }
        r0.<init>();	 Catch:{ Exception -> 0x0154 }
        r0 = r0.append(r1);	 Catch:{ Exception -> 0x0154 }
        r1 = "<k28>%s</k28><k29>%s</k29>";
        r2 = 2;
        r2 = new java.lang.Object[r2];	 Catch:{ Exception -> 0x0154 }
        r6 = 0;
        r7 = 0;
        r8 = 4;
        r7 = com.tencent.mm.plugin.normsg.b.d.v(r3, r7, r8);	 Catch:{ Exception -> 0x0154 }
        r2[r6] = r7;	 Catch:{ Exception -> 0x0154 }
        r6 = 1;
        r7 = 4;
        r8 = 8;
        r3 = com.tencent.mm.plugin.normsg.b.d.v(r3, r7, r8);	 Catch:{ Exception -> 0x0154 }
        r2[r6] = r3;	 Catch:{ Exception -> 0x0154 }
        r1 = java.lang.String.format(r1, r2);	 Catch:{ Exception -> 0x0154 }
        r0 = r0.append(r1);	 Catch:{ Exception -> 0x0154 }
        r1 = r0.toString();	 Catch:{ Exception -> 0x0154 }
    L_0x00b1:
        r0 = "mp.weixin.qq.com";
        r0 = java.net.Inet4Address.getByName(r0);	 Catch:{ Exception -> 0x013e }
        r0 = r0.getHostAddress();	 Catch:{ Exception -> 0x013e }
        r2 = new java.lang.StringBuilder;	 Catch:{ Exception -> 0x013e }
        r2.<init>();	 Catch:{ Exception -> 0x013e }
        r2 = r2.append(r1);	 Catch:{ Exception -> 0x013e }
        r3 = "<k32>%s</k32>";
        r6 = 1;
        r6 = new java.lang.Object[r6];	 Catch:{ Exception -> 0x013e }
        r7 = 0;
        r0 = com.tencent.mm.sdk.platformtools.bo.nullAsNil(r0);	 Catch:{ Exception -> 0x013e }
        r6[r7] = r0;	 Catch:{ Exception -> 0x013e }
        r0 = java.lang.String.format(r3, r6);	 Catch:{ Exception -> 0x013e }
        r0 = r2.append(r0);	 Catch:{ Exception -> 0x013e }
        r0 = r0.toString();	 Catch:{ Exception -> 0x013e }
    L_0x00de:
        r1 = "MicroMsg.NormsgSourceImpl";
        r2 = new java.lang.StringBuilder;	 Catch:{ Exception -> 0x0154 }
        r3 = "checkSoftType2 [time: ";
        r2.<init>(r3);	 Catch:{ Exception -> 0x0154 }
        r2 = r2.append(r4);	 Catch:{ Exception -> 0x0154 }
        r3 = ", value: ";
        r2 = r2.append(r3);	 Catch:{ Exception -> 0x0154 }
        r2 = r2.append(r0);	 Catch:{ Exception -> 0x0154 }
        r3 = "]";
        r2 = r2.append(r3);	 Catch:{ Exception -> 0x0154 }
        r2 = r2.toString();	 Catch:{ Exception -> 0x0154 }
        com.tencent.mm.sdk.platformtools.ab.i(r1, r2);	 Catch:{ Exception -> 0x0154 }
        r1 = com.tencent.mm.kernel.g.RP();	 Catch:{ Exception -> 0x0154 }
        r1 = r1.Ry();	 Catch:{ Exception -> 0x0154 }
        r2 = 79;
        r1.set(r2, r0);	 Catch:{ Exception -> 0x0154 }
        com.tencent.matrix.trace.core.AppMethodBeat.o(r10);
        goto L_0x000f;
    L_0x0118:
        r0 = new java.lang.StringBuilder;	 Catch:{ Exception -> 0x0154 }
        r0.<init>();	 Catch:{ Exception -> 0x0154 }
        r0 = r0.append(r1);	 Catch:{ Exception -> 0x0154 }
        r1 = "<k27>%s</k27>";
        r2 = 1;
        r2 = new java.lang.Object[r2];	 Catch:{ Exception -> 0x0154 }
        r6 = 0;
        r7 = 0;
        r8 = r3.length;	 Catch:{ Exception -> 0x0154 }
        r3 = com.tencent.mm.plugin.normsg.b.d.v(r3, r7, r8);	 Catch:{ Exception -> 0x0154 }
        r2[r6] = r3;	 Catch:{ Exception -> 0x0154 }
        r1 = java.lang.String.format(r1, r2);	 Catch:{ Exception -> 0x0154 }
        r0 = r0.append(r1);	 Catch:{ Exception -> 0x0154 }
        r1 = r0.toString();	 Catch:{ Exception -> 0x0154 }
        goto L_0x00b1;
    L_0x013e:
        r0 = move-exception;
        r2 = "MicroMsg.NormsgSourceImpl";
        r3 = "exception:%s";
        r6 = 1;
        r6 = new java.lang.Object[r6];	 Catch:{ Exception -> 0x0154 }
        r7 = 0;
        r0 = com.tencent.mm.sdk.platformtools.bo.l(r0);	 Catch:{ Exception -> 0x0154 }
        r6[r7] = r0;	 Catch:{ Exception -> 0x0154 }
        com.tencent.mm.sdk.platformtools.ab.e(r2, r3, r6);	 Catch:{ Exception -> 0x0154 }
        r0 = r1;
        goto L_0x00de;
    L_0x0154:
        r0 = move-exception;
        r1 = "MicroMsg.NormsgSourceImpl";
        r2 = "Failed checkSoftType2.";
        r3 = new java.lang.Object[r9];
        com.tencent.mm.sdk.platformtools.ab.printErrStackTrace(r1, r0, r2, r3);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r10);
        goto L_0x000f;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.plugin.normsg.b$1.run():void");
    }

    public final String toString() {
        AppMethodBeat.i(10314);
        String str = super.toString() + "|checkSoftTypeExtra";
        AppMethodBeat.o(10314);
        return str;
    }
}
