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

    • Genshin Impact Cheats v5.8.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
      • 3,651 replies
    • Grow Survivor V8.1.0 [ +3 Cheats ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4

      Hack Features:
      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 8 replies
    • Grow Survivor V8.1.0 [ +3 Jailed ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4


      Hack Features:

      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 11 replies
    • Tiny Legends: RPG War Game v0.2.69 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Tiny Legends: RPG War Game By DynamicNext Technologies Private Limited
      Bundle ID: com.dn.games.mergewars.tinylegends
      App Store Link: https://apps.apple.com/us/app/tiny-legends-rpg-war-game/id6479631220?uo=4

       
      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Store Open -Deals- [Daily Unit Purchase] Just ADD Then Show Negative Value Buy ] 

      - Energy Refil Cost 0

      - Mana Refil Cost 0

      - Speed UP Cost 0

      - Auto Play Max

      - Trop Card Cost 0 [ In The Battle 1 Buy ]

      - Battle Speed Max 30
      • 31 replies
    • Tiny Legends: RPG War Game v0.2.69 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Tiny Legends: RPG War Game By DynamicNext Technologies Private Limited
      Bundle ID: com.dn.games.mergewars.tinylegends
      App Store Link: https://apps.apple.com/us/app/tiny-legends-rpg-war-game/id6479631220?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Store Open -Deals- [Daily Unit Purchase] Just ADD Then Show Negative Value Buy ] 

      - Energy Refil Cost 0

      - Mana Refil Cost 0

      - Speed UP Cost 0

      - Auto Play Max

      - Trop Card Cost 0 [ In The Battle 1 Buy ]

      - Battle Speed Max 30
      • 22 replies
    • Skullgirls Fighting RPG V7.4.2 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 48 replies
    • Skullgirls Fighting RPG V7.4.2 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 137 replies
    • Backpacker™ Go! v1.5.11 [ +3 Cheats ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4


      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited
      • 25 replies
    • Backpacker™ Go! v1.5.11 [ +3 Jailed ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4



      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited 
      • 32 replies
    • Heroes vs. Hordes: Survivor v5.4.3 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 81 replies
    • Heroes vs. Hordes: Survivor v5.4.3 [ +11 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?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

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 96 replies
    • Dragon Wings: RPG Shoot em up v1.9.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4

       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
      • 25 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