Jump to content
  • 0

XOR Values Doesnt Match


MrSx
 Share

Question

I dont understand, why XOR giving wrong value? Also i need to edit Value with float type. I edited, then i copied the Dword value, then edited Enc value with that value and game crashed(Its expected because XOR giving wrong). Any solutions? 

20240618_171550.png

20240618_171807.png

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1
Posted (edited)

I still haven't figured about how to calculate XOR for float. You can edit Key and value in same int and enc key in 0. It's working and no need to calculate anything. 

Example 

1000F - key

0F - enc key

1000F - Value 

Edited by Midranger
Link to comment
Share on other sites

  • 1

After XOR'ing encrypted value with key, swap middle bytes (i.e. 11 22 33 44 -> 11 33 22 44) of the result and you should get expected value.

Link to comment
Share on other sites

  • 0
Posted (edited)
On 7/1/2024 at 7:01 PM, KINGVINAYYY said:

U want hack gems,coins?

No, I tried to change weapon damage, but I found a way to edit, not a perfect way but it works well, I searched for which value I want and copied the XOR from there.

Edited by MrSx
Link to comment
Share on other sites

  • 0
Posted (edited)
On 7/3/2024 at 8:26 PM, CmP said:

After XOR'ing encrypted value with key, swap middle bytes (i.e. 11 22 33 44 -> 11 33 22 44) of the result and you should get expected value.

Yes, now its giving true value, thanks.

14 hours ago, Midranger said:

I still haven't figured about how to calculate XOR for float. You can edit Key and value in same int and enc key in 0. It's working and no need to calculate anything. 

Example 

1000F - key

0F - enc key

1000F - Value 

Thanks acka, its working well too.

Edited by MrSx
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.