FreeER, on Discord (I think registered here as well) gave me some hints which helped immensely. Hopefully this can help someone else out.
Here is the original code
Code: Select all
code:
movss xmm0,[rcx+rax*4]
Create a new script
Code: Select all
newmem:
cmp rax,EA // first compare
jne code
movss xmm0,[rcx+rax*4] // "restore" original code, but it's a "new" opcode accessing fewer addresses
jmp return
code:
movss xmm0,[rcx+rax*4]
jmp return
Code: Select all
cmp rax,000000EA
jne 7FF655580016
movss xmm0,[rcx+rax*4]
jmp 7FF655707900
movss xmm0,[rcx+rax*4]
jmp 7FF655707900
Now we can add a second compare
Code: Select all
cmp rax,000000EA
jne 7FF655580016
cmp r8,00000001
jne 7FF655580016
movss xmm0,[rcx+rax*4]
jmp 7FF655707900
movss xmm0,[rcx+rax*4]
jmp 7FF655707900
Now you can create your script.
This "drill down filter" makes some things a lot easier for me now, but I'm sure there are better/more advanced methods.
How do you manage this problem?