PDA

View Full Version : 614 Cache Definitions



SiniSoul
March 27th, 2011, 15:38
Known/Verified

Item Definition - Class 94

FYI's:

On startup, all free member items are loaded. During member login, all member items are loaded.



private final void method1013(StreamBuffer streamBuffer, int i, int i_47_) {
anInt1432++;
if (i_47_ != 32)
((Class94) this).anInt1494 = 109;
if (i != 1) {
if (i != 2) {
if (i != 4) {
do {
if (i != 5) {
if (i == 6)
((Class94) this).anInt1477 = streamBuffer.readUnsignedShort();
else {
if (i != 7) {
if (i != 8) {
if (i == 11)
((Class94) this).anInt1456 = 1;
else if (i != 12) {
if (i != 16) {
if (i == 23)
((Class94) this).anInt1424 = (streamBuffer.readUnsignedShort());
else if (i != 24) {
if (i == 25)
((Class94) this).anInt1487 = (streamBuffer.readUnsignedShort());
else if (i == 26)
anInt1435 = (streamBuffer.readUnsignedShort());
else if (i < 30 || i >= 35) {
if (i >= 35 && i < 40) {
((Class94) this).aStringArray1475[-35 + i] = (streamBuffer.readString());
System.out.println("Class 94 String Array 1475: "+((Class94) this).aStringArray1475[-35 + i]);
} else if (i == 40) {
int i_48_ = (streamBuffer.readUnsignedByte());
aShortArray1457 = (new short
[i_48_]);
aShortArray1492 = (new short
[i_48_]);
for (int i_49_ = 0; i_49_ < i_48_; i_49_++) {
aShortArray1457[i_49_] = (short) streamBuffer.readUnsignedShort();
aShortArray1492[i_49_] = (short) streamBuffer.readUnsignedShort();
}
} else if (i != 41) {
if (i == 42) {
int i_50_ = (streamBuffer.readUnsignedByte());
aByteArray1501 = (new byte
[i_50_]);
for (int i_51_ = 0; (i_51_ < i_50_); i_51_++)
aByteArray1501[i_51_] = (streamBuffer.readByte(false));
} else if (i != 65) {
if (i == 78)
anInt1479 = (streamBuffer.readUnsignedShort());
else if (i == 79)
anInt1438 = (streamBuffer.readUnsignedShort());
else if (i != 90) {
if (i != 91) {
if (i == 92)
anInt1450 = streamBuffer.readUnsignedShort();
else if (i != 93) {
if (i != 95) {
if (i != 96) {
if (i == 97)
((Class94) this).anInt1474 = streamBuffer.readUnsignedShort();
else if (i == 98)
((Class94) this).anInt1500 = streamBuffer.readUnsignedShort();
else if (i < 100 || i >= 110) {
if (i == 110)
anInt1423 = streamBuffer.readUnsignedShort();
else if (i != 111) {
if (i == 112)
anInt1480 = streamBuffer.readUnsignedShort();
else if (i != 113) {
if (i == 114)
anInt1439 = streamBuffer.readByte(false) * 5;
else if (i == 115)
((Class94) this).anInt1462 = streamBuffer.readUnsignedByte();
else if (i != 121) {
if (i != 122) {
if (i == 125) {
anInt1493 = streamBuffer.readByte(false) << 2;
anInt1465 = streamBuffer.readByte(false) << 2;
anInt1437 = streamBuffer.readByte(false) << 2;
} else if (i == 126) {
anInt1498 = streamBuffer.readByte(false) << 2;
anInt1470 = streamBuffer.readByte(false) << 2;
anInt1446 = streamBuffer.readByte(false) << 2;
} else if (i == 127) {
((Class94) this).anInt1455 = streamBuffer.readUnsignedByte();
((Class94) this).anInt1426 = streamBuffer.readUnsignedShort();
} else if (i != 128) {
if (i == 129) {
((Class94) this).anInt1433 = streamBuffer.readUnsignedByte();
((Class94) this).anInt1468 = streamBuffer.readUnsignedShort();
} else if (i == 130) {
((Class94) this).anInt1440 = streamBuffer.readUnsignedByte();
((Class94) this).anInt1483 = streamBuffer.readUnsignedShort();
} else if (i != 132) {
if (i == 249) {
int i_52_ = streamBuffer.readUnsignedByte();
if (((Class94) this).aClass194_1472 == null) {
int i_53_ = Class307.method3331((byte) -122, i_52_);
((Class94) this).aClass194_1472 = new HashTable(i_53_);
}
for (int i_54_ = 0; i_54_ < i_52_; i_54_++) {
boolean bool = streamBuffer.readUnsignedByte() == 1;
int i_55_ = streamBuffer.method2507(125);
Class279 class279;
if (bool)
class279 = new Class279_Sub4(streamBuffer.readString());
else
class279 = new IntegerNode(streamBuffer.readInt());
((Class94) this).aClass194_1472.method1598((long) i_55_, i_47_ + 95, class279);
}
}
} else {
int i_56_ = streamBuffer.readUnsignedByte();
((Class94) this).anIntArray1441 = new int[i_56_];
for (int i_57_ = 0; i_56_ > i_57_; i_57_++)
((Class94) this).anIntArray1441[i_57_] = streamBuffer.readUnsignedShort();
}
} else {
((Class94) this).anInt1442 = streamBuffer.readUnsignedByte();
((Class94) this).anInt1476 = streamBuffer.readUnsignedShort();
}
} else
((Class94) this).anInt1431 = streamBuffer.readUnsignedShort();
} else
((Class94) this).anInt1429 = streamBuffer.readUnsignedShort();
} else
anInt1458 = streamBuffer.readByte(false);
} else
anInt1503 = streamBuffer.readUnsignedShort();
} else {
if (((Class94) this).anIntArray1460 == null) {
((Class94) this).anIntArray1460 = new int[10];
((Class94) this).anIntArray1445 = new int[10];
}
((Class94) this).anIntArray1460[-100 + i] = streamBuffer.readUnsignedShort();
((Class94) this).anIntArray1445[i - 100] = streamBuffer.readUnsignedShort();
}
} else
((Class94) this).anInt1443 = streamBuffer.readUnsignedByte();
} else
((Class94) this).anInt1494 = streamBuffer.readUnsignedShort();
} else
anInt1490 = streamBuffer.readUnsignedShort();
} else
anInt1466 = streamBuffer.readUnsignedShort();
} else
anInt1454 = (streamBuffer.readUnsignedShort());
} else
((Class94) this).aBoolean1463 = true;
} else {
int i_58_ = (streamBuffer.readUnsignedByte());
aShortArray1504 = (new short
[i_58_]);
aShortArray1488 = (new short
[i_58_]);
for (int i_59_ = 0; i_59_ < i_58_; i_59_++) {
aShortArray1488[i_59_] = (short) streamBuffer.readUnsignedShort();
aShortArray1504[i_59_] = (short) streamBuffer.readUnsignedShort();
}
}
} else
((Class94) this).aStringArray1485[i + -30] = (streamBuffer.readString());
} else
anInt1449 = (streamBuffer.readUnsignedShort());
} else
((Class94) this).aBoolean1502 = true;
} else
((Class94) this).anInt1473 = (streamBuffer.readInt());
} else {
((Class94) this).anInt1491 = streamBuffer.readUnsignedShort();
if (((Class94) this).anInt1491 > 32767)
((Class94) this).anInt1491 -= 65536;
}
} else {
((Class94) this).anInt1425 = streamBuffer.readUnsignedShort();
if (((Class94) this).anInt1425 <= 32767)
break;
((Class94) this).anInt1425 -= 65536;
}
break;
}
break;
}
((Class94) this).anInt1444 = streamBuffer.readUnsignedShort();
} while (false);
} else
((Class94) this).anInt1436 = streamBuffer.readUnsignedShort();
} else
((Class94) this).aString1434 = streamBuffer.readString();

} else
anInt1481 = streamBuffer.readUnsignedShort();
System.out.println("Class 94 String 1434: "+((Class94) this).aString1434);
}



