I already made this topic but it got deleted?!
I have a this in my tweak.xm
#import "writeData.h"
#import "Macros.h"
int (*speedOld)(void *self, int arg0, int arg1);
int speed(void *self, int arg0, int arg1){
if(speedOld(self, arg0, arg1)>0){ //if you aren't moving you'd be stuck in place with this
writeData(0x33d3a8, 0x0020c046); //trick the game into thinking its always on the ground
writeData(0x535370, 0x7047); //remove all collision
}
return speedOld(self, arg0, arg1);
}
%ctor{
MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x114dd0 + 1),(void*)speed,(void**)&speedOld);
}
And i get this errror when i make the package
Can someone help me fix this error please?