Jump to content

2 posts in this topic

Recommended Posts

Posted

Yo so I tried updating old shmoo’s shadowgun legends aimbot source. Got every right offset and also I’m almost 100% sure my code is good and of course, I have valid Quaternion and Vector3 implementations. The problem is, as said in title the hook causes game to crash and I can’t figure out why it’s crashing right when I enter the game, and yes I know the game uses UnityFramework as base executable. It’s crashing even if I hook update function without returning anything or modyfing at any way. Here’s how I hook:

void (*_ComponentPlayer_Update)(void *componentPlayer);

void ComponentPlayer_Update(void *componentPlayer){
_ComponentPlayer_Update(componentPlayer); 
}


float (*ComponentEnemy_GetCurrentHealth)(void *componentEnemy) = (float (*)(void *))getRealOffset(0x1D18F34);

void (*_ComponentEnemy_Update)(void *componentEnemy);

void ComponentEnemy_Update(void *componentEnemy){
    
    _ComponentEnemy_Update(componentEnemy);
}


%ctor {


MSHookFunction((void *)KittyMemory::getAbsoluteAddress("UnityFramework", 0x1D0ED98), (void *)ComponentPlayer_Update, (void **)&_ComponentPlayer_Update);

MSHookFunction((void *)KittyMemory::getAbsoluteAddress("UnityFramework", 0x1CEAC40), (void *)ComponentEnemy_Update, (void **)&_ComponentEnemy_Update);

}

I also was trying to use unityframework vmadder slide which was working fine for me in other too unityframework games(for example telekill) and it said kern_invalid_address, I’m telling you again every offset was right. Anyway if someone can help me I would really appreciate it cause for me it’s just the time to start with some advanced mods. If any additional information is needed, just tell me and I will answer 😃

Posted

#import <substrate.h> #import <dlfcn.h> #import <mach-o/dyld.h> #import <string.h> #import <stdio.h> #import <UIKit/UIKit.h> int (*old_get_Gem)(); int new_get_Gem() { return 99999; } int (*old_get_Coin)(); int new_get_Coin() { return 300000000; } // 根据镜像名称获取镜像的偏移基址 intptr_t get_image_vmaddr_slide(const char * image_name) { uint32_t count = _dyld_image_count(); for (int i = 0; i < count; i++) { const char *path = _dyld_get_image_name(i); const char *name = strrchr(path, '/'); // printf("name = %s, path = %s", name, path); if (name != NULL && strcmp(image_name, name) == 0) { return _dyld_get_image_vmaddr_slide(i); } } return -1; } static void didFinishLaunching(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef info) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ intptr_t base_addr = get_image_vmaddr_slide("/UnityFramework"); printf("didFinishLaunching-base_addr = 0x%lx", base_addr); MSHookFunction((void *)(base_addr + 0x1E15468), (void *)&new_get_Gem, (void **)&old_get_Gem); MSHookFunction((void *)(base_addr + 0x1E1545C), (void *)&new_get_Coin, (void **)&old_get_Coin); }); } void launchEvent() { CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), NULL, &didFinishLaunching, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL, CFNotificationSuspensionBehaviorDrop); } __attribute__((constructor)) static void initialize() { launchEvent(); }

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

    • Vikings Revenge v1.0.8 [+5 Cheats]
      Modded/Hacked App: Vikings Revenge By Estoty LLC
      Bundle ID: com.vikings.game
      App Store Link: https://apps.apple.com/us/app/vikings-revenge/id6745582935?uo=4



      🤩 Hack Features

      - Add All Resources
      - Increase Tool Level
      - Never Die
      - Skip Current Quest (Use it when you needed)
      - Enable No Ads
      • 0 replies
    • Vikings Revenge v1.0.8 [+5 Cheats]
      Modded/Hacked App: Vikings Revenge By Estoty LLC
      Bundle ID: com.vikings.game
      App Store Link: https://apps.apple.com/us/app/vikings-revenge/id6745582935?uo=4

       

      🤩 Hack Features

      - Add All Resources
      - Increase Tool Level
      - Never Die
      - Skip Current Quest (Use it when you needed)
      - Enable No Ads
        • Like
      • 1 reply
    • Undercity: Creature Survival v0.40 [+2 Jailed Cheats]
      Modded/Hacked App: Undercity: Creature Survival By 1N1
      Bundle ID: com.onenone.undercity
      App Store Link: https://apps.apple.com/us/app/undercity-creature-survival/id6744991966?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
        • Informative
        • Winner
        • Like
      • 4 replies
    • Undercity: Creature Survival v0.40 [+2 Cheats]
      Modded/Hacked App: Undercity: Creature Survival By 1N1
      Bundle ID: com.onenone.undercity
      App Store Link: https://apps.apple.com/us/app/undercity-creature-survival/id6744991966?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
       
        • Haha
        • Winner
        • Like
      • 6 replies
    • Rise of Monsters v23 [+2 Jailed Cheats]
      Modded/Hacked App: Rise of Monsters By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.rom
      App Store Link: https://apps.apple.com/us/app/rise-of-monsters/id6738032041?uo=4



      🤩 Hack Features

      - Never Die
      - No Skill CD
        • Agree
        • Winner
        • Like
      • 13 replies
    • Rise of Monsters v23 [+2 Cheats]
      Modded/Hacked App: Rise of Monsters By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.rom
      App Store Link: https://apps.apple.com/us/app/rise-of-monsters/id6738032041?uo=4



      🤩 Hack Features

      - Never Die
      - No Skill CD
       
        • Thanks
        • Winner
      • 9 replies
    • Travel Merge Family v2.30 [ +1++ Jailed ] Currency Max
      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max


        • Like
      • 2 replies
    • Travel Merge Family v2.30 [ +1++ Cheats ] Currency Max
      Travel Merge Family


      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max


        • Like
      • 3 replies
    • Project Makeover v2.116.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
        • Thanks
        • Like
      • 5 replies
    • Heroes vs. Hordes: Survivor v5.0.2 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Agree
        • Thanks
        • Winner
        • Like
      • 67 replies
    • Heroes vs. Hordes: Survivor v5.0.2 [ +11 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?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

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
        • Agree
        • Thanks
        • Winner
        • Like
      • 83 replies
    • Virtual Villagers 6 v1.8.6 +100 Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       
       

      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Virtual Villagers 6 v1.3.23 +100 Cheats [ Cheats Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Like
      • 5 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