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

    • Soccer Manager 2025 - Football v2.2.10 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Soccer Manager 2025 - Football By INVINCIBLES STUDIO LTD
      Bundle ID: com.invinciblesstudioltd.soccermanager2025
      iTunes Store Link: https://apps.apple.com/us/app/soccer-manager-2025-football/id6449935779?uo=4


      Hack Features:
      - Unlimited Cash -> Accept a Sponsorship.
      - Unlimited Cash v2 -> Create a Club.
      - 1 Gold Cost -> Making purchases with gold will only use 1 gold. Make sure you have enough gold first! DO NOT USE IN THE SHOP!


      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 141 replies
    • Smashero.io - Hack N Slash RPG v1.18.1 +2 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] Smashero.io - Hack N Slash RPG v3.3 +2 Cheats [ God / O-HK ] - 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Smashero.io - Hack N Slash RPG v1.18.1 +2 Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Smashero.io - Hack N Slash RPG v3.3 +2 Jailed Cheats [ God / O-HK ] - 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 62 replies
    • Trash Tycoon Idle Empire v4.0.3 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Trash Tycoon Idle Empire By SUPERSONIC STUDIOS LTD
      Bundle ID: com.funcell.trashinc
      iTunes Store Link: https://apps.apple.com/us/app/trash-tycoon-idle-empire/id1595274680?uo=4


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


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Trash Tycoon Idle Empire v2.6.2 +1++ Cheat [ 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 68 replies
    • Trash Tycoon Idle Empire v4.0.3 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Trash Tycoon Idle Empire By SUPERSONIC STUDIOS LTD
      Bundle ID: com.funcell.trashinc
      iTunes Store Link: https://apps.apple.com/us/app/trash-tycoon-idle-empire/id1595274680?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Trash Tycoon Idle Empire v2.6.2 +1++ Jailed Cheat [ 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 38 replies
    • Fishing Master v2.3 +1 Jailed Cheat [ Freeze Fish ]
      Modded/Hacked App: Fishing Master By Ark Game Limited
      Bundle ID: com.fishgame.fishon
      iTunes Store Link: https://apps.apple.com/us/app/fishing-master/id6471659176?uo=4


      Hack Features:
      - Freeze Fish -> Makes catching fish so much easier.


      Jailbreak required hack(s): [Mod Menu Hack] Fishing Master v1.3 +1 Cheat [ Freeze Fish ] - ViP 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 34 replies
    • Fishing Master v2.3 +1 Cheat [ Freeze Fish ]
      Modded/Hacked App: Fishing Master By Ark Game Limited
      Bundle ID: com.fishgame.fishon
      iTunes Store Link: https://apps.apple.com/us/app/fishing-master/id6471659176?uo=4


      Hack Features:
      - Freeze Fish -> Makes catching fish so much easier.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Fishing Master v1.3 +1 Jailed Cheat [ Freeze Fish ] - ViP Non-Jailbroken Hacks & 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 64 replies
    • Dirty Crown: Fantasy Story v1.6.12 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Dirty Crown : Fantasy Story By Storytaco.inc
      Bundle ID: com.storytaco.p29client
      iTunes Store Link: https://apps.apple.com/us/app/dirty-crown-fantasy-story/id6450760298?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Dirty Crown: Fantasy Story v1.6.3 +1 Cheat [ Free Premium Choices ] - 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/
        • Informative
        • Agree
        • Thanks
        • Like
      • 12 replies
    • Dirty Crown: Fantasy Story v1.6.12 +1 Cheat [ Free Premium Choices ]
      Modded/Hacked App: Dirty Crown : Fantasy Story By Storytaco.inc
      Bundle ID: com.storytaco.p29client
      iTunes Store Link: https://apps.apple.com/us/app/dirty-crown-fantasy-story/id6450760298?uo=4


      Hack Features:
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Dirty Crown: Fantasy Story v1.6.3 +1 Jailed Cheat [ Free Premium Choices ] - 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/
        • Winner
        • Like
      • 9 replies
    • Kiss in Hell: Fantasy Otome v1.3.1 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Kiss in Hell:Fantasy Otome By Storytaco.inc
      Bundle ID: com.storytaco.p31client
      iTunes Store Link: https://apps.apple.com/us/app/kiss-in-hell-fantasy-otome/id6473819786?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Kiss in Hell: Fantasy Otome v1.2.0 +1 Cheat [ Free Premium Choices ] - 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/
        • Agree
        • Like
      • 10 replies
    • Blood Kiss: Vampire Romance v1.23.3 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Blood Kiss: Vampire Romance By Storytaco.inc
      Bundle ID: com.storytaco.bloodkiss.dangerous.ikemen.otome.story
      iTunes Store Link: https://apps.apple.com/us/app/bloodkiss-vampire-romance/id1541117815?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Blood Kiss: Vampire Romance v1.22.3 +1 Cheat [ Free Premium Choices ] - 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/
        • Informative
        • Agree
        • Thanks
        • Like
      • 7 replies
    • Blood Kiss: Vampire Romance v1.23.3 +1 Cheat [ Free Premium Choices ]
      Modded/Hacked App: Blood Kiss: Vampire Romance By Storytaco.inc
      Bundle ID: com.storytaco.bloodkiss.dangerous.ikemen.otome.story
      iTunes Store Link: https://apps.apple.com/us/app/bloodkiss-vampire-romance/id1541117815?uo=4


      Hack Features:
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Blood Kiss: Vampire Romance v1.22.3 +1 Jailed Cheat [ Free Premium Choices ] - 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/
        • Thanks
        • Winner
        • Like
      • 4 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