It doesn't conatin that pattern for the reason that pattern is found in two places in the file, instead of just the one.
Searching for: a0.0091..0094a0..d1..ff97
Pattern found at offset: 0x0006973C (431932)
Pattern found at offset: 0x0006A044 (434244)
Pattern found: 2 times
Now to be exact and only find the pattern once - which ensures the correct place.
Searching for: .6f00...0094a0..d1..ff97
Pattern found at offset: 0x0006973C (431932)
Pattern found: 1 times
This is the reason the code was modded to that pattern. TBH it doesn't matter for now what pattern is found as the first pattern above is found at the correct offset and then I guess the search breaks out of searching for anymore offsets, but the second pattern absolute. It's easy enough to figure out a better pattern if something changes in future upadates so people shouldn't get too hung up about what patterns are used for now. Also this program can easily be modded to to read patterns from a text file or ini file without much modding should someone feel the urge to do that.
Best patch pattern for es is now this:
Code:
constinit Patterns es_patterns[] = {
{ "es1", "00...0094A0..D1..FF97.......A9", 14, 0, mov2_cond, mov0_patch, mov0_applied, true, MAKEHOSVERSION(9,1,0), MAKEHOSVERSION(18,0,0) },
};
This pattern is based on fw analysis from fw 9.1.0-18 and works for es patches on all of those fw.