Unknown Definitions



Class 221
Class 64
Class 148
Class 151
Class 226
Class 163
Class 340
Class 104
Class 102
Class 241
Class 309
Class 95
Class 120
Class 161
Class 278 Sub 29 Sub 5
Class 18
Class 282
Class 335

Trey
March 29th, 2011, 22:16
What the fuck. That's the ugliest obfuscation I've ever seen. I could never work with RSPSs, I would feel the need to rewrite half of the client.

riches321
March 29th, 2011, 22:19
What the fuck. That's the ugliest obfuscation I've ever seen. I could never work with RSPSs, I would feel the need to rewrite half of the client.

Lol, i dont know shit about clients.


Sent from 10 seconds in the future

SiniSoul
March 29th, 2011, 22:20
What the fuck. That's the ugliest obfuscation I've ever seen. I could never work with RSPSs, I would feel the need to rewrite half of the client.

I think that was Jagex's point.

Mystic Flow
March 29th, 2011, 22:35
What the fuck. That's the ugliest obfuscation I've ever seen. I could never work with RSPSs, I would feel the need to rewrite half of the client.

That's the client deobfuscated, obfuscated version looks WAY worse. I think you should know that you can never get the original naming and code after obfuscation, I don't think Jagex would easily give up their work like that

[I'm]_[Not]_[Caelum]
March 29th, 2011, 22:36
jagex only use zkm for obfuscation.