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

    • Last Day On Earth: Survival v1.35.0 +36 FREE Hacks
      Modded/Hacked App: Last Day on Earth: Survival By Andrey Pryakhin
      Bundle ID: zombie.survival.craft.z
      iTunes Link: https://itunes.apple.com/us/app/last-day-on-earth-survival/id1241932094

      Hack Features:
      - Coins Hack - Spend/Buy something that costs Coins to increase Coins!
      - Durability Hack - Weapons, Clothes, Boots, etc. Will not break. You can always keep using them.
      - Crafting Hack - Able to craft stuff without required items!
      - Skill Points Hack - Skill Points won't decrease, reset to increase.
      - Duplicate Items Hack - Split Items to duplicate them! Now it will duplicate by 20!
      - Loot box hack - Open 1 lootbox for 1000! - x64 only
      - Items increase when Taking from Inbox. You will never run out of Items in your inbox! - x64 only
      - Minigun Doesn't Overheat - x64 only
      - Unlimited Energy. Energy Increases instead of subtracting! - x64 only
      - Bow One Hit Kill - x64 only
      - Anti-Ban

      During the month of December, we have decided to make the ViP hack for free for all users! :) Extra features include:
      • 29,994 replies
    • Kingdom Towers v0.3.18 [+4 Jailed Cheats]
      Modded/Hacked App: Kingdom Towers By Martin Quinones
      Bundle ID: com.pizia.kingdomtowers
      iTunes Store Link: https://apps.apple.com/us/app/kingdom-towers/id6699736128?uo=4



      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - One Hit Kill
      - Unlocked All Towers/Relics
      • 11 replies
    • Kingdom Towers v0.3.18 [+4 Cheats]
      Modded/Hacked App: Kingdom Towers By Martin Quinones
      Bundle ID: com.pizia.kingdomtowers
      iTunes Store Link: https://apps.apple.com/us/app/kingdom-towers/id6699736128?uo=4

       

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - One Hit Kill
      - Unlocked All Towers/Relics
      • 10 replies
    • Go Go Werewolf! v1.3 [+3 Jailed Cheats]
      Modded/Hacked App: Go Go Werewolf! By Dejaime Antonio de Oliveira Neto
      Bundle ID: productions.artcode.ggw
      iTunes Store Link: https://apps.apple.com/us/app/go-go-werewolf/id6739493341?uo=4



      🤩 Hack Features

      - Never Die
      - Free Item Upgrade
      - Unlimited Coins (Enable and Finish Stage)
      • 4 replies
    • Go Go Werewolf! v1.3 [+3 Cheats]
      Modded/Hacked App: Go Go Werewolf! By Dejaime Antonio de Oliveira Neto
      Bundle ID: productions.artcode.ggw
      iTunes Store Link: https://apps.apple.com/us/app/go-go-werewolf/id6739493341?uo=4


      🤩 Hack Features

      - Never Die
      - Free Item Upgrade
      - Unlimited Coins (Enable and Finish Stage)
      • 2 replies
    • Survivor Code: Last Stand v1.0.3 [+3 Cheats]
      Modded/Hacked App: Survivor Code: Last Stand By TUONG PHAT ENVIROMENT AND TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.survivor.hero.laststand
      App Store Link: https://apps.apple.com/us/app/survivor-code-last-stand/id6743934880?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
      - Get No Ads
       
      • 2 replies
    • Survivor Code: Last Stand v1.0.3 [+3 Jailed Cheats]
      Modded/Hacked App: Survivor Code: Last Stand By TUONG PHAT ENVIROMENT AND TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.survivor.hero.laststand
      App Store Link: https://apps.apple.com/us/app/survivor-code-last-stand/id6743934880?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
      - Get No Ads
      • 1 reply
    • Bounce Defense v1.2.0 [+5 Jailed Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 3 replies
    • Bounce Defense v1.2.0 [+5 Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 2 replies
    • Mini Merge Champions v30.2.2 [+2 Jailed Cheats]
      Modded/Hacked App: Mini Merge Champions By Popcore GmbH
      Bundle ID: com.lhmkvlbfdj.mergewarriors
      App Store Link: https://apps.apple.com/us/app/mini-merge-champions/id6670783328?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Activate Permanent Blessings

      • 3 replies
    • Mini Merge Champions v30.2.2 [+2 Cheats]
      Modded/Hacked App: Mini Merge Champions By Popcore GmbH
      Bundle ID: com.lhmkvlbfdj.mergewarriors
      App Store Link: https://apps.apple.com/us/app/mini-merge-champions/id6670783328?uo=4


       

      🤩 Hack Features

      - Unlimited Resources
      - Activate Permanent Blessings
       
      • 2 replies
    • Draft Showdown v1.1.1 [+3 Jailed Cheats]
      Modded/Hacked App: Draft Showdown By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.draftwar
      App Store Link: https://apps.apple.com/us/app/draft-showdown/id6743368869?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
      • 0 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