Jump to content

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

    • Royal Match v30524 +10 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?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:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Match v26455 +11 Cheats [ Unlimited Coins + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 415 replies
    • Royal Match v30524 +10 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?uo=4


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


      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Royal Match v26455 +11 Jailed Cheats [ Unlimited Coins + More ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
      • 523 replies
    • Project Makeover v2.120.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! ❤️
      • 26 replies
    • Project Makeover ( All Versions ) +4 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! ❤️
      • 11 replies
    • Hunt Royale: Action RPG Battle v3.15.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 178 replies
    • Hunt Royale: Action RPG Battle v3.15.1 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       


      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 33 replies
    • Pocket Survivor: Expansion 2d v2.02.2 [ +1+++ Cheats ] Unlimited All Off
      Modded/Hacked App: Pocket Survivor: Expansion 2d By APPWILL COMPANY LTD
      Bundle ID: develop.pocket.survivor.expansion
      App Store Link: https://apps.apple.com/us/app/pocket-survivor-expansion-2d/id1644395434?uo=4


      🤩 Hack Features

      - Unlimited ALL OFF


      • 1 reply
    • Pocket Survivor: Expansion 2d v2.02.2 [ +1+++ Jailed ] Unlimited All Off
      Modded/Hacked App: Pocket Survivor: Expansion 2d By APPWILL COMPANY LTD
      Bundle ID: develop.pocket.survivor.expansion
      App Store Link: https://apps.apple.com/us/app/pocket-survivor-expansion-2d/id1644395434?uo=4


      🤩 Hack Features

      - Unlimited ALL OFF


      • 1 reply
    • Immortal Rising 2 Cheats v1.3.12 +5
      Modded/Hacked App: Immortal Rising 2 By Planetarium Labs Pte. Ltd.
      Bundle ID: com.badbeans.immortalrising2
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising-2/id6467105374?uo=4

       


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


      Hack Features:
      - More damage
      - No CD
      - Earn more gold
      - Earn more exp
      - Freeze combokill
      - God mode
        • Like
      • 180 replies
    • Village Tales v0.2.1 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Village Tales By Texas PFCG Aplicativos Ltda
      Bundle ID: com.city.urbi
      App Store Link: https://apps.apple.com/ph/app/storm-tale-2/id1575085199?uo=4


      🤩 Hack Features

      - Gems

      • 1 reply
    • Village Tales v0.2.1 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Village Tales By Texas PFCG Aplicativos Ltda
      Bundle ID: com.city.urbi
      App Store Link: https://apps.apple.com/us/app/storm-tale-2/id1575085199?uo=4


      🤩 Hack Features

      - Gems

      • 1 reply
    • Sago Mini World: Kids Games Modded v8.3.1536 +1
      Modded/Hacked App: Sago Mini World By Sago Mini
      Bundle ID: com.sagosago.Friends
      iTunes Store Link: https://itunes.apple.com/us/app/sago-mini-world/id874425722?mt=8&uo=4&at=1010lce4



      Hack Features:
      - PREMIUM


      Hack Download Link: https://iosgods.com/topic/77893-arm64-sago-mini-world-modded-v31-1/


      Credits:
      - @Laxus
      • 206 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