Jump to content

4 posts in this topic

Recommended Posts

Posted (edited)

add in my Makefile

X_FILES = Tweak.xm HackManager.m Hack.m

 

 

 

 

#import "Hack.h"
#import "HackManager.h"
@class Hack;
@class HackManager;

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.XXXXXXX.Fragger.plist"

#define SCOREHACK 0
#define GRENADESHACK 1
#define SECRETSHACK 2

HackManager *hackmanager = nil;

%hook FraggerAppDelegate
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12
{
//All Orientations in struct are: landscapeLeft, landscapeRight, portrait, and portraitUpsideDown. They are set to false by default. Set the ones supported in the app to true.
struct AllowedOrientations supportedOrientations = MakeInitialOrientations();
supportedOrientations.landscapeLeft = true;
supportedOrientations.landscapeRight = true;

hackmanager = [[HackManager alloc]initWithDictPath:PLIST_PATH hackerName:@"by bla bla" coordX:10 coordY:20 andOrientation:UIInterfaceOrientationLandscapeRight andSupportedOrientations:supportedOrientations];

[hackmanager addHackWithKey:@"kScore" andName:@"Score" andType:NUMBER];
[hackmanager addHackWithKey:@"kGrenades" andName:@"Grenades" andType:NUMBER];
[hackmanager addHackWithKey:@"kSecret" andName:@"Secret Mode" andType:BOOLEAN];

return %orig;
}
%end

%hook Configuration
- (BOOL)secretMode
{
return [[hackmanager getHackValueAtIndex:SECRETSHACK]boolValue];
}

- (void)setSecretMode:(BOOL)fp8
{
%orig([[hackmanager getHackValueAtIndex:SECRETSHACK]boolValue]);
}

- (BOOL)tweakingPhysics
{
return [[hackmanager getHackValueAtIndex:SECRETSHACK]boolValue];
}

- (void)setTweakingPhysics:(BOOL)fp8
{
%orig([[hackmanager getHackValueAtIndex:SECRETSHACK]boolValue]);
}
%end

%hook LevelLayer
- (int)grenades
{
return [[hackmanager getHackValueAtIndex:GRENADESHACK]intValue];
}

- (void)setGrenades:(int)fp8
{
%orig([[hackmanager getHackValueAtIndex:GRENADESHACK]intValue]);
}
%end

%hook LevelScore
- (int)value
{
return [[hackmanager getHackValueAtIndex:SCOREHACK]intValue];
}

- (void)setValue:(int)fp8
{
%orig([[hackmanager getHackValueAtIndex:SCOREHACK]intValue]);
}
%end

 

 

 

 

 

i get more errors any help confused.gif

login as: root
[email protected]'s password:*******
GM-4:~ root# cd /var/mobile/fraggergm4
GM-4:/var/mobile/fraggergm4 root# make
/var/mobile/fraggergm4/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/fraggergm4/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak FRaGGERGM4...
Linking tweak FRaGGERGM4...
Undefined symbols for architecture armv7:
"_CGAffineTransformMakeRotation", referenced from:
-[HackManager initWithDictPath:hackerName:coordX:coordY:andOrientation:andSupportedOrientations:] in HackManager.m.228bc9a4.o
-[HackManager deviceOrientationDidChange:] in HackManager.m.228bc9a4.o
"_OBJC_CLASS_$_UIAlertView", referenced from:
objc-class-ref in HackManager.m.228bc9a4.o
"_OBJC_CLASS_$_UIButton", referenced from:
objc-class-ref in HackManager.m.228bc9a4.o
"_OBJC_CLASS_$_UIDevice", referenced from:
objc-class-ref in HackManager.m.228bc9a4.o
"_OBJC_CLASS_$_UIWindow", referenced from:
objc-class-ref in HackManager.m.228bc9a4.o
"_UIDeviceOrientationDidChangeNotification", referenced from:
-[HackManager initWithDictPath:hackerName:coordX:coordY:andOrientation:andSupportedOrientations:] in HackManager.m.228bc9a4.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/FRaGGERGM4.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [FRaGGERGM4.all.tweak.variables] Error 2
GM-4:/var/mobile/fraggergm4 root#

 

 

 

 

 

IMG_0437.PNG?dl=1

Updated by Ianouar3G
Posted (edited)

Add:
 

ProjectName_FRAMEWORKS = UIKit CoreGraphics

In the patchers makefile (both makefiles). :)

Also, import UIKit.

 

@@Ianouar3G

Updated by DiDA
Posted (edited)

Add:

 

projectname_FRAMEWORKS = UIkit
In the patchers makefile (both makefiles). :)

 

Also, import UIKit.

thx i add "X_FRAMEWORKS = UIkit" But I still some errors

 

 

VYdY6UrB.png

Updated by DiDA
Posted

thx i add "X_FRAMEWORKS = UIkit" But I still some errors

I had the same problem and that solved it for me.

 

Take a look at these two threads:

 

http://iosgods.com/topic/3319-error-ld-symbols-not-found-for-architecture-armv7-theos-on-ios-8/

 

http://iosgods.com/topic/4171-need-help-with-voidlink-error-for-my-patcher/

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

    • Subway Surfers +8 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Subway Surfers by SYBO Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kiloo.subwaysurf

       

      🤩 Hack Features

      - Currency Modifier -> Earn some.
      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble

      Will add more soon.
      • 15 replies
    • Subway Surfers +23 Jailed Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers v3.40.0 +20 Cheats [ Currencies + More ] - ViP 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/
      • 103 replies
    • Big Helmets: Heroes of Destiny +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Big Helmets: Heroes of Destiny By BoomBit, Inc.
      Bundle ID: com.bighelmets.destiny
      iTunes Store Link: https://apps.apple.com/pl/app/big-helmets-heroes-of-destiny/id6745514342

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 18 replies
    • Crazy Gunner: Pixel Survivor v1.2.2 [ +4 Cheats ] DMG MAX
      Modded/Hacked App: Crazy Gunner: Pixel Survivor By LEGUAS INTREPIDAS UNIPESSOAL LDA
      Bundle ID: com.leguas.gunstorm
      App Store Link: https://apps.apple.com/us/app/crazy-gunner-pixel-survivor/id6757685841?uo=4

      🤩 Hack Features

      - Golden Chest 2500 Buy FREE
      - HP Max / Check Hero Stats
      - DMG Max / Check Gun Stats
      - Speed Movement
      • 2 replies
    • Crazy Gunner: Pixel Survivor v1.2.2 [ +4 Jailed ] DMG MAX
      Modded/Hacked App: Crazy Gunner: Pixel Survivor By LEGUAS INTREPIDAS UNIPESSOAL LDA
      Bundle ID: com.leguas.gunstorm
      App Store Link: https://apps.apple.com/us/app/crazy-gunner-pixel-survivor/id6757685841?uo=4

      🤩 Hack Features

      - Golden Chest 2500 Buy FREE
      - HP Max / Check Hero Stats
      - DMG Max / Check Gun Stats
      - Speed Movement
      • 0 replies
    • Hatch Dragons +28 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Hatch Dragons By Runaway Play Ltd
      Bundle ID: com.runawayplay.dragons
      App Store Link: https://apps.apple.com/us/app/hatch-dragons/id6746389113?uo=4

       

      🤩 Hack Features

      - Debug Menu -> Pre-enabled. Head into Settings and then press on Debug.
      • 0 replies
    • Matching Story v1.60.02 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 95 replies
    • Matching Story v1.60.02 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 98 replies
    • Hatch Dragons +28 Mods [ Debug Menu ]
      Mod APK Game Name: Hatch Dragons
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.runawayplay.dragons

       

      🤩 Hack Features

      - Debug Menu -> Pre-enabled. Head into Settings and then press on Debug. 
      • 13 replies
    • Subway Surfers City +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?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:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 Cheats [ Unlimited Currencies ] - 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/
      • 263 replies
    • Subway Surfers City +5 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Subway Surfers City by SYBO Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.sybogames.subway.surfers.game

       

      🤩 Hack Features

      - Unlimited Currencies -> Earn or spend some.
      - Max Level -> Earn some XP.
      - God Mode
      - Score Multiplier
      - Unlimited Jumps 
      • 3 replies
    • Ragnarok Endless Trails +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Ragnarok Endless Trails By GRAVITY GAME TECH COMPANY LIMITED
      Bundle ID: com.ggt.roe.ios
      App Store Link: https://apps.apple.com/ph/app/ragnarok-endless-trails/id6746439629?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplayer
      - God Mode
      • 1 reply
×
  • 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