1

I'm trying to make this Hearts game so that i can select more than 3 cards.

This is the func that will compare how many cards i've chosen with 3

1

it'll jump to this address if > 3

2

so i replace the jump with NOP

3

now i can select cards more than 3, but when i trying to pass the cards, there's msg showing, i can't pass the cards

so what am i missing ? I guess when we click the arrow button it'll compare the value again with 3, am i right?

4
  • 1
    Try setting a hardware breakpoint on where [rdi+38] is pointing at and see where this variable is accessed Jun 12, 2019 at 19:39
  • [rdi+38] is the value of how many cards i chose
    – Frd
    Jun 12, 2019 at 20:01
  • 1
    Exactly. And you assume this value will be addressed at another point in the executable. So, if the address, where this counter is located at stays permanent for lifetime of the game, you can use a memory breakpoint to find these other occurences. You can verify, that the address is semi-permanent by writing the address down, playing a round and comparing it. Jun 12, 2019 at 20:14
  • So after i find the address which access the value, should i just NOP those address so i can pass the cards?
    – Frd
    Jun 12, 2019 at 20:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.