rosu_memory_lib/reader/user/stable/
offset.rs

1
2
3
4pub struct UserProfileOffset{
5    pub ptr: i32,
6    pub id: i32,
7    pub username: i32,
8    pub pp: i32,
9    pub rankedscore: i32,
10    pub level: i32,
11    pub playcount: i32,
12    pub rank: i32,
13    pub playmode: i32,
14    pub accuracy: i32,
15    pub country_code: i32,
16    pub bancho_status: i32,
17}
18
19pub(crate) const USER_PROFILE_OFFSET: UserProfileOffset = UserProfileOffset {
20    ptr: 0x7,
21    id: 0x70,
22    username: 0x30,
23    pp: 0x88,
24    rankedscore: 0xC,
25    level: 0x74,
26    playcount: 0x7C,
27    rank: 0x84,
28    playmode: 0x80,
29    accuracy: 0x4,
30    country_code: 0x9c,
31    bancho_status: 0x8c,
32};