rosu_memory_lib/reader/user/stable/
offset.rs

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