Normally I can figure stuff out by myself, but I'm stumped on this. I'm refactoring a 534 client, and I'm not sure how I'm supposed to refactor the methods in Jagex's Buffer when the obfuscator made it impossible read. I've tried finding the inverse for it but I can't.
Code:
this.payload[this.pos++] = (byte) (val >> 1306587288);
this.payload[this.pos++] = (byte) (val >> -1386992368);
this.payload[this.pos++] = (byte) (val >> 462144872);
this.payload[this.pos++] = (byte) val;
Now I know from testing that, that's writeInt
Code:
byte >> 24
byte >> 16
byte >> 8
byte
but the numbers are different for all other methods.