⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aq.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
import java.io.PrintStream;
import java.util.Vector;
import javax.microedition.lcdui.Graphics;

public final class aq extends ac
{
  private byte y = 0;
  public boolean a;
  public static long[] a;
  public static byte a;
  public static byte[] a;
  private int[][] b;
  public int a;
  public static byte[] b;
  public static short a;
  public static boolean[] a;
  public byte b;
  private int v;
  private long jdField_a_of_type_Long;
  public static int b;
  private static aq jdField_a_of_type_Aq;
  private byte z;
  private int w;
  public boolean b;

  private aq()
  {
    this.jdField_a_of_type_Boolean = true;
    this.jdField_b_of_type_Array2dOfInt = new int[8][2];
    this.jdField_a_of_type_Int = -1;
    this.jdField_b_of_type_Byte = 0;
    this.v = 11;
    this.jdField_a_of_type_Long = 0L;
    this.z = 0;
    { { 1, 0, 4 }, { 2, 3, 6 }, new int[] { 0, 3, 7 } }[3] = { 1, 2, 5 };
    { { -1, -1, -1, -1, 1, 1, 1, -1, -1, 1 }, { -1, 1, -1, 1, 1, -1, 1, 1, -1, -1 }, { -1, -1, -1, 1, 1, -1, -1, -1, 1, 1 } }[3] = { 1, -1, 1, 1, -1, -1, 1, -1, -1, 1 };
    this.jdField_b_of_type_Boolean = false;
    this.jdField_h_of_type_Byte = 4;
  }

  public static aq a()
  {
    if (jdField_a_of_type_Aq == null)
      jdField_a_of_type_Aq = new aq();
    return jdField_a_of_type_Aq;
  }

  public final void a(c paramc)
  {
    try
    {
      byte[] arrayOfByte;
      this.u = 0;
      this.c = paramc.a();
      System.out.println("ID:" + this.c);
      this.l = paramc.a();
      this.m = paramc.a();
      this.jdField_i_of_type_Byte = paramc.a();
      this.w = this.jdField_i_of_type_Byte;
      super.e();
      this.jdField_o_of_type_Byte = paramc.a();
      System.out.println("init player ispalyerwife:" + this.jdField_o_of_type_Byte);
      int i = paramc.a();
      this.jdField_t_of_type_Int = i;
      if (this.x == -1)
        h(i);
      this.k = paramc.a();
      this.jdField_a_of_type_JavaLangString = paramc.a();
      this.d = paramc.a();
      this.jdField_g_of_type_Int = (this.f = paramc.a());
      this.e = paramc.a();
      this.jdField_h_of_type_Int = paramc.a();
      this.jdField_o_of_type_Int = j.b(this.m, this.l);
      this.n = j.a(this.m, this.l);
      c(2);
      c(this.n, this.jdField_o_of_type_Int);
      j.b(this.jdField_o_of_type_Int, this.n);
      b(0);
      super.a(this.jdField_i_of_type_Byte);
      if (this.jdField_i_of_type_Byte <= 3)
        this.jdField_j_of_type_Byte = 1;
      else
        this.jdField_j_of_type_Byte = 2;
      for (int j = 0; j < be.jdField_a_of_type_ArrayOfByte.length; ++j)
        be.jdField_a_of_type_ArrayOfByte[j] = 0;
      A();
      if ((arrayOfByte = al.a(this.jdField_a_of_type_JavaLangString)) != null)
        be.jdField_a_of_type_ArrayOfByte = arrayOfByte;
      if (be.h)
      {
        be.jdField_a_of_type_Be.a(5);
        return;
      }
      be.jdField_a_of_type_Be.a(17);
      return;
    }
    catch (Exception localException2)
    {
      Exception localException1;
      (localException1 = localException2).printStackTrace();
    }
  }

  public static void b(int paramInt)
  {
    aq localaq;
    (localaq = a()).jdField_j_of_type_Int = paramInt;
  }

  public static void c(int paramInt)
  {
    aq localaq;
    (localaq = a()).jdField_i_of_type_Int = paramInt;
  }

  public final void b(byte paramByte)
  {
    b(paramByte);
    if (this.jdField_q_of_type_Byte == 7)
    {
      short[] arrayOfShort = a(this.jdField_g_of_type_Byte, this.p);
      this.v = (arrayOfShort[4] * 1000);
      this.jdField_a_of_type_Long = System.currentTimeMillis();
    }
    if (this.jdField_q_of_type_Byte == 4)
    {
      if (this.jdField_a_of_type_JavaUtilStack.size() != 0)
        this.jdField_a_of_type_JavaUtilStack.removeAllElements();
      if (this.y != 0)
        this.y = 0;
    }
    if (this.jdField_q_of_type_Byte == 9)
      this.y = 0;
  }

