Jump to content

21 posts in this topic

Recommended Posts

Posted

This is a very simple example & forward assault is the easiest game I did it on. It can be modified to work on other games.

 

I suggest to read this code inside a text editor with the syntax of C/C++ as iG's C syntax doesn't really look well.

// Don't worry to much about this, you just need this for location handling.
class Vector3 {
public:
  float x;
  float y;
  float z;
  Vector3() : x(0), y(0), z(0) {}
  Vector3(float x1, float y1, float z1) : x(x1), y(y1), z(z1) {}
  Vector3(const Vector3 &v);
  ~Vector3();
};
Vector3::Vector3(const Vector3 &v) : x(v.x), y(v.y), z(v.z) {}
Vector3::~Vector3() {}

/************************************************
Function pointers that will be used in this hack.
*************************************************/
//public Transform get_transform() ---> Class Component
void *(*Component_GetTransform)(void *component) = (void *(*)(void *))getRealOffset(0x101F84228);  

//private void INTERNAL_set_position(Vector3 value) ---> Class Transform
void (*Transform_INTERNAL_set_position)(void *transform, Vector3 newPosition) = (void (*)(void *, Vector3))getRealOffset(0x101FAB724);

//private void INTERNAL_get_position(out Vector3 value) --> get the object of a transform
void (*Transform_INTERNAL_get_position)(void *transform, Vector3 *out) = (void (*)(void *, Vector3 *))getRealOffset(0x101FAB7D0);

/*****************************************************
Utility functions which will help us with some checks.
******************************************************/
// Utility function to get a players location.
Vector3 GetPlayerLocation(void *player) {
  Vector3 location;
  Transform_INTERNAL_get_position(Component_GetTransform(player), &location);

  return location;  
}

// Utility function to get a players health
float GetPlayerHealth(void *player) {
  //private float FEHAJLBCGIN; // 0x1EC
  return *(float*)((uint64_t)player + 0x1EC);
}

// Utility function to check if a enemy is dead
bool isPlayerDead(void *player) {
  if(GetPlayerHealth(player) < 1) {
    return true;
  }

  return false;
}

// Utility function to get a players team number
int GetPlayerTeam(void *player) {
  //private int BMFGOOEECIC; // 0x210 --> Player
  return *(int*)((uint64_t)player + 0x210);
}

//Creating a null objects for enemy & my player. It will be asigned later inside the actual hook.
void *enemyPlayer = NULL;
void *myPlayer = NULL;

// Hook code
void(*old_Player_Update)(void *player);
void Player_Update(void *player) {

  //public bool isMine; // 0xCC
  bool isMine = *(bool*)((uint64_t)player + 0xCC);

  //getting my player
  if(isMine) {
    myPlayer = player;
  }

  // getting enemy player by checking whether the other players team is the same as mine
  if(myPlayer) {
    if(GetPlayerTeam(myPlayer) != GetPlayerTeam(player)) {
      enemyPlayer = player;
    }    
  }


  /*********************
    TELE KILL FEATURE
  **********************/

  // Checking if enemyPlayer object is not null
  if(enemyPlayer) {
    // checking if it's not dead, if it is enemyPlayer is NULL & it should look for a new one.
    if(!isPlayerDead(enemyPlayer)) {
      if([switches isSwitchOn:@"Teleport to Enemy"]) {
        Vector3 enemyLocation = GetPlayerLocation(enemyPlayer);
        // You can mod these values to your liking  
        Transform_INTERNAL_set_position(Component_GetTransform(myPlayer), Vector3(enemyLocation.x, enemyLocation.y, enemyLocation.z - 1));
      }      
    } else {
      enemyPlayer = NULL;
      return;
    }
  }
  old_Player_Update(player);
}

//private void Update(); --> Class: Player (bigger one)
HOOK(0x101743A8C, Player_Update, old_Player_Update);

 

If you use this source in hacks, I'd appreciate actual credits.

  • Like 8
  • Winner 2
  • Informative 1
Posted
31 minutes ago, busmanl30 said:

veey good job, will credit you fro the work :D

 

Did it crashed?

Posted
Just now, busmanl30 said:

no, ill add it in my current hack if you wantwith more features

No I mean when you was trying it i used it in same room then the game freez it looks like if more than one use it in same room it not work, not sure

Posted
21 minutes ago, X204 said:

No I mean when you was trying it i used it in same room then the game freez it looks like if more than one use it in same room it not work, not sure

