Tuesday, 19 December 2023

H5GG (and in general) - how to change strings?

Hi all, I've started looking into H5GG today to make a tweak for a Unity game on my jailed iPhone running iOS 16.2. My end goal is to find a way to modify some string fields of a singleton class instance. The values of the fields are hardcoded, there are no getters/setters or any other functions that are able to modify the fields. (I know this because I've looked into the windows version of the game and confirmed by tracing with frida-il2cpp-bridge). Here are the screenshots of the object fields I would like to change: https://ift.tt/QjpJ7MV However, the hex view doesn't look like my strings at all - unlike simple int or address values, that can be clearly seen and modified byte-by-byte. So my question is - how to change the string values in H5GG UI/script? What do the hex numbers at given offsets represent in my case, if not strings themselves? If it's not possible, what are the alternatives? To achieve my goal I have tried experimenting with global-metadata.dat patching, but oddly (or not?🤔) only static fields are pulled from it correctly, non-static values stay the same even if there are no traces of old values in a modded metadata file. There is a well-known paid mod that uses this method, and even replacing their modded metadata with original one (and vice versa) showed the same effect I have also tried using iGG, but with no effect There is no point in digging into IDA, as the code is obfuscated and I'm a newbie lol (it also should be possible to do without modifying binaries, judging by the existence of the mentioned paid mod). After reading tons of posts on here, seemingly the only option I haven't tried yet is theos jailed, but developing tweaks on a non-JB device would be tedious ANY advise would be very helpful and please feel free to correct me on anything, thank you

from iOSGods RSS Feed https://ift.tt/wMij0b3

No comments:

Post a Comment