Jump to content

Ted2

ViP Pro
  • Posts

    4,899
  • Joined

  • Last visited

Reputation

35,877 Forum Legend

Profile Information

  • iDevice
    iPhone X
  • iOS Version
    11.1.2
  • Jailbroken
    Yes
  • Rooted
    No
  • Gender
    Male
  • Location
    Netherlands
  • Donor
    Member has made a donation to iOSGods.

Recent Profile Visitors

48,798 profile views
  1. The issue was that there was no UnityFramework.
  2. I’ll try and update the topic in some places. Most things are still relevant, just some tools used are outdated on the phone.
  3. The post is old as I use GamePlayer
  4. Install a hack from here with an anti-ban feature. That *should* let you play. You can just keep the other menu options disabled. There’s also this, but idk if it still works;
  5. For spotify++, I recommend Spotilife tweak from Julio Verne. For YouTube++, I use the tweak Cercube.
  6. return old_AmmoAmount(instance) * 10; // Return whatever my current ammo is multiplied by 10 This is correct.
  7. https://docs.unity3d.com/Manual/ExecutionOrder.html This is a great graph that tells you what and when they're being executed. So I don't think any of those two will work. It's possible other classes have an instance of this IAPManager class, and handle it there. But without more info, I can't really answer.
  8. No, in programming you have getters and setters; int getCoins() { return coins } void setCoins(int newValue) { coins = new_value } As you can see, to one of those functions you can pass a new value (SET). The other one just returns a variable (GET). Function pointers are not any different, because the function pointer is that function and so, they work the same. If for some reason you don't want to hook it, then I recommend opening the binary in IDA, go to the ReloadDuration method, and see which variable(s) is being used here (0x<some_value>. I assume this is an Unity game, so on top of the class ReloadDuration is in, you'll find a list of variables. See which one of them is inside ReloadDuration. You can then change these variables in the FixedUpdate method, like so: *(int*)((uint64_t)instance + 0x<variable_code> = 0;
  9. No. You should first figure out how the app is build. Native Android? React Native? Flutter? & then according to that information look for keywords in the bin/files you should be looking at. A newer tool compared to?
  10. Would be best to tell which games so people can re-produce the issue, right now no one can do anything with this information.
  11. He’s right. Freezing means it’s hit. If you type “c” or “continue” the game will unfreeze. I’ll edit the tutorial soon, as this is a unclear thing for more people.
  12. Nope. As the void ammo(bla, bla, bla) {} is the replacement method of the original method (which you named old_ammo), here you write your own logic of the method. If you only need to change the parameter values, you can just call the original method (old_ammo) with your own values and that will be enough. You could also do: void ammo(void *instance, int value, bool reload) { value = 9999; reload = false; old_ammo(instance, value, reload); } In this example you alter the parameter values it was originally called with and then call the method itself with your new values.
  13. Hmm, sorry. I was checking the post on phone which sucks. I just checked on my laptop and... The method you're hooking is a void, which means it doesn't return anything. Void methods are called to perform certain things rather than returning something. So this ammo method has two parameters: ammo and reload. You can make them always 9999 and false, but you do not return them. A valid hook would look like this: // This holds the original state of the method, some people prefer to call it "orig_ammo" instead because of that. void(*old_ammo)(void *instance, int value, bool reload); // This is the hooked method, where you can do whatever you want void ammo(void *instance, int value, bool reload) { // Just a note; I don't think instance will ever be NULL. if(instance != NULL) { // set ammo to 9999 and reload to false old_ammo(instance, 9999, false); } // Do what it normally does old_ammo(instance, value, reload); } MsHookFunction((void*)getAbsoluteAddress(0x289235), (void*)ammo, (void**)&old_ammo); I've added some comments to the code, so I hope you understand better then.
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Special Rank |
    • ViP Pro |
    • ViP Jailed |
    • ViP |
    • Cheater  |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • Senior Member |
    • Member |
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy - Guidelines