Jump to content
  • 0

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


douglaspo

Question

8 answers to this question

Recommended Posts

[ @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

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

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.
===

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.