diff options
Diffstat (limited to '.theos/obj/debug/arm64e')
| -rw-r--r-- | .theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td | 22 | ||||
| -rw-r--r-- | .theos/obj/debug/arm64e/INPRootListController.m.a27985de.o | bin | 0 -> 35968 bytes | |||
| -rwxr-xr-x | .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs | bin | 0 -> 35760 bytes | |||
| -rw-r--r-- | .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist | 20 | ||||
| -rw-r--r-- | .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs | bin | 0 -> 42859 bytes | |||
| -rw-r--r-- | .theos/obj/debug/arm64e/Tweak.x.03177e5e.Td | 20 | ||||
| -rw-r--r-- | .theos/obj/debug/arm64e/Tweak.x.03177e5e.o | bin | 0 -> 14800 bytes | |||
| -rw-r--r-- | .theos/obj/debug/arm64e/Tweak.x.m | 98 | ||||
| -rwxr-xr-x | .theos/obj/debug/arm64e/intemperate.dylib | bin | 0 -> 37744 bytes | |||
| -rw-r--r-- | .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist | 20 | ||||
| -rw-r--r-- | .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib | bin | 0 -> 15594 bytes |
11 files changed, 180 insertions, 0 deletions
diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td new file mode 100644 index 0000000..d5ec3e4 --- /dev/null +++ b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.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/debug/arm64e/INPRootListController.m.a27985de.o b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o Binary files differnew file mode 100644 index 0000000..fc096f5 --- /dev/null +++ b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..0d5239d --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..62a4206 --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td new file mode 100644 index 0000000..f77c458 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/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/debug/arm64e/Tweak.x.03177e5e.o b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o Binary files differnew file mode 100644 index 0000000..824281c --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -0,0 +1,98 @@ +#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 <substrate.h> +#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/debug/arm64e/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib Binary files differnew file mode 100755 index 0000000..aa61eec --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..24640b9 --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib |
