Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compare two different byte array in AutoAssemblyScript #2211

Open
ragnaroks opened this issue Jun 4, 2022 · 1 comment
Open

how to compare two different byte array in AutoAssemblyScript #2211

ragnaroks opened this issue Jun 4, 2022 · 1 comment

Comments

@ragnaroks
Copy link

here are two different byte array but same instruction

game.exe+111111        3B C1        cmp eax,ecx
game.exe+111111        39 C8        cmp eax,ecx

in AutoAssemblyScript, i use this script to check that it is correct address after game updates

assert(game.exe+111111,39 C8)

how to deal with this?

maybe new function like assert( address, byteArray1, byteArray2, .... ) ?

@ragnaroks
Copy link
Author

by the way, i know use LUA can deal with this, but i do not want to use LUA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant