Jump to content

make offset code inject Don't work


4 posts in this topic

Recommended Posts

Posted

please  Help pro

make offset code inject  Don't work. but edit ida pro it work?

IMG_0060.jpg

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 dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
    if(GetPrefBool(@"on")) {
        vm_writeData(0x101907CA8, 0x00F0271E);
    } else {
}

}
 

Thank you

Posted

Try injecting without a patcher first. Might be an issue with your preferences plist.

vm_writeData(0x101907CA8, 0x00F0271E);

 

Archived

This topic is now archived and is closed to further 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