Jump to content

7 posts in this topic

Recommended Posts

Posted

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.

Posted (edited)
7 hours ago, matteozappia said:

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.

Hi there, what were you trying to load when you get that error screen? 
 

I didn’t know how to load Frida-il2cpp-script to H5GG, did tried a bit earlier but not successful. I then build my own library. 

Did you try my enhanced menu? You can find it here

 

 

from what I read those thing are something could be doable with my menu in similar way, of course I didn’t try it yet.

but I guess you can’t do that change implementation part. That would likely need a Jailbroken device.

Updated by Happy Secret
Posted

Something like this?
dNlj8eeF_o.jpeg

My JSPlug-in doesn’t natively support colour, you will need to r g b a separately with respective float number.

say, purple is (127, 17, 224) -> 

r = 127/255 = 0.498

g = 17/255 = 0.0666

b = 224/255 = 0.8784

a = just ignore it, no need to change. Or you can use same formula as above.

Suggest you to try with UI first. Before you go test with JavaScript. You can do the colour change all by H5GG Enhanced Menu UI.

1. Use Unity Static Analyzer to search for “RhythmGameColours”, you need to do this at the game start (in side the song play)

2. Click on the pink cell

3. Look for the Yellow field (rhythmGameColours), click on the Address pointer Value

4. Look for laneColoursBScore field, click on the Address pointer Value

5. Look for _entries field, click on the Address pointer Value

6. The 4 bytes at offset 2c is the R colour of the Perfect+, offset 30 is the G colour, offset 34 is the B colour

7. To change value, click on 2c, highlight it with yellow. Click the pencil button on top. Change data type to F32, type in 0.498, then click edit.

8. same for G and B.

  • Like 1
Posted
1 hour ago, Happy Secret said:

Something like this?
dNlj8eeF_o.jpeg

My JSPlug-in doesn’t natively support colour, you will need to r g b a separately with respective float number.

say, purple is (127, 17, 224) -> 

r = 127/255 = 0.498

g = 17/255 = 0.0666

b = 224/255 = 0.8784

a = just ignore it, no need to change. Or you can use same formula as above.

Suggest you to try with UI first. Before you go test with JavaScript. You can do the colour change all by H5GG Enhanced Menu UI.

1. Use Unity Static Analyzer to search for “RhythmGameColours”, you need to do this at the game start (in side the song play)

2. Click on the pink cell

3. Look for the Yellow field (rhythmGameColours), click on the Address pointer Value

4. Look for laneColoursBScore field, click on the Address pointer Value

5. Look for _entries field, click on the Address pointer Value

6. The 4 bytes at offset 2c is the R colour of the Perfect+, offset 30 is the G colour, offset 34 is the B colour

7. To change value, click on 2c, highlight it with yellow. Click the pencil button on top. Change data type to F32, type in 0.498, then click edit.

8. same for G and B.

That's exactly what I want to do. I tried via UI but when i search for RhythmGameColours I got an alert saying "Cannot Found Object of this Type", i'm using Version 1.9.1a downloaded from your post. maybe I'm doing something wrong? Btw can you send me or post here your js script so I can take a look at it?

Posted
3 hours ago, matteozappia said:

That's exactly what I want to do. I tried via UI but when i search for RhythmGameColours I got an alert saying "Cannot Found Object of this Type", i'm using Version 1.9.1a downloaded from your post. maybe I'm doing something wrong? Btw can you send me or post here your js script so I can take a look at it?

I didn’t make the js script. 
 

remember to do the search inside a game (go in pulse it, then go search).

This games keep Garbage collect the related object when outside game. You won’t be able to locate.

