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 --- .theos/obj/debug/.stamp | 0 .../obj/debug/IntemperatePrefs.bundle/Info.plist | 24 ----- .../IntemperatePrefs.bundle/Intemperate.plist | 99 --------------------- .../debug/IntemperatePrefs.bundle/IntemperatePrefs | Bin 150800 -> 0 bytes .../debug/IntemperatePrefs.bundle/github@2x.png | Bin 3000 -> 0 bytes .../debug/IntemperatePrefs.bundle/github@3x.png | Bin 4726 -> 0 bytes .../obj/debug/IntemperatePrefs.bundle/icon@2x.png | Bin 1222 -> 0 bytes .../obj/debug/IntemperatePrefs.bundle/icon@3x.png | Bin 2083 -> 0 bytes .../debug/IntemperatePrefs.bundle/twitter@2x.png | Bin 1768 -> 0 bytes .../debug/IntemperatePrefs.bundle/twitter@3x.png | Bin 2747 -> 0 bytes .../arm64/INPRootListController.m.bedc12ed.Td | 22 ----- .../debug/arm64/INPRootListController.m.bedc12ed.o | Bin 35944 -> 0 bytes .../arm64/IntemperatePrefs.bundle/IntemperatePrefs | Bin 35956 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42858 -> 0 bytes .theos/obj/debug/arm64/Tweak.x.be724e48.Td | 20 ----- .theos/obj/debug/arm64/Tweak.x.be724e48.o | Bin 14740 -> 0 bytes .theos/obj/debug/arm64/Tweak.x.m | 98 -------------------- .theos/obj/debug/arm64/intemperate.dylib | Bin 37900 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15591 -> 0 bytes .../arm64e/INPRootListController.m.a27985de.Td | 22 ----- .../arm64e/INPRootListController.m.a27985de.o | Bin 35968 -> 0 bytes .../IntemperatePrefs.bundle/IntemperatePrefs | Bin 35760 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42859 -> 0 bytes .theos/obj/debug/arm64e/Tweak.x.03177e5e.Td | 20 ----- .theos/obj/debug/arm64e/Tweak.x.03177e5e.o | Bin 14800 -> 0 bytes .theos/obj/debug/arm64e/Tweak.x.m | 98 -------------------- .theos/obj/debug/arm64e/intemperate.dylib | Bin 37744 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15594 -> 0 bytes .../armv7/INPRootListController.m.e282f69a.Td | 22 ----- .../debug/armv7/INPRootListController.m.e282f69a.o | Bin 34772 -> 0 bytes .../armv7/IntemperatePrefs.bundle/IntemperatePrefs | Bin 35804 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42838 -> 0 bytes .theos/obj/debug/armv7/Tweak.x.df585e52.Td | 20 ----- .theos/obj/debug/armv7/Tweak.x.df585e52.o | Bin 13408 -> 0 bytes .theos/obj/debug/armv7/Tweak.x.m | 98 -------------------- .theos/obj/debug/armv7/intemperate.dylib | Bin 37516 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15409 -> 0 bytes .theos/obj/debug/intemperate.dylib | Bin 152800 -> 0 bytes 44 files changed, 663 deletions(-) delete mode 100644 .theos/obj/debug/.stamp delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/Info.plist delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist delete mode 100755 .theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/github@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/github@3x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png delete mode 100644 .theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td delete mode 100644 .theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o delete mode 100755 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64/Tweak.x.be724e48.Td delete mode 100644 .theos/obj/debug/arm64/Tweak.x.be724e48.o delete mode 100644 .theos/obj/debug/arm64/Tweak.x.m delete mode 100755 .theos/obj/debug/arm64/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td delete mode 100644 .theos/obj/debug/arm64e/INPRootListController.m.a27985de.o delete mode 100755 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.03177e5e.Td delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.03177e5e.o delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.m delete mode 100755 .theos/obj/debug/arm64e/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td delete mode 100644 .theos/obj/debug/armv7/INPRootListController.m.e282f69a.o delete mode 100755 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/armv7/Tweak.x.df585e52.Td delete mode 100644 .theos/obj/debug/armv7/Tweak.x.df585e52.o delete mode 100644 .theos/obj/debug/armv7/Tweak.x.m delete mode 100755 .theos/obj/debug/armv7/intemperate.dylib delete mode 100644 .theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100755 .theos/obj/debug/intemperate.dylib (limited to '.theos/obj/debug') diff --git a/.theos/obj/debug/.stamp b/.theos/obj/debug/.stamp deleted file mode 100644 index e69de29..0000000 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - IntemperatePrefs - CFBundleIdentifier - com.5px.intemperateprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - INPRootListController - - 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 @@ - - - - - items - - - cell - PSGroupCell - label - Settings - footerText - 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. - - - cell - PSSwitchCell - default - - defaults - com.5px.intemperate - key - isEnabled - label - Enabled - - - cell - PSGroupCell - footerText - Perform a respring to apply changes. - - - cell - PSButtonCell - label - Respring Device - action - respring - - - cell - PSGroupCell - label - Support - footerText - If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible! - - - action - openTwitterDM - cell - PSButtonCell - label - DM @o5pxels on Twitter - icon - twitter.png - - - cell - PSGroupCell - label - Credits - - - action - openTwitter5px - cell - PSButtonCell - label - @o5pxels - footerText - Developer - - - action - openGitHub - cell - PSButtonCell - label - GitHub Source - icon - github.png - - - cell - PSGroupCell - footerAlignment - 1 - footerText - © 2020 FivePixels - - - title - Intemperate - - - - diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 55b04f5..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png deleted file mode 100644 index 52b4ba7..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png deleted file mode 100644 index 5509612..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png deleted file mode 100644 index 25ce016..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png deleted file mode 100644 index cf62d0b..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png deleted file mode 100644 index 5fa8892..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png deleted file mode 100644 index 9af7a41..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png and /dev/null differ 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 deleted file mode 100644 index 89af949..0000000 Binary files a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o and /dev/null differ diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 5f22e6f..0000000 Binary files a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - 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 deleted file mode 100644 index ef82dbe..0000000 Binary files a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ 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 deleted file mode 100644 index 7edf76e..0000000 Binary files a/.theos/obj/debug/arm64/Tweak.x.be724e48.o and /dev/null differ 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 -#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 deleted file mode 100755 index 0da5f67..0000000 Binary files a/.theos/obj/debug/arm64/intemperate.dylib and /dev/null differ 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 @@ - - - - - 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/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index 8075baf..0000000 Binary files a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ 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 deleted file mode 100644 index fc096f5..0000000 Binary files a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o and /dev/null differ diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 0d5239d..0000000 Binary files a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - 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 deleted file mode 100644 index 62a4206..0000000 Binary files a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ 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 deleted file mode 100644 index 824281c..0000000 Binary files a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o and /dev/null differ 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 -#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 deleted file mode 100755 index aa61eec..0000000 Binary files a/.theos/obj/debug/arm64e/intemperate.dylib and /dev/null differ 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 @@ - - - - - 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/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index 24640b9..0000000 Binary files a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ 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 deleted file mode 100644 index 31ea960..0000000 Binary files a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o and /dev/null differ diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 41fe107..0000000 Binary files a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - 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 deleted file mode 100644 index 956fc94..0000000 Binary files a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ 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 deleted file mode 100644 index 3e703fd..0000000 Binary files a/.theos/obj/debug/armv7/Tweak.x.df585e52.o and /dev/null differ 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 -#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 deleted file mode 100755 index 5c67e84..0000000 Binary files a/.theos/obj/debug/armv7/intemperate.dylib and /dev/null differ 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 @@ - - - - - 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/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index fdcbaa5..0000000 Binary files a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/intemperate.dylib b/.theos/obj/debug/intemperate.dylib deleted file mode 100755 index 62c9ab1..0000000 Binary files a/.theos/obj/debug/intemperate.dylib and /dev/null differ -- cgit v1.2.3