Jump to content

2 posts in this topic

Recommended Posts

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 😃

Link to comment
https://iosgods.com/topic/153812-hook-crashes-game-for-no-reason/
Share on other sites

#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(); }

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • [ Seven Deadly Sins KR ] 일곱 개의 대죄: GRAND CROSS Cheats v8.6.53 +5
      Modded/Hacked App: 일곱 개의 대죄: GRAND CROSS By Netmarble Corporation
      Bundle ID: com.netmarble.nanakr
      iTunes Store Link: https://apps.apple.com/kr/app/%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross/id1449552940?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill
      - Multiply Attack
      - Multiply Defense
      - Make Enemies God Mode for some quests


      iOS Hack Download Link: https://iosgods.com/topic/154899-seven-deadly-sins-kr-%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross-cheats-v750-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 142 replies
    • [ Seven Deadly Sins JP ] - 七つの大罪 光と闇の交戦 : グラクロ Cheats v8.6.53 +5
      Modded/Hacked App: 七つの大罪 光と闇の交戦 : グラクロ By Netmarble Corporation
      Bundle ID: com.netmarble.nanatsunotaizai
      iTunes Store Link: https://apps.apple.com/jp/app/七つの大罪-光と闇の交戦-グラクロ/id1268959718?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK


      iOS Hack Download Link: https://iosgods.com/topic/112888-seven-deadly-sins-%E4%B8%83%E3%81%A4%E3%81%AE%E5%A4%A7%E7%BD%AA-%E5%85%89%E3%81%A8%E9%97%87%E3%81%AE%E4%BA%A4%E6%88%A6-%E3%82%B0%E3%83%A9%E3%82%AF%E3%83%AD-v340-god-mode-unlimited-mp/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,038 replies
    • The Seven Deadly Sins Cheats v2.65.2 +5
      Modded/Hacked App: The Seven Deadly Sins by Netmarble Corporation
      Bundle ID: com.netmarble.nanagb
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins/id1475440231?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK
      - Infinite MP


      iOS Hack Download Link: https://iosgods.com/topic/131686-arm64-the-seven-deadly-sins-cheats-v117-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,984 replies
    • Modern Warships Cheats v0.86.0 +7
      Modded/Hacked App: Modern Warships By Sergiy Petrov
      Bundle ID: com.Shooter.ModernWarships
      iTunes Store Link: https://apps.apple.com/us/app/modern-warships/id1541751298?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Infinite Ammo
      - No Reload
      - Freeze Boosters
      - Free Subscription?
       + 10% EXP
       + 50% Cash + Gold


      iOS Hack Download Link: https://iosgods.com/topic/146309-modern-warships-cheats-v0450-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,199 replies
    • Soul Strike Cheats v1.7.2 +7
      Modded/Hacked App: Soul Strike X Max-Level Newbie By Com2uS Holdings Corporation
      Bundle ID: com.com2usholdings.soulstrike.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/soul-strike-x-max-level-newbie/id6458981827?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode

      DO NOT BUY VIP FOR JUST THIS CHEAT. REMOVE ANY JB BYPASS FOR THE GAME

      THIS CHEAT HAS BEEN TESTED ON IPX 16.7.5 PALERA1N ROOTLESS, IPAD PRO M2 16.0 DOPAMINE


      iOS Hack Download Link: https://iosgods.com/topic/186316-exclusive-soul-strike-cheats-v158-3/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 131 replies
    • Top Troops: Adventure v2.2.2 Cheats +2
      Modded/Hacked App: Top Troops: Adventure RPG By Zynga Inc.
      Bundle ID: game.socialempiresmerge
      iTunes Store Link: https://apps.apple.com/us/app/top-troops-adventure-rpg/id1574634455?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:
      - x4 currency earn
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 300 replies
    • Top Troops v2.2.2 Cheats +3 Cheats
      Modded/Hacked App: Top Troops: Adventure RPG By Zynga Inc.
      Bundle ID: game.socialempiresmerge
      iTunes Store Link: https://apps.apple.com/us/app/top-troops-adventure-rpg/id1574634455?uo=4


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


      Hack Features:
      - Frozen currency
      - x4 currency earn
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 263 replies
    • Abyss - Dungeon Action RPG v2.19 Cheats +6
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?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:
      - Stupid enemies
      - AOE atk
      - Always combo
      - Fast atk
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 80 replies
    • Abyss - Dungeon Action RPG v2.19 Cheats +6
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?uo=4


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


      Hack Features:
      - Enermies no atk
      - Stupid enemies
      - Speed move
      - AOE atk
      - Always combo
      - Fast atk
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 112 replies
    • Idle Ninja Online v2314 Cheats +17
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?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:
      - fast farm (attack full map & hide some shuriken) 
      - no cool skill
      - no need mana
      - speed
      - wall hack
      - increase damage 
      - increase damage v2 
      - Always ultimate skill???? (not test, need tester) 
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move while attack 
      - reduce animation 
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 99 replies
    • Idle Ninja Online v2314 Cheats +17
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?uo=4


      Hack Features:
      - no cool skill
      - no need mana
      - speed
      - max level
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move 
      - reduce animation
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 


      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
      • 692 replies
    • Music Wars Rockstar: Rap Life v1.2.3 Cheats +4
      Modded/Hacked App: Music Wars Rockstar: Rap Life By Music Wars LLC
      Bundle ID: com.mwcompany.MusicWarsRockstar
      iTunes Store Link: https://apps.apple.com/us/app/music-wars-rockstar-rap-life/id1623455289?uo=4

       

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


      Hack Features:
      - Unlimited money
      - Unlimited creativity
      - Unlimited health
      - Unlimited happiness
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 59 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