you are doing something room, dont worry about it, ill be adding it to my public hack 

 

  • Our picks

    • Fruit Ninja 2 Cheats v2.52.1 +4
      Modded/Hacked App: Fruit Ninja 2 By Halfbrick
      Bundle ID: com.halfbrick.fruitninjax
      iTunes Store Link: https://apps.apple.com/us/app/fruit-ninja-2/id1330898775?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

      - Free Store
      - All Skins Purchased
      - All Avatars Purchased
      - All Blades Purchased

       

      Non-Jailbroken Hack: https://iosgods.com/topic/136081-fruit-ninja-2-v2450-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/136078-fruit-ninja-2-cheats-v2450-4/
      • 418 replies
    • Rent Please! Landlord Sim Cheats v1.6.8 +2
      Modded/Hacked App: Rent Please! Landlord Sim By Shimmer Games Co., Ltd.
      Bundle ID: com.shimmergames.tenants.gb.en
      iTunes Store Link: https://apps.apple.com/us/app/rent-please-landlord-sim/id1645842987?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168311-rent-please-landlord-sim-v111-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/168312-rent-please-landlord-sim-cheats-v111-2/
      • 161 replies
    • Fruit Ninja Cheats v3.86.10 +4
      Modded/Hacked App: Fruit Ninja® By Halfbrick
      Bundle ID: com.halfbrick.FruitNinjaLite
      iTunes Store Link: https://apps.apple.com/us/app/fruit-ninja/id403858572?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

      - No Bomb
      - Freeze StarFruits
      - Freeze Frenzy, Double Points in Aracade Mode
      - Infinite Boosters

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86031-fruit-ninja-v3800-jailed-cheats-6/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/85983-fruit-ninja-cheats-v3800-4/
      • 471 replies
    • Cat Legends : Idle RPG Game Cheats v1.1.31 +3
      Modded/Hacked App: Cat Legends : Idle RPG Game By PT Dreams Studio Indonesia
      Bundle ID: com.DreamsStudio.CatLegendsIdleRPGs
      iTunes Store Link: https://apps.apple.com/us/app/cat-legends-idle-rpg-game/id6476254307?uo=4


      Hack Features:
      - God Mode
      - Multiply Attack
      - Freeze Resources


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/183297-cat-legends-idle-rpg-game-cheats-v103-3/
      • 74 replies
    • Eatventure v1.46.0 Jailed Cheats +2
      Modded/Hacked App: Eatventure By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.hwqgrhhjfd.idlefastfood
      iTunes Store Link: https://apps.apple.com/us/app/eatventure/id1600871388?uo=4


      Hack Features:
      - Freeze Currencies
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/168170-eatventure-cheats-all-versions-1/


      iOS Hack Download IPA Link: https://iosgods.com/topic/168169-eatventure-v110-jailed-cheats-2/
      • 378 replies
    • My Hot Pot Story Cheats v5.2.2 +1
      Modded/Hacked App: My Hotpot Story By 冲 于
      Bundle ID: com.lxqd.hotpotiver
      iTunes Store Link: https://apps.apple.com/us/app/my-hotpot-story/id1623328997?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/166067-my-hotpot-story-v145-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/166065-my-hotpot-story-cheats-all-versions-1/
      • 161 replies
    • Hill Climb Racing 2 Cheats v1.69.4 +1
      Modded/Hacked App: Hill Climb Racing 2 By Fingersoft
      Bundle ID: com.fingersoft.hillclimbracing2
      iTunes Store Link: https://apps.apple.com/us/app/hill-climb-racing-2/id1146465836?uo=4


      Hack Features:
      - Freeze Coins
      - Freeze Gems
      - Freeze Scraps


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/108295-hill-climb-racing-2-v1611-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/108298-hill-climb-racing-2-v1612-cheats-3/
      • 2,205 replies
    • Family Guy The Quest for Stuff v7.9.3 +4 Cheats
      Modded/Hacked App: Family Guy The Quest for Stuff By Jam City, Inc.
      Bundle ID: com.tinycorp.familyguy
      iTunes Store Link: https://apps.apple.com/us/app/family-guy-the-quest-for-stuff/id838500730?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

      - Free Store → Shows price but still able to buy
      - Free Action Skipping
      - Free Rent Skipping
      - Free Land Clear Skipping


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/80941-family-guy-the-quest-for-stuff-v752-2-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/80238-family-guy-the-quest-for-stuff-v752-4-cheats/
      • 1,176 replies
    • Stick War: Legacy Cheats v2025.1.162 +3
      Modded/Hacked App: Stick War: Legacy by 1004319 Alberta Ltd
      Bundle ID: com.stickpage.stickwar
      iTunes Store Link: https://itunes.apple.com/us/app/stick-war-legacy/id1001780528?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Gold
      - Infinite Gem
      - Fast Build


      Hack Download Link: https://iosgods.com/topic/96767-arm64-stick-war-legacy-cheats-all-versions-3/
      • 380 replies
    • Mighty Party: Battle Heroes Cheats v47.1.1 +5
      Modded/Hacked App: Mighty Party: Battle Heroes By By Aliens L.L.C-FZ
      Bundle ID: com.panoramik.forgeofgodsblitz
      App Store Link: https://apps.apple.com/us/app/mighty-party-battle-heroes/id1163805393?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

      - Unlimited Currencies - Will not decrease. Reason why I only added this was because there's always a ban wave on this game. I can hack currencies, yes but instant ban.
      - Free Summoning - Please use this with caution. Many users have reported getting banned whilst using this feature.
      - Kill All / Auto Win - Linked. Wait till it's the enemies turn and before they spawn in a troop, enable this feature.
      - Complete All Quests
      - Skip Enemy Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/78416-mighty-party-heroes-clash-v4709-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/77350-mighty-party-battle-heroes-cheats-v4709-5/
        • Thanks
      • 1,858 replies
    • [ ReDive TW ] 超異域公主連結!Re:Dive Cheats v5.4.0 +2
      Modded/Hacked App: 超異域公主連結!Re:Dive By So-net Entertainment Taiwan Limited
      Bundle ID: tw.sonet.princessconnect
      iTunes Store Link: https://apps.apple.com/tw/app/%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90-re-dive/id1390473317?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

      - Multiply Attack
      - Multiply Defense

       

      Non-Jailbroken Hack: https://iosgods.com/topic/186660-redive-tw-%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90%EF%BC%81redive-hack/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134431-redive-tw-%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90%EF%BC%81redive-cheats-v500-3/
      • 283 replies
    • FarmVille 2: Country Escape Cheats v28.7 +1
      Modded/Hacked App: FarmVille 2: Country Escape by Zynga Inc.
      Bundle ID: com.zynga.FarmVille2CountryEscape
      iTunes Store Link: https://apps.apple.com/us/app/farmville-2-country-escape/id824318267?uo=4&at=1010lce4


      Hack Features:
      - Freeze Key


      iOS Hack Download Link: https://iosgods.com/topic/101607-arm64-farmville-2-country-escape-cheats-v1263984-1/
      • 2,023 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