Jump to content

1347

Senior Member
  • Posts

    187
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone X
  • iOS Version
    13
  • Jailbroken
    Yes
  • Android Device
    Xiaomi5
  • Android Version
    7.0
  • Rooted
    Yes
  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

1347's Achievements

Newbie

Newbie (1/14)

  • 5 Years In
  • 4 Years In
  • Posting Machine Rare
  • 3 Years In
  • 2 Years In

Recent Badges

294

Reputation

  1. First you have to know that it's bool type, otherwise you return true. It's useless
  2. Void There is no return value type, first you need to know what to do with it.
  3. I suspect he didn't delete the code you demonstrated. So crash😂
  4. You should remove the demo switch for ted2 because that is non-Unityframework void setup() { //Just add your own here }
  5. #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(); }
  6. 1

    1. Rook

      Rook

      The other Grim Soul hack has the features implemented. Please use the search bar located on the top-right corner of iOSGods. :)

×
  • 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