Jump to content

I keep getting an error while compiling tweak.xm with theos


Go to solution Solved by Ted2,

12 posts in this topic

Recommended Posts

Posted

Hello community,

 

i am trying to compile a code that i made with code inject generater from armconverter.com and i get the next error when i am trying to compile it.

==> Preprocessing Tweak.xm
==> Compiling Tweak.xm (armv7)…
Tweak.xm:13:23: error: implicit conversion from 'long long' to 'unsigned int' changes value from
      504580047013621729 to 520040417 [-Werror,-Wconstant-conversion]
                writeData(0xB8559C, 0x0700A0E11EFF2FE1);

What am i doing wrong?

 

Posted (edited)
4 minutes ago, Ted2 said:

Is this a offset? 0xB8559C

 

this is too long:

 


0x0700A0E11EFF2FE1

 

0xB8559C is the offset

MOV R0, R7

BX LR

i converted and got this arm hex

0700A0E1

1EFF2FE1

Updated by Walking Hell
Posted
1 minute ago, Walking Hell said:

 

0xB8559C is the offset

MOV R0, R7

BX LR

i converted and got this arm hex

0700A0E1

1EFF2FE1

Vm_writedata cant do 8 bytes. So you need to do 

 

0xB8559C - mov r0, r7

Offset under 0xB8559C - BX LR

Posted (edited)
3 minutes ago, Walking Hell said:

that would be then: 0xB8559E ?

rhEwGW1.jpg

Yep!

 

%ctor {
writeData(0xB8559C, 0x3846); //mov r0, r7
writeData(0xB8559E, 0x7047); //BX LR
}

 

Updated by Ted2
  • Like 1
Posted
14 minutes ago, Ted2 said:

Yep!

 


%ctor {
writeData(0xB8559C, 0x3846); //mov r0, r7
writeData(0xB8559E, 0x7047); //BX LR
}

 

well that did the trick, only why you use Thumbv8 HEX and not ARM HEX?

now it get stuck at make package:

rPPs1B3.jpg

anyways thanks for the help bae <3

 

  • Solution
Posted
3 minutes ago, Walking Hell said:

well that did the trick, only why you use Thumbv8 HEX and not ARM HEX?

now it get stuck at make package:

rPPs1B3.jpg

anyways thanks for the help bae <3

 

Can you show your makefile code

Posted
2 minutes ago, Ted2 said:

Can you show your makefile code

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = AngryBirds2
AngryBirds2_FILES = Tweak.xm
AngryBirds2_FRAMEWORKS = UIKit
AngryBirds2_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"
SUBPROJECTS += AngryBirds2
include $(THEOS_MAKE_PATH)/aggregate.mk

 

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

    • Journey Home: Merge & Stories v 2.1.6 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Journey Home: Merge & Stories By Wixot Bilgi Teknolojileri Sanayi Ve Ticaret Limited Sirketi
      Bundle ID: com.wixot.merge
      App Store Link: https://apps.apple.com/us/app/journey-home-merge-stories/id1635526159?uo=4



      🤩 Hack Features

      - Cash
      - Gems
      - Energy
      • 2 replies
    • Journey Home: Merge & Stories v2.1.6 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Journey Home: Merge & Stories By Wixot Bilgi Teknolojileri Sanayi Ve Ticaret Limited Sirketi
      Bundle ID: com.wixot.merge
      App Store Link: https://apps.apple.com/us/app/journey-home-merge-stories/id1635526159?uo=4


      🤩 Hack Features

      - Cash
      - Gems
      - Energy
        • Like
      • 2 replies
    • Squishmallows Match v0.8.0 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Squishmallows Match By East Side Games Inc
      Bundle ID: com.eastsidegames.squishmallows
      App Store Link: https://apps.apple.com/ph/app/squishmallows-match/id6450057167?uo=4

       

      🤩 Hack Features

      - Auto Win
      - Lives [ 0 Play Unlimited ]

        • Like
      • 8 replies
    • Squishmallows Match v0.8.0 [ +2 Jailed ] Auto Win
      Modded/Hacked App: Squishmallows Match By East Side Games Inc
      Bundle ID: com.eastsidegames.squishmallows
      App Store Link: https://apps.apple.com/ph/app/squishmallows-match/id6450057167?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Lives [ 0 Play Unlimited ]

        • Like
      • 11 replies
    • Spin Squad! v1.6.3 [ +2 Cheats ] Battle Coins
      Modded/Hacked App: Lucky Offense By Crater Co., Ltd.
      Bundle ID: com.percent.ios.luckyrolling
      iTunes Store Link: https://apps.apple.com/us/app/lucky-offense/id6511224968?uo=4


      🤩 Hack Features

      - Battle Coins
      - ATK
      - ATK Range
      - ATK Speed

      ATK Linked Enemy
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 90 replies
    • Disney Realm Breakers v20008 [+3 Jailed Cheats]
      Modded/Hacked App: Disney Realm Breakers By JOYCITY Corp
      Bundle ID: com.joycity.drb
      App Store Link: https://apps.apple.com/ph/app/disney-realm-breakers/id6462846874?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Auto Win (Enable inside battle)
      - Add Battle Gold (Enable inside battle)
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Disney Realm Breakers v20008 [+3 Cheats]
      Modded/Hacked App: Disney Realm Breakers By JOYCITY Corp
      Bundle ID: com.joycity.drb
      App Store Link: https://apps.apple.com/ph/app/disney-realm-breakers/id6462846874?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Auto Win (Enable inside battle)
      - Add Battle Gold (Enable inside battle)
       
        • Agree
        • Thanks
        • Winner
        • Like
      • 25 replies
    • Train of Hope: Survival Game v1.10.1 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Train of Hope: Survival Game By Samfinaco LLC
      Bundle ID: com.samfinaco.tos
      iTunes Store Link: https://apps.apple.com/us/app/train-of-hope-survival-game/id6636482655?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Resources -> Will increase instead of decrease.
      - Unlimited Hero Experience -> Will increase instead of decrease.
        • Haha
        • Thanks
        • Winner
        • Like
      • 64 replies
    • Train of Hope: Survival Game v1.10.1 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Train of Hope: Survival Game By Samfinaco LLC
      Bundle ID: com.samfinaco.tos
      iTunes Store Link: https://apps.apple.com/us/app/train-of-hope-survival-game/id6636482655?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Resources -> Will increase instead of decrease.
      - Unlimited Hero Experience -> Will increase instead of decrease.
        • Agree
        • Like
      • 46 replies
    • Good Pizza, Great Pizza v5.33.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet.

      VIP
      - Unlimited Pizza Pass Tokens
      - Chef Pass Unlocked
      - Max Pizza Pass Level
      - Starter Bundle Unlocked
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 370 replies
    • Good Pizza, Great Pizza v5.33.1 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet. 

      VIP
      - Unlimited Pizza Pass Tokens 
      - Chef Pass Unlocked 
      - Max Pizza Pass Level 
      - Starter Bundle Unlocked 
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 195 replies
    • Good Coffee, Great Coffee v1.3.2 +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
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 101 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