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

    • Galaxy Attack: Alien Shooter v5.11.11 [ +35++ Cheats ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible  

       

      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 35 replies
    • Galaxy Attack: Alien Shooter v5.11.11 [ +35++ Jailed ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4

       

       

      🔧 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      📥 iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 32 replies
    • Cat Snack Bar Cheats v1.0.173 +1
      Modded/Hacked App: Cat Snack Bar By treeplla Inc.
      Bundle ID: com.tree.idle.catsnackbar
      iTunes Store Link: https://apps.apple.com/us/app/cat-snack-bar/id6443895159?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170232-cat-snack-bar-v1036-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/170233-cat-snack-bar-cheats-v1036-1/
      • 74 replies
    • Soul Idle : Two Sides of Girls Cheats v1.1.13 +3
      Modded/Hacked App: Soul Idle : Two Sides of Girls By Pole Position Games Inc.
      Bundle ID: com.poleposition.iOSGirls
      iTunes Store Link: https://apps.apple.com/us/app/soul-idle-two-sides-of-girls/id6504546717?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Dumb Enemies


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/186233-soul-idle-two-sides-of-girls-cheats-v102-3/
      • 33 replies
    • Screw Tap Jam - Screw Sort 3D Cheats v2.300 +3
      Modded/Hacked App: Screw Tap Jam™ - Screw Sort 3D By Wonder Rush Technology Limited
      Bundle ID: com.screw.jam.tap
      iTunes Store Link: https://apps.apple.com/us/app/screw-tap-jam-screw-sort-3d/id6670189511?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

      - PREMIUM
      - Infinite Coins
      - Infinite Boosters (Able to use even without having enough)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193632-screw-tap-jam-screw-sort-3d-v2200-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193631-screw-tap-jam-screw-sort-3d-cheats-v2200-3/
      • 1 reply
    • My Talking Tom Friends Cheats v25.1.3 +2
      Modded/Hacked App: My Talking Tom Friends By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingtomfriends
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-tom-friends/id1473424857?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 Coins
      - No Ads

      Non-Jailbroken Hack: https://iosgods.com/topic/128377-my-talking-tom-friends-v392-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/128376-my-talking-tom-friends-cheats-v2510-2/
      • 146 replies
    • Jetpack Joyride Cheats v1.99.3 +8
      Modded/Hacked App: Jetpack Joyride By Halfbrick
      Bundle ID: com.halfbrick.jetpack
      iTunes Store Link: https://apps.apple.com/us/app/jetpack-joyride/id457446957?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 Coins
      - High Score
      - God Mode
      - Free Shopping
      - Coin Magnet Enabled
      - Increased Magnet Range
      - All Items Owned
      - All Gadgets Unlocked

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119791-jetpack-joyride-v1971-jailed-cheats-8/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119788-jetpack-joyride-cheats-v1972-8/
      • 497 replies
    • Idle Theme Park - Tycoon Game Cheats v6.8.2 +1
      Modded/Hacked App: Idle Theme Park - Tycoon Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.theme.park.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-theme-park-tycoon-game/id1460772578?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash


      iOS Hack Download Link: https://iosgods.com/topic/116320-arm64-idle-theme-park-tycoon-game-cheats-v210-1/
      • 551 replies
    • Fortress Saga: AFK RPG Cheats v1.8.03 +5
      Modded/Hacked App: Fortress Saga: AFK RPG By cookapps
      Bundle ID: com.cookapps.bm.fortresssaga
      iTunes Store Link: https://apps.apple.com/us/app/fortress-saga-afk-rpg/id6446308106?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

      - Damage Multiplier
      - Defense Multiplier
      - Freeze Currencies
      - PREMIUM
      - No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/184193-fortress-saga-afk-rpg-v1800-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/178933-fortress-saga-afk-rpg-cheats-v1801-5/
      • 351 replies
    • Cats & Soup Cheats v2.67.1 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?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 Currencies
      - Unlocked All Specials and No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/157486-cats-soup-v2630-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v2640-2/
      • 296 replies
    • HomeScapes v7.9.3 Jailed Cheats +3
      Modded/Hacked App: Homescapes By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.gardenscapes-sweethome
      iTunes Store Link: https://apps.apple.com/us/app/homescapes/id1195621598?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Boosters
      - Infinite Coins (Spend some)
      - Infinite Lives (Won't substract when you failed level)
      - Complete tasks without needing stars - Game Breaking for sure
      - Unlock Season Pass (by @NoFearGG) -- Go click the purchase button. It'll look like nothing happened. Leave season pass area. And go back. It'll show unlocked. And be saved that way


      🍏 Jailbreak iOS hacks: https://iosgods.com/topic/75434-homescapes-cheats-v776-5/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/71443-homescapes-v776-jailed-cheats-3/
      • 2,419 replies
    • BitLife - Life Simulator Cheats v3.18.2 +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,530 replies
×
  • 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