Monday, 9 October 2023

Need some help with a Beatstar Mod

Hi guys, for those who don't know what beatstar is, it is a music game made in unity. (which uses UnityFramework). I came across this Android mod that allows users to do many things including mainly unlocking all the songs in the catalog and importing custom songs created by them or other people in their discord server. So I would like to bring this mod to iOS, to start I wanted to do something simple like changing the color of the Perfect+ to purple, just like in the android mod. The mod should support non-jailbroken iOS, so searching online I came across only one solution namely H5GG. (Not counting the others that require the application to be launched from a mac with a debugger) I would like to specify that I already have a js script that works perfectly when launched via frida with frida-server from a jailbroken device. But this script does not work with H5GG unfortunately, I am sending you a part to make you understand the nature of the script const assembly = Il2Cpp.Domain.assembly("Assembly-CSharp").image; const RakshaModel = Il2Cpp.Domain.assembly('RakshaModel').image; const metalogic = Il2Cpp.Domain.assembly('MetaLogic').image; const spaceape = Il2Cpp.Domain.assembly('SpaceApe.Rpc').image; const unity = Il2Cpp.Domain.assembly('SpaceApe.UnityAssets').image; [...] Il2Cpp.perform() => { assembly.class("BeatStar.RhythmGame.RhythmGameColours").method("GetLaneColourForScore").implementation = function(scoreType) { let result = this.method('GetLaneColourForScore').invoke(scoreType); if (scoreType.toString() == 'APLUS') { result.field('r').value = 205; result.field('g').value = 0; result.field('b').value = 205; result.field('a').value = 1; } return result; }; As you can see it uses "frida-il2cpp-bridge". The best I have been able to achieve is to get H5GG to show alerts of to the console.logs before "Il2Cpp.perform() => {" but then unfortunately I get this error. Given the complexity of the whole mod that has nothing to do with this very simple function, I would like to work through js since working through offsets would be suicide. If anyone knows how to solve this problem or knows some other solution I am all ears. Thanks in advance.

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

No comments:

Post a Comment