From a692718a2ae3d46db6c63b68a924f66f671ba004 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Tue, 7 Jul 2020 13:37:24 -0500 Subject: New twitter ID and add alert when blocking begins --- .theos/_/DEBIAN/control | 11 --- .../DynamicLibraries/intemperate.dylib | Bin 152800 -> 0 bytes .../DynamicLibraries/intemperate.plist | 1 - .../IntemperatePrefs.bundle/Info.plist | 24 ----- .../IntemperatePrefs.bundle/Intemperate.plist | 99 --------------------- .../IntemperatePrefs.bundle/IntemperatePrefs | Bin 150800 -> 0 bytes .../IntemperatePrefs.bundle/github@2x.png | Bin 3000 -> 0 bytes .../IntemperatePrefs.bundle/github@3x.png | Bin 4726 -> 0 bytes .../IntemperatePrefs.bundle/icon@2x.png | Bin 1222 -> 0 bytes .../IntemperatePrefs.bundle/icon@3x.png | Bin 2083 -> 0 bytes .../IntemperatePrefs.bundle/twitter@2x.png | Bin 1768 -> 0 bytes .../IntemperatePrefs.bundle/twitter@3x.png | Bin 2747 -> 0 bytes .../Preferences/IntemperatePrefs.plist | 21 ----- .theos/build_session | 0 .theos/fakeroot | 0 .theos/last_package | 1 - .theos/obj/.stamp | 0 .theos/obj/IntemperatePrefs.bundle/Info.plist | 24 ----- .../obj/IntemperatePrefs.bundle/Intemperate.plist | 89 ------------------ .../obj/IntemperatePrefs.bundle/IntemperatePrefs | Bin 149248 -> 0 bytes .theos/obj/IntemperatePrefs.bundle/icon@2x.png | Bin 1222 -> 0 bytes .theos/obj/IntemperatePrefs.bundle/icon@3x.png | Bin 2083 -> 0 bytes .theos/obj/IntemperatePrefs.bundle/twitter@2x.png | Bin 1768 -> 0 bytes .theos/obj/IntemperatePrefs.bundle/twitter@3x.png | Bin 2747 -> 0 bytes .../obj/arm64/INPRootListController.m.6de8dd48.Td | 22 ----- .../obj/arm64/INPRootListController.m.6de8dd48.o | Bin 32444 -> 0 bytes .../arm64/IntemperatePrefs.bundle/IntemperatePrefs | Bin 34372 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 40092 -> 0 bytes .theos/obj/arm64/Tweak.x.27fcab7e.Td | 20 ----- .theos/obj/arm64/Tweak.x.27fcab7e.o | Bin 14888 -> 0 bytes .theos/obj/arm64/Tweak.x.9dc7db80.Td | 20 ----- .theos/obj/arm64/Tweak.x.9dc7db80.o | Bin 15004 -> 0 bytes .theos/obj/arm64/Tweak.x.m | 98 -------------------- .theos/obj/arm64/intemperate.dylib | Bin 33556 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 16070 -> 0 bytes .../obj/arm64e/INPRootListController.m.88195b5b.Td | 22 ----- .../obj/arm64e/INPRootListController.m.88195b5b.o | Bin 32472 -> 0 bytes .../IntemperatePrefs.bundle/IntemperatePrefs | Bin 34200 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 40094 -> 0 bytes .theos/obj/arm64e/Tweak.x.7eedbd7b.Td | 20 ----- .theos/obj/arm64e/Tweak.x.7eedbd7b.o | Bin 14996 -> 0 bytes .theos/obj/arm64e/Tweak.x.de53adf6.Td | 20 ----- .theos/obj/arm64e/Tweak.x.de53adf6.o | Bin 15104 -> 0 bytes .theos/obj/arm64e/Tweak.x.m | 98 -------------------- .theos/obj/arm64e/intemperate.dylib | Bin 33432 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 16073 -> 0 bytes .../obj/armv7/INPRootListController.m.bb4b7f3e.Td | 22 ----- .../obj/armv7/INPRootListController.m.bb4b7f3e.o | Bin 31076 -> 0 bytes .../obj/armv7/INPRootListController.m.e6c94f53.Td | 22 ----- .../obj/armv7/INPRootListController.m.e6c94f53.o | Bin 30516 -> 0 bytes .../armv7/IntemperatePrefs.bundle/IntemperatePrefs | Bin 34300 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 39906 -> 0 bytes .theos/obj/armv7/Tweak.x.9a4267c3.Td | 20 ----- .theos/obj/armv7/Tweak.x.9a4267c3.o | Bin 12780 -> 0 bytes .theos/obj/armv7/Tweak.x.ec83b7ac.Td | 20 ----- .theos/obj/armv7/Tweak.x.ec83b7ac.o | Bin 12892 -> 0 bytes .theos/obj/armv7/Tweak.x.m | 98 -------------------- .theos/obj/armv7/intemperate.dylib | Bin 33504 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15656 -> 0 bytes .theos/obj/debug/.stamp | 0 .../obj/debug/IntemperatePrefs.bundle/Info.plist | 24 ----- .../IntemperatePrefs.bundle/Intemperate.plist | 99 --------------------- .../debug/IntemperatePrefs.bundle/IntemperatePrefs | Bin 150800 -> 0 bytes .../debug/IntemperatePrefs.bundle/github@2x.png | Bin 3000 -> 0 bytes .../debug/IntemperatePrefs.bundle/github@3x.png | Bin 4726 -> 0 bytes .../obj/debug/IntemperatePrefs.bundle/icon@2x.png | Bin 1222 -> 0 bytes .../obj/debug/IntemperatePrefs.bundle/icon@3x.png | Bin 2083 -> 0 bytes .../debug/IntemperatePrefs.bundle/twitter@2x.png | Bin 1768 -> 0 bytes .../debug/IntemperatePrefs.bundle/twitter@3x.png | Bin 2747 -> 0 bytes .../arm64/INPRootListController.m.bedc12ed.Td | 22 ----- .../debug/arm64/INPRootListController.m.bedc12ed.o | Bin 35944 -> 0 bytes .../arm64/IntemperatePrefs.bundle/IntemperatePrefs | Bin 35956 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42858 -> 0 bytes .theos/obj/debug/arm64/Tweak.x.be724e48.Td | 20 ----- .theos/obj/debug/arm64/Tweak.x.be724e48.o | Bin 14740 -> 0 bytes .theos/obj/debug/arm64/Tweak.x.m | 98 -------------------- .theos/obj/debug/arm64/intemperate.dylib | Bin 37900 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15591 -> 0 bytes .../arm64e/INPRootListController.m.a27985de.Td | 22 ----- .../arm64e/INPRootListController.m.a27985de.o | Bin 35968 -> 0 bytes .../IntemperatePrefs.bundle/IntemperatePrefs | Bin 35760 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42859 -> 0 bytes .theos/obj/debug/arm64e/Tweak.x.03177e5e.Td | 20 ----- .theos/obj/debug/arm64e/Tweak.x.03177e5e.o | Bin 14800 -> 0 bytes .theos/obj/debug/arm64e/Tweak.x.m | 98 -------------------- .theos/obj/debug/arm64e/intemperate.dylib | Bin 37744 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15594 -> 0 bytes .../armv7/INPRootListController.m.e282f69a.Td | 22 ----- .../debug/armv7/INPRootListController.m.e282f69a.o | Bin 34772 -> 0 bytes .../armv7/IntemperatePrefs.bundle/IntemperatePrefs | Bin 35804 -> 0 bytes .../IntemperatePrefs.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/IntemperatePrefs | Bin 42838 -> 0 bytes .theos/obj/debug/armv7/Tweak.x.df585e52.Td | 20 ----- .theos/obj/debug/armv7/Tweak.x.df585e52.o | Bin 13408 -> 0 bytes .theos/obj/debug/armv7/Tweak.x.m | 98 -------------------- .theos/obj/debug/armv7/intemperate.dylib | Bin 37516 -> 0 bytes .../intemperate.dylib.dSYM/Contents/Info.plist | 20 ----- .../Contents/Resources/DWARF/intemperate.dylib | Bin 15409 -> 0 bytes .theos/obj/debug/intemperate.dylib | Bin 152800 -> 0 bytes .theos/obj/intemperate.dylib | Bin 148480 -> 0 bytes .theos/packages/com.5px.intemperate-1.0 | 1 - 111 files changed, 1556 deletions(-) delete mode 100644 .theos/_/DEBIAN/control delete mode 100755 .theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib delete mode 100644 .theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist delete mode 100755 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png delete mode 100644 .theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png delete mode 100644 .theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist delete mode 100644 .theos/build_session delete mode 100644 .theos/fakeroot delete mode 100644 .theos/last_package delete mode 100644 .theos/obj/.stamp delete mode 100644 .theos/obj/IntemperatePrefs.bundle/Info.plist delete mode 100644 .theos/obj/IntemperatePrefs.bundle/Intemperate.plist delete mode 100755 .theos/obj/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/IntemperatePrefs.bundle/icon@2x.png delete mode 100644 .theos/obj/IntemperatePrefs.bundle/icon@3x.png delete mode 100644 .theos/obj/IntemperatePrefs.bundle/twitter@2x.png delete mode 100644 .theos/obj/IntemperatePrefs.bundle/twitter@3x.png delete mode 100644 .theos/obj/arm64/INPRootListController.m.6de8dd48.Td delete mode 100644 .theos/obj/arm64/INPRootListController.m.6de8dd48.o delete mode 100755 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/arm64/Tweak.x.27fcab7e.Td delete mode 100644 .theos/obj/arm64/Tweak.x.27fcab7e.o delete mode 100644 .theos/obj/arm64/Tweak.x.9dc7db80.Td delete mode 100644 .theos/obj/arm64/Tweak.x.9dc7db80.o delete mode 100644 .theos/obj/arm64/Tweak.x.m delete mode 100755 .theos/obj/arm64/intemperate.dylib delete mode 100644 .theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/arm64e/INPRootListController.m.88195b5b.Td delete mode 100644 .theos/obj/arm64e/INPRootListController.m.88195b5b.o delete mode 100755 .theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/arm64e/Tweak.x.7eedbd7b.Td delete mode 100644 .theos/obj/arm64e/Tweak.x.7eedbd7b.o delete mode 100644 .theos/obj/arm64e/Tweak.x.de53adf6.Td delete mode 100644 .theos/obj/arm64e/Tweak.x.de53adf6.o delete mode 100644 .theos/obj/arm64e/Tweak.x.m delete mode 100755 .theos/obj/arm64e/intemperate.dylib delete mode 100644 .theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td delete mode 100644 .theos/obj/armv7/INPRootListController.m.bb4b7f3e.o delete mode 100644 .theos/obj/armv7/INPRootListController.m.e6c94f53.Td delete mode 100644 .theos/obj/armv7/INPRootListController.m.e6c94f53.o delete mode 100755 .theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/armv7/Tweak.x.9a4267c3.Td delete mode 100644 .theos/obj/armv7/Tweak.x.9a4267c3.o delete mode 100644 .theos/obj/armv7/Tweak.x.ec83b7ac.Td delete mode 100644 .theos/obj/armv7/Tweak.x.ec83b7ac.o delete mode 100644 .theos/obj/armv7/Tweak.x.m delete mode 100755 .theos/obj/armv7/intemperate.dylib delete mode 100644 .theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/debug/.stamp delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/Info.plist delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist delete mode 100755 .theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/github@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/github@3x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png delete mode 100644 .theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png delete mode 100644 .theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td delete mode 100644 .theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o delete mode 100755 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64/Tweak.x.be724e48.Td delete mode 100644 .theos/obj/debug/arm64/Tweak.x.be724e48.o delete mode 100644 .theos/obj/debug/arm64/Tweak.x.m delete mode 100755 .theos/obj/debug/arm64/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td delete mode 100644 .theos/obj/debug/arm64e/INPRootListController.m.a27985de.o delete mode 100755 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.03177e5e.Td delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.03177e5e.o delete mode 100644 .theos/obj/debug/arm64e/Tweak.x.m delete mode 100755 .theos/obj/debug/arm64e/intemperate.dylib delete mode 100644 .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100644 .theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td delete mode 100644 .theos/obj/debug/armv7/INPRootListController.m.e282f69a.o delete mode 100755 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs delete mode 100644 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs delete mode 100644 .theos/obj/debug/armv7/Tweak.x.df585e52.Td delete mode 100644 .theos/obj/debug/armv7/Tweak.x.df585e52.o delete mode 100644 .theos/obj/debug/armv7/Tweak.x.m delete mode 100755 .theos/obj/debug/armv7/intemperate.dylib delete mode 100644 .theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist delete mode 100644 .theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib delete mode 100755 .theos/obj/debug/intemperate.dylib delete mode 100755 .theos/obj/intemperate.dylib delete mode 100644 .theos/packages/com.5px.intemperate-1.0 (limited to '.theos') 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 deleted file mode 100755 index 62c9ab1..0000000 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - IntemperatePrefs - CFBundleIdentifier - com.5px.intemperateprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - INPRootListController - - diff --git a/.theos/_/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 @@ - - - - - items - - - cell - PSGroupCell - label - Settings - footerText - By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. FivePixels, the developer, is not responsible for any damage caused to your device. - - - cell - PSSwitchCell - default - - defaults - com.5px.intemperate - key - isEnabled - label - Enabled - - - cell - PSGroupCell - footerText - Perform a respring to apply changes. - - - cell - PSButtonCell - label - Respring Device - action - respring - - - cell - PSGroupCell - label - Support - footerText - If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible! - - - action - openTwitterDM - cell - PSButtonCell - label - DM @o5pxels on Twitter - icon - twitter.png - - - cell - PSGroupCell - label - Credits - - - action - openTwitter5px - cell - PSButtonCell - label - @o5pxels - footerText - Developer - - - action - openGitHub - cell - PSButtonCell - label - GitHub Source - icon - github.png - - - cell - PSGroupCell - footerAlignment - 1 - footerText - © 2020 FivePixels - - - title - Intemperate - - - - diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 55b04f5..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png deleted file mode 100644 index 52b4ba7..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png deleted file mode 100644 index 5509612..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png deleted file mode 100644 index 25ce016..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png deleted file mode 100644 index cf62d0b..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png deleted file mode 100644 index 5fa8892..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png deleted file mode 100644 index 9af7a41..0000000 Binary files a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png and /dev/null differ 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 @@ - - - - - entry - - bundle - IntemperatePrefs - cell - PSLinkCell - detail - INPRootListController - icon - icon.png - isController - - label - Intemperate - - - diff --git a/.theos/build_session b/.theos/build_session deleted file mode 100644 index e69de29..0000000 diff --git a/.theos/fakeroot b/.theos/fakeroot deleted file mode 100644 index e69de29..0000000 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 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - IntemperatePrefs - CFBundleIdentifier - com.5px.intemperateprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - INPRootListController - - diff --git a/.theos/obj/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 @@ - - - - - items - - - cell - PSGroupCell - label - Settings - footerText - By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. - - - cell - PSSwitchCell - default - - defaults - com.5px.intemperate - key - isEnabled - label - Enabled - - - cell - PSGroupCell - footerText - Perform a respring to apply all changes. - - - cell - PSButtonCell - label - Respring Device - action - respring - - - cell - PSGroupCell - label - Support - footerText - If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible! - - - action - openTwitterDM - cell - PSButtonCell - label - DM @o5pxels on Twitter - icon - twitter.png - - - cell - PSGroupCell - label - Credits - - - action - openTwitter5px - cell - PSButtonCell - label - @o5pxels - footerText - Developer - - - cell - PSGroupCell - footerAlignment - 1 - footerText - © 2020 FivePixels - - - title - Intemperate - - - - diff --git a/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index e73b1be..0000000 Binary files a/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/IntemperatePrefs.bundle/icon@2x.png deleted file mode 100644 index 25ce016..0000000 Binary files a/.theos/obj/IntemperatePrefs.bundle/icon@2x.png and /dev/null differ diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/IntemperatePrefs.bundle/icon@3x.png deleted file mode 100644 index cf62d0b..0000000 Binary files a/.theos/obj/IntemperatePrefs.bundle/icon@3x.png and /dev/null differ diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png deleted file mode 100644 index 5fa8892..0000000 Binary files a/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png and /dev/null differ diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png deleted file mode 100644 index 9af7a41..0000000 Binary files a/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png and /dev/null differ diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td b/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td deleted file mode 100644 index 6e4db3d..0000000 --- a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/INPRootListController.m.6de8dd48.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o b/.theos/obj/arm64/INPRootListController.m.6de8dd48.o deleted file mode 100644 index 734207c..0000000 Binary files a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o and /dev/null differ diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 02505fb..0000000 Binary files a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs deleted file mode 100644 index 35bf823..0000000 Binary files a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.Td b/.theos/obj/arm64/Tweak.x.27fcab7e.Td deleted file mode 100644 index c0d50b5..0000000 --- a/.theos/obj/arm64/Tweak.x.27fcab7e.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.27fcab7e.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.o b/.theos/obj/arm64/Tweak.x.27fcab7e.o deleted file mode 100644 index 8afa051..0000000 Binary files a/.theos/obj/arm64/Tweak.x.27fcab7e.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.Td b/.theos/obj/arm64/Tweak.x.9dc7db80.Td deleted file mode 100644 index 14c9251..0000000 --- a/.theos/obj/arm64/Tweak.x.9dc7db80.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.9dc7db80.o: \ - /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.o b/.theos/obj/arm64/Tweak.x.9dc7db80.o deleted file mode 100644 index e1e9bc6..0000000 Binary files a/.theos/obj/arm64/Tweak.x.9dc7db80.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.m b/.theos/obj/arm64/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/arm64/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class SBThermalController; - - -#line 19 "Tweak.x" -static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { - arg1 = NO; - _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); -} -static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return 0; -} - - - -static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); - return NO; -} -static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); - return 0; -} - - - -static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { - updatePrefs(); - if (isEnabled) { - float version = [[[UIDevice currentDevice] systemVersion] floatValue]; - if (version >= 10) { - NSLog(@"Intemperate - iOS 10+"); - {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} - } else if (version >= 8 && version < 10) { - NSLog(@"Intemperate - iOS 8/9"); - {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} - } - } - -} diff --git a/.theos/obj/arm64/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib deleted file mode 100755 index d009464..0000000 Binary files a/.theos/obj/arm64/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index aca6485..0000000 Binary files a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ 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 deleted file mode 100644 index 643ea85..0000000 Binary files a/.theos/obj/arm64e/INPRootListController.m.88195b5b.o and /dev/null differ diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index e4c3414..0000000 Binary files a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - 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 deleted file mode 100644 index b4281d0..0000000 Binary files a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ 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 deleted file mode 100644 index 4914409..0000000 Binary files a/.theos/obj/arm64e/Tweak.x.7eedbd7b.o and /dev/null differ 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 deleted file mode 100644 index a7f2653..0000000 Binary files a/.theos/obj/arm64e/Tweak.x.de53adf6.o and /dev/null differ 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 -#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 deleted file mode 100755 index d434121..0000000 Binary files a/.theos/obj/arm64e/intemperate.dylib and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index deffcb4..0000000 Binary files a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ 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 deleted file mode 100644 index 8dbc44a..0000000 Binary files a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o and /dev/null differ 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 deleted file mode 100644 index b8e6908..0000000 Binary files a/.theos/obj/armv7/INPRootListController.m.e6c94f53.o and /dev/null differ diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 8642204..0000000 Binary files a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - 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 deleted file mode 100644 index efcd83b..0000000 Binary files a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ 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 deleted file mode 100644 index 6182d85..0000000 Binary files a/.theos/obj/armv7/Tweak.x.9a4267c3.o and /dev/null differ 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 deleted file mode 100644 index 16ff3e6..0000000 Binary files a/.theos/obj/armv7/Tweak.x.ec83b7ac.o and /dev/null differ 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 -#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 deleted file mode 100755 index e4b8454..0000000 Binary files a/.theos/obj/armv7/intemperate.dylib and /dev/null differ 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 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index c37b6d9..0000000 Binary files a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/.stamp b/.theos/obj/debug/.stamp deleted file mode 100644 index e69de29..0000000 diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist deleted file mode 100644 index 5775539..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - IntemperatePrefs - CFBundleIdentifier - com.5px.intemperateprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - INPRootListController - - diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist deleted file mode 100644 index 3cd8ab6..0000000 --- a/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist +++ /dev/null @@ -1,99 +0,0 @@ - - - - - items - - - cell - PSGroupCell - label - Settings - footerText - By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. FivePixels, the developer, is not responsible for any damage caused to your device. - - - cell - PSSwitchCell - default - - defaults - com.5px.intemperate - key - isEnabled - label - Enabled - - - cell - PSGroupCell - footerText - Perform a respring to apply changes. - - - cell - PSButtonCell - label - Respring Device - action - respring - - - cell - PSGroupCell - label - Support - footerText - If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible! - - - action - openTwitterDM - cell - PSButtonCell - label - DM @o5pxels on Twitter - icon - twitter.png - - - cell - PSGroupCell - label - Credits - - - action - openTwitter5px - cell - PSButtonCell - label - @o5pxels - footerText - Developer - - - action - openGitHub - cell - PSButtonCell - label - GitHub Source - icon - github.png - - - cell - PSGroupCell - footerAlignment - 1 - footerText - © 2020 FivePixels - - - title - Intemperate - - - - diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 55b04f5..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png deleted file mode 100644 index 52b4ba7..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png deleted file mode 100644 index 5509612..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png deleted file mode 100644 index 25ce016..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png deleted file mode 100644 index cf62d0b..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png deleted file mode 100644 index 5fa8892..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png and /dev/null differ diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png deleted file mode 100644 index 9af7a41..0000000 Binary files a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png and /dev/null differ diff --git a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td deleted file mode 100644 index 0e2cbf3..0000000 --- a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o deleted file mode 100644 index 89af949..0000000 Binary files a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o and /dev/null differ diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 5f22e6f..0000000 Binary files a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs deleted file mode 100644 index ef82dbe..0000000 Binary files a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/arm64/Tweak.x.be724e48.Td b/.theos/obj/debug/arm64/Tweak.x.be724e48.Td deleted file mode 100644 index 5970d3c..0000000 --- a/.theos/obj/debug/arm64/Tweak.x.be724e48.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/Tweak.x.be724e48.o: \ - /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.be724e48.o b/.theos/obj/debug/arm64/Tweak.x.be724e48.o deleted file mode 100644 index 7edf76e..0000000 Binary files a/.theos/obj/debug/arm64/Tweak.x.be724e48.o and /dev/null differ diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/arm64/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class SBThermalController; - - -#line 19 "Tweak.x" -static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { - arg1 = NO; - _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); -} -static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return 0; -} - - - -static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); - return NO; -} -static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); - return 0; -} - - - -static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { - updatePrefs(); - if (isEnabled) { - float version = [[[UIDevice currentDevice] systemVersion] floatValue]; - if (version >= 10) { - NSLog(@"Intemperate - iOS 10+"); - {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} - } else if (version >= 8 && version < 10) { - NSLog(@"Intemperate - iOS 8/9"); - {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} - } - } - -} diff --git a/.theos/obj/debug/arm64/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib deleted file mode 100755 index 0da5f67..0000000 Binary files a/.theos/obj/debug/arm64/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index 8075baf..0000000 Binary files a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td deleted file mode 100644 index d5ec3e4..0000000 --- a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o deleted file mode 100644 index fc096f5..0000000 Binary files a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o and /dev/null differ diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 0d5239d..0000000 Binary files a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs deleted file mode 100644 index 62a4206..0000000 Binary files a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td deleted file mode 100644 index f77c458..0000000 --- a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o: \ - /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o deleted file mode 100644 index 824281c..0000000 Binary files a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o and /dev/null differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/arm64e/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class SBThermalController; - - -#line 19 "Tweak.x" -static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { - arg1 = NO; - _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); -} -static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return 0; -} - - - -static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); - return NO; -} -static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); - return 0; -} - - - -static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { - updatePrefs(); - if (isEnabled) { - float version = [[[UIDevice currentDevice] systemVersion] floatValue]; - if (version >= 10) { - NSLog(@"Intemperate - iOS 10+"); - {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} - } else if (version >= 8 && version < 10) { - NSLog(@"Intemperate - iOS 8/9"); - {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} - } - } - -} diff --git a/.theos/obj/debug/arm64e/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib deleted file mode 100755 index aa61eec..0000000 Binary files a/.theos/obj/debug/arm64e/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index 24640b9..0000000 Binary files a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td deleted file mode 100644 index 3ecc29f..0000000 --- a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td +++ /dev/null @@ -1,22 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o: \ - INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ - /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: - -/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o deleted file mode 100644 index 31ea960..0000000 Binary files a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o and /dev/null differ diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs deleted file mode 100755 index 41fe107..0000000 Binary files a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist deleted file mode 100644 index ad590d0..0000000 --- a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.IntemperatePrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs deleted file mode 100644 index 956fc94..0000000 Binary files a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs and /dev/null differ diff --git a/.theos/obj/debug/armv7/Tweak.x.df585e52.Td b/.theos/obj/debug/armv7/Tweak.x.df585e52.Td deleted file mode 100644 index 247c3f0..0000000 --- a/.theos/obj/debug/armv7/Tweak.x.df585e52.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/Tweak.x.df585e52.o: \ - /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/Tweak.x.m \ - /Users/dylanbolger/theos/Prefix.pch \ - /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/dylanbolger/theos/vendor/include/HBLog.h \ - /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/dylanbolger/theos/vendor/include/substrate.h - -/Users/dylanbolger/theos/Prefix.pch: - -/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/dylanbolger/theos/vendor/include/HBLog.h: - -/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.df585e52.o b/.theos/obj/debug/armv7/Tweak.x.df585e52.o deleted file mode 100644 index 3e703fd..0000000 Binary files a/.theos/obj/debug/armv7/Tweak.x.df585e52.o and /dev/null differ diff --git a/.theos/obj/debug/armv7/Tweak.x.m b/.theos/obj/debug/armv7/Tweak.x.m deleted file mode 100644 index 63fecca..0000000 --- a/.theos/obj/debug/armv7/Tweak.x.m +++ /dev/null @@ -1,98 +0,0 @@ -#line 1 "Tweak.x" -static BOOL isEnabled; - -@interface SBThermalController : NSObject { -} -@property (nonatomic,readonly) long long level; -@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; -+(id)sharedInstance; --(BOOL)_isBlocked; --(BOOL)isThermalBlocked; -@end - -static void updatePrefs() { - NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; - if (prefs) { - isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; - } -} - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class SBThermalController; - - -#line 19 "Tweak.x" -static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { - arg1 = NO; - _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); -} -static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return NO; -} -static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return 0; -} - - - -static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); - -static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { -} -static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); - return NO; -} -static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); - return 0; -} - - - -static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { - updatePrefs(); - if (isEnabled) { - float version = [[[UIDevice currentDevice] systemVersion] floatValue]; - if (version >= 10) { - NSLog(@"Intemperate - iOS 10+"); - {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} - } else if (version >= 8 && version < 10) { - NSLog(@"Intemperate - iOS 8/9"); - {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} - } - } - -} diff --git a/.theos/obj/debug/armv7/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib deleted file mode 100755 index 5c67e84..0000000 Binary files a/.theos/obj/debug/armv7/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 4459c43..0000000 --- a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.intemperate.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib deleted file mode 100644 index fdcbaa5..0000000 Binary files a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/debug/intemperate.dylib b/.theos/obj/debug/intemperate.dylib deleted file mode 100755 index 62c9ab1..0000000 Binary files a/.theos/obj/debug/intemperate.dylib and /dev/null differ diff --git a/.theos/obj/intemperate.dylib b/.theos/obj/intemperate.dylib deleted file mode 100755 index fa902dc..0000000 Binary files a/.theos/obj/intemperate.dylib and /dev/null differ 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 -- cgit v1.2.3