douglaspo Posted November 1, 2023 Share Posted November 1, 2023 i need a function for gameguardian to change a offset value to false/true Link to comment Share on other sites More sharing options...
Count_Nosferatu Posted November 1, 2023 Share Posted November 1, 2023 I think offset value cannot be a boolean type (false/true) It's number (0xFFFF or 11111) But you can change the value if something false/true Quote if val == true then offset = 0xFFFF end if val == false then offset = 11111 end Link to comment Share on other sites More sharing options...
kiynox Posted November 1, 2023 Share Posted November 1, 2023 [ @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 More sharing options...
douglaspo Posted November 3, 2023 Author Share Posted November 3, 2023 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 More sharing options...
douglaspo Posted November 3, 2023 Author Share Posted November 3, 2023 but in my case i need to change a value inside a void function: Quote // RVA: 0xFA626C Offset: 0xFA626C VA: 0xFA626C public void ActiveAura(bool arg) { } edit the "bool arg" Link to comment Share on other sites More sharing options...
THETWINSOFFICIAL Posted November 3, 2023 Share Posted November 3, 2023 11 hours ago, douglaspo said: but in my case i need to change a value inside a void function: edit the "bool arg" X1 or w1 = arg1 and you type bool So edit x1/w1 to #1 (true) and xzr/wzr for (false) andthis for arm64 Link to comment Share on other sites More sharing options...
douglaspo Posted November 4, 2023 Author Share Posted November 4, 2023 On 11/3/2023 at 11:29 AM, SYLVIA said: X1 or w1 = arg1 and you type bool So edit x1/w1 to #1 (true) and xzr/wzr for (false) andthis for arm64 is possible edit a string with arm? Link to comment Share on other sites More sharing options...
THETWINSOFFICIAL Posted November 4, 2023 Share Posted November 4, 2023 2 hours ago, douglaspo said: is possible edit a string with arm? Posible but idk how modif with string And edit use gameguardian Link to comment Share on other sites More sharing options...
MC874 Posted November 4, 2023 Share Posted November 4, 2023 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 More sharing options...
Question
douglaspo
i need a function for gameguardian to change a offset value to false/true
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.