Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

The countdown has finished!

need some help with theos


Go to solution Solved by Rook,

11 posts in this topic

Recommended Posts

Posted (edited)

hello can someone please help me with this?
 

16lkyok.png


 
i have tried this

%hook MMImagePickerController
-(void)setMaxImageCount:(int)arg1{
	arg1 = @"999";
	%orig(arg1);
}
%end

and this

%hook MMImagePickerController
-(void)setMaxImageCount:(int)arg1{
	return 999
}
%end

but i keep getting errors like this.

 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:11:7: error: assigning to 'int' from incompatible type 'NSString *'
        arg1 = @"999";
             ^ ~~~~~~
1 errors generated.
make[2]: *** [obj/Tweak.xm.fe3034f2.o] Error 1
make[1]: *** [internal-library-all_] Error 2

any help would be nice. I'm trying to learn this.

Updated by djrapman
  • Thanks 1
Posted (edited)

Try this:



%hook MMImagePickerController
-(void)setMaxImageCount:(int)swag /// When there is an argument, you have to name it
{
    %orig(999);
}
%end

Updated by Diiversityyyy
Posted

ok it compile and installs but doesn't work; where as the flex tweak does. heres my tweak.

%hook MMImagePickerController
-(void)setMaxImageCount:(int)arg1
{
	arg1 = 999;
	}
%end

%hook MMImagePickerManagerOptionObj
-(void)setMaxImageCount:(long long)arg2
{

	arg2 = 999;
}
%end

%hook MMFICImageFormat
-(void)setMaxImageCount:(unsigned int)arg3
{
	arg3 = 999;
}
%end
Posted

im still stuck any help pleae

Is your bundle ID correct?

 

Make sure you entered the game's bundle ID in the tweak.

Posted (edited)

heres my files

Makefile

export ARCHS = armv7 arm64
include theos/makefiles/common.mk

TWEAK_NAME = WeChatEnhancer
WeChatEnhancer_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"

WeChatEnhancer.plist

{ Filter = { Bundles = ( "com.apple.springboard" ); }; }

Tweak.xm

%hook MMImagePickerController
-(int)maxImageCount{
return 999;
}
-(void)setMaxImageCount:(int)arg1 {
    arg1 = 999;
}
%end


%hook MMImagePickerManagerOptionObj
-(long long)maxImageCount {
return 999;
}
-(void)setMaxImageCount:(long long)arg2 {
    arg2 = 999;
}
%end

control

Package: com.marcos.wechatenhancer
Name: WeChat Enhancer
Depends: mobilesubstrate
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome MobileSubstrate tweak!
Maintainer: Marcos
Author: Marcos
Section: Tweaks

any ideas whats going wrong? it compiles and installs but doesnt work. I make the same changes in Flex 2 and those work...?

Updated by djrapman
  • Solution
Posted

The "WeChatEnhancer.plist"

 

Is set to use this code on SpringBoard which I'm guessing that's not what you want.

 

 

 

Replace "com.apple.springboard" with this:

 

