Jump to content

43 posts in this topic

Recommended Posts

Posted

Hi, 

I was busy making tweaks using theos but im facing a problem where my tweaks (.dylibs) works perfectly fine on Playcover but does not when in my iphone, i followed every tutorials, and still no 

please help, i dont known if the iosGod .dylibs have some sort of bypass code that makes it works and i dont have it

Just now, A1XEN said:

Hi, 

I was busy making tweaks using theos but im facing a problem where my tweaks (.dylibs) works perfectly fine on Playcover but does not when in my iphone, i followed every tutorials, and still no 

please help, i dont known if the iosGod .dylibs have some sort of bypass code that makes it works and i dont have it

@Rook @Laxus @Puddin

Posted (edited)
17 minutes ago, A1XEN said:

Hi, 

I was busy making tweaks using theos but im facing a problem where my tweaks (.dylibs) works perfectly fine on Playcover but does not when in my iphone, i followed every tutorials, and still no 

please help, i dont known if the iosGod .dylibs have some sort of bypass code that makes it works and i dont have it

@Rook @Laxus @Puddin

#import <UIKit/UIKit.h>
#import <mach-o/dyld.h>
#import <substrate.h>
#import <pthread.h>

uintptr_t get_FrameworkBaseAddress() {
    uint32_t count = _dyld_image_count();
    for (uint32_t i = 0; i < count; i++) {
        const char *name = _dyld_get_image_name(i);
        if (name && strstr(name, "UnityFramework")) {
            return (uintptr_t)_dyld_get_image_header(i);
        }
    }
    return 0;
}

void writeLocalLog(NSString *text) {
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *logFilePath = [documentsDirectory stringByAppendingPathComponent:@"tweak_debug.txt"];
    
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
    NSString *timestamp = [formatter stringFromDate:[NSDate date]];
    NSString *finalLine = [NSString stringWithFormat:@"[%@] %@\n", timestamp, text];
    
    NSFileHandle *handle = [NSFileHandle fileHandleForWritingAtPath:logFilePath];
    if (!handle) {
        [[finalLine dataUsingEncoding:NSUTF8StringEncoding] writeToFile:logFilePath atomically:YES];
    } else {
        [handle seekToEndOfFile];
        [handle writeData:[finalLine dataUsingEncoding:NSUTF8StringEncoding]];
        [handle closeFile];
    }
}

bool (*old_CanBuy)(void *instance, void *requireMoney, void *methodInfo);
bool new_CanBuy(void *instance, void *requireMoney, void *methodInfo) {
    writeLocalLog(@"[MoneyManager] CanBuy intercepted! Forcing true.");
    return true; 
}

void (*old_RemoveMoney)(void *instance, void *value, void *methodInfo);
void new_RemoveMoney(void *instance, void *value, void *methodInfo) {
    writeLocalLog(@"[MoneyManager] RemoveMoney intercepted! Protecting wallet balance.");
}

void *hook_worker_thread(void *args) {
    @autoreleasepool {
        writeLocalLog(@"MoneyManager Wallet Thread spawned safely.");
        
        uintptr_t baseAddress = get_FrameworkBaseAddress();
        while (baseAddress == 0) {
            usleep(200000); 
            baseAddress = get_FrameworkBaseAddress();
        }

        sleep(4); 

        NSString *addressLog = [NSString stringWithFormat:@"[Debug] UnityFramework Base: 0x%lx | Target CanBuy: 0x%lx", 
                                baseAddress, (baseAddress + 0xDA4D70)];
        writeLocalLog(addressLog);

        MSHookFunction((void *)(baseAddress + 0xDA4D70), (void *)&new_CanBuy, (void **)&old_CanBuy);
        MSHookFunction((void *)(baseAddress + 0xDA4E44), (void *)&new_RemoveMoney, (void **)&old_RemoveMoney);

        writeLocalLog(@"Wallet bypass successfully! :>");
    }
    return NULL;
}

%ctor {
    pthread_t pt;
    pthread_create(&pt, NULL, hook_worker_thread, NULL);
}

this is my code, this works perfect on playcover, but in iphone, it shows the log i made  "Wallet bypass successfully! :>" but it doesnt even work in-game :<
please tell me what's wrong with it (if there is)

Updated by A1XEN
Posted
38 minutes ago, A1XEN said:

Hi, 

I was busy making tweaks using theos but im facing a problem where my tweaks (.dylibs) works perfectly fine on Playcover but does not when in my iphone, i followed every tutorials, and still no 

please help, i dont known if the iosGod .dylibs have some sort of bypass code that makes it works and i dont have it

