summaryrefslogtreecommitdiff
path: root/.theos/obj/debug/arm64
diff options
context:
space:
mode:
Diffstat (limited to '.theos/obj/debug/arm64')
-rw-r--r--.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.Td22
-rw-r--r--.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.obin0 -> 35944 bytes
-rwxr-xr-x.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefsbin0 -> 35956 bytes
-rw-r--r--.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist20
-rw-r--r--.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefsbin0 -> 42858 bytes
-rw-r--r--.theos/obj/debug/arm64/Tweak.x.be724e48.Td20
-rw-r--r--.theos/obj/debug/arm64/Tweak.x.be724e48.obin0 -> 14740 bytes
-rw-r--r--.theos/obj/debug/arm64/Tweak.x.m98
-rwxr-xr-x.theos/obj/debug/arm64/intemperate.dylibbin0 -> 37900 bytes
-rw-r--r--.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist20
-rw-r--r--.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylibbin0 -> 15591 bytes
11 files changed, 180 insertions, 0 deletions
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
new file mode 100644
index 0000000..89af949
--- /dev/null
+++ b/.theos/obj/debug/arm64/INPRootListController.m.bedc12ed.o
Binary files differ
diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs
new file mode 100755
index 0000000..5f22e6f
--- /dev/null
+++ b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs
Binary files differ
diff --git a/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Info.plist
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
new file mode 100644
index 0000000..ef82dbe
--- /dev/null
+++ b/.theos/obj/debug/arm64/IntemperatePrefs.bundle/IntemperatePrefs.dSYM/Contents/Resources/DWARF/IntemperatePrefs
Binary files differ
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
new file mode 100644
index 0000000..7edf76e
--- /dev/null
+++ b/.theos/obj/debug/arm64/Tweak.x.be724e48.o
Binary files differ
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
new file mode 100755
index 0000000..0da5f67
--- /dev/null
+++ b/.theos/obj/debug/arm64/intemperate.dylib
Binary files differ
diff --git a/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Info.plist
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
new file mode 100644
index 0000000..8075baf
--- /dev/null
+++ b/.theos/obj/debug/arm64/intemperate.dylib.dSYM/Contents/Resources/DWARF/intemperate.dylib
Binary files differ