From a692718a2ae3d46db6c63b68a924f66f671ba004 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Tue, 7 Jul 2020 13:37:24 -0500 Subject: New twitter ID and add alert when blocking begins --- .../obj/arm64/INPRootListController.m.6de8dd48.Td | 22 ----- .../obj/arm64/INPRootListController.m.6de8dd48.o | Bin 32444 -> 0 bytes .../arm64/IntemperatePrefs.bundle/IntemperatePrefs | Bin 34372 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 40092 -> 0 bytes .theos/obj/arm64/Tweak.x.27fcab7e.Td | 20 ----- .theos/obj/arm64/Tweak.x.27fcab7e.o | Bin 14888 -> 0 bytes .theos/obj/arm64/Tweak.x.9dc7db80.Td | 20 ----- .theos/obj/arm64/Tweak.x.9dc7db80.o | Bin 15004 -> 0 bytes .theos/obj/arm64/Tweak.x.m | 98 --------------------- .theos/obj/arm64/intemperate.dylib | Bin 33556 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 16070 -> 0 bytes 13 files changed, 200 deletions(-) delete mode 100644 .theos/obj/arm64/INPRootListController.m.6de8dd48.Td delete mode 100644 .theos/obj/arm64/INPRootListController.m.6de8dd48.o delete mode 100755 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/arm64/Tweak.x.27fcab7e.Td delete mode 100644 .theos/obj/arm64/Tweak.x.27fcab7e.o delete mode 100644 .theos/obj/arm64/Tweak.x.9dc7db80.Td delete mode 100644 .theos/obj/arm64/Tweak.x.9dc7db80.o delete mode 100644 .theos/obj/arm64/Tweak.x.m delete mode 100755 .theos/obj/arm64/intemperate.dylib delete mode 100644 .theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib (limited to '.theos/obj/arm64') diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td b/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td deleted file mode 100644 index 6e4db3d..0000000 --- a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/INPRootListController.m.6de8dd48.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o b/.theos/obj/arm64/INPRootListController.m.6de8dd48.o deleted file mode 100644 index 734207c..0000000 Binary files a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o and /dev/null differ diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 02505fb..0000000 Binary files a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs deleted file mode 100644 index 35bf823..0000000 Binary files a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.Td b/.theos/obj/arm64/Tweak.x.27fcab7e.Td deleted file mode 100644 index c0d50b5..0000000 --- a/.theos/obj/arm64/Tweak.x.27fcab7e.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.27fcab7e.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.o b/.theos/obj/arm64/Tweak.x.27fcab7e.o deleted file mode 100644 index 8afa051..0000000 Binary files a/.theos/obj/arm64/Tweak.x.27fcab7e.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.Td b/.theos/obj/arm64/Tweak.x.9dc7db80.Td deleted file mode 100644 index 14c9251..0000000 --- a/.theos/obj/arm64/Tweak.x.9dc7db80.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.9dc7db80.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.o b/.theos/obj/arm64/Tweak.x.9dc7db80.o deleted file mode 100644 index e1e9bc6..0000000 Binary files a/.theos/obj/arm64/Tweak.x.9dc7db80.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.m b/.theos/obj/arm64/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/arm64/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class SBThermalController; - - -#line 19 "Tweak.x" -static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { - arg1 = NO; - _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); -} -static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return 0; -} - - - -static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); - return NO; -} -static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); - return 0; -} - - - -static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { - updatePrefs(); - if (isEnabled) { - float version = [[[UIDevice currentDevice] systemVersion] floatValue]; - if (version >= 10) { - NSLog(@"Intemperate - iOS 10+"); - {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} - } else if (version >= 8 && version < 10) { - NSLog(@"Intemperate - iOS 8/9"); - {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} - } - } - -} diff --git a/.theos/obj/arm64/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib deleted file mode 100755 index d009464..0000000 Binary files a/.theos/obj/arm64/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index aca6485..0000000 Binary files a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ -- cgit v1.2.3