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

    • CookieRun: Kingdom v7.0.001 Jailed Cheats +3
      Modded/Hacked App: CookieRun: Kingdom By Devsisters Corp.
      Bundle ID: com.devsisters.ck
      App Store Link: https://apps.apple.com/us/app/cookierun-kingdom/id1509450845?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

      - Multiply Attack
      - Multiply Defense
      - No Skills Cooldown
       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/201150-cookierun-kingdom-v610001-jailed-cheats-3/
      • 90 replies
    • War Inc: Rising v0.8.2 Jailed Cheats +3
      Modded/Hacked App: War Inc: Rising By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.rising
      App Store Link: https://apps.apple.com/us/app/war-inc-rising/id6747767390?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
      - One Hit Kill
      - Auto Win

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202371-war-inc-rising-v080-jailed-cheats-3/
      • 14 replies
    • Angry Birds Dream Blast Cheats v1.99.1 +3
      Modded/Hacked App: Angry Birds Dream Blast By Rovio Entertainment Oyj
      Bundle ID: com.rovio.dream
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-dream-blast/id1432579280?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Lives
      - Infinite Boosters


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/149687-angry-birds-dream-blast-v1340-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/149684-angry-birds-dream-blast-cheats-all-versions-3/
      • 117 replies
    • Toy Blast Cheats (Auto Update) +6
      Modded/Hacked App: Toy Blast By Peak Games
      Bundle ID: net.peakgames.amy
      iTunes Store Link: https://itunes.apple.com/us/app/toy-blast/id890378044?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Hearts
      - Infinite Coins
      - Infinite Boosters
      - Never Lose
      - High Score
      - Always 3 Stars


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/73056-arm64-toy-blast-v5431-jailed-cheats-3/


      Hack Download Link: https://iosgods.com/topic/73037-arm64-toy-blast-cheats-v5475-6/



      Credits:
      - @Laxus
        • Like
      • 641 replies
    • PewDiePie's Tuber Simulator Cheats (Auto Update) +3
      Modded/Hacked App: PewDiePie's Tuber Simulator By Outerminds Inc.
      Bundle ID: com.outerminds.tubular
      iTunes Store Link: https://apps.apple.com/us/app/pewdiepies-tuber-simulator/id1093190533?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - Infinite Subscriber
      - Infinite Views
      - Infinite Bux

      NOTE: Please complete tutorial first before enabling the hacks otherwise it won't work

      NOTe 2: Please make a youtube video to get some views first (without hack) then before enable infinite views

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86411-pewdiepies-tuber-simulator-v2450-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/86366-pewdiepies-tuber-simulator-cheats-v2460-3/
      • 1,184 replies
    • FR Legends Cheats v0.4.2 +3
      Modded/Hacked App: FR LEGENDS By FENG LI
      Bundle ID: com.fengiiley.frlegends
      iTunes Store Link: https://itunes.apple.com/us/app/fr-legends/id1435740083?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Custom Gold (Enter the value you want and enable the switch)
      - Custom Cash
      - Infinite Layer


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/79729-arm64-fr-legends-v027-jailed-cheats-3/


      Hack Download Link: https://iosgods.com/topic/79816-arm64-fr-legends-cheats-v029-3/
      • 641 replies
    • Rick and Morty: Pocket Mortys v2.41.0 Jailed Cheats +1
      Modded/Hacked App: Rick and Morty: Pocket Mortys by Turner Broadcasting System, Inc.
      Bundle ID: com.turner.pocketmorties
      iTunes Store Link: https://itunes.apple.com/us/app/rick-and-morty-pocket-mortys/id992640880?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Schmeckles
      - Infinite Coupons


      Hack Download Link: https://iosgods.com/topic/86695-arm64-rick-and-morty-pocket-mortys-v271-jailed-cheats-2/
      • 453 replies
    • [ Push Hero: Idle RPG ] 푸시 히어로: 방치형 RPG 키우기 v0.40.12 Jailed Cheats +4
      Modded/Hacked App: 푸시 히어로: 방치형 RPG 키우기 By MalangGames Corp.
      Bundle ID: com.malang.store.finalidle
      App Store Link: https://apps.apple.com/kr/app/%ED%91%B8%EC%8B%9C-%ED%9E%88%EC%96%B4%EB%A1%9C-%EB%B0%A9%EC%B9%98%ED%98%95-rpg-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6476646717?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
      - Multiply Attack
      - Freeze Currencies
      - Premium
      - Support English

       

      Jailbroken Hack: https://iosgods.com/topic/204528-push-hero-idle-rpg-%ED%91%B8%EC%8B%9C-%ED%9E%88%EC%96%B4%EB%A1%9C-%EB%B0%A9%EC%B9%98%ED%98%95-rpg-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v04011-4/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/204527-push-hero-idle-rpg-%ED%91%B8%EC%8B%9C-%ED%9E%88%EC%96%B4%EB%A1%9C-%EB%B0%A9%EC%B9%98%ED%98%95-rpg-%ED%82%A4%EC%9A%B0%EA%B8%B0-v04011-jailed-cheats-4/
      • 3 replies
    • Love Eden: Chapters of Romance v2.0.2 +10++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Love Eden: Chapters of Romance By NODERNO LIMITED
      Bundle ID: com.noderno.loveeden
      App Store Link: https://apps.apple.com/us/app/love-eden-chapters-of-romance/id6471411677?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head over to your profile and then tap on Settings.
      • 7 replies
    • Grand War: Rome Strategy Games v1233 +5 Mods [ Damage & Defence ]
      Mod APK Game Name: Grand War: Rome Strategy Games By Joynow Studio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rome.caesar.war.strategy.conqueror.games

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Medals
      • 1 reply
    • Love Eden: Interactive Stories v2.0.2 +10++ Mods [ Debug Menu ]
      Mod APK Game Name: Love Eden: Interactive Stories By Noderno Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.noderno.loveeden

       

      🤩 Hack Features

      - Debug Menu -> Head over to your profile and then tap on Settings. 
      • 1 reply
    • Grand War: Rome Strategy Games v2.4.1 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand War: Rome Strategy Games By HangZhouCaiLingTechnology.Co., Limited
      Bundle ID: com.rome.caesar.war.strategy.conqueror.games.2021
      iTunes Store Link: https://apps.apple.com/us/app/grand-war-rome-strategy-games/id1593989305?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Medals
      • 45 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