diff options
Diffstat (limited to '.theos/obj/debug')
44 files changed, 0 insertions, 663 deletions
diff --git a/.theos/obj/debug/.stamp b/.theos/obj/debug/.stamp deleted file mode 100644 index e69de29..0000000 --- a/.theos/obj/debug/.stamp +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist deleted file mode 100644 index 5775539..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//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>CFBundleExecutable</key> - <string>IntemperatePrefs</string> - <key>CFBundleIdentifier</key> - <string>com.5px.intemperateprefs</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundlePackageType</key> - <string>BNDL</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1.0</string> - <key>NSPrincipalClass</key> - <string>INPRootListController</string> -</dict> -</plist> diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist deleted file mode 100644 index 3cd8ab6..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> - <dict> - <key>items</key> - <array> - <dict> - <key>cell</key> - <string>PSGroupCell</string> - <key>label</key> - <string>Settings</string> - <key>footerText</key> - <string>By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. FivePixels, the developer, is not responsible for any damage caused to your device.</string> - </dict> - <dict> - <key>cell</key> - <string>PSSwitchCell</string> - <key>default</key> - <false/> - <key>defaults</key> - <string>com.5px.intemperate</string> - <key>key</key> - <string>isEnabled</string> - <key>label</key> - <string>Enabled</string> - </dict> - <dict> - <key>cell</key> - <string>PSGroupCell</string> - <key>footerText</key> - <string>Perform a respring to apply changes.</string> - </dict> - <dict> - <key>cell</key> - <string>PSButtonCell</string> - <key>label</key> - <string>Respring Device</string> - <key>action</key> - <string>respring</string> - </dict> - <dict> - <key>cell</key> - <string>PSGroupCell</string> - <key>label</key> - <string>Support</string> - <key>footerText</key> - <string>If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible!</string> - </dict> - <dict> - <key>action</key> - <string>openTwitterDM</string> - <key>cell</key> - <string>PSButtonCell</string> - <key>label</key> - <string>DM @o5pxels on Twitter</string> - <key>icon</key> - <string>twitter.png</string> - </dict> - <dict> - <key>cell</key> - <string>PSGroupCell</string> - <key>label</key> - <string>Credits</string> - </dict> - <dict> - <key>action</key> - <string>openTwitter5px</string> - <key>cell</key> - <string>PSButtonCell</string> - <key>label</key> - <string>@o5pxels</string> - <key>footerText</key> - <string>Developer</string> - </dict> - <dict> - <key>action</key> - <string>openGitHub</string> - <key>cell</key> - <string>PSButtonCell</string> - <key>label</key> - <string>GitHub Source</string> - <key>icon</key> - <string>github.png</string> - </dict> - <dict> - <key>cell</key> - <string>PSGroupCell</string> - <key>footerAlignment</key> - <integer>1</integer> - <key>footerText</key> - <string>© 2020 FivePixels</string> - </dict> - </array> - <key>title</key> - <string>Intemperate</string> - </dict> -</plist> - - diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 55b04f5..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png Binary files differdeleted file mode 100644 index 52b4ba7..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png Binary files differdeleted file mode 100644 index 5509612..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png Binary files differdeleted file mode 100644 index 25ce016..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png Binary files differdeleted file mode 100644 index cf62d0b..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png Binary files differdeleted file mode 100644 index 5fa8892..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png +++ /dev/null diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png Binary files differdeleted file mode 100644 index 9af7a41..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png +++ /dev/null diff --git a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td deleted file mode 100644 index 0e2cbf3..0000000 --- a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.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/arm64/INPRootListController.m.bedc12ed.o b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o Binary files differdeleted file mode 100644 index 89af949..0000000 --- a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o +++ /dev/null diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 5f22e6f..0000000 --- a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differdeleted file mode 100644 index ef82dbe..0000000 --- a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/arm64/Tweak.x.be724e48.Td b/.theos/obj/debug/arm64/Tweak.x.be724e48.Td deleted file mode 100644 index 5970d3c..0000000 --- a/.theos/obj/debug/arm64/Tweak.x.be724e48.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/Tweak.x.be724e48.o: \ - /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/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/debug/arm64/Tweak.x.be724e48.o b/.theos/obj/debug/arm64/Tweak.x.be724e48.o Binary files differdeleted file mode 100644 index 7edf76e..0000000 --- a/.theos/obj/debug/arm64/Tweak.x.be724e48.o +++ /dev/null diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/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 <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/arm64/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib Binary files differdeleted file mode 100755 index 0da5f67..0000000 --- a/.theos/obj/debug/arm64/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differdeleted file mode 100644 index 8075baf..0000000 --- a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td deleted file mode 100644 index d5ec3e4..0000000 --- a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td +++ /dev/null @@ -1,22 +0,0 @@ -/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 differdeleted file mode 100644 index fc096f5..0000000 --- a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o +++ /dev/null diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 0d5239d..0000000 --- a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null 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 deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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 differdeleted file mode 100644 index 62a4206..0000000 --- a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td deleted file mode 100644 index f77c458..0000000 --- a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td +++ /dev/null @@ -1,20 +0,0 @@ -/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 differdeleted file mode 100644 index 824281c..0000000 --- a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o +++ /dev/null diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/arm64e/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 <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 differdeleted file mode 100755 index aa61eec..0000000 --- a/.theos/obj/debug/arm64e/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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 differdeleted file mode 100644 index 24640b9..0000000 --- a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td deleted file mode 100644 index 3ecc29f..0000000 --- a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.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/armv7/INPRootListController.m.e282f69a.o b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o Binary files differdeleted file mode 100644 index 31ea960..0000000 --- a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o +++ /dev/null diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 41fe107..0000000 --- a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differdeleted file mode 100644 index 956fc94..0000000 --- a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/debug/armv7/Tweak.x.df585e52.Td b/.theos/obj/debug/armv7/Tweak.x.df585e52.Td deleted file mode 100644 index 247c3f0..0000000 --- a/.theos/obj/debug/armv7/Tweak.x.df585e52.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/Tweak.x.df585e52.o: \ - /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/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/armv7/Tweak.x.df585e52.o b/.theos/obj/debug/armv7/Tweak.x.df585e52.o Binary files differdeleted file mode 100644 index 3e703fd..0000000 --- a/.theos/obj/debug/armv7/Tweak.x.df585e52.o +++ /dev/null diff --git a/.theos/obj/debug/armv7/Tweak.x.m b/.theos/obj/debug/armv7/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/armv7/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 <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/armv7/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib Binary files differdeleted file mode 100755 index 5c67e84..0000000 --- a/.theos/obj/debug/armv7/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differdeleted file mode 100644 index fdcbaa5..0000000 --- a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/debug/intemperate.dylib b/.theos/obj/debug/intemperate.dylib Binary files differdeleted file mode 100755 index 62c9ab1..0000000 --- a/.theos/obj/debug/intemperate.dylib +++ /dev/null |
