v.i("MicroMsg.VoiceTransTextUI", "net check");
   if (kx() > 0L) {
     v.i("MicroMsg.VoiceTransTextUI", "has msg svr id: %d", new Object[] { Long.valueOf(kx()) });
   }
   for (hIa = new a(aHz(), In(), aHA().getFormat(), kx(), getFileName());; hIa = new a(aHz(), In(), getFileName()))
   {
     com.tencent.mm.model.ah.tF().a(hIa, 0);
     com.tencent.mm.model.ah.tF().a(hIa.getType(), this);
     if (hMa != null) {
       break;
     }
     if (hMa == null) {
       hMa = new com.tencent.mm.sdk.c.c() {};
     }
     com.tencent.mm.sdk.c.a.kug.d(hMa);
     return;
     v.i("MicroMsg.VoiceTransTextUI", "not existex msg svr id: %d", new Object[] { Long.valueOf(kx()) });
   }
 case 2: 
 private void aHy()
 {
   v.d("MicroMsg.VoiceTransTextUI", "cancel all net");
   if (hIa != null)
   {
     com.tencent.mm.model.ah.tF().c(hIa);
     com.tencent.mm.model.ah.tF().b(hIa.getType(), this);
   }
   if (hIb != null)
   {
     com.tencent.mm.model.ah.tF().c(hIb);
     com.tencent.mm.model.ah.tF().b(hIb.getType(), this);
   }
   if (hIc != null)
   {
     com.tencent.mm.model.ah.tF().c(hIc);
     com.tencent.mm.model.ah.tF().b(hIc.getType(), this);
   }
 }
 public void onSceneEnd(final int paramInt1, int paramInt2, String paramString, com.tencent.mm.t.j paramj)
 {
   paramString = null;
   Object localObject = null;
   if ((paramInt1 == 0) && (paramInt2 == 0))
   {
     switch (paramj.getType())
     {
     }
     do
     {
       do
       {
         return;
         if (hIa.mState == a.hLK)
         {
           v.i("MicroMsg.VoiceTransTextUI", "check result: done");
           paramString = (String)localObject;
           if (hIa.aHv()) {
             paramString = hIa.hLL.kou;
           }
           xC(paramString);
           return;
         }
         if (hIa.mState == a.hLJ)
         {
           if ((hIa.hLL != null) && (be.kf(hIa.hLL.kou))) {
             af(b.hMw, hIa.hLL.kou);
           }
           v.i("MicroMsg.VoiceTransTextUI", "check result: processing");
           nJ(a.hMt);
           return;
         }
         if (hIa.mState == a.hLI)
         {
           v.i("MicroMsg.VoiceTransTextUI", "check result: not exist");
           nJ(a.hMr);
           return;
         }
       } while (hIa.hLN == null);
       hLV = hIa.hLN.kec;
       return;
       if (hIb.aHx())
       {
         v.i("MicroMsg.VoiceTransTextUI", "succeed upload");
         nJ(a.hMt);
         return;
       }
       v.d("MicroMsg.VoiceTransTextUI", "start upload more: start:%d, len:%d", new Object[] { Integer.valueOf(hIb.hLM.jwj), Integer.valueOf(hIb.hLM.jwk) });
       nJ(a.hMs);
       return;
       hLV = hIc.hLP;
       hIf = false;
       if ((!hIc.isComplete()) && (hIc.aHv()))
       {
         paramj = hIc.hLL.kou;
         af(b.hMw, paramj);
         v.d("MicroMsg.VoiceTransTextUI", "result valid:%s", new Object[] { hIc.hLL.kou });
       }
       while (hIc.isComplete())
       {
         v.i("MicroMsg.VoiceTransTextUI", "succeed get");
         if (hIc.aHv()) {
           paramString = hIc.hLL.kou;
         }
         xC(paramString);
         return;
         if (!hIc.aHv()) {
           v.d("MicroMsg.VoiceTransTextUI", "result not valid");
         }
       }
       if (hLW)
       {
         v.i("MicroMsg.VoiceTransTextUI", "do get now! --- Notify new result");
         nJ(a.hMt);
         return;
       }
       v.i("MicroMsg.VoiceTransTextUI", "do get again after:%ds", new Object[] { Integer.valueOf(hLV) });
       paramInt1 = hLV;
     } while (hIg);
     if (hIh == null) {
       hIh = new com.tencent.mm.sdk.platformtools.ah(new ah.a()
       {
         public final boolean jK()
         {
           if (VoiceTransTextUI.m(VoiceTransTextUI.this)) {
             return false;
           }
           v.d("MicroMsg.VoiceTransTextUI", "timmer get, delay:%d", new Object[] { Integer.valueOf(paramInt1) });
           VoiceTransTextUI.c(VoiceTransTextUI.this, VoiceTransTextUI.a.hMt);
           return false;
         }
       }, false);
     }
     hIh.dJ(paramInt1 * 1000);
     return;
   }
   hIg = true;
   af(b.hMx, null);
 }