  public final void a()
  {
    if ((this.jdField_a_of_type_Boolean) && (be.l % 10 == 0) && (((this.r != this.n) || (this.s != this.jdField_o_of_type_Int))))
    {
      be.jdField_a_of_type_Ba.a(33554688);
      this.r = this.n;
      this.s = this.jdField_o_of_type_Int;
    }
    if (this.f <= 0)
    {
      this.jdField_b_of_type_Boolean = false;
      b(5);
    }
    a(this);
    if (jdField_a_of_type_Byte != 30)
      jdField_a_of_type_Byte = (byte)(jdField_a_of_type_Byte + 1);
    if (jdField_a_of_type_Short > 0)
    {
      jdField_a_of_type_Short = (short)(jdField_a_of_type_Short - 1);
      if ((jdField_a_of_type_Short == 0) && (jdField_b_of_type_ArrayOfByte != null))
        for (int i = 0; i < jdField_b_of_type_ArrayOfByte.length; ++i)
          if (jdField_b_of_type_ArrayOfByte[i] > 14)
            jdField_a_of_type_ArrayOfBoolean[i] = true;
    }
    c();
    i();
    y();
    D();
    aw.a().h();
    if (this.jdField_b_of_type_Boolean)
    {
      boolean bool;
      if ((bool = c()))
        a(false);
    }
    if ((be.jdField_a_of_type_Be.jdField_b_of_type_Ae != null) && ("leaveForm".equals(be.jdField_a_of_type_Be.jdField_b_of_type_Ae.jdField_a_of_type_JavaLangString)))
      return;
    switch (this.jdField_q_of_type_Byte)
    {
    case 0:
      v();
      b(bj.a(this.l, this.m), bj.b(this.l, this.m));
      z();
      break;
    case 1:
      u();
      b(bj.a(this.l, this.m), bj.b(this.l, this.m));
      z();
      B();
      break;
    case 2:
      t();
      break;
    case 4:
      break;
    case 5:
      h();
      be.g();
      be.jdField_a_of_type_Be.b(8);
      if ((be.c() != 4) && (be.c() != 3))
        be.jdField_a_of_type_Be.c(1);
      break;
    case 7:
      s();
      if (this.v == 0)
      {
        if (!(a(this, bi.jdField_a_of_type_Bj, this.p, true)))
        {
          this.jdField_a_of_type_Long = 0L;
          b(0);
          return;
        }
        b(8);
        a(bi.jdField_a_of_type_Bj, this.p, this.jdField_t_of_type_Byte);
        this.jdField_h_of_type_Int -= a(this.p);
        be.jdField_a_of_type_Ba.a(33554944);
      }
      else if (System.currentTimeMillis() - this.v >= this.jdField_a_of_type_Long)
      {
        if (!(a(this, bi.jdField_a_of_type_Bj, this.p, true)))
        {
          this.jdField_a_of_type_Long = 0L;
          b(0);
          return;
        }
        b(8);
        a(bi.jdField_a_of_type_Bj, this.p, this.jdField_t_of_type_Byte);
        this.jdField_h_of_type_Int -= a(this.p);
        be.jdField_a_of_type_Ba.a(33554944);
      }
      break;
    case 9:
      aq tmp596_595 = this;
      tmp596_595.y = (byte)(tmp596_595.y + 1);
      r();
      if (this.y > 20)
      {
        be.jdField_a_of_type_Ba.a(50334208);
        b(0);
        this.y = 0;
      }
    case 3:
    case 6:
    case 8:
    }
    b();
    j.b(this.jdField_o_of_type_Int, this.n);
  }

  private void r()
  {
    if (be.jdField_a_of_type_Boolean)
    {
      w();
      return;
    }
    if (be.jdField_g_of_type_Boolean)
      return;
    if (e())
      return;
  }

  private void s()
  {
    if (be.jdField_a_of_type_Boolean)
    {
      w();
      return;
    }
    if (be.jdField_g_of_type_Boolean)
      return;
    if (e())
      return;
  }

  private void t()
  {
    if (be.jdField_a_of_type_Boolean)
    {
      w();
      return;
    }
    if (be.jdField_g_of_type_Boolean)
      return;
    if (e())
      return;
    if (g())
      e(this.jdField_b_of_type_Byte);
  }

