diff options
| author | FivePixels <o5pxels@gmail.com> | 2020-07-07 13:37:24 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2020-07-07 13:37:24 -0500 |
| commit | a692718a2ae3d46db6c63b68a924f66f671ba004 (patch) | |
| tree | 7a5ad3fa2c6744b53637c8c0e3bc5b68d3fdb3a4 | |
| parent | 20dcfabbfbed12577ab175e88da23024c69db47a (diff) | |
| download | intemperate-a692718a2ae3d46db6c63b68a924f66f671ba004.tar.xz intemperate-a692718a2ae3d46db6c63b68a924f66f671ba004.zip | |
New twitter ID and add alert when blocking begins
115 files changed, 8 insertions, 1561 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77c4cdc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.theos +.DS_Store diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control deleted file mode 100644 index 6216ed6..0000000 --- a/.theos/_/DEBIAN/control +++ /dev/null @@ -1,11 +0,0 @@ -Package: com.5px.intemperate -Name: Intemperate -Pre-Depends: firmware (>= 8.0) -Depends: mobilesubstrate, firmware (>=9.0) -Architecture: iphoneos-arm -Description: The temperature warning no longer exists. -Maintainer: FivePixels -Author: FivePixels -Section: Tweaks -Version: 1.0 -Installed-Size: 344 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib Binary files differdeleted file mode 100755 index 62c9ab1..0000000 --- a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib +++ /dev/null diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist deleted file mode 100644 index 10dc654..0000000 --- a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist +++ /dev/null @@ -1 +0,0 @@ -{ Filter = { Bundles = ( "com.apple.springboard" ); }; } diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist deleted file mode 100644 index 5775539..0000000 --- a/.theos/_/Library/PreferenceBundles/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/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist deleted file mode 100644 index 3cd8ab6..0000000 --- a/.theos/_/Library/PreferenceBundles/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/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 55b04f5..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png Binary files differdeleted file mode 100644 index 52b4ba7..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png Binary files differdeleted file mode 100644 index 5509612..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png Binary files differdeleted file mode 100644 index 25ce016..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png Binary files differdeleted file mode 100644 index cf62d0b..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png Binary files differdeleted file mode 100644 index 5fa8892..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png Binary files differdeleted file mode 100644 index 9af7a41..0000000 --- a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png +++ /dev/null diff --git a/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist b/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist deleted file mode 100644 index 269e439..0000000 --- a/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist +++ /dev/null @@ -1,21 +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>entry</key> - <dict> - <key>bundle</key> - <string>IntemperatePrefs</string> - <key>cell</key> - <string>PSLinkCell</string> - <key>detail</key> - <string>INPRootListController</string> - <key>icon</key> - <string>icon.png</string> - <key>isController</key> - <true/> - <key>label</key> - <string>Intemperate</string> - </dict> -</dict> -</plist> diff --git a/.theos/build_session b/.theos/build_session deleted file mode 100644 index e69de29..0000000 --- a/.theos/build_session +++ /dev/null diff --git a/.theos/fakeroot b/.theos/fakeroot deleted file mode 100644 index e69de29..0000000 --- a/.theos/fakeroot +++ /dev/null diff --git a/.theos/last_package b/.theos/last_package deleted file mode 100644 index 62f433d..0000000 --- a/.theos/last_package +++ /dev/null @@ -1 +0,0 @@ -./packages/com.5px.intemperate_1.0_iphoneos-arm.deb diff --git a/.theos/obj/.stamp b/.theos/obj/.stamp deleted file mode 100644 index e69de29..0000000 --- a/.theos/obj/.stamp +++ /dev/null diff --git a/.theos/obj/IntemperatePrefs.bundle/Info.plist b/.theos/obj/IntemperatePrefs.bundle/Info.plist deleted file mode 100644 index 5775539..0000000 --- a/.theos/obj/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/IntemperatePrefs.bundle/Intemperate.plist b/.theos/obj/IntemperatePrefs.bundle/Intemperate.plist deleted file mode 100644 index 9171454..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/Intemperate.plist +++ /dev/null @@ -1,89 +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.</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 all 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>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/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index e73b1be..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/IntemperatePrefs.bundle/icon@2x.png Binary files differdeleted file mode 100644 index 25ce016..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/icon@2x.png +++ /dev/null diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/IntemperatePrefs.bundle/icon@3x.png Binary files differdeleted file mode 100644 index cf62d0b..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/icon@3x.png +++ /dev/null diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png Binary files differdeleted file mode 100644 index 5fa8892..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png +++ /dev/null diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png Binary files differdeleted file mode 100644 index 9af7a41..0000000 --- a/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png +++ /dev/null diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td b/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td deleted file mode 100644 index 6e4db3d..0000000 --- a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/INPRootListController.m.6de8dd48.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o b/.theos/obj/arm64/INPRootListController.m.6de8dd48.o Binary files differdeleted file mode 100644 index 734207c..0000000 --- a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o +++ /dev/null diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 02505fb..0000000 --- a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differdeleted file mode 100644 index 35bf823..0000000 --- a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.Td b/.theos/obj/arm64/Tweak.x.27fcab7e.Td deleted file mode 100644 index c0d50b5..0000000 --- a/.theos/obj/arm64/Tweak.x.27fcab7e.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.27fcab7e.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.o b/.theos/obj/arm64/Tweak.x.27fcab7e.o Binary files differdeleted file mode 100644 index 8afa051..0000000 --- a/.theos/obj/arm64/Tweak.x.27fcab7e.o +++ /dev/null diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.Td b/.theos/obj/arm64/Tweak.x.9dc7db80.Td deleted file mode 100644 index 14c9251..0000000 --- a/.theos/obj/arm64/Tweak.x.9dc7db80.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.9dc7db80.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.o b/.theos/obj/arm64/Tweak.x.9dc7db80.o Binary files differdeleted file mode 100644 index e1e9bc6..0000000 --- a/.theos/obj/arm64/Tweak.x.9dc7db80.o +++ /dev/null diff --git a/.theos/obj/arm64/Tweak.x.m b/.theos/obj/arm64/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/arm64/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include <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/arm64/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib Binary files differdeleted file mode 100755 index d009464..0000000 --- a/.theos/obj/arm64/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?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/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differdeleted file mode 100644 index aca6485..0000000 --- a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td b/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td deleted file mode 100644 index 59a979d..0000000 --- a/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/INPRootListController.m.88195b5b.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/arm64e/INPRootListController.m.88195b5b.o b/.theos/obj/arm64e/INPRootListController.m.88195b5b.o Binary files differdeleted file mode 100644 index 643ea85..0000000 --- a/.theos/obj/arm64e/INPRootListController.m.88195b5b.o +++ /dev/null diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index e4c3414..0000000 --- a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/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/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differdeleted file mode 100644 index b4281d0..0000000 --- a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td b/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td deleted file mode 100644 index 3a2210c..0000000 --- a/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.7eedbd7b.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/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/arm64e/Tweak.x.7eedbd7b.o b/.theos/obj/arm64e/Tweak.x.7eedbd7b.o Binary files differdeleted file mode 100644 index 4914409..0000000 --- a/.theos/obj/arm64e/Tweak.x.7eedbd7b.o +++ /dev/null diff --git a/.theos/obj/arm64e/Tweak.x.de53adf6.Td b/.theos/obj/arm64e/Tweak.x.de53adf6.Td deleted file mode 100644 index 30176a3..0000000 --- a/.theos/obj/arm64e/Tweak.x.de53adf6.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.de53adf6.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/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/arm64e/Tweak.x.de53adf6.o b/.theos/obj/arm64e/Tweak.x.de53adf6.o Binary files differdeleted file mode 100644 index a7f2653..0000000 --- a/.theos/obj/arm64e/Tweak.x.de53adf6.o +++ /dev/null diff --git a/.theos/obj/arm64e/Tweak.x.m b/.theos/obj/arm64e/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/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/arm64e/intemperate.dylib b/.theos/obj/arm64e/intemperate.dylib Binary files differdeleted file mode 100755 index d434121..0000000 --- a/.theos/obj/arm64e/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/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/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differdeleted file mode 100644 index deffcb4..0000000 --- a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td deleted file mode 100644 index dc0a9eb..0000000 --- a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.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/armv7/INPRootListController.m.bb4b7f3e.o b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o Binary files differdeleted file mode 100644 index 8dbc44a..0000000 --- a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o +++ /dev/null diff --git a/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td b/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td deleted file mode 100644 index 6baa5c1..0000000 --- a/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/INPRootListController.m.e6c94f53.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/armv7/INPRootListController.m.e6c94f53.o b/.theos/obj/armv7/INPRootListController.m.e6c94f53.o Binary files differdeleted file mode 100644 index b8e6908..0000000 --- a/.theos/obj/armv7/INPRootListController.m.e6c94f53.o +++ /dev/null diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs Binary files differdeleted file mode 100755 index 8642204..0000000 --- a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/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/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differdeleted file mode 100644 index efcd83b..0000000 --- a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs +++ /dev/null diff --git a/.theos/obj/armv7/Tweak.x.9a4267c3.Td b/.theos/obj/armv7/Tweak.x.9a4267c3.Td deleted file mode 100644 index d42ae4c..0000000 --- a/.theos/obj/armv7/Tweak.x.9a4267c3.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.9a4267c3.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/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/armv7/Tweak.x.9a4267c3.o b/.theos/obj/armv7/Tweak.x.9a4267c3.o Binary files differdeleted file mode 100644 index 6182d85..0000000 --- a/.theos/obj/armv7/Tweak.x.9a4267c3.o +++ /dev/null diff --git a/.theos/obj/armv7/Tweak.x.ec83b7ac.Td b/.theos/obj/armv7/Tweak.x.ec83b7ac.Td deleted file mode 100644 index 17439f7..0000000 --- a/.theos/obj/armv7/Tweak.x.ec83b7ac.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.ec83b7ac.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/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/armv7/Tweak.x.ec83b7ac.o b/.theos/obj/armv7/Tweak.x.ec83b7ac.o Binary files differdeleted file mode 100644 index 16ff3e6..0000000 --- a/.theos/obj/armv7/Tweak.x.ec83b7ac.o +++ /dev/null diff --git a/.theos/obj/armv7/Tweak.x.m b/.theos/obj/armv7/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/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/armv7/intemperate.dylib b/.theos/obj/armv7/intemperate.dylib Binary files differdeleted file mode 100755 index e4b8454..0000000 --- a/.theos/obj/armv7/intemperate.dylib +++ /dev/null diff --git a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/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/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differdeleted file mode 100644 index c37b6d9..0000000 --- a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib +++ /dev/null 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 diff --git a/.theos/obj/intemperate.dylib b/.theos/obj/intemperate.dylib Binary files differdeleted file mode 100755 index fa902dc..0000000 --- a/.theos/obj/intemperate.dylib +++ /dev/null diff --git a/.theos/packages/com.5px.intemperate-1.0 b/.theos/packages/com.5px.intemperate-1.0 deleted file mode 100644 index c793025..0000000 --- a/.theos/packages/com.5px.intemperate-1.0 +++ /dev/null @@ -1 +0,0 @@ -7
\ No newline at end of file @@ -19,17 +19,18 @@ static void updatePrefs() { %group latestSyntax %hook SBThermalController - -(void)_setBlocked:(BOOL)arg1 { + UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Intemperate" message:@"Your device attempted to lockout your device due to it's thermal monitoring. Proceed with caution." preferredStyle:UIAlertControllerStyleAlert]; + UIAlertAction *close = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { + }]; + [alert addAction:close]; + [[[UIApplication sharedApplication] keyWindow].rootViewController presentViewController:alert animated:YES completion:nil]; arg1 = NO; %orig(arg1); } -(BOOL)isThermalBlocked { return NO; } --(BOOL)_isBlocked { - return NO; -} -(BOOL)isInSunlight { return NO; } diff --git a/intemperateprefs/INPRootListController.m b/intemperateprefs/INPRootListController.m index 2f29e97..b0221af 100644 --- a/intemperateprefs/INPRootListController.m +++ b/intemperateprefs/INPRootListController.m @@ -19,7 +19,7 @@ posix_spawn(&pid, "/usr/bin/sbreload", NULL, NULL, (char* const*)args, NULL); } -(void)openTwitterDM { - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://twitter.com/messages/compose?recipient_id=974524608949903361&text=%28Please+describe+your+issue+here%29"] options:@{} completionHandler:nil]; + [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://twitter.com/messages/compose?recipient_id=765771568337264641&text=%28Please+describe+your+issue+here%29"] options:@{} completionHandler:nil]; } -(void)openTwitter5px { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://twitter.com/o5pxels"] options:@{} completionHandler:nil]; diff --git a/packages/com.5px.intemperate_1.0_iphoneos-arm.deb b/packages/com.5px.intemperate_1.0_iphoneos-arm.deb Binary files differnew file mode 100644 index 0000000..817565f --- /dev/null +++ b/packages/com.5px.intemperate_1.0_iphoneos-arm.deb |