com.tencent.xin
That should be WeChat's bundle id if I'm not mistaken.

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

    • Adorable Home v2.17.19 Jailed Cheats +1
      Modded/Hacked App: Adorable Home By HyperBeard Inc.
      Bundle ID: com.hyperbeard.adorablehome
      App Store Link: https://apps.apple.com/us/app/adorable-home/id1486637414?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

      - Infinite Hearts
      - Free iAP

       

      Jailbroken Hack: https://iosgods.com/topic/119718-adorable-home-cheats-auto-update-2/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/119534-adorable-home-v21719-jailed-cheats-1/
        • Informative
        • Haha
        • Thanks
        • Like
      • 448 replies
    • Wiggle Defender: Strategy TD v0.0.31 Jailed Cheats +3
      Modded/Hacked App: Wiggle Defender: Strategy TD By Teamsparta Inc.
      Bundle ID: com.TeamSparta.WiggleDefender
      App Store Link: https://apps.apple.com/us/app/wiggle-defender-strategy-td/id6756547841?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

      - Multiply Attack
      - Free Store (not iAP)
      - PREMIUM

       

      Jailbroken Hack: https://iosgods.com/topic/204454-wiggle-defender-strategy-td-cheats-v0011-3/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/204452-wiggle-defender-strategy-td-v0011-jailed-cheats-3/
      • 10 replies
    • War Inc: Rising v0.8.4 Jailed Cheats +3
      Modded/Hacked App: War Inc: Rising By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.rising
      App Store Link: https://apps.apple.com/us/app/war-inc-rising/id6747767390?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

      - God Mode
      - One Hit Kill
      - Auto Win

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202371-war-inc-rising-v080-jailed-cheats-3/
      • 17 replies
    • Dice Dreams Cheats (Auto Update) +2
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Custom Rolls
      - Unlimited Coins - afford regardless of if you have enough


      iOS Hack Download Link: https://iosgods.com/topic/138011-dice-dreams%E2%84%A2-v1692-2-cheats/
        • Like
      • 672 replies
    • Mortal Kombat Cheats v7.1.1 +8
      Modded/Hacked App: Mortal Kombat by Warner Bros. Entertainment
      Bundle ID: com.wb.MK.Brawler2015
      iTunes Store Link: https://apps.apple.com/us/app/mortal-kombat/id949701151


      Hack Features:
      - Auto-Win (Press the pause button)
      - Instantly Kill individual Enemy Characters (Press the pause button)
      - Force Swap Enemy Characters (Press the pause button)
      - Easy Enemy (1 hit KO) (Press the pause button)
      - Cheat Menu (only few few features work for now, i'll see what i can do) (Press the pause button)


      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
      • 5,059 replies
    • Archero Cheats (Auto Update) +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
      • 15,929 replies
    • Ancient Defense v1.0 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ancient Defense By Nikita Silchenko
      Bundle ID: com.ray.games.ancient.defense
      App Store Link: https://apps.apple.com/us/app/ancient-defense/id6758112707?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Meat Battle
      - DMG MAX
      - ATK Range
      • 0 replies
    • Ancient Defense v1.0 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ancient Defense By Nikita Silchenko
      Bundle ID: com.ray.games.ancient.defense
      App Store Link: https://apps.apple.com/us/app/ancient-defense/id6758112707?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Meat Battle
      - DMG MAX
      - ATK Range
      • 0 replies
    • Soul Hunter Idle ( 소울 헌터 키우기 : 방치형 RPG ) +4 Jailed Cheats [ God Mode / O-HK ]
      Modded/Hacked App: 소울 헌터 키우기 : 방치형 RPG By Ryong Game Co., Ltd
      Bundle ID: com.ryonggame.soulhunteridle
      App Store Link: https://apps.apple.com/kr/app/%EC%86%8C%EC%9A%B8-%ED%97%8C%ED%84%B0-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%B0%A9%EC%B9%98%ED%98%95-rpg/id6754373623?uo=4

       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - No Skill Cooldown
      -- No Ads 
      • 9 replies
    • Cat Warrior Idle +8 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Cat Warrior Idle By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.cw
      App Store Link: https://apps.apple.com/ph/app/cat-warrior-idle/id6756924784?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Attack Speed Multiplier
      - No Skill Cooldown
      - Freeze Currencies
      -- No Ads

      VIP
      - Unlimited Currencies -> Will increase instead of decrease.
      • 2 replies
    • The Kingdom: Medieval Tales +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: The Kingdom: Medieval Tales By BoomBit, Inc.
      Bundle ID: com.stratospheregames.The.Kingdom.Medieval.Tales.Strategy.Building.Games
      App Store Link: https://apps.apple.com/us/app/the-kingdom-medieval-tales/id6744967226?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 34 replies
    • Good Coffee, Great Coffee +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Informative
        • Like
      • 148 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