Jump to content

Static Members


Go to solution Solved by Aloha boom boom,

5 posts in this topic

Recommended Posts

Posted

Hello, 

I‘ve been trying to access the first Field of this class which is static. Class

So i got the address of the class here and turned it to a hex value. Address

Then i tried to add 0xb8 to it so i get the pointer to the static fields. The 0xb8 is the size of il2cppClass_1. Struct

At the end my code looks like this. Code

The base address points to a pointer pointing to 2000aee9.

But when running the tweak, the game crashes and i get this crash log. It crashes when adding + 0xb8 to my base address. Crash Log

Can someone please help me? Thanks

Quote

 

 

  • Like 1
Posted

1. u dont understand what are u doing
2. u dont understand what the log said to u
3. u ever not try to understand

the log said that 
exc_bad_access
what u must to do - go to google and try search what its mean

and when u understand what its mean - u will have next problem - why the address is wrong?

Posted (edited)

 

 

Updated by Saitama
  • Solution
Posted
22 hours ago, Saitama said:

1. u dont understand what are u doing
2. u dont understand what the log said to u
3. u ever not try to understand

the log said that 
exc_bad_access
what u must to do - go to google and try search what its mean

and when u understand what its mean - u will have next problem - why the address is wrong?

1. i do

2. i do

3.i do

4.i got it working, i used another class which pointer actually worked

  • Winner 1
Posted
On 6/1/2023 at 5:58 PM, Aloha boom boom said:

Hello,

I‘ve been trying to access the first Field of this class which is static. Class

So i got the address of the class here and turned it to a hex value. Addressress

Then i tried to add 0xb8 to it so i get the pointer to the static fields. The 0xb8 is the size of il2cppClass_1. Struct

At the end my code looks like this. Code

The base address points to a pointer pointing to 2000aee9.

But when running the tweak, the game crashes and i get this crash log. It crashes when adding + 0xb8 to my base address. Crash Log

Can someone please help me? Thanks

 

I'm answering very late, but I came across the same situation and solved it on my own experience, in general, you should take the uintptr_t pointer to the typeinfo class and dereference it, in general, just do it like this 

auto kube_c = *(uintptr_t*)(*(uintptr_t*)(getRealOffset(0x6769CB0)) + 0xB8); // get access to static fields
	if (!kube_c) return;
	
	auto bcs = *(uintptr_t*)(kube_c + 0x38); // get static field, in my case this public static BattleControllerScript bcs;
	if (!bcs) return;
	
	auto ps = *(uintptr_t*)(bcs + 0xC8); // next, you can take any field and so on, well, you know, I think, just for example
	if (!ps) return;
	return ps;

you will have other offsets, and classes, and fields, but 0xb8 is almost everywhere as access to static fields

and yet, you must definitely have this in order to receive UnityFramework and get an absolute address

