Solved Make offset don't work

Status
Not open for further replies.

Nkodder

New Member
please Help pro
make offset code inject Don't work. but edit ida pro it work
Tweak.xm
#import "vm_writeData.h"
#import <Foundation/Foundation.h>
#import <substrate.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.xxx.xxx.plist"
inline bool GetPrefBool(NSString *key) {
return [[[NSDictionary dictionaryWithContentsOfFileLIST_PATH] valueForKey:key] boolValue];
}
%ctor {
if(GetPrefBool(@"on")) {
vm_writeData(0x101907CA8, 0x00F0271E);
} else {
}
}

game load bounce out
I do not understand. edit ida pro. it work
Thank you
 

Ruit

Adminstrator
Adminstrator
There are several errors here.
Better to use NSUserDefaults than plist.
Try to use more unique key name. "on" as key name is confusing and may conflict.
important note, Whenever you get a crash then check crash logs. This is probably from your write data. However you haven't mentioned which iOS version you use and which jailbreak.
 

Nkodder

New Member
Thank you idol

ios 11.1.2 uncover jail
Try injecting without a patcher.
but load game it Bounce off. Should I move electra?
 
Last edited:
Status
Not open for further replies.
Top