Jump to content

1 post in this topic

Recommended Posts

Posted

I am making fly function which will make my character fly but its not working as it should be i dont know why its not working. It was done similarly on android i recreated it on ios here is what i have done.
 

void (*Old_PlayerController_Update)(void *myPlayer);
void PlayerController_Update(void *myPlayer)
{
    if (myPlayer != NULL) {

        // Function pointers for Rigidbody methods
        void (*set_velocity)(void *, Vector3 value) = (void (*)(void *, Vector3))getRealOffset(0x2785420);
        void (*MovePosition)(void *, Vector3 position) = (void (*)(void *, Vector3))getRealOffset(0x2785E10);
        Vector3 (*get_posRigidbody)(void *) = (Vector3 (*)(void *))getRealOffset(0x2785C18);

        if (show_fly){       
            void *myRigidbody = *(void **)((uint64_t)myPlayer + 0x428); // Get Rigidbody pointer
            if (myRigidbody != NULL) {
                Vector3 MyPos = get_posRigidbody(myRigidbody); // Get current position

                set_velocity(myRigidbody, Vector3(0.0f, 0.0f, 0.0f));

                // Fly up
                if (setFly) {
                    MovePosition(myRigidbody, Vector3(MyPos.x, MyPos.y + valueFly, MyPos.z));
                    setFly = false; // Reset after moving
                }

                // Fly down
                if (setFly2) {
                    MovePosition(myRigidbody, Vector3(MyPos.x, MyPos.y - valueFly, MyPos.z));
                    setFly2 = false; // Reset after moving
                }
            }
        }
    }
    return Old_PlayerController_Update(myPlayer);
}


and i hook uodate like this:
HOOK(0x101E7C8, PlayerController_Update, Old_PlayerController_Update);


here functions from dump.cs:
functions or offsets in dll arelike this:
// RVA: 0x2785E10
	public Void MovePosition(Vector3 position) { }

// RVA: 0x2785420
	public Void set_velocity(Vector3 value) { }

// RVA: 0x2785C18
	public Vector3 get_position() { }

 
Here is preview what it does when i activate this function try to fly:
https://file.io/OZrl5THtXDf7

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

    • Matching Story v1.68.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 110 replies
    • Matching Story v1.68.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 108 replies
    • WARHEAD: Air & Missile Defense (Auto Update) Jailed Cheats +2
      Modded/Hacked App: WARHEAD: Air & Missile Defense By Diana Mamedova
      Bundle ID: com.towerdefense.warhead
      App Store Link: https://apps.apple.com/us/app/warhead-air-missile-defense/id6751444969?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

      - Freeze Currencies / Free Everything
      - God Mode

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/214104-warhead-air-missile-defense-auto-update-jailed-cheats-2/
        • Like
      • 2 replies
    • Hungry Shark Evolution +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark Evolution By Ubisoft
      Bundle ID: com.fgol.HungrySharkEvolution
      App Store Link: https://apps.apple.com/us/app/hungry-shark-evolution/id535500008?uo=4

       
       

      🤩 Hack Features

      - Coin Modifier
      - Gem Modifier
      - Speed Multiplier
      - Score Multiplier
      - God Mode
      - One-Hit Kill
      - Unlimited Boost
      - Unlock All Sharks
      - No Gravity
      -- No In-Game Ads
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 264 replies
    • UFC: KO! v0.0.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: UFC: KO! By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.ufcko
      App Store Link: https://apps.apple.com/us/app/ufc-ko/id6781219228?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Cup
      - Unlimited Followers
        • Thanks
        • Like
      • 2 replies
    • UFC: KO! v0.0.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: UFC: KO! By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.ufcko
      App Store Link: https://apps.apple.com/us/app/ufc-ko/id6781219228?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Cup
      - Unlimited Followers
        • Agree
        • Winner
      • 1 reply
    • Hungry Shark World +9 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - Coin Modifier
      - Gem Modifier
      - Pearl Modifier
      - Unlock All
      - Freeze Health
      - Freeze Boost
      - Season Pass Unlocked
      - Score Multiplier
      - No Gravity
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 377 replies
    • Road Trip: Merge Family Games! +6 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Road Trip: Merge Family Games! By VIZOR APPS LTD
      Bundle ID: com.vizor-apps.Road-Trip
      App Store Link: https://apps.apple.com/us/app/road-trip-merge-family-games/id6471364763?uo=4

       


      🤩 Hack Features

      - Freeze Merge Energy
      - Freeze Energy
      - Freeze Cash

      VIP
      - Unlimited Merge Energy -> Spend some then restart the game.
      - Unlimited Energy -> Spend some then restart the game.
      - Unlimited Cash -> Spend some then restart the game.
        • Haha
        • Like
      • 13 replies
    • Skeleton Wars v21.0.22 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Skeleton Wars
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.edenap.m1&

       

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Soul Coins
      - Unlimited Mana
      - Skill CD
        • Informative
        • Haha
      • 0 replies
    • Skeleton Wars v21.1.22 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Skeleton Wars By EDENAP d.o.o.
      Bundle ID: com.edenap.m1
      App Store Link: https://apps.apple.com/us/app/skeleton-wars/id6752692961?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Soul Coins
      - Unlimited Mana
      - Skill CD
        • Like
      • 1 reply
    • Skeleton Wars v21.1.22 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Skeleton Wars By EDENAP d.o.o.
      Bundle ID: com.edenap.m1
      App Store Link: https://apps.apple.com/us/app/skeleton-wars/id6752692961?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Soul Coins
      - Unlimited Mana
      - Skill CD
        • Like
      • 0 replies
    • Ultimate XI - Football Game +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Ultimate XI - Football Game By Mallat Entertainment
      Bundle ID: com.MallatEntertainment.UltimateXI
      App Store Link: https://apps.apple.com/us/app/ultimate-xi-football-game/id6760702449?uo=4

       


      🤩 Hack Features

      - Unlimited Coins → Will increase instead of decrease.
      - Unlimited Gems → Will increase instead of decrease.
        • Like
      • 2 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