Jump to content

6 posts in this topic

Recommended Posts

Posted

How can i call this function and change the energy?
 

Token(Token = "0x2000150")]
public class CheatAccountSetEnergy : RequestPacket
{
	[Token(Token = "0x4000351")]
	[FieldOffset(Offset = "0x30")]
	[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x13955C", Offset = "0x13955C")]
	private int <Energy>k__BackingField;

	[Token(Token = "0x17000321")]
	public int Energy
	{
		[Token(Token = "0x60007A9")]
		[Address(RVA = "0x3742160", Offset = "0x3742160", VA = "0x3742160")]
		[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x14001C", Offset = "0x14001C")]
		get
		{
			return default(int);
		}
		[Token(Token = "0x60007AA")]
		[Address(RVA = "0x3742168", Offset = "0x3742168", VA = "0x3742168")]
		[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x14002C", Offset = "0x14002C")]
		set
		{
		}
	}

	[Token(Token = "0x60007AB")]
	[Address(RVA = "0x3742170", Offset = "0x3742170", VA = "0x3742170")]
	public CheatAccountSetEnergy()
	{
	}
}

 

Posted (edited)
15 hours ago, batchh said:

How can i call this function and change the energy?
 

Token(Token = "0x2000150")]
public class CheatAccountSetEnergy : RequestPacket
{
	[Token(Token = "0x4000351")]
	[FieldOffset(Offset = "0x30")]
	[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x13955C", Offset = "0x13955C")]
	private int <Energy>k__BackingField;

	[Token(Token = "0x17000321")]
	public int Energy
	{
		[Token(Token = "0x60007A9")]
		[Address(RVA = "0x3742160", Offset = "0x3742160", VA = "0x3742160")]
		[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x14001C", Offset = "0x14001C")]
		get
		{
			return default(int);
		}
		[Token(Token = "0x60007AA")]
		[Address(RVA = "0x3742168", Offset = "0x3742168", VA = "0x3742168")]
		[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x14002C", Offset = "0x14002C")]
		set
		{
		}
	}

	[Token(Token = "0x60007AB")]
	[Address(RVA = "0x3742170", Offset = "0x3742170", VA = "0x3742170")]
	public CheatAccountSetEnergy()
	{
	}
}

 

If I understood you correctly, you want to make a tweak, in this case the code will be like this:
 

%hook CheatAccountSetEnergy
- (int)Energy {
    int Energy = 9999999; 
    return Energy;
}
%end


I may be wrong, but I think you should look for another class where there will be values for example GetEnergy or get_Energy, because in this example I think you can't do for example offset patch from 0x3742160 on 00F0271EC0035FD6.
Like in this example:
 

[Token(Token = "0x6000356")]
    [Address(RVA = "0x25D0B6C", Offset = "0x25D0B6C", VA = "0x25D0B6C")]
    public int GetGold()
    {
        return 0;
    }

We can make offset patch with Custom Live Offset Patcher on offset 25D0B6C and change it to 00F0271EC0035FD6
But you should try, it'll be really nice if it does work out :)

Updated by hikiasi
  • Like 1
Posted
19 minutes ago, hikiasi said:

If I understood you correctly, you want to make a tweak, in this case the code will be like this:
 

%hook CheatAccountSetEnergy
- (int)Energy {
    int Energy = 9999999; 
    return Energy;
}
%end


I may be wrong, but I think you should look for another class where there will be values for example GetEnergy or get_Energy, because in this example I think you can't do for example offset patch from 0x3742160 on 00F0271EC0035FD6.
Like in this example:
 

[Token(Token = "0x6000356")]
    [Address(RVA = "0x25D0B6C", Offset = "0x25D0B6C", VA = "0x25D0B6C")]
    public int GetGold()
    {
        return 0;
    }

We can make offset patch with Custom Live Offset Patcher on offset 25D0B6C and change it to 00F0271EC0035FD6
But you should try, it'll be really nice if it does work out :)

Thanks for responding, but that’s not what I meant. 
My idea was, set the energy to a high value and then call the CheatAccountSetEnergy that is a request packet for the server, I have no idea on how to do that :(

Any ideas?

Posted
2 minutes ago, batchh said:

Thanks for responding, but that’s not what I meant. 
My idea was, set the energy to a high value and then call the CheatAccountSetEnergy that is a request packet for the server, I have no idea on how to do that :(

Any ideas?

I get your point, in that case you could try this

%hook CheatAccountSetEnergy

- (int)Energy
{
    int Energy = 99999999;  // Replace the original value with 999999
    return Energy; 
}

%end

%hook CheatAccountSetEnergy

- (void)sendRequestToServer
{
    %orig; // Call the original method to send the request to the server
}

%end

but I'm not sure about it to be honest, because I've never encountered it myself

  • Like 1
Posted
21 minutes ago, hikiasi said:

I get your point, in that case you could try this

%hook CheatAccountSetEnergy

- (int)Energy
{
    int Energy = 99999999;  // Replace the original value with 999999
    return Energy; 
}

%end

%hook CheatAccountSetEnergy

- (void)sendRequestToServer
{
    %orig; // Call the original method to send the request to the server
}

%end

but I'm not sure about it to be honest, because I've never encountered it myself

I will try :) thank you so much 

  • Like 1

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

    • Hunter Hunter Heroes - RPG v1.1.1 (92) [ +10 Cheats ] Enough Currency
      Modded/Hacked App: Hunter Hunter Heroes - RPG By HNRQ FAITTA LTDA
      Bundle ID: com.babystone.hhidlegrind
      App Store Link: https://apps.apple.com/us/app/hunter-hunter-heroes-rpg/id6763558832?uo=4

      🤩 Hack Features

      - Enough Currency
      - Currency Freeze
      - Hunter License Active / Not Tested
      - Scroll Perk Active
      - EXP Multiplier
      - Faster Level Up
      - Good Mod
      - Hero ATK
      - Hero ATK Speed
      - Hero Move Speed
      Note:- Don't Abuse The Hack Incase Banned/Data lost
      • 4 replies
    • Hunter Hunter Heroes - RPG v1.1.1 (92) [ +10 Jailed ] Enough Currency
      Modded/Hacked App: Hunter Hunter Heroes - RPG By HNRQ FAITTA LTDA
      Bundle ID: com.babystone.hhidlegrind
      App Store Link: https://apps.apple.com/us/app/hunter-hunter-heroes-rpg/id6763558832?uo=4

      🤩 Hack Features

      - Enough Currency
      - Currency Freeze
      - Hunter License Active / Not Tested
      - Scroll Perk Active
      - EXP Multiplier
      - Faster Level Up
      - Good Mod
      - Hero ATK
      - Hero ATK Speed
      - Hero Move Speed
      Note:- Don't Abuse The Hack Incase Banned/Data lost
      • 0 replies
    • Jacket Escape v1.1.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Jacket Escape By 蕴绮 黄
      Bundle ID: com.simplegame.jetpack
      App Store Link: https://apps.apple.com/us/app/jacket-escape/id6450668807?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Bullet Size Max
      • 1 reply
    • Jacket Escape v1.1.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Jacket Escape By 蕴绮 黄
      Bundle ID: com.simplegame.jetpack
      App Store Link: https://apps.apple.com/us/app/jacket-escape/id6450668807?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Bullet Size Max
      • 1 reply
    • Motor Capital v1.0.0 [ +1 Cheats ] Enough Resources
      Modded/Hacked App: Motor Capital By 24 HIT Riga SIA
      Bundle ID: com.motor.capital
      App Store Link: https://apps.apple.com/us/app/motor-capital/id6771701401?uo=4

      🤩 Hack Features

      Pre Activated
      - Enough Resources / Only Upgrades & Building Upgrade
      • 1 reply
    • Motor Capital v1.0.0 [ +1 Jailed ] Enough Resources
      Modded/Hacked App: Motor Capital By 24 HIT Riga SIA
      Bundle ID: com.motor.capital
      App Store Link: https://apps.apple.com/us/app/motor-capital/id6771701401?uo=4

      🤩 Hack Features

      Pre Activated
      - Enough Resources / Only Upgrades & Building Upgrade
      • 0 replies
    • SimCity BuildIt Cheats v1.79.0 +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/
      • 744 replies
    • Shoot & Hide v1.5.3 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Shoot & Hide By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.sniper.shoot.hide.game
      App Store Link: https://apps.apple.com/us/app/shoot-hide/id6747033069?uo=4

      🤩 Hack Features

      Pre Activated
      - Currency Max / Earn Then Get
      - Trophies Max Earn Then Get
      - Heroes Unlocked / Linked Trophies
      - Location Unlocked / Linked Trophies
      - Merge Anything
      - HP MAX / ON When Enemy Turn After Disable
      • 5 replies
    • Shoot & Hide v1.5.3 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Shoot & Hide By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.sniper.shoot.hide.game
      App Store Link: https://apps.apple.com/us/app/shoot-hide/id6747033069?uo=4

      🤩 Hack Features

      Pre Activated
      - Currency Max / Earn Then Get
      - Trophies Max Earn Then Get
      - Heroes Unlocked / Linked Trophies
      - Location Unlocked / Linked Trophies
      - Merge Anything
      - HP MAX / ON When Enemy Turn After Disable
      • 1 reply
    • Real War: Survival Game v0.1.4 [ +4 APK MOD ] Troops Max
      Mod APK Game Name: Real War: Survival Game
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.zc.action.war.survival.game

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Max ATK
      • 3 replies
    • Real War: Survival Game v1.1.0 [ +4 Cheats ] Troops Max
      Modded/Hacked App: Real War: Survival Game By Rameez Rehmat
      Bundle ID: com.sku.action.war.survival.games
      App Store Link: https://apps.apple.com/us/app/real-war-survival-game/id6772532581?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Custom ATK 
      • 1 reply
    • Real War: Survival Game v1.1.0 [ +4 Jailed ] Troops Max
      Modded/Hacked App: Real War: Survival Game By Rameez Rehmat
      Bundle ID: com.sku.action.war.survival.games
      App Store Link: https://apps.apple.com/us/app/real-war-survival-game/id6772532581?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Custom ATK 
      • 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