mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Renamed Vorbis methods/fields
This commit is contained in:
parent
b4353bc7db
commit
5aaf6a9ad0
7 changed files with 724 additions and 731 deletions
|
|
@ -32,4 +32,30 @@ public class IntUtils {
|
|||
@Pc(40) int local40 = local34 | local34 >>> 16;
|
||||
return local40 + 1;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!qi", name = "b", descriptor = "(II)I")
|
||||
public static int bitCount(@OriginalArg(0) int arg0) {
|
||||
@Pc(5) int local5 = 0;
|
||||
if (arg0 < 0 || arg0 >= 65536) {
|
||||
local5 += 16;
|
||||
arg0 >>>= 0x10;
|
||||
}
|
||||
if (arg0 >= 256) {
|
||||
local5 += 8;
|
||||
arg0 >>>= 0x8;
|
||||
}
|
||||
if (arg0 >= 16) {
|
||||
local5 += 4;
|
||||
arg0 >>>= 0x4;
|
||||
}
|
||||
if (arg0 >= 4) {
|
||||
arg0 >>>= 0x2;
|
||||
local5 += 2;
|
||||
}
|
||||
if (arg0 >= 1) {
|
||||
arg0 >>>= 0x1;
|
||||
local5++;
|
||||
}
|
||||
return arg0 + local5;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue