Jump to content

How to unlink features on Unity Games [REAL EXAMPLES]


162 posts in this topic

Recommended Posts

Posted

@Ted2I have a question.

I have the following class:

public class SlotMachine : MonoBehaviour // TypeDefIndex: 9068
{
	public const int REEL_COUNT = 3; // 0x0
	public const int VISIBLE_ROWS = 5; // 0x0
	public const int REEL_EXTRA_END_SYMBOLS = 3; // 0x0
	public const int REEL_OFFSET = 2; // 0x0
    etc...

	// Properties
	public bool StartPulling { get; set; }
	public SpinOddsData resultData { get; }

	// Methods
	/* snip */
	public void set_StartPulling(bool value); // RVA: 0x101FD081C Offset: 0x1FD081C
	private void Awake(); // RVA: 0x101FD0824 Offset: 0x1FD0824
	private void OnDestroy(); // RVA: 0x101FD0D1C Offset: 0x1FD0D1C
	private void TrySpin(); // RVA: 0x101FD0E60 Offset: 0x1FD0E60
	private void OnSpinButtonPressed(); // RVA: 0x101FD1110 Offset: 0x1FD1110
	private void RandomizeSymbols(); // RVA: 0x101FD1114 Offset: 0x1FD1114
	private void UpdateSlotSymbol(SlotMachine.SlotReel reel, int reelPos, int symbolIndex); // RVA: 0x101FD164C Offset: 0x1FD164C
	private Sprite GetSprite(SpinOddsData.Result resultSymbol); // RVA: 0x101FD190C Offset: 0x1FD190C
	private void UpdateDisplay(); // RVA: 0x101FD1454 Offset: 0x1FD1454
	public void Spin(string result); // RVA: 0x101FD1B90 Offset: 0x1FD1B90
	private void AdjustSymbolsForResults(); // RVA: 0x101FD1B98 Offset: 0x1FD1B98
	public SpinOddsData get_resultData(); // RVA: 0x101FD2210 Offset: 0x1FD2210
	private static void .cctor(); // RVA: 0x101FD22CC Offset: 0x1FD22CC
}

I want to be able to call the UpdateSlotSymbols method but can't figure out how because of the SlotMachine.Slotreel part.

 

2nd, I also tried to call the set_StartPulling from the UpdateDisplay but that seems to crash the game

void (*SlotMachine_set_StartPulling)(void *instance, bool enabled) = (void (*)(void *, bool))getRealOffset(0x101FD081C);

void (*SlotMachine_UpdateDisplay)(void *instance);
void _SlotMachine_UpdateDisplay(void *instance){
    
    SlotMachine_UpdateDisplay(instance);

    SlotMachine_set_StartPulling(instance, true);
}

MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x101FD1454),(void*)_SlotMachine_UpdateDisplay,(void**)&SlotMachine_UpdateDisplay);

 

Do you have any idea what I am doing wrong ?

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

    • Air Life: Aviation Tycoon +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Air Life: Aviation Tycoon By Alphaquest Games LTDA
      Bundle ID: com.alphaquest.airlife
      iTunes Store Link: https://apps.apple.com/us/app/air-life-aviation-tycoon/id6502298994?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Air Life: Aviation Tycoon v1.2.2 +2++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 15 replies
    • Catacomb Crawlers +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Catacomb Crawlers By Emeroth Fintech Studio SRL
      Bundle ID: com.Emeroth-Studios.Catacomb-Crawlers
      iTunes Store Link: https://apps.apple.com/us/app/catacomb-crawlers/id6502052776?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Catacomb Crawlers v1.023 +2 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 15 replies
    • Pet Pal Paw +2++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Pet Pal Paw By Yidian Brighten Network Technology Co., Ltd.
      Bundle ID: com.widgetpet.triplematch3d
      iTunes Store Link: https://apps.apple.com/us/app/pet-pal-paw/id6474220984?uo=4

       


      🚀 Hack Features

      - Debug Menu -> Tap on Settings.


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Pet Pal Paw v4.2 +2++ Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 4 replies
    • Magical Girl Dungeon +3 Jailed Cheats [ Damage ]
      Modded/Hacked App: Magical Girl Dungeon By Kenjirou Uesaka
      Bundle ID: com.KCG.MahoDungeon
      iTunes Store Link: https://apps.apple.com/us/app/magical-girl-dungeon/id6741759536?uo=4

       


      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      -- No Ads
      • 2 replies
    • Hungry Hearts Restaurant +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Hearts Restaurant By GAGEX Co.,Ltd.
      Bundle ID: jp.co.gagex.rigel
      iTunes Store Link: https://apps.apple.com/us/app/hungry-hearts-restaurant/id6504782640?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Spend some.
      - Unlimited Hearts -> Will not decrease.


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Hungry Hearts Restaurant v1.0.7 +2 Cheats [ Unlimited Currencies ] - Free Jailbreak Cheats - iOSGods
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 9 replies
    • Gordian Quest +6 Jailed Cheats [ Full Game Unlocked ]
      Modded/Hacked App: Gordian Quest By AETHER SKY OU
      Bundle ID: com.aethersky.com.gordianquest
      iTunes Store Link: https://apps.apple.com/us/app/gordian-quest/id6736658756?uo=4

       


      🤩 Hack Features

      - Add Currencies -> Pause the game and tap on Options.*
      - Add XP -> Pause the game and tap on Options.*
      - Add Skill Points -> Pause the game and tap on Options.*
      - Add Respec Points -> Pause the game and tap on Options.*
      - Auto Win -> Pause the game and tap on Options.*
      -- Full Game Unlocked

      * - Only 1 feature can be enabled at once.
      • 14 replies
    • Secret Puzzle Society +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Secret Puzzle Society By Wildlife Studios, Inc
      Bundle ID: com.arizonags.puzzlesocietyalpha
      iTunes Store Link: https://apps.apple.com/us/app/secret-puzzle-society/id6449197556?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Clues -> Earn or spend some.
      - Unlimited Lives -> Earn or spend some.
      - Auto Win -> Use a move.


      Jailbreak required hack(s): [Mod Menu Hack] Secret Puzzle Society v1.6.3 +4 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 18 replies
    • SushiMon Defense +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: SushiMon Defense By Dreamplaygames Inc.
      Bundle ID: com.dreamplay.sushimonster.apple
      App Store Link: https://apps.apple.com/us/app/sushimon-defense/id6741675759?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 6 replies
    • Tsuki's Odyssey +1 Jailed Cheat [ Unlimited Carrots ]
      Modded/Hacked App: Tsuki's Odyssey By HyperBeard Inc.
      Bundle ID: com.hyperbeard.odyssey
      iTunes Store Link: https://apps.apple.com/us/app/tsukis-odyssey/id1564146071
       

      Hack Features:
      - Unlimited Carrots -> Earn some.


      Jailbreak required hack(s): [Mod Menu Hack] Tsuki's Odyssey v1.2.61 +1 Cheat [ Unlimited Carrots ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 100 replies
    • Family Life! +3++ Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: Family Life! By SUPERSONIC STUDIOS LTD
      Bundle ID: com.xia.familylife
      iTunes Store Link: https://apps.apple.com/us/app/family-life/id6449919224?uo=4


      Hack Features:
      - Cheat Menu -> Head over to Settings and toggle the Privacy button.
      -- Life Pass Purchased
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Family Life! v1.0.32 +2++ Cheats [ Cheat Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 294 replies
    • RENT A HERO Z +2 Mods [ Damage + More ]
      Mod APK Game Name: RENT A HERO Z By LINE NEXT Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.linenext.rhz.aos

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 1 reply
    • Undying Hero: Idle RPG +3 Mods [ Damage + More ]
      Mod APK Game Name: Undying Hero: Idle RPG By SUPERBOX Inc
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.superpixel.undyinghero

       

      🤩 Hack Features

      - Damage Multiplier
      - One-Hit Kill
      - Freeze Currencies
      • 0 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