Jump to content

1 post in this topic

Recommended Posts

Posted

I'm trying to use the ObscuredInt script to change the minute of this game, but when I add the script nothing happens, the bullets don't change, what's wrong with my script?

 

C++:
int GetObscuredIntABValue(uint64_t location){
    int cryptoKey = *(int *)location;
    int obfuscatedABValue = *(int *)(location + 0x164);


    return obfuscatedABValue ^ cryptoKey;
}

void SetObscuredIntABValue(uint64_t location, int value){
    int cryptoKey = *(int *)location;

    *(int *)(location + 0x164) = value ^ cryptoKey;
}

void (*orig_Update)(void* instance);
void Update(void* instance) {

    if (instance != NULL && hack2)
    {
        SetObscuredIntABValue((uint64_t)instance + 0x164,99999);
    }

    return orig_Update(instance);
}


 MSHookFunction((void *)getAbsoluteAddress(targetLibName,string2Offset(OBFUSCATE_KEY("0x52BA74",'?'))),(void *) Update,(void **)&orig_Update);

 

this for field ammo,clips

 

// Token: 0x04003198 RID: 12696

    [Token(Token = "0x4003198")]

    [FieldOffset(Offset = "0x158")]

    public ObscuredIntAB bullets;



    // Token: 0x04003199 RID: 12697

    [Token(Token = "0x4003199")]

    [FieldOffset(Offset = "0x164")]

    public ObscuredIntAB clips;

 

this for script encription

 

using System;
using Il2CppDummyDll;

namespace kube.cheat
{
    // Token: 0x020007C2 RID: 1986
    [Token(Token = "0x20007C2")]
    public struct ObscuredIntAB : IEquatable<ObscuredIntAB>, IFormattable
    {
        // Token: 0x060035D7 RID: 13783 RVA: 0x00002050 File Offset: 0x00000250
        [Token(Token = "0x60035D7")]
        [Address(RVA = "0x190D460", Offset = "0x190D460", VA = "0x190D460")]
        private ObscuredIntAB(int value)
        {
        }

        // Token: 0x060035D8 RID: 13784 RVA: 0x00002050 File Offset: 0x00000250
        [Token(Token = "0x60035D8")]
        [Address(RVA = "0x190D4FC", Offset = "0x190D4FC", VA = "0x190D4FC")]
        public void Noise()
        {
        }

        // Token: 0x060035D9 RID: 13785 RVA: 0x0000EBE0 File Offset: 0x0000CDE0
        [Token(Token = "0x60035D9")]
        [Address(RVA = "0x190D5EC", Offset = "0x190D5EC", VA = "0x190D5EC")]
        private int InternalDecrypt()
        {
            return 0;
        }

        // Token: 0x060035DA RID: 13786 RVA: 0x0000EBF8 File Offset: 0x0000CDF8
        [Token(Token = "0x60035DA")]
        [Address(RVA = "0x190D6E8", Offset = "0x190D6E8", VA = "0x190D6E8")]
        public static implicit operator ObscuredIntAB(int value)
        {
            return default(ObscuredIntAB);
        }

        // Token: 0x060035DB RID: 13787 RVA: 0x0000EC10 File Offset: 0x0000CE10
        [Token(Token = "0x60035DB")]
        [Address(RVA = "0x190D708", Offset = "0x190D708", VA = "0x190D708")]
        public static implicit operator int(ObscuredIntAB value)
        {
            return 0;
        }

        // Token: 0x060035DC RID: 13788 RVA: 0x0000EC28 File Offset: 0x0000CE28
        [Token(Token = "0x60035DC")]
        [Address(RVA = "0x190D728", Offset = "0x190D728", VA = "0x190D728")]
        public static ObscuredIntAB operator ++(ObscuredIntAB input)
        {
            return default(ObscuredIntAB);
        }

        // Token: 0x060035DD RID: 13789 RVA: 0x0000EC40 File Offset: 0x0000CE40
        [Token(Token = "0x60035DD")]
        [Address(RVA = "0x190D7EC", Offset = "0x190D7EC", VA = "0x190D7EC")]
        public static ObscuredIntAB operator --(ObscuredIntAB input)
        {
            return default(ObscuredIntAB);
        }

        // Token: 0x060035DE RID: 13790 RVA: 0x0000EC58 File Offset: 0x0000CE58
        [Token(Token = "0x60035DE")]
        [Address(RVA = "0x190D8AC", Offset = "0x190D8AC", VA = "0x190D8AC", Slot = "0")]
        public override bool Equals(object obj)
        {
            return default(bool);
        }

        // Token: 0x060035DF RID: 13791 RVA: 0x0000EC70 File Offset: 0x0000CE70
        [Token(Token = "0x60035DF")]
        [Address(RVA = "0x190D964", Offset = "0x190D964", VA = "0x190D964", Slot = "4")]
        public bool Equals(ObscuredIntAB obj)
        {
            return default(bool);
        }

        // Token: 0x060035E0 RID: 13792 RVA: 0x0000EC88 File Offset: 0x0000CE88
        [Token(Token = "0x60035E0")]
        [Address(RVA = "0x190D998", Offset = "0x190D998", VA = "0x190D998", Slot = "2")]
        public override int GetHashCode()
        {
            return 0;
        }

        // Token: 0x060035E1 RID: 13793 RVA: 0x0000206A File Offset: 0x0000026A
        [Token(Token = "0x60035E1")]
        [Address(RVA = "0x190D9C0", Offset = "0x190D9C0", VA = "0x190D9C0", Slot = "3")]
        public override string ToString()
        {
            return null;
        }

        // Token: 0x060035E2 RID: 13794 RVA: 0x0000206A File Offset: 0x0000026A
        [Token(Token = "0x60035E2")]
        [Address(RVA = "0x190D9E8", Offset = "0x190D9E8", VA = "0x190D9E8")]
        public string ToString(string format)
        {
            return null;
        }

        // Token: 0x060035E3 RID: 13795 RVA: 0x0000206A File Offset: 0x0000026A
        [Token(Token = "0x60035E3")]
        [Address(RVA = "0x190DA18", Offset = "0x190DA18", VA = "0x190DA18")]
        public string ToString(IFormatProvider provider)
        {
            return null;
        }

        // Token: 0x060035E4 RID: 13796 RVA: 0x0000206A File Offset: 0x0000026A
        [Token(Token = "0x60035E4")]
        [Address(RVA = "0x190DA48", Offset = "0x190DA48", VA = "0x190DA48", Slot = "5")]
        public string ToString(string format, IFormatProvider provider)
        {
            return null;
        }

        // Token: 0x04003B18 RID: 15128
        [Token(Token = "0x4003B18")]
        [FieldOffset(Offset = "0x0")]
        private static int cryptoKey;

        // Token: 0x04003B19 RID: 15129
        [Token(Token = "0x4003B19")]
        [FieldOffset(Offset = "0x0")]
        private int hvh;

        // Token: 0x04003B1A RID: 15130
        [Token(Token = "0x4003B1A")]
        [FieldOffset(Offset = "0x4")]
        private int hvl;

        // Token: 0x04003B1B RID: 15131
        [Token(Token = "0x4003B1B")]
        [FieldOffset(Offset = "0x8")]
        private int fakeValue;
    }
}

 

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

    • Dice Lords v1.0.3 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
      • 0 replies
    • Dice Lords v1.0.3 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
      • 0 replies
    • Super Stylist Fashion Makeover Cheats v3.7.6 +1
      Modded/Hacked App: Super Stylist Fashion Makeover By CRAZY STYLE LTD
      Bundle ID: com.babyeducationtoys.fashionstyle
      iTunes Store Link: https://apps.apple.com/us/app/super-stylist-fashion-makeover/id1441648201?uo=4


      Hack Features:
      - Free Store (not iAP)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/112404-super-stylist-fashion-makeover-v352-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/190368-super-stylist-fashion-makeover-cheats-v352-1/
        • Agree
        • Thanks
        • Like
      • 26 replies
    • Toram Online v4.1.11 - [ Custom Move Speed & More ]
      Modded/Hacked App: Toram Online By ASOBIMO,Inc.
      Bundle ID: com.asobimo.toramonline
      iTunes Store Link: https://itunes.apple.com/us/app/toram-online/id988683886?mt=8&uo=4&at=1010lce4
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Custom Move Speed
      - God Mode 
      - Fast Attack Speed
      - Fast Cast Speed
      - Always Critical Chance
      - Never Miss Hit 
      - Mobs/Bosses Can't Avoid & Guard 
      - Quick Draw
      - Armor Break
      - Magic Wall - Stun + Full Map Hack 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,625 replies
    • Candy Crush Saga v1.316.0 Jailed Cheats +3
      Modded/Hacked App: Candy Crush Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-saga/id553834731?uo=4


      Hack Features:
      - Infinite Life
      - Infinite Booster
      - Infinite Move


      Jailbreak required hack(s): https://iosgods.com/topic/190447-candy-crush-saga-cheats-v12941-3/


      iOS Hack Download IPA Link: https://iosgods.com/topic/190448-candy-crush-saga-v12941-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 169 replies
    • GardenScapes Cheats v9.2.1 +5
      Modded/Hacked App: Gardenscapes By Playrix Games
      Bundle ID: com.playrix.gardenscapes-m3-ios
      iTunes Store Link: https://itunes.apple.com/us/app/gardenscapes/id1105855019?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves
      - Inifnite Boosters (Won't subtract when use)
      - Infinite Lives
      - Infinite Coins (Spend some/ Get some) - Not recommended cause sometimes it will bug your gameplay
      - Infinite Stars (Complete tasks without needing stars) - GAMEBREAKING FOR SURE  



      Hack Download Link: https://iosgods.com/topic/75340-arm64-gardenscapes-cheats-v280-5-vip/


      Credits:
      - @Laxus
      - @RudePerson For Inspiring Me
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,959 replies
    • BASEBALL 9 v3.8.5 +1 Cheats for Jailed iDevices!
      Modded/Hacked App: BASEBALL 9 By playus soft
      Bundle ID: us.kr.baseballnine
      App Store Link: https://apps.apple.com/us/app/baseball-9/id1340866223?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 Currencies

       

      Jailbroken Hack: https://iosgods.com/topic/136094-baseball-9-cheats-v371-1/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/82460-baseball-9-v371-1-cheats-for-jailed-idevices/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,584 replies
    • Dummynation Cheats v3.4.8 +3
      Modded/Hacked App: Dummynation By ALEJANDRO HERNANDEZ FERRERO
      Bundle ID: ahf.dummynation
      iTunes Store Link: https://apps.apple.com/us/app/dummynation/id6444295551?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      - Premium + No Ads
      - Infinite Research Point
      - Infinite Liquidity (Gold)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191828-dummynation-v313-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/191829-dummynation-cheats-v313-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 25 replies
    • The Tower - Idle Tower Defense v27.2.0 Jailed Cheats +2
      Modded/Hacked App: The Tower - Idle Tower Defense By Tech Tree Games LLC
      Bundle ID: com.TechTreeGames.TheTower
      App Store Link: https://apps.apple.com/us/app/the-tower-idle-tower-defense/id1575590830?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 ( Turn on inside iOSGods Mod Menu first )
      - iGameGod Cheat Engine Enabled ( modify in-game currency and speed up stage )

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/154025-the-tower-idle-tower-defense-v2706-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 179 replies
    • Summoners War: Rush v2.0.34627 Jailed Cheats +4
      Modded/Hacked App: Summoners War: Rush By Com2uS Corp.
      Bundle ID: com.com2us.legion.ios.apple.global.normal
      App Store Link: https://apps.apple.com/us/app/summoners-war-rush/id6476949737?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

      - God Mode
      - Weak Enemies
      - Multiply ATK Speed
      - Multiply MOVE Speed

       

      DO NOT BUY VIP FOR THIS CHEAT AND DON'T EXPECT THIS CAN BE UPDATED

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/196105-summoners-war-rush-v1425709-jailed-cheats-4/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 119 replies
    • 1945 - Airplane shooting games v15.04 Jailed Cheats +3
      Modded/Hacked App: 1945 Air Force: Airplane Games By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.airforce
      App Store Link: https://apps.apple.com/us/app/1945-air-force-airplane-games/id1460632826?uo=4

       


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/Mac/Linux with iTunes installed.


      Hack Features:
      - God Mode
      - One Hit Kill
      - Premium + No Ads


      iOS Hack Download Link: https://iosgods.com/topic/150679-1945-airplane-shooting-games-v1502-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 156 replies
    • SimCity BuildIt Cheats v1.71.1 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 708 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