Jump to content

help me with this question ObscuredInt


1 post in this topic

Recommended Posts

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;
    }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • West Escape v1.0.15 +7++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: West Escape By Estoty LLC
      Bundle ID: com.western.escape
      iTunes Store Link: https://apps.apple.com/us/app/west-escape/id6474681724?uo=4


      Hack Features:
      - Unlimited Everything
      - God Mode
      - God Mode - Horse
      - One-Hit Kill
      - No Ads -> Head into Settings and toggle the Discord Support button.


      Jailbreak required hack(s): [Mod Menu Hack] West Escape v1.0.13 +7++ Cheats [ Unlimited Everything ] - 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/
      • 44 replies
    • Merge 2 Survive: Zombie Game v1.1.2 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Jailbreak required hack(s): [Mod Menu Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 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/
      • 10 replies
    • Merge 2 Survive: Zombie Game v1.1.2 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 16 replies
    • West Escape v1.0.15 +7++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: West Escape By Estoty LLC
      Bundle ID: com.western.escape
      iTunes Store Link: https://apps.apple.com/us/app/west-escape/id6474681724?uo=4


      Hack Features:
      - Unlimited Everything
      - God Mode
      - God Mode - Horse
      - One-Hit Kill
      - One-Hit w/ Tool
      - No Tool Level Requirement
      - No Ads -> Head into Settings and toggle the Discord Support button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] West Escape v1.0.13 +5++ Cheats [ Unlimited Everything ] - Free Non-Jailbroken IPA 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/
      • 25 replies
    • Hoosegow: Prison Survival v2.6.7 +40++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Hoosegow: Prison Survival By D.DREAM GAMES LLC
      Bundle ID: com.ddreamgames.hoosegow
      iTunes Store Link: https://apps.apple.com/us/app/hoosegow-prison-survival/id1587312327?uo=4


      Hack Features:
      - Debug Menu -> Head into Settings and toggle the Report a problem button.


      Jailbreak required hack(s): [Mod Menu Hack] Hoosegow: Prison Survival v2.2.4 +40++ Cheats [ Debug 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/
      • 57 replies
    • Hoosegow: Prison Survival v2.6.7 +40++ Cheats [ Debug Menu ]
      Modded/Hacked App: Hoosegow: Prison Survival By D.DREAM GAMES LLC
      Bundle ID: com.ddreamgames.hoosegow
      iTunes Store Link: https://apps.apple.com/us/app/hoosegow-prison-survival/id1587312327?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Report a problem button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hoosegow: Prison Survival v2.2.4 +40++ Jailed Cheats [ Debug Menu ] - Free Non-Jailbroken IPA 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/
      • 36 replies
    • Supermarket Manager Simulator v1.0.9 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Supermarket Manager Simulator v1.0.6 +3 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/
      • 48 replies
    • Supermarket Manager Simulator v1.0.9 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Supermarket Manager Simulator v1.0.6 +3 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 21 replies
    • Stealth Master: Assassin Ninja v1.12.15 +4++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Stealth Master: Assassin Ninja By SayGames LTD
      Bundle ID: io.highcore.stealthmaster
      iTunes Store Link: https://apps.apple.com/us/app/stealth-master-assassin-ninja/id1518389230
       

      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies
      - All Characters Unlocked


      Jailbreak required hack(s): https://iosgods.com/topic/173267-stealth-master-assassin-ninja-v1128-4-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 13 replies
    • Mighty DOOM v1.13.1 +2 Jailed Cheats [ God & OHK ]
      Modded/Hacked App: Mighty DOOM By Bethesda
      Bundle ID: com.bethsoft.ubu
      iTunes Store Link: https://apps.apple.com/us/app/mighty-doom/id1535673981
       

      Hack Features:
      - God Mode -> You will take damage but you won't die.
      - One-Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/170017-mighty-doom-v100-2-cheats-damage-multiplier/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 127 replies
    • Mighty DOOM v1.13.1 +2 Cheats [ Damage Multiplier ]
      Modded/Hacked App: Mighty DOOM By Bethesda
      Bundle ID: com.bethsoft.ubu
      iTunes Store Link: https://apps.apple.com/us/app/mighty-doom/id1535673981
       

      Hack Features:
      - God Mode -> You will take damage but you won't die.
      - Damage Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170103-mighty-doom-v100-2-jailed-cheats-one-hit-kill/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 157 replies
    • Stealth Master: Assassin Ninja v1.12.15 +4++ Cheats [ Damage & Defence ]
      Modded/Hacked App: Stealth Master: Assassin Ninja By SayGames LTD
      Bundle ID: io.highcore.stealthmaster
      iTunes Store Link: https://apps.apple.com/us/app/stealth-master-assassin-ninja/id1518389230
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Currencies -> Restart the app for it to take effect.
      - All Characters Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 25 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