Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion PlayTools/MysticRunes/PlayShadow.m
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ + (void) load {
// Swizzle ATTrackingManager
[objc_getClass("ATTrackingManager") swizzleClassMethod:@selector(requestTrackingAuthorizationWithCompletionHandler:) withMethod:@selector(pm_return_2_with_completion_handler:)];
[objc_getClass("ATTrackingManager") swizzleClassMethod:@selector(trackingAuthorizationStatus) withMethod:@selector(pm_return_2)];



// canResizeToFitContent
// [objc_getClass("UIWindow") swizzleInstanceMethod:@selector(canResizeToFitContent) withMethod:@selector(pm_return_true)];

Expand All @@ -197,6 +198,11 @@ + (void) load {
[self debugLogger:@"loading UIAlertController bypass"];
[objc_getClass("UIViewController") swizzleInstanceMethod:@selector(presentViewController:animated:completion:) withMethod:@selector(pm_endfield_presentViewController:animated:completion:)];
}

if ([bundleID isEqualToString:@"com.kurogame.wutheringwaves.global"] || [bundleID isEqualToString:@"com.kurogame.mingchao"]) {
[objc_getClass("KRDeclaredAgeRangeService") swizzleInstanceMethod:@selector(isAgeRangeRequestAvailable) withMethod:@selector(pm_return_false)];
}

}

+ (void) loadJailbreakBypass {
Expand Down
Loading