Remember to use the UA button, not Unity Button, it has more friendly UI and features. 

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
  • Our picks

    • Super Stylist Fashion Makeover Cheats v3.6.3 +1
      Modded/Hacked App: Super Stylist Fashion Makeover By CRAZY STYLE LTD
      Bundle ID: com.babyeducationtoys.fashionstyle
      iTunes Store Link: https://apps.apple.com/us/app/super-stylist-fashion-makeover/id1441648201?uo=4


      Hack Features:
      - Free Store (not iAP)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/112404-super-stylist-fashion-makeover-v352-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/190368-super-stylist-fashion-makeover-cheats-v352-1/
      • 14 replies
    • Dice Dreams Cheats v1.92.2 +2
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Custom Rolls
      - Unlimited Coins - afford regardless of if you have enough


      iOS Hack Download Link: https://iosgods.com/topic/138011-dice-dreams%E2%84%A2-v1692-2-cheats/
      • 634 replies
    • EA SPORTS FC™ (FIFA) MOBILE SOCCER v25.0.02 Jailed Cheats +2
      Modded/Hacked App: EA SPORTS FC™ MOBILE 24 SOCCER By EA Swiss Sarl
      Bundle ID: com.ea.ios.fifamobile
      iTunes Store Link: https://apps.apple.com/us/app/ea-sports-fc-mobile-24-soccer/id1094930513?uo=4

      Hack Features:
      - Keeper on Drugs
      - Stupid AI Defense - Sometimes works, sometimes doesn't.

      Credit: @0xSUBZ3R0
      • 554 replies
    • [ Reinforced Wooden Stick Lv99 ] 99강화 나무몽둥이 : 키우기 Cheats v99.1.17 +2
      Modded/Hacked App: 99강화 나무몽둥이 : 키우기 By STUDIO LICO Corp.
      Bundle ID: com.studiolico.woodenstick
      iTunes Store Link: https://apps.apple.com/kr/app/99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6737379268?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode
      - Multiply Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193094-reinforced-wooden-stick-lv99-99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0-v9916-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193095-reinforced-wooden-stick-lv99-99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v9916-2/
      • 16 replies
    • AdVenture Capitalist Cheats v9.10.0 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
      • 1,188 replies
    • Asphalt 8: Airborne+ Cheats v2.5.0 +4 [ Apple Arcade ]
      Modded/Hacked App: Asphalt 8: Airborne+ By Gameloft
      Bundle ID: com.gameloft.asphalt8arcade
      iTunes Store Link: https://apps.apple.com/us/app/asphalt-8-airborne/id1563005359?uo=4


      Hack Features:
      - No Car Crash
      - Infinite Nitro
      - Unlock All Cars
      - No Speed Limit


      iOS Hack Download Link: https://iosgods.com/topic/148777-asphalt-8-airborne-cheats-v101-4/
      • 399 replies
    • BitLife - Life Simulator Cheats v3.19.1 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,592 replies
    • Matchington Mansion Cheats v1.182.0 +5
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/75130-matchington-mansion-v11750-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/75127-matchington-mansion-cheats-v11770-5/
      • 801 replies
    • Modern Ops: Online Shooter FPS v9.53 +6 Jailed Cheats [ No Recoil + More ]
      Modded/Hacked App: Modern Ops: Online Shooter FPS By Edkon Games GmbH
      Bundle ID: com.edkongames.mobs
      App Store Link: https://apps.apple.com/us/app/modern-ops-online-shooter-fps/id1415791453?uo=4

       


      🤩 Hack Features

      - No Recoil
      - No Spread
      - No Flashbang Effect
      - No Smoke Effect
      - Red Crosshair
      - Field of View Modifier
      • 0 replies
    • FIFA Rivals - Mobile Football v1.0.2 +2 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: FIFA Rivals - Mobile Football By Mythical Games
      Bundle ID: com.mythical.fifarivals
      iTunes Store Link:https://apps.apple.com/us/app/fifa-rivals-mobile-football/id6746578704

       
       

      🤩 Hack Features

      - Auto Win -> Linked to yourself & opponent. Every goal scored will result in a win.
      - Season Pass Unlocked -> Will let you claim all rewards from all passes.
      • 9 replies
    • FIFA Rivals - Mobile Football v1.0.2 +2 Cheats [ Auto Win ]
      Modded/Hacked App: FIFA Rivals - Mobile Football By Mythical Games
      Bundle ID: com.mythical.fifarivals
      iTunes Store Link:https://apps.apple.com/us/app/fifa-rivals-mobile-football/id6746578704

       
       

      🤩 Hack Features

      - Auto Win -> Linked to yourself & opponent. Every goal scored will result in a win.
      - Season Pass Unlocked -> Will let you claim all rewards from all passes.
      • 19 replies
    • Modern Ops: Online Shooter FPS v9.53 +6 Cheats [ No Recoil + More ]
      Modded/Hacked App: Modern Ops: Online Shooter FPS By Edkon Games GmbH
      Bundle ID: com.edkongames.mobs
      App Store Link: https://apps.apple.com/us/app/modern-ops-online-shooter-fps/id1415791453?uo=4

       
       

      🤩 Hack Features

      - No Recoil
      - No Spread
      - No Flashbang Effect
      - No Smoke Effect
      - Red Crosshairs
      - Field of View Modifier
      • 1 reply
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines