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

 

 

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

    • Dragon Village Rumble v1.003.220 +3 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Dragon Village Rumble By Highbrow
      Bundle ID: com.highbrow.games.dvb.apple
      App Store Link: https://apps.apple.com/us/app/dragon-village-rumble/id6754904783?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Game Speed Multiplier
      • 15 replies
    • Dragon Village Rumble v1.003.220 +3 Cheats [ God Mode + More ]
      Modded/Hacked App: Dragon Village Rumble By Highbrow
      Bundle ID: com.highbrow.games.dvb.apple
      App Store Link: https://apps.apple.com/us/app/dragon-village-rumble/id6754904783?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Game Speed Multiplier
      • 14 replies
    • LYSSA: Goddess of Rage v17.0.2 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: LYSSA: Goddess of Rage By PANORAMIK GAMES LTD
      Bundle ID: com.panoramik.lyssa
      iTunes Store Link: https://apps.apple.com/us/app/lyssa-goddess-of-rage/id6469112395?uo=4

       
       

      🚀 Hack Features

      - Unlimited Everything
      - Season Pass Unlocked


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] LYSSA: Goddess of Rage v14.0.2 +2++ Cheats [ Unlimited Everything ] - Free Jailbroken Cydia Cheats - iOSGods
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 35 replies
    • Dream Raiders 2: Wilds v1.000.047 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dream Raiders 2:Wilds By DREAM PLUS GAMES LIMITED
      Bundle ID: com.mechanist.dream2.ios
      App Store Link: https://apps.apple.com/ph/app/dream-raiders-2-wilds/id6743147434?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 27 replies
    • Dream Raiders 2: Wilds v1.000.047 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dream Raiders 2:Wilds By DREAM PLUS GAMES LIMITED
      Bundle ID: com.mechanist.dream2.ios
      App Store Link: https://apps.apple.com/ph/app/dream-raiders-2-wilds/id6743147434?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 13 replies
    • Hunters Origin v1.2.7 +8 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunters Origin By BoomBit, Inc.
      Bundle ID: com.hunters.legacy
      iTunes Store Link: https://apps.apple.com/pl/app/hunters-origin/id6473918865

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Skip Tutorial

      VIP
      - Gold Modifier
      - Diamonds Modifier
      - Seasonal Points Modifier
      - Speed Multiplier
      - XP Multiplier
      - VIP Enabled
      - Premium Pass Enabled
      - No Clip
      - Cheat Mode

      You risk your account being banned using this cheat. Play it safe and you should be okay.
      If you expose yourself using cheats then that's on you.
      • 117 replies
    • Hunters Origin v1.2.7 +8 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunters Origin By BoomBit, Inc.
      Bundle ID: com.hunters.legacy
      iTunes Store Link: https://apps.apple.com/pl/app/hunters-origin/id6473918865

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Skip Tutorial

      VIP
      - Gold Modifier
      - Diamonds Modifier
      - Seasonal Points Modifier
      - Speed Multiplier
      - XP Multiplier
      - VIP Enabled
      - Premium Pass Enabled
      - No Clip
      - Cheat Mode

      You risk your account being banned using this cheat. Play it safe and you should be okay.
      If you expose yourself using cheats then that's on you.
        • Winner
      • 45 replies
    • LYSSA: Goddess of Rage v17.0.2 +2++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: LYSSA: Goddess of Rage By PANORAMIK GAMES LTD
      Bundle ID: com.panoramik.lyssa
      iTunes Store Link: https://apps.apple.com/us/app/lyssa-goddess-of-rage/id6469112395?uo=4

       

       
       

      🚀 Hack Features

      - Unlimited Everything
      - Season Pass Unlocked


      🍏 For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] LYSSA: Goddess of Rage v14.0.2 +2++ Jailed Cheats [ Unlimited Everything ] - Free Non-Jailbroken IPA Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 27 replies
    • Eterspire - Fantasy MMORPG v64.2 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 63 replies
    • Eterspire - Fantasy MMORPG v64.2 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 145 replies
    • Anna's Holiday Merge v1.5.0 [ +3 Cheats  ] Currency Max
      Modded/Hacked App: Anna's Holiday Merge By ZhangYuan Mobile Co. Ltd
      Bundle ID: com.zymobile.merge.holiday.ios
      App Store Link: https://apps.apple.com/ca/app/annas-holiday-merge/id6755451049?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

      - Unlimited Gems
      - Unlimited Stars
      - Unlimited Energy

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 0 replies
    • Anna's Holiday Merge v1.5.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Anna's Holiday Merge By ZhangYuan Mobile Co. Ltd
      Bundle ID: com.zymobile.merge.holiday.ios
      App Store Link: https://apps.apple.com/ca/app/annas-holiday-merge/id6755451049?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Stars
      - Unlimited Energy
      • 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