Jump to content

Ted2

Senior Member
  • Posts

    4,939
  • Joined

  • Last visited

Everything posted by Ted2

  1. I'm telling you, you're not. A address only contains numbers, which yours have not: You have to enter the numbers only.
  2. you’re bot entering a adresss
  3. Hi, I thought I'd share it here too, though android section seems pretty dead here. Anyways, I know most of you just patch offsets directly with creating hacks, which is fine. However, sometimes hooking a function can be very useful, for example when you're trying to unlink a feature. Some time ago I made a simple template, so I thought I'd share it here. The Github link is: https://github.com/joeyjurjens/Android-Hooking-Template The instructions will be there too. I'll include KittyMemory with it soon, so offsets can be patched from the library. You might want to use this, so people can't just compare your modded binary with a clean binary. Have fun!
  4. 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.
  5. I don't see this as making updating hacks easier or faster. You're better of writing a tool that searches the dump from the current chosen game , search the offset of the function & then find instruction within that function. That's a one time setup.
  6. idk, but the header & then the scroll view is kinda the same, besides the opacity. I think it looks bad, but you seem to love it 🤔 but don’t worry about it most people don’t care & I have my own version. I just never got used to the standard iGMenu color style
  7. You need to learn how to hook. In the sample.xm I show the usage, so no one should have to guide you.
  8. The mod menu will be continuously updated, however due my inactivity on iOSGods you should check out the GitHub for actual updates. There are new things coming, which I won't update here. Also, for support you'll have to contact me either on Twitter or Discord, both can be found in the GitHub.
  9. Read topic...
  10. Ted2

    thanks baby <3 

  11. If you give me source, I'll suck your momma
  12. No, I copied my github content & pasted it here.
  13. it’s a theos template.
  14. If you don’t know the basics, then this topic is not for you. You should at least know what theos is and how to use templates.
  15. What? Show full errors.
  16. iOS Mod Menu Template for Theos! Sample UI of the Menu: I suggest reading all this on the Github page ! Features: Customizable UI Customizable menu & button image icon 4 types of switches: Offset Patcher Switch Empty Switch Textfield Switch Slider Switch Backend Offset Patcher Switch is based on KittyMemory Original bytes are not required Write bytes, instead of integers Supports MSHookMemory Open Source --> want something changed? Do it! Usage: Download this .tar file & place it inside /var/theos/templates/ios & then run nic.pl to create a project . If you want to customize the template, download the github project & copy the "project" folder on your phone. Make the changes you want, cd into your project & run this command: /var/theos/bin/nicify.pl ./ This will create a new .tar file inside the folder, place this in: /var/theos/templates/ios. Patching a offset without switch: patchOffset(0x1002DB3C8, 0xC0035FD6); patchOffset(0x10020D2D3, 0x00008052C0035FD6); Offset Patcher Switch: Note : "Bytes" allow up to two arm instructions per offset, not more. [switches addOffsetSwitch:@"One Hit Kill" description:@"Enemy will die instantly!" offsets:{0x1001BB2C0, 0x1002CB3B0} bytes:{0x00E0BF12C0035FD6, 0xC0035FD6}]; Empty Switch: [switches addSwitch:@"Anti Ban" description:@"You can't get banned, keep this enabled!"]; Textfield Switch: [switches addTextfieldSwitch:@"Custom Gold: " description:@"Here you can enter your own gold amount!" inputBorderColor:[UIColor colorWithRed:0.74 green:0.00 blue:0.00 alpha:1.0]]; Slider Switch: [switches addSliderSwitch:@"Custom Move Speed: " description:@"Set your custom move speed!" minimumValue:0 maximumValue:10 sliderColor:[UIColor colorWithRed:0.74 green:0.00 blue:0.00 alpha:1.0]]; Checking if a switch is on: bool isOn = [switches isSwitchOn:@"Switch Name Goes Here"]; if(isOn) { //Do stuff } //Or check directly: if([switches isSwitchOn:@"Switch Name Goes Here"]) { // Do stuff } Getting textfield or slider value: int userValue = [[switches getValueFromSwitch:@"Switch Name Goes Here"] intValue]; float userValue2 = [[switches getValueFromSwitch:@"Switch Name Goes Here"] floatValue]; The sample.xm in the project shows an example project. To Do: Re-design the textfield UI, I'm not a fan of it - (unless you guys don't want me to) Numeric Keyboard only with textfield Cleaning up a little You tell me! Contact: If you have any questions, suggestions, bugs or anything else: Discord: Joey #0309 Twitter: https://twitter.com/Joey_Not_Joey Credits @Ted2 For creating the menu, template & implementing KittyMemory . Ruit for creating KittyMemory dogo for creating SCLAlertView
×
  • 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