hello, good evening. I keep getting this compile error when I try and compile my mod, Tweak.xm:25:62: error: expected '(' for function-style cast or type construction ThirdPersonController_WalkSpeed(thirdPersonController, float value); so like a normal person I took to google, I ended up finding that it was a c++ syntax error and I attempted their fixes. the error remains. so I came here to get an experts help on what I messed up here's the whole tweak xm code for what I've done. #import "Macros.h" #import <CoreFoundation/CoreFoundation.h> #import <substrate.h> #import <Foundation/Foundation.h> //public void set_WalkSpeed(float value); // RVA: 0x18A5724 Offset: 0x18A5724 VA: 0x1018A5724 void(*set_WalkSpeed)(void *Update) = (void(*) (void *))getRealOffset(0x1018A607C); bool shouldactivateSuperSpeed = true; void(*old_ThirdPersonController_Update)(void *thirdPersonController, float value); void ThirdPersonController_Update(void *thirdPersonController, float value) { int item = [[switches getValueFromSwitch:@"SuperSpeed:"]intValue]; if([switches isSwitchOn:@"SuperSpeed:"]) { if(shouldactivateSuperSpeed) { ThirdPersonController_WalkSpeed(thirdPersonController, float value); shouldactivateSuperSpeed = false; } } else { shouldactivateSuperSpeed = true; } } void setup() { MSHookFunction((void *)getRealOffset(0x1018A607C), (void *)ThirdPersonController_Update, (void**)&ThirdPersonController_Update); [switches addTextfieldSwitch:@"SuperSpeed:" description:@"Here you can enter your own speed amount" inputBorderColor:UIColorFromHex(0xffffff)]; } whoever sees this thank you and have a nice day.
from iOSGods RSS Feed https://ift.tt/3l05SIG
Subscribe to:
Post Comments (Atom)
-
Yubo Yoti bypass Requirements: Yubo app Jailbroken iPhone Apps Manager Brain Steps: Open Apps Manager Locate Yubo in Apps Manager and open i...
-
Modded/Hacked App: Simply Guitar by JoyTunes by JoyTunes Bundle ID: com.joytunes.SimplyGuitar iTunes Store Link: https://ift.tt/2ANDd7d Mod ...
-
I don't know how this happened, i was trying to install Kinemaster modded version on my iPhone 7 running iOS 14.0.1, maybe it's beca...
-
Hey everyone I am running Ipad 6th generation running ios 14.0 32 gb capacity with 19.1 gb left I used sideloadly yesterday to install an ap...
-
Hello! I am using this for practice using a dummy Snapchat account I've made and created a My Eyes Only tab. Now, if you don't know ...
-
Hello, does anyone know why I cannot use my Apple password or password from apple servers? Sideloadly version 0.16.1 Checking iOS version......
-
As the title says upon installing Last Day on Earth with sideloadly i get this error ERROR: Guru Meditation 6020bc@89:f11511 Call to np_clie...
-
Hello friends, So I have a problem with Sideloadly, I installed it on my (32x bit Windows 7) laptop (SONY) and tried opening it, but when I ...
-
Hello, I am currently running with an iPhone XR on IOS 12.2. I am trying to install ipa files through cydia impactor but keep receiving this...
-
Netflix is now offering users a chance to win a free subscription for 83 years. The company calls it the “immortal” Netflix account. T...
No comments:
Post a Comment