Skip to content

Commit

Permalink
add patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Jun 3, 2024
1 parent 1dc211f commit 1d44b48
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,15 +635,26 @@ std::unordered_map<std::string_view, AddressRule> g_address_rules{
},
{
"mural_cursor"sv,
PatternCommandBuffer{}.from_exe_base(0xafeab),
PatternCommandBuffer{} //.from_exe_base(0xafeab),
.set_optional(true)
.find_after_inst(".. 8b 05 .. .. .. .. .. 83 b8 48 ba 09 00 00"_gh)
.at_exe(),
},
{
"render"sv,
PatternCommandBuffer{}.from_exe_base(0x4dcc0),
PatternCommandBuffer{} //.from_exe_base(0x4dcc0),
.set_optional(true)
.find_inst("b8 a8 2a 00 00 e8"_gh)
.at_exe()
.function_start(),
},
{
"draw_text"sv,
PatternCommandBuffer{}.from_exe_base(0x71010),
PatternCommandBuffer{} //.from_exe_base(0x71010),
.set_optional(true)
.find_inst("48 83 ec 58 4d 85 c0"_gh)
.at_exe()
.function_start(),
},
/*{
"decrypt_asset"sv,
Expand Down

0 comments on commit 1d44b48

Please sign in to comment.