diff options
Diffstat (limited to '.theos')
111 files changed, 1556 insertions, 0 deletions
diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control new file mode 100644 index 0000000..6216ed6 --- /dev/null +++ b/.theos/_/DEBIAN/control @@ -0,0 +1,11 @@ +Package: com.5px.intemperate +Name: Intemperate +Pre-Depends: firmware (>= 8.0) +Depends: mobilesubstrate, firmware (>=9.0) +Architecture: iphoneos-arm +Description: The temperature warning no longer exists. +Maintainer: FivePixels +Author: FivePixels +Section: Tweaks +Version: 1.0 +Installed-Size: 344 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib Binary files differnew file mode 100755 index 0000000..62c9ab1 --- /dev/null +++ b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.dylib diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist new file mode 100644 index 0000000..10dc654 --- /dev/null +++ b/.theos/_/Library/MobileSubstrate/DynamicLibraries/intemperate.plist @@ -0,0 +1 @@ +{ Filter = { Bundles = ( "com.apple.springboard" ); }; } diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist new file mode 100644 index 0000000..5775539 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>IntemperatePrefs</string> + <key>CFBundleIdentifier</key> + <string>com.5px.intemperateprefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>INPRootListController</string> +</dict> +</plist> diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist new file mode 100644 index 0000000..3cd8ab6 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/Intemperate.plist @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>items</key> + <array> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Settings</string> + <key>footerText</key> + <string>By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. FivePixels, the developer, is not responsible for any damage caused to your device.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.intemperate</string> + <key>key</key> + <string>isEnabled</string> + <key>label</key> + <string>Enabled</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerText</key> + <string>Perform a respring to apply changes.</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Respring Device</string> + <key>action</key> + <string>respring</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Support</string> + <key>footerText</key> + <string>If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible!</string> + </dict> + <dict> + <key>action</key> + <string>openTwitterDM</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>DM @o5pxels on Twitter</string> + <key>icon</key> + <string>twitter.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Credits</string> + </dict> + <dict> + <key>action</key> + <string>openTwitter5px</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>@o5pxels</string> + <key>footerText</key> + <string>Developer</string> + </dict> + <dict> + <key>action</key> + <string>openGitHub</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>GitHub Source</string> + <key>icon</key> + <string>github.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerAlignment</key> + <integer>1</integer> + <key>footerText</key> + <string>© 2020 FivePixels</string> + </dict> + </array> + <key>title</key> + <string>Intemperate</string> + </dict> +</plist> + + diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..55b04f5 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png Binary files differnew file mode 100644 index 0000000..52b4ba7 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@2x.png diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png Binary files differnew file mode 100644 index 0000000..5509612 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/github@3x.png diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png Binary files differnew file mode 100644 index 0000000..25ce016 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@2x.png diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png Binary files differnew file mode 100644 index 0000000..cf62d0b --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/icon@3x.png diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png Binary files differnew file mode 100644 index 0000000..5fa8892 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@2x.png diff --git a/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png Binary files differnew file mode 100644 index 0000000..9af7a41 --- /dev/null +++ b/.theos/_/Library/PreferenceBundles/IntemperatePrefs.bundle/twitter@3x.png diff --git a/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist b/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist new file mode 100644 index 0000000..269e439 --- /dev/null +++ b/.theos/_/Library/PreferenceLoader/Preferences/IntemperatePrefs.plist @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>entry</key> + <dict> + <key>bundle</key> + <string>IntemperatePrefs</string> + <key>cell</key> + <string>PSLinkCell</string> + <key>detail</key> + <string>INPRootListController</string> + <key>icon</key> + <string>icon.png</string> + <key>isController</key> + <true/> + <key>label</key> + <string>Intemperate</string> + </dict> +</dict> +</plist> diff --git a/.theos/build_session b/.theos/build_session new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/build_session diff --git a/.theos/fakeroot b/.theos/fakeroot new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/fakeroot diff --git a/.theos/last_package b/.theos/last_package new file mode 100644 index 0000000..62f433d --- /dev/null +++ b/.theos/last_package @@ -0,0 +1 @@ +./packages/com.5px.intemperate_1.0_iphoneos-arm.deb diff --git a/.theos/obj/.stamp b/.theos/obj/.stamp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/obj/.stamp diff --git a/.theos/obj/IntemperatePrefs.bundle/Info.plist b/.theos/obj/IntemperatePrefs.bundle/Info.plist new file mode 100644 index 0000000..5775539 --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>IntemperatePrefs</string> + <key>CFBundleIdentifier</key> + <string>com.5px.intemperateprefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>INPRootListController</string> +</dict> +</plist> diff --git a/.theos/obj/IntemperatePrefs.bundle/Intemperate.plist b/.theos/obj/IntemperatePrefs.bundle/Intemperate.plist new file mode 100644 index 0000000..9171454 --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/Intemperate.plist @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>items</key> + <array> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Settings</string> + <key>footerText</key> + <string>By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false /> + <key>defaults</key> + <string>com.5px.intemperate</string> + <key>key</key> + <string>isEnabled</string> + <key>label</key> + <string>Enabled</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerText</key> + <string>Perform a respring to apply all changes.</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Respring Device</string> + <key>action</key> + <string>respring</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Support</string> + <key>footerText</key> + <string>If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible!</string> + </dict> + <dict> + <key>action</key> + <string>openTwitterDM</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>DM @o5pxels on Twitter</string> + <key>icon</key> + <string>twitter.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Credits</string> + </dict> + <dict> + <key>action</key> + <string>openTwitter5px</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>@o5pxels</string> + <key>footerText</key> + <string>Developer</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerAlignment</key> + <integer>1</integer> + <key>footerText</key> + <string>© 2020 FivePixels</string> + </dict> + </array> + <key>title</key> + <string>Intemperate</string> + </dict> +</plist> + + diff --git a/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..e73b1be --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/IntemperatePrefs.bundle/icon@2x.png Binary files differnew file mode 100644 index 0000000..25ce016 --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/icon@2x.png diff --git a/.theos/obj/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/IntemperatePrefs.bundle/icon@3x.png Binary files differnew file mode 100644 index 0000000..cf62d0b --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/icon@3x.png diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png Binary files differnew file mode 100644 index 0000000..5fa8892 --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/twitter@2x.png diff --git a/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png Binary files differnew file mode 100644 index 0000000..9af7a41 --- /dev/null +++ b/.theos/obj/IntemperatePrefs.bundle/twitter@3x.png diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td b/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td new file mode 100644 index 0000000..6e4db3d --- /dev/null +++ b/.theos/obj/arm64/INPRootListController.m.6de8dd48.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/INPRootListController.m.6de8dd48.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/INPRootListController.m.6de8dd48.o b/.theos/obj/arm64/INPRootListController.m.6de8dd48.o Binary files differnew file mode 100644 index 0000000..734207c --- /dev/null +++ b/.theos/obj/arm64/INPRootListController.m.6de8dd48.o diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..02505fb --- /dev/null +++ b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..35bf823 --- /dev/null +++ b/.theos/obj/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.Td b/.theos/obj/arm64/Tweak.x.27fcab7e.Td new file mode 100644 index 0000000..c0d50b5 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.27fcab7e.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.27fcab7e.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.27fcab7e.o b/.theos/obj/arm64/Tweak.x.27fcab7e.o Binary files differnew file mode 100644 index 0000000..8afa051 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.27fcab7e.o diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.Td b/.theos/obj/arm64/Tweak.x.9dc7db80.Td new file mode 100644 index 0000000..14c9251 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.9dc7db80.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.9dc7db80.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.x.9dc7db80.o b/.theos/obj/arm64/Tweak.x.9dc7db80.o Binary files differnew file mode 100644 index 0000000..e1e9bc6 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.9dc7db80.o diff --git a/.theos/obj/arm64/Tweak.x.m b/.theos/obj/arm64/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/arm64/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib Binary files differnew file mode 100755 index 0000000..d009464 --- /dev/null +++ b/.theos/obj/arm64/intemperate.dylib diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..aca6485 --- /dev/null +++ b/.theos/obj/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td b/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td new file mode 100644 index 0000000..59a979d --- /dev/null +++ b/.theos/obj/arm64e/INPRootListController.m.88195b5b.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/INPRootListController.m.88195b5b.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64e/INPRootListController.m.88195b5b.o b/.theos/obj/arm64e/INPRootListController.m.88195b5b.o Binary files differnew file mode 100644 index 0000000..643ea85 --- /dev/null +++ b/.theos/obj/arm64e/INPRootListController.m.88195b5b.o diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..e4c3414 --- /dev/null +++ b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..b4281d0 --- /dev/null +++ b/.theos/obj/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td b/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td new file mode 100644 index 0000000..3a2210c --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.7eedbd7b.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.7eedbd7b.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64e/Tweak.x.7eedbd7b.o b/.theos/obj/arm64e/Tweak.x.7eedbd7b.o Binary files differnew file mode 100644 index 0000000..4914409 --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.7eedbd7b.o diff --git a/.theos/obj/arm64e/Tweak.x.de53adf6.Td b/.theos/obj/arm64e/Tweak.x.de53adf6.Td new file mode 100644 index 0000000..30176a3 --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.de53adf6.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.de53adf6.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64e/Tweak.x.de53adf6.o b/.theos/obj/arm64e/Tweak.x.de53adf6.o Binary files differnew file mode 100644 index 0000000..a7f2653 --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.de53adf6.o diff --git a/.theos/obj/arm64e/Tweak.x.m b/.theos/obj/arm64e/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/arm64e/intemperate.dylib b/.theos/obj/arm64e/intemperate.dylib Binary files differnew file mode 100755 index 0000000..d434121 --- /dev/null +++ b/.theos/obj/arm64e/intemperate.dylib diff --git a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..deffcb4 --- /dev/null +++ b/.theos/obj/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td new file mode 100644 index 0000000..dc0a9eb --- /dev/null +++ b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o Binary files differnew file mode 100644 index 0000000..8dbc44a --- /dev/null +++ b/.theos/obj/armv7/INPRootListController.m.bb4b7f3e.o diff --git a/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td b/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td new file mode 100644 index 0000000..6baa5c1 --- /dev/null +++ b/.theos/obj/armv7/INPRootListController.m.e6c94f53.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/INPRootListController.m.e6c94f53.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/armv7/INPRootListController.m.e6c94f53.o b/.theos/obj/armv7/INPRootListController.m.e6c94f53.o Binary files differnew file mode 100644 index 0000000..b8e6908 --- /dev/null +++ b/.theos/obj/armv7/INPRootListController.m.e6c94f53.o diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..8642204 --- /dev/null +++ b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..efcd83b --- /dev/null +++ b/.theos/obj/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/armv7/Tweak.x.9a4267c3.Td b/.theos/obj/armv7/Tweak.x.9a4267c3.Td new file mode 100644 index 0000000..d42ae4c --- /dev/null +++ b/.theos/obj/armv7/Tweak.x.9a4267c3.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.9a4267c3.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/armv7/Tweak.x.9a4267c3.o b/.theos/obj/armv7/Tweak.x.9a4267c3.o Binary files differnew file mode 100644 index 0000000..6182d85 --- /dev/null +++ b/.theos/obj/armv7/Tweak.x.9a4267c3.o diff --git a/.theos/obj/armv7/Tweak.x.ec83b7ac.Td b/.theos/obj/armv7/Tweak.x.ec83b7ac.Td new file mode 100644 index 0000000..17439f7 --- /dev/null +++ b/.theos/obj/armv7/Tweak.x.ec83b7ac.Td @@ -0,0 +1,20 @@ +/Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.ec83b7ac.o: \ + /Volumes/Development/iOS/Tweaks/intemperate/.theos/obj/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/armv7/Tweak.x.ec83b7ac.o b/.theos/obj/armv7/Tweak.x.ec83b7ac.o Binary files differnew file mode 100644 index 0000000..16ff3e6 --- /dev/null +++ b/.theos/obj/armv7/Tweak.x.ec83b7ac.o diff --git a/.theos/obj/armv7/Tweak.x.m b/.theos/obj/armv7/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/armv7/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/armv7/intemperate.dylib b/.theos/obj/armv7/intemperate.dylib Binary files differnew file mode 100755 index 0000000..e4b8454 --- /dev/null +++ b/.theos/obj/armv7/intemperate.dylib diff --git a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..c37b6d9 --- /dev/null +++ b/.theos/obj/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/debug/.stamp b/.theos/obj/debug/.stamp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/obj/debug/.stamp diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist new file mode 100644 index 0000000..5775539 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>IntemperatePrefs</string> + <key>CFBundleIdentifier</key> + <string>com.5px.intemperateprefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>INPRootListController</string> +</dict> +</plist> diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist b/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist new file mode 100644 index 0000000..3cd8ab6 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/Intemperate.plist @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>items</key> + <array> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Settings</string> + <key>footerText</key> + <string>By enabling this tweak, your device will be running in an unstable state. Using your device above operating temperatures can lead to permanent damage. FivePixels, the developer, is not responsible for any damage caused to your device.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.intemperate</string> + <key>key</key> + <string>isEnabled</string> + <key>label</key> + <string>Enabled</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerText</key> + <string>Perform a respring to apply changes.</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Respring Device</string> + <key>action</key> + <string>respring</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Support</string> + <key>footerText</key> + <string>If you have any issues with this tweak, describe your issue and I'll try to assist you in the best way possible!</string> + </dict> + <dict> + <key>action</key> + <string>openTwitterDM</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>DM @o5pxels on Twitter</string> + <key>icon</key> + <string>twitter.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Credits</string> + </dict> + <dict> + <key>action</key> + <string>openTwitter5px</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>@o5pxels</string> + <key>footerText</key> + <string>Developer</string> + </dict> + <dict> + <key>action</key> + <string>openGitHub</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>GitHub Source</string> + <key>icon</key> + <string>github.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerAlignment</key> + <integer>1</integer> + <key>footerText</key> + <string>© 2020 FivePixels</string> + </dict> + </array> + <key>title</key> + <string>Intemperate</string> + </dict> +</plist> + + diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..55b04f5 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png Binary files differnew file mode 100644 index 0000000..52b4ba7 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/github@2x.png diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png Binary files differnew file mode 100644 index 0000000..5509612 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/github@3x.png diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png Binary files differnew file mode 100644 index 0000000..25ce016 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/icon@2x.png diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png Binary files differnew file mode 100644 index 0000000..cf62d0b --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/icon@3x.png diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png Binary files differnew file mode 100644 index 0000000..5fa8892 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@2x.png diff --git a/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png Binary files differnew file mode 100644 index 0000000..9af7a41 --- /dev/null +++ b/.theos/obj/debug/IntemperatePrefs.bundle/twitter@3x.png diff --git a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td new file mode 100644 index 0000000..0e2cbf3 --- /dev/null +++ b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o Binary files differnew file mode 100644 index 0000000..89af949 --- /dev/null +++ b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..5f22e6f --- /dev/null +++ b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs 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 new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..ef82dbe --- /dev/null +++ b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/debug/arm64/Tweak.x.be724e48.Td b/.theos/obj/debug/arm64/Tweak.x.be724e48.Td new file mode 100644 index 0000000..5970d3c --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.be724e48.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/Tweak.x.be724e48.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.be724e48.o b/.theos/obj/debug/arm64/Tweak.x.be724e48.o Binary files differnew file mode 100644 index 0000000..7edf76e --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.be724e48.o diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/debug/arm64/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib Binary files differnew file mode 100755 index 0000000..0da5f67 --- /dev/null +++ b/.theos/obj/debug/arm64/intemperate.dylib diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..8075baf --- /dev/null +++ b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td new file mode 100644 index 0000000..d5ec3e4 --- /dev/null +++ b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o Binary files differnew file mode 100644 index 0000000..fc096f5 --- /dev/null +++ b/.theos/obj/debug/arm64e/INPRootListController.m.a27985de.o diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..0d5239d --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..62a4206 --- /dev/null +++ b/.theos/obj/debug/arm64e/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td new file mode 100644 index 0000000..f77c458 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o Binary files differnew file mode 100644 index 0000000..824281c --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.03177e5e.o diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/debug/arm64e/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib Binary files differnew file mode 100755 index 0000000..aa61eec --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..24640b9 --- /dev/null +++ b/.theos/obj/debug/arm64e/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td new file mode 100644 index 0000000..3ecc29f --- /dev/null +++ b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o: \ + INPRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o Binary files differnew file mode 100644 index 0000000..31ea960 --- /dev/null +++ b/.theos/obj/debug/armv7/INPRootListController.m.e282f69a.o diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs Binary files differnew file mode 100755 index 0000000..41fe107 --- /dev/null +++ b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs 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 new file mode 100644 index 0000000..ad590d0 --- /dev/null +++ b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.IntemperatePrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs Binary files differnew file mode 100644 index 0000000..956fc94 --- /dev/null +++ b/.theos/obj/debug/armv7/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs diff --git a/.theos/obj/debug/armv7/Tweak.x.df585e52.Td b/.theos/obj/debug/armv7/Tweak.x.df585e52.Td new file mode 100644 index 0000000..247c3f0 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.df585e52.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/Tweak.x.df585e52.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/intemperate/.theos/obj/debug/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.df585e52.o b/.theos/obj/debug/armv7/Tweak.x.df585e52.o Binary files differnew file mode 100644 index 0000000..3e703fd --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.df585e52.o diff --git a/.theos/obj/debug/armv7/Tweak.x.m b/.theos/obj/debug/armv7/Tweak.x.m new file mode 100644 index 0000000..63fecca --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.m @@ -0,0 +1,98 @@ +#line 1 "Tweak.x" +static BOOL isEnabled; + +@interface SBThermalController : NSObject { +} +@property (nonatomic,readonly) long long level; +@property (getter=isInSunlight,nonatomic,readonly) BOOL inSunlight; ++(id)sharedInstance; +-(BOOL)_isBlocked; +-(BOOL)isThermalBlocked; +@end + +static void updatePrefs() { + NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.intemperate.plist"]; + if (prefs) { + isEnabled = [prefs objectForKey:@"isEnabled"] ? [[prefs objectForKey:@"isEnabled"] intValue] : isEnabled; + } +} + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBThermalController; + + +#line 19 "Tweak.x" +static void (*_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$latestSyntax$SBThermalController$_setBlocked$)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL, BOOL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isThermalBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$_isBlocked)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$latestSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$latestSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$latestSyntax$SBThermalController$_setBlocked$(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { + arg1 = NO; + _logos_orig$latestSyntax$SBThermalController$_setBlocked$(self, _cmd, arg1); +} +static BOOL _logos_method$latestSyntax$SBThermalController$isThermalBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$_isBlocked(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static BOOL _logos_method$latestSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return NO; +} +static int _logos_method$latestSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return 0; +} + + + +static void (*_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$previousSyntax$SBThermalController$isInSunlight)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int (*_logos_orig$previousSyntax$SBThermalController$level)(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST, SEL); + +static void _logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static void _logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { +} +static BOOL _logos_method$previousSyntax$SBThermalController$isInSunlight(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$isInSunlight(self, _cmd); + return NO; +} +static int _logos_method$previousSyntax$SBThermalController$level(_LOGOS_SELF_TYPE_NORMAL SBThermalController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + _logos_orig$previousSyntax$SBThermalController$level(self, _cmd); + return 0; +} + + + +static __attribute__((constructor)) void _logosLocalCtor_f1ee81aa(int __unused argc, char __unused **argv, char __unused **envp) { + updatePrefs(); + if (isEnabled) { + float version = [[[UIDevice currentDevice] systemVersion] floatValue]; + if (version >= 10) { + NSLog(@"Intemperate - iOS 10+"); + {Class _logos_class$latestSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(startListeningForThermalEvents), (IMP)&_logos_method$latestSyntax$SBThermalController$startListeningForThermalEvents, (IMP*)&_logos_orig$latestSyntax$SBThermalController$startListeningForThermalEvents);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_setBlocked:), (IMP)&_logos_method$latestSyntax$SBThermalController$_setBlocked$, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_setBlocked$);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isThermalBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$isThermalBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isThermalBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(_isBlocked), (IMP)&_logos_method$latestSyntax$SBThermalController$_isBlocked, (IMP*)&_logos_orig$latestSyntax$SBThermalController$_isBlocked);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$latestSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$latestSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$latestSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$latestSyntax$SBThermalController$level, (IMP*)&_logos_orig$latestSyntax$SBThermalController$level);} + } else if (version >= 8 && version < 10) { + NSLog(@"Intemperate - iOS 8/9"); + {Class _logos_class$previousSyntax$SBThermalController = objc_getClass("SBThermalController"); MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(respondToCurrentThermalCondition), (IMP)&_logos_method$previousSyntax$SBThermalController$respondToCurrentThermalCondition, (IMP*)&_logos_orig$previousSyntax$SBThermalController$respondToCurrentThermalCondition);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(showThermalAlertIfNecessary), (IMP)&_logos_method$previousSyntax$SBThermalController$showThermalAlertIfNecessary, (IMP*)&_logos_orig$previousSyntax$SBThermalController$showThermalAlertIfNecessary);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(isInSunlight), (IMP)&_logos_method$previousSyntax$SBThermalController$isInSunlight, (IMP*)&_logos_orig$previousSyntax$SBThermalController$isInSunlight);MSHookMessageEx(_logos_class$previousSyntax$SBThermalController, @selector(level), (IMP)&_logos_method$previousSyntax$SBThermalController$level, (IMP*)&_logos_orig$previousSyntax$SBThermalController$level);} + } + } + +} diff --git a/.theos/obj/debug/armv7/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib Binary files differnew file mode 100755 index 0000000..5c67e84 --- /dev/null +++ b/.theos/obj/debug/armv7/intemperate.dylib diff --git a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..4459c43 --- /dev/null +++ b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.intemperate.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib Binary files differnew file mode 100644 index 0000000..fdcbaa5 --- /dev/null +++ b/.theos/obj/debug/armv7/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib diff --git a/.theos/obj/debug/intemperate.dylib b/.theos/obj/debug/intemperate.dylib Binary files differnew file mode 100755 index 0000000..62c9ab1 --- /dev/null +++ b/.theos/obj/debug/intemperate.dylib diff --git a/.theos/obj/intemperate.dylib b/.theos/obj/intemperate.dylib Binary files differnew file mode 100755 index 0000000..fa902dc --- /dev/null +++ b/.theos/obj/intemperate.dylib diff --git a/.theos/packages/com.5px.intemperate-1.0 b/.theos/packages/com.5px.intemperate-1.0 new file mode 100644 index 0000000..c793025 --- /dev/null +++ b/.theos/packages/com.5px.intemperate-1.0 @@ -0,0 +1 @@ +7
\ No newline at end of file |
