File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,17 @@ export class AllTimesData extends AbstractEntity {
40
40
chatCheckerAddr,
41
41
skinDataAddr,
42
42
settingsClassAddr,
43
- canRunSlowlyAddr
44
- // gameTimePtr,
43
+ canRunSlowlyAddr,
44
+ gameTimePtr
45
45
} = patterns . getPatterns ( [
46
46
'statusPtr' ,
47
47
'playTimeAddr' ,
48
48
'menuModsPtr' ,
49
49
'chatCheckerAddr' ,
50
50
'skinDataAddr' ,
51
51
'settingsClassAddr' ,
52
- 'canRunSlowlyAddr'
53
- // 'gameTimePtr',
52
+ 'canRunSlowlyAddr' ,
53
+ 'gameTimePtr'
54
54
] ) ;
55
55
56
56
const skinOsuAddr = process . readInt ( skinDataAddr + 0x7 ) ;
@@ -65,7 +65,7 @@ export class AllTimesData extends AbstractEntity {
65
65
this . PlayTime = process . readInt (
66
66
process . readInt ( playTimeAddr + 0x5 )
67
67
) ;
68
- // this.GameTime = process.readPointer(gameTimePtr);
68
+ this . GameTime = process . readPointer ( gameTimePtr ) ;
69
69
// [MenuMods + 0x9]
70
70
this . MenuMods = process . readPointer ( menuModsPtr ) ;
71
71
// ChatChecker - 0x20
Original file line number Diff line number Diff line change @@ -79,10 +79,10 @@ const SCAN_PATTERNS: {
79
79
pattern : 'B8 0B 00 00 8B 35' ,
80
80
offset : - 0xb
81
81
} ,
82
- // gameTimePtr: {
83
- // pattern: 'FF 15 ?? ?? ?? ?? A1 ?? ?? ?? ?? 8B 15 ?? ?? ?? ?? 3B ',
84
- // offset: 0x7
85
- // },
82
+ gameTimePtr : {
83
+ pattern : '8B 35 ?? ?? ?? ?? 8B C6 B9 ' ,
84
+ offset : 0x2
85
+ } ,
86
86
spectatingUserPtr : {
87
87
pattern : '8B 0D ?? ?? ?? ?? 85 C0 74 05 8B 50 30' ,
88
88
offset : - 0x4
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface PatternData {
15
15
getAudioLengthPtr : number ;
16
16
userProfilePtr : number ;
17
17
rawLoginStatusPtr : number ;
18
- // gameTimePtr: number;
18
+ gameTimePtr : number ;
19
19
spectatingUserPtr : number ;
20
20
}
21
21
@@ -41,7 +41,7 @@ export class MemoryPatterns {
41
41
getAudioLengthPtr : 0 ,
42
42
userProfilePtr : 0 ,
43
43
rawLoginStatusPtr : 0 ,
44
- // gameTimePtr: 0,
44
+ gameTimePtr : 0 ,
45
45
spectatingUserPtr : 0
46
46
} ;
47
47
You can’t perform that action at this time.
0 commit comments