Jump to content
  • 0

Can someone send a function to replace a offset to false?


douglaspo
 Share

Question

8 answers to this question

Recommended Posts

  • 0

[ @douglaspo ]
---
You're being weirdly vague. We need context for what this "offset" is. So is this what you mean?

gg.setValues( {{["address"]= base_address + offset, ["value"] = 1, ["flags"] = gg.TYPE_DWORD}} )

---
Since you're mentioning Offset, do you refer it to Unity games or anything in general? Anyway, just some summary:

  • - Boolean (True/False) are integer (Dword):
  • - 0 as false and 1 as true

---

Link to comment
Share on other sites

  • 0
On 11/1/2023 at 8:16 PM, kiynox said:

[ @douglaspo ]
---
You're being weirdly vague. We need context for what this "offset" is. So is this what you mean?

gg.setValues( {{["address"]= base_address + offset, ["value"] = 1, ["flags"] = gg.TYPE_DWORD}} )

---
Since you're mentioning Offset, do you refer it to Unity games or anything in general? Anyway, just some summary:

  • - Boolean (True/False) are integer (Dword):
  • - 0 as false and 1 as true

---

Its a Unity game, in past i use some arm things to change a boolean to false, like the offset and the one more address to change it, and now im searching how to do the same

Link to comment
Share on other sites

  • 0

Hi @douglaspo, some additional context, you might able to edit void methods by:

  • Using ARM Patching, since there's only one parameter:
# ARM32, Armeabi
Instruction:
MOV R0, #1/0
BX LR
Hex:
01/00 00 A0 E3
1E FF 2F E1

# ARM64, Armv8
Instruction:
MOV X0, #1/0
RET
Hex:
20/00 00 80 D2
C0 03 5F D6

*WZR is equal to 0 since it's zero value register
  • Find "bool arg"  field and edit it accordingly. Void methods is loading value from somewhere, find them.

===

Quote

is possible edit a string with arm?

You can. Since this is Unity game, I recommend to use: GGIL2CPP or read: Long Name.
===

Edited by MC874
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.