Jump to content

How to unlink features on Unity Games [REAL EXAMPLES]


164 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

    • Flip N Bust: Casual Card Game +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Flip N Bust: Casual Card Game By AIROCLIP PRIVATE LIMITED
      Bundle ID: com.airo.flipcards
      App Store Link: https://apps.apple.com/us/app/flip-n-bust-casual-card-game/id6762444340?uo=4

       


      🤩 Hack Features

      - Play Best Cards -> Every card you draw is the highest number you do not already hold, so it can never bust you and it keeps your score climbing.
      - Bust The Opponents -> Every opponent that hits is dealt a number it already holds, so it busts.
      - Coin Reward Multiplier -> Multiplies the coin reward from winning a match.
      - League Gem Multiplier -> Multiplies the gem amount league reward pays out.
      - Trophy Multiplier -> Multiplies every trophy you win.
      -- No Ads
      • 0 replies
    • World War Heroes — WW2 PvP FPS +3 Mods [ Unlimited Ammo ]
      Mod APK Game Name: World War Heroes — WW2 PvP FPS By Azur Interactive Games Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gamedevltd.wwh

       

      🤩 Hack Features

      - Freeze Ammo
      - No Recoil
      -- No Ads
      • 0 replies
    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 1 reply
    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 1 reply
    • Stick Fight: Evolution v1.0.6 [ +22 Cheats ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Stick Fight: Evolution v1.0.6 [ +22 Jailed ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4
       

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4
       

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 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