uint64_t getRealOffset(uint64_t offset) {
    uint32_t c = _dyld_image_count();
    for (int i = 0; i < c; i++) {
        if (strstr(_dyld_get_image_name(i), "UnityFramework")) {
            return _dyld_get_image_vmaddr_slide(i) + offset;
        }
    }
    return 0;
}

 

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

    • Jelly Clicker: Idle Game v1.0.1 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Jelly Clicker: Idle Game By Diggiverse ab
      Bundle ID: com.diggiverse.jellyclicker
      App Store Link: https://apps.apple.com/us/app/jelly-clicker-idle-game/id6785479127?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      • 1 reply
    • Jelly Clicker: Idle Game v1.0.1 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Jelly Clicker: Idle Game By Diggiverse ab
      Bundle ID: com.diggiverse.jellyclicker
      App Store Link: https://apps.apple.com/us/app/jelly-clicker-idle-game/id6785479127?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      • 0 replies
    • Gym Mania Time Management Game v1.5.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Gym Mania Time Management Game By Flowmotion Entertainment: Top Free Fun Addictive Cool Games Inc.
      Bundle ID: com.fme.gym.mania.simulator.games
      App Store Link: https://apps.apple.com/us/app/gym-mania-time-management-game/id6762738738?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Booster
      • 0 replies
    • Gym Mania Time Management Game v1.5.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Gym Mania Time Management Game By Flowmotion Entertainment: Top Free Fun Addictive Cool Games Inc.
      Bundle ID: com.fme.gym.mania.simulator.games
      App Store Link: https://apps.apple.com/us/app/gym-mania-time-management-game/id6762738738?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Booster
      • 0 replies
    • ZED - Zombie Enemy Destruction v1.1.48 [ +9 Cheats  ] Currency Max
      Modded/Hacked App: ZED - Zombie Enemy Destruction By APPIDEA CAPITAL LTD
      Bundle ID: com.appidea.monster.shooting.drive.game
      App Store Link: https://apps.apple.com/us/app/zed-zombie-enemy-destruction/id6740913414?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Silver Coin
      - Energy Max
      - ATK MAX
      - HP MAX
      - Durability
      - Fire Rate
      - Wave Skip / iGG Speed Use
      • 0 replies
    • ZED - Zombie Enemy Destruction v1.1.48 [ +9 Jailed ] Currency Max
      Modded/Hacked App: ZED - Zombie Enemy Destruction By APPIDEA CAPITAL LTD
      Bundle ID: com.appidea.monster.shooting.drive.game
      App Store Link: https://apps.apple.com/us/app/zed-zombie-enemy-destruction/id6740913414?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Silver Coin
      - Energy Max
      - ATK MAX
      - HP MAX
      - Durability
      - Fire Rate
      - Wave Skip / iGG Speed Use
      • 0 replies
    • Monthly Idol (Auto Update) Jailed Cheats +1
      Modded/Hacked App: Monthly Idol By Sora Ryoo
      Bundle ID: com.factory608.MI
      iTunes Store Link: https://apps.apple.com/us/app/monthly-idol/id1407604160?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

      - Free iAP ( Press cancel when buy. Remember to turn the option on inside mod menu first )

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/98499-monthly-idol-v190-jailed-cheats-1/
      • 174 replies
    • [ Monthly Entertainment ] 월간엔터테인먼트 (Auto Update) Jailed Cheats +1
      Modded/Hacked App: 월간엔터테인먼트 By Sora Ryoo
      Bundle ID: com.factory608.ME
      iTunes Store Link: https://apps.apple.com/us/app/%EC%9B%94%EA%B0%84%EC%97%94%ED%84%B0%ED%85%8C%EC%9D%B8%EB%A8%BC%ED%8A%B8/id1601164404?uo=4


      Hack Features:
      - Free iAP (Turn on inside iOSGods Mod Menu first)
      - iGameGod


      iOS Hack Download IPA Link: https://iosgods.com/topic/171702-monthly-entertainment-%EC%9B%94%EA%B0%84%EC%97%94%ED%84%B0%ED%85%8C%EC%9D%B8%EB%A8%BC%ED%8A%B8-v10158-jailed-cheats-1/
      • 151 replies
    • Dig Duels +4++ Mods [ Damage & Defence ]
      Mod APK Game Name: Dig Duels By Tornado Bear
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.TornadoBear.DigDuels

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Everything -> Will increase instead of decrease.
      • 0 replies
    • Dig Duels PvP +4++ Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dig Duels PvP By Tornado Bear Limited
      Bundle ID: com.TornadoBear.DigDuels
      App Store Link: https://apps.apple.com/us/app/dig-duels-pvp/id6797490071?uo=4

       


      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - Unlimited Everything -> Will increase instead of decrease.
      • 0 replies
    • Archer Castle: Idle RPG ( 아처캐슬 키우기 : 방치형 RPG ) +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 아처캐슬 키우기 : 방치형 RPG By Toast.Co.,Ltd
      Bundle ID: com.springgames.archercastle
      App Store Link: https://apps.apple.com/kr/app/%EC%95%84%EC%B2%98%EC%BA%90%EC%8A%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%B0%A9%EC%B9%98%ED%98%95-rpg/id6788215554?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Drop Multiplier
      - Fever Drop Multiplier
      - Gold Drop Multiplier
      • 4 replies
    • 바르디안: Vardian +5 Jailed Cheats
      Modded/Hacked App: 바르디안: Vardian By REDVEILONE Inc.
      Bundle ID: com.redveilone.vardian
      App Store Link: https://apps.apple.com/kr/app/%EB%B0%94%EB%A5%B4%EB%94%94%EC%95%88-vardian/id6762203850?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

      - Damage Multiplier
      - Defense Multiplier
      - Attack Speed Multiplier
      - Move Speed Multiplier
      - No ADS

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 29 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