  private void u()
  {
    if (be.jdField_a_of_type_Boolean)
    {
      w();
      return;
    }
    if (be.jdField_g_of_type_Boolean)
      return;
    if (e())
      return;
    if (g())
    {
      e(this.jdField_b_of_type_Byte);
      return;
    }
    if ((!(this.jdField_b_of_type_Boolean)) && (this.jdField_a_of_type_Int == -1))
      b(0);
  }

  private void v()
  {
    if (be.jdField_a_of_type_Boolean)
    {
      w();
      return;
    }
    if (be.jdField_g_of_type_Boolean)
      return;
    if (d())
      return;
    if (e())
      return;
    if ((be.a(16)) && (bi.jdField_a_of_type_Bj != null))
    {
      bi.a().b();
      return;
    }
    if (g())
      e(this.jdField_b_of_type_Byte);
  }

  private void w()
  {
    if ((be.a(12)) && (be.jdField_a_of_type_Array2dOfJavaLangString.length > 1) && (be.jdField_b_of_type_Byte != be.jdField_a_of_type_Array2dOfJavaLangString.length - 1))
    {
      be.jdField_b_of_type_Byte = (byte)(be.jdField_b_of_type_Byte + 1);
      be.c = 0;
    }
    if ((be.a(10)) && (be.jdField_a_of_type_Array2dOfJavaLangString.length > 1) && (be.jdField_b_of_type_Byte != 0))
    {
      be.jdField_b_of_type_Byte = (byte)(be.jdField_b_of_type_Byte - 1);
      be.c = 0;
    }
    if ((be.a(11)) && (be.jdField_a_of_type_Array2dOfJavaLangString[be.jdField_b_of_type_Byte].length > 5) && (be.c > 0))
      be.c = (byte)(be.c - 1);
    if ((be.a(13)) && (be.jdField_a_of_type_Array2dOfJavaLangString[be.jdField_b_of_type_Byte].length > 5) && (be.c < be.jdField_a_of_type_Array2dOfJavaLangString[be.jdField_b_of_type_Byte].length - 5))
      be.c = (byte)(be.c + 1);
    if ((be.b(18)) && (be.jdField_a_of_type_Be.jdField_q_of_type_Boolean))
    {
      switch (be.jdField_q_of_type_Byte)
      {
      case 1:
        if ((be.jdField_a_of_type_ArrayOfByte[0] == 0) && (!(a().b())))
        {
          be.l(0);
          be.jdField_q_of_type_Byte = 2;
          be.jdField_a_of_type_Be.jdField_q_of_type_Boolean = false;
          return;
        }
        if ((be.o) && (!(a().b())))
        {
          be.l(7);
          be.jdField_q_of_type_Byte = 4;
          be.jdField_a_of_type_Be.jdField_q_of_type_Boolean = false;
          return;
        }
        av.jdField_a_of_type_Byte = 6;
        be.jdField_a_of_type_Ba.a(1342178304);
        break;
      case 2:
        if ((be.o) && (!(a().b())))
        {
          be.l(7);
          be.jdField_q_of_type_Byte = 4;
          be.jdField_a_of_type_Be.jdField_q_of_type_Boolean = false;
          return;
        }
        av.jdField_a_of_type_Byte = 6;
        be.jdField_a_of_type_Ba.a(1342178304);
        break;
      case 3:
        if (be.am == 1)
        {
          be.jdField_a_of_type_Ba.a(134217984);
        }
        else if (be.am == 2)
        {
          be.jdField_a_of_type_Be.e = true;
          be.jdField_a_of_type_Ba.a(117440768);
        }
        x();
        return;
      case 4:
        if (be.jdField_a_of_type_Be.r)
        {
          av.jdField_a_of_type_Byte = 6;
          be.jdField_a_of_type_Ba.a(1342178304);
        }
        x();
        return;
      case 9:
        if (be.an == 1)
        {
          bj localbj = null;
          localbj = bi.a(be.jdField_t_of_type_Int);
          bi.a();
          bi.b(localbj);
          be.jdField_a_of_type_Be.b(3);
          be.i(100);
          be.jdField_j_of_type_Int = 0;
          be.jdField_a_of_type_Be.e();
          be.jdField_a_of_type_Ba.a(150994944);
        }
        x();
        return;
      case 5:
      case 6:
      case 7:
      case 8:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -