add pattern for `CSoundService and EngineViewData`

This commit is contained in:
cycript
2024-05-03 19:32:47 +05:30
parent 256eaaa6c5
commit e76b9c8aad
5 changed files with 14 additions and 3 deletions

View File

@@ -108,6 +108,9 @@ pattern_map! {
"dwNetworkGameClient_signOnState" => pattern!("448b81u2?? 488d0d") => None,
"dwWindowHeight" => pattern!("8b05${'} 8903") => None,
"dwWindowWidth" => pattern!("8b05${'} 8907") => None,
"dwSoundService" => pattern!("488905${'} 4c8d4424? 488d05") => Some(|_view, map, rva| {
map.insert("dwEngineViewData".to_string(), rva + 0x9C);
}),
},
input_system => {
"dwInputSystem" => pattern!("488905${'} 488d05") => None,