package com.hoya.client;
import com.hoya.games.common.a;
final class b
{
int[] a;
int b;
int c = 0;
int d;
String e;
String f;
String g;
int h;
int i;
String[] j;
String k;
public final a a()
{
this.d = d();
new StringBuffer().append("\t\t read eventType==").append(this.d);
new StringBuffer().append("\t\t read eventTypeName==").append(a.b(this.d));
this.e = f();
new StringBuffer().append("\t\t read gameName==").append(this.e);
this.f = f();
new StringBuffer().append("\t\t read sessionid==").append(this.f);
this.g = f();
new StringBuffer().append("\t\t read accountid==").append(this.g);
this.h = d();
new StringBuffer().append("\t\t read hashcode==").append(this.h);
this.i = d();
new StringBuffer().append("\t\t read numRecipients==").append(this.i);
this.j = new String[this.i];
for (int l = 0; l < this.i; ++l)
this.j[l] = f();
this.k = f();
new StringBuffer().append("\t\t read message==").append(this.k);
new StringBuffer().append("game name:").append(this.e);
new StringBuffer().append("gameNameHash:").append(this.b);
if (this.e != null)
new StringBuffer().append("gameNameHash:").append(this.e.hashCode());
new StringBuffer().append("event type:").append(this.d);
new StringBuffer().append("event Name:").append(a.b(this.d));
new StringBuffer().append("sessionid:").append(this.f);
new StringBuffer().append("accout:").append(this.g);
new StringBuffer().append("hashcode:").append(this.h);
StringBuffer localStringBuffer = new StringBuffer();
if (this.e != null)
localStringBuffer.append(this.e);
if (this.f != null)
localStringBuffer.append(this.f);
if (this.g != null)
localStringBuffer.append(this.g);
if (this.k != null)
localStringBuffer.append(this.k);
int i1 = localStringBuffer.toString().hashCode();
new StringBuffer().append("hashcode2:").append(i1);
new StringBuffer().append("numRecipients:").append(this.i);
int i2 = 0;
if (this.k != null)
i2 = this.k.length();
new StringBuffer().append("MSG length:").append(i2);
new StringBuffer().append("MSG:").append(this.k).append("\n\n\n\n");
if (this.h != i1)
return null;
return new a(this.d, this.f, this.g, this.k);
}
private int b()
{
return this.a[(this.c++)];
}
private int c()
{
return (b() }
private int d()
{
return (b() }
private int e()
{
return c();
}
private String f()
{
int l = e();
new StringBuffer().append("get String,len:").append(l);
if (l return null;
char[] arrayOfChar = new char[l];
for (int i1 = 0; i1 < l; ++i1)
{
arrayOfChar[i1] = (char)b();
new StringBuffer().append("c[").append(i1).append("]====>").append(arrayOfChar[i1]);
}
return new String(arrayOfChar);
}
}