@Rook @Laxus @Puddin

i actually tried revising the code, i used the rule:

True iPhone Offset=Disassembler Address−Disassembler Base Address (usually 0x100000000)−Segment Offset (usually 0x4000)

and still nothing 

Posted

Are you using a menu or something?

On Jailbreak there's rootful, rootless, & RootHide now so you need to compile appropriately.

Posted
19 minutes ago, Rook said:

Are you using a menu or something?

On Jailbreak there's rootful, rootless, & RootHide now so you need to compile appropriately.

im not, im on jailed device, im actually going to try to make a menu if i could tomorrow (im going to sleep) because my code might be hooking to early you see what i was tryna do is make the patches from live offset patcher to run automatically without the live offset patcher only using .dylibs so its supposed to apply the patches automatically when the game run

Posted
1 minute ago, A1XEN said:

im not, im on jailed device, im actually going to try to make a menu if i could tomorrow (im going to sleep) because my code might be hooking to early you see what i was tryna do is make the patches from live offset patcher to run automatically without the live offset patcher only using .dylibs so its supposed to apply the patches automatically when the game run

Ah, but patching on jailed we do something unique to achieve that. Though I think Batch released a menu which does something similar.

Posted (edited)
5 minutes ago, A1XEN said:

im not, im on jailed device, im actually going to try to make a menu if i could tomorrow (im going to sleep) because my code might be hooking to early you see what i was tryna do is make the patches from live offset patcher to run automatically without the live offset patcher only using .dylibs so its supposed to apply the patches automatically when the game run

you see when i apply the patches manually using the live offset patcher, it works, only when i turned on the UnityFramework from iGdebugger 

3 minutes ago, Rook said:

Ah, but patching on jailed we do something unique to achieve that. Though I think Batch released a menu which does something similar.

which menu? so you mean every jailed cheats here uses that menu released by “Batch” and who/what is Batch? :?

Updated by A1XEN
Posted
8 minutes ago, A1XEN said:

you see when i apply the patches manually using the live offset patcher, it works, only when i turned on the UnityFramework from iGdebugger 

which menu? so you mean every jailed cheats here uses that menu released by “Batch” and who/what is Batch? :?

i found it but the github link is broken, can you teach the trick you do to apply patches and tweaks for jailed devices, and also if there is a official menu/template for theos that helps apply tweaks/patches on jailed devices thanks 🙏 @Rook

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

    • Merge Cat Cafe: Decorate v1.1.50 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Merge Cat Cafe: Decorate By StandEgg Co., Ltd
      Bundle ID: com.standegg.mergecatcafe2
      App Store Link: https://apps.apple.com/us/app/merge-cat-cafe-decorate/id6670415194?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Coins Freeze
      - Booster Freeze
      - Box Items Freeze
      - Energy 0 Play Unlimited
      :::: VIP ::::
      - ADS NO
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Booster
      - Unlimited Box Items
      • 0 replies
    • Merge Cat Cafe: Decorate v1.1.50 [ +11 Jailed ] Currency Max
      Modded/Hacked App: Merge Cat Cafe: Decorate By StandEgg Co., Ltd
      Bundle ID: com.standegg.mergecatcafe2
      App Store Link: https://apps.apple.com/us/app/merge-cat-cafe-decorate/id6670415194?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Coins Freeze
      - Booster Freeze
      - Box Items Freeze
      - Energy 0 Play Unlimited
      :::: VIP ::::
      - ADS NO
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Booster
      - Unlimited Box Items
      • 0 replies
    • Crossword Master - Word Puzzle v2.1.0 [ +3 Cheats  ] Currency Max
      Modded/Hacked App: Crossword Master - Word Puzzle By Easybrain Ltd
      Bundle ID: com.easybrain.crossword.puzzles
      App Store Link: https://apps.apple.com/us/app/crossword-master-word-puzzle/id6547858927?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins
      - Unlimited Booster
      • 0 replies
    • Crossword Master - Word Puzzle v2.1.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Crossword Master - Word Puzzle By Easybrain Ltd
      Bundle ID: com.easybrain.crossword.puzzles
      App Store Link: https://apps.apple.com/us/app/crossword-master-word-puzzle/id6547858927?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins
      - Unlimited Booster
      • 0 replies
    • ZakuzakuSlash +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: ZakuzakuSlash By nekosuko
      Bundle ID: jp.nekosuko.zakuzakuslash
      App Store Link: https://apps.apple.com/us/app/zakuzakuslash/id6749934570?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
        • Thanks
        • Winner
        • Like
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
        • Like
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 3 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 3 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