#development
1 messages · Page 159 of 1
thanks, yes that sets the default switch value for all applications
but i basically need to have some apps set on by default and not all
i guess have a default plist with the bundle ids in it?
if that's how it works
but if you'd rather do something programatically, you could modify the array to have specific ids be true until they've been changed
that would also be my approach of doing it, but how would i link ATLApplicationListMultiSelectionController to that plist instead of the preferences one?
false
Is that nexus
fix goddamn drm 
Interpret this Zefram bootloop
can someone test music app theming on flora 1.1.4
you’ll have to build it yourself because i haven’t uploaded the deb yet
the deb in releases for 1.1.4 isn’t up to date
you can theme it via base colors > music tint in advanced mode
but it also works in simple mode
(hopefully, it’s intended to)
@restive ether @grim sparrow Perplexed by the fact that he has the audacity to spout this bs abt queer people when he profited off of donations for Trolltools when 1/3 of that app was literally just a UI for my library https://x.com/sourceloc/status/1769503581747413053?s=46
@rolandWH_dev Except for:
- Pride (the first of the Seven Deadly Sins)
- Inappropriate accompanied by disgusting behaviour
- Pronouns
- And most importantly spreading cancerous ideas to other people.
No, thanks. Such psychos do in fact disturb me and others.
Literally just queer people are bad except when I profit off of them
Except for:
- Pronouns
What the fuck does that even mean everyone has pronouns dumbass
😭
Funniest point bc like what is that point
Skill based issue on your end
the Seven Deadly Sins
False
Misinformation
RIIIIIICKIKKKKKKK
ashamed this guy steps the same great land as i do
not surprised he lives in "piss" city 
Grown ass guy saying “cancerous ideas”
cancerous ideas got me
I don’t know how he’s listing “inappropriate” as a reason when 1/5 of the messages in his server contained the word “cum”
the whole seriousness of that post dissipated completely when i read cancerous ideas im sorry
i started giggling
lol someone should start forwarding his tweets to HR of the company he works at, I'm sure they would love to know what he's getting up to
He has a job?
i’m surprised he has a job lmao
isn’t he like 16
yeah
that’s actually crazy
Actually how
Don't think he reveals who he works for
obviously swift
I’m deadass considering making a LinkedIn account and just searching for random startups to apply to
useless ping @mods
not a terrible idea
ive had crypto people head hunting me
and im just like
can we like... not do that? cause all it would accomplish is to radicalize him further
eww crypto
You'll def fare better than me at getting anything
Try it fr
modern problems require modern solutions 🔥
too much responsibilities on my head rn I’ll wait till summer vacation
Do I just make an acc and immediately start applying cause that just makes me look like a bot acc
real
yeah
do you really think microsoft actually cares enough to keep bots (or fakes) out of linkedin
i mean yeah they have methods for that when you actually register but beyond that point
meh
Just unfollow and disassociate
Anything more and he will just get the satisfaction of annoying people
In this post, I’ll look at CVE-2023-6241, a vulnerability in the Arm Mali GPU that allows a malicious app to gain arbitrary kernel code execution and root on an Android phone. I’ll show how this vulnerability can be exploited even when Memory Tagging Extension (MTE), a powerful mitigation, is enabled on the device.
me waiting for android 9 kernel 4.4.111 root exploit

aaron killed him
someone pinged me in another channel
Aaron where automod rule to automatically hang people who send those 
lemme do that
lmao
The url changes all the time
They’re not dumb
Gir can’t scan markup text either so
instead check if the text fits the format of a domain which doesn't match what the link target is
that's a lot more robust
If you wanna come up with the appropriate foolproof regex then go ahead 
don't use a single regex for that
that would be horrific
does it already have this feature in broken form or what are you saying
Make gir be able to read markdown
you don't need to
ocr for gir when

oh I forgot but you have multiple DOS vulns in gir
from regex

lol
Simply a gir skill issue
real
what is the best way to make preferences
for a tweak
do I use
comet
or something else
idk any other ones
prob yes if the tweak is written in swift
it isn't
you should not use fiore’s json pref that’s all ill say
true
idk how fast parsing plists is but parsing json is just slow by design
nah cuz it should “compile” it down to bplist but it doesn’t
like it’s completely possible to convert json
but it just doesnt
like it’s not meant to be performance better bc it’ll be the same once it’s compiled down, just meant to be easier while writting
no not really
i mean yes
but it’s not very intuitive
you can do that for every specifier
it’s just not as readable
you can always define an NSArray<NSDictionary> and then map it to an array of specifiers
that’s generally what i do for all the flora colors i guess
Yea
That’s bibis thing
array of dictionary of dictionary of array of dictionary of array of array
missed one
array of what
dictionary of dictionary of array of dictionary of array of array
array of what
ermmmm actually you cant have a dictionary of dictionary because it needs both a K and V generic type 🤓👆
K is dictionary, V is dictionary
have fun with a dictionary as a key
K & V are types smh
in theory it would work like this ```objc
NSDictionary *prop1 = @{ @"hello": @"world" };
NSDictionary *prop2 = @{ @"world": @"hello" };
NSDictionary *real = @{
@(.hello != nil): 1,
@(.world != nil): 2
}
real[prop1] // 1
real[prop2] // 2
yes its an NSDictionary<K, V>
Jaba
what the actual hell
how did you manage to make objc look swift-y
icraze rn
I think its uro approved
i KNEW IT
rosie writing rosiecode agan
i kinda assumed this is why isEqual exists
but how does it actually compare internally arent objects only pointers
or does it just compare the values inside
I think each object has its own impl for isEqual
iCraze writing bootlooping code again
me when my isEqual is return true
i have so much to learn
in js objects are passed by reference so if you do
const object1 = { test: 1 };
const object2 = { test: 1 };
object1 === object2; // false
``` itll be false
js my beloved
because even though theyre technically the same object theyre under a different reference so the equality fails
you can use objects as keys
only in js maps
because apple says it should exist from 13 and up
objects can only be strings numbers or symbols
Ewwww js
It makes me want to jump out of the window
tbf that's a floating point quirk
maps helped for this
it is not included by default until 15.0
add 0.1 and 0.2 on any language other than lua
you have to embed the dylib in your app
that's stupid
can I manually embed it in an app store app
yeah its an xcode thing
set target to <15.0 and include code that depends on concurrency
it auto includes it
it supports as low as ios 9
how do I embed it in the app store app
building the app does
silly type conversion + floating point math
...
they targeted 16.0
xcode auto includes libswift_Concurrency.dylib
but it's the only missing dependency 
oh ok gotcha
might use some 16.0+ swift things then
there was AVFAudio but I just upgraded to 14.8
because it was introduced in 14.5
yes
I was on 14.3
what r u trying to get working
saturn
what dat
it's like a scheduling app
for students
Saturn helps you manage your time so you can spend it doing things you love with the people who matter most. See what friends are doing in real-time, chat with them, organize events, and share schedules all in one place.
■ The first calendar built around your classes, clubs, teams, and friends’ sch…
then c rounds it
I mean
I guess I don't need it
hopefully google apps work at least
those all depended on AVFAudio
I mean I also upgraded to 14.8 because I didn't realize lossless audio for apple music was only introduced in 14.6 lol
goddammit also libswift_concurrency
there's no like
libswift_concurrency fixer tweak lol
@slim bramble ```c
#include <stdio.h>
int main() {
double res = 0.1 + 0.2;
printf("%.17lf", res); // 0.30000000000000004
return 0;
}
#include <stdio.h>
int main() {
printf("%2.1f", (0.1 + 0.2)); // 0.3
}
lol ofc its only gonna be 0.3 if you dont show all the decimal places
the printf literally rounds to 1dp
woooo nice
Do you even have a portfolio ?
tweak isn't finished yet though, I just applied in advance so that I could release as soon as I finish testing
wasn't expecting them to accept same day lol
I just linked my github profile, that's proof enough of my experience
fr
I'd love to apply and link my chariz tweak lmfao
apparantly he got notified that i tried to activate 16player without paying 
he knows
ok
do any of y'all have carplay simulator working
for me it just segfaults
not sure why lol
oh yeah it does the same thing for me
it only works with a simulator iPhone
i hate xcode simulator
it runs on the macOS kernel smh
you can forget doing any security research or kernel debugging
Just plug phone into Mac and kaboom
for CarPlay ?
about to try CarPlay Simulator with Xcode 14
fuck you too apple
I just tried that
it gave me this
xcode additional tools
lets you connect with real iphone
grabbing my mac rn
we ball
can you like emulate T2 on hackintosh lol
Ye @visual meadow did it
i hate T2
got two icloud locked macs in my shop
such beautiful machines
no
damn it
Just bypass it 
but T2 ruined it 
there are hardly any T2 bypasses on the market
like none
zero
lemme try an even older version of carplay simulator
nada
it only goes down to Xcode 14
there's that one checkm8 one but it doesn't persist on hard reset
damn it apple
and it's £100
Just message the OG owner Fr
bro thinks we didn't try that
my boss emailed the guy a million times
L
I guess you're my tester
bro bought the disocrd cat ears
who says I bought them
Try carbridge
iOS 17.0
skill issue
iOS 14 app support 💀💀
damn no carplay simulator for iOS 12
?
it's so easy to download unsupported apps for ios 14
ios 14 app support is fine
y'all are just dumb 
I'm on ios 14
real
libswift_concurrency

i mean not really but you can just use IPAranger/apple id trick
iPad kid
libswift_concurrency

swift 5.5 moment
wait is that why paypal doesn't work on ios 14
it downloads then hangs then the download resets
idk why
well libswift_concurrency can be injected into an app
it supports ios 14
just not included by default
hm
lol
YouTube is typically a very poor source of information and should be avoided. Many jailbreak YouTubers promote piracy, outdated tweaks, or just flat out fake jailbreaks. Reliable sources: iOS Guide, r/jailbreak Wiki, Apple Database and The Apple Wiki.
?
huh
mods snipe
who was that
lier
basically i was just checking what the command does
since it's in mastermike's username for some reason
what
this only loads when i click on it
anyways carplay simulator does not work on iOS 12
blud spawned in
I literally checked the channel right as you said that
we were talking about the GIR command in your username

lol
!t yt
Hey @torn cloud, have a look at this!
YouTube is typically a very poor source of information and should be avoided. Many jailbreak YouTubers promote piracy, outdated tweaks, or just flat out fake jailbreaks. Reliable sources: iOS Guide, r/jailbreak Wiki, Apple Database and The Apple Wiki.

@velvet path why is this in your username anyway
guys I hate that I have to make preferences with swift
guess I need a real car to try out carplay on iOS 12
it won't download anything new unless it needs to download anything new
oh
(for it to at least look appealing)
because this species called "humans" love shilling trash sources
anyways this is #development
i love humans
then you shall perish.
fr
Hi alfie
Hello
@velvet path fix wen !?
U can make it look pretty good with objc too but it takes a lot longer and more likely to have small issues
I’m saving that one lol
yeah
I had to learn that the hard way lol
Spent countless hours trying to fix stupid shit all cuz I wanted it to look good
ok well tbf I want my tweak to be super customizable at it will have like custom image pickers and stuff
that'd be too difficult in objc
Keep ‘em coming Alfie lol
just set all of the images to https://tenor.com/view/kiwi-gif-21403756
and make it where it can't be changed

I made my own date and time picker just cuz I couldn’t get the apple one to work properly and that was not a fun task to do in objc
Eventually I got it to work well but it was like not worth the time I spent on it whatsoever
I’m not great with UI either
for now I really just need prefs for debugging purposes
so I can manually trigger events
I also don't know swiftUI
I can use UIKit a little
that's still pretty good
Thx
I made it so it has depends too so like depending on whether certain options are enabled, I can show or hide additional things
hm
Damn u cookin Alfie lmfao
Supporting my follow honorary orange names ✊
goodnight alfie cg dev
smh how would i get the task port without getting fucked over
🫡
i can't think of anything else to use apart from tfp0
Task port of what
another program
Call task_for_pid?
Devs don’t sleep, not like I would know tho
that would work???
one weird trick
Yes you’re wrong, why would you even bother !
call task_for_pid
i thought task_for_pid is extremely limited in most recent iterations of macos/ios
Assuming:
- you have
task_for_pid-allowentitlement - you aren’t trying to get tfp0
why do you even need a task port for smth
What’s the context
Less time sleeping = more time coding to prove that I’m an orangename and still get denied
inutt 2
Use modmail to request dev role !
womp womp
No, old screenshot
uh so the host port is obtained using host_get_host_port()
then task_for_pid is called with the host port, the process ID obtained using getpid(), and a pointer to a variable (task_port) where the task port will be stored.
should i just give you the code?
I mean why are you getting the task port if another process
February 19th
Like, what’s the project
threaten modmail to get developer role
i'm just practising arm assembely
I see
Yes way
Good luck then lol
@radiant idol you gotta see this
L
Where’s your dev role
See, Aaron doesn’t like me
DTCalabro deserves it more than anyone else atp
no i mean it's a L aaron rejected it
I don't feel like fucking with UI
Bro is the last white name to be a dopamine 1 AND 2 tester
can I just design it in a graphical design tool
anyway i'm gonna wrap up
he was?
Yeah
True
crazy
Still am
Now go and test TrollInstallerX 
can vouch
We need JUSTICE
SwiftUI made building user interfaces for iOS apps the easiest it has ever been.
And yet, you have to spend most of your time on boilerplate code that is always the same.
Most apps use the same components: tabbed and drill-down navigation, modal presentation, and lists. So, you have to write the…
no swiftui
I don't really have a choice
I got my maths homework to go do still remember
Still working on it
Math for you
I started trigonometry today
Welcome to hell
lmao
wow thats so fancy with embeds
Correction, meth

dx/dy e
dy/dx clear
integrate dn
wow
I just found the best website ever
you input a prompt and it makes swift UI for you
and it's fucking good?!
Time for a new TrollInstallerX UI
like it just generated this for me
import SwiftUI
struct ContentView: View {
@State private var selectedOption: String?
@State private var isDebugMenuPresented = false
private let options = ["Tornado", "Light rain"]
var body: some View {
NavigationView {
VStack {
Button("Open Debug Menu") {
isDebugMenuPresented = true
}
.padding()
.background(Color.blue)
.foregroundColor(.white)
.cornerRadius(8)
}
.sheet(isPresented: $isDebugMenuPresented) {
DebugMenuView(selectedOption: $selectedOption, options: options)
}
.navigationTitle("Preferences")
}
}
}
struct DebugMenuView: View {
@Binding var selectedOption: String?
let options: [String]
var body: some View {
VStack {
Picker("Select an option", selection: $selectedOption) {
ForEach(options, id: \.self) { option in
Text(option).tag(option as String?)
}
}
.pickerStyle(MenuPickerStyle())
.padding()
Button("Trigger") {
// Trigger action based on selectedOption
}
.padding()
.background(Color.blue)
.foregroundColor(.white)
.cornerRadius(8)
}
.padding()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
it even has a simulator built in
and it's all completely free
?!!
how is it so good

they disabled settings on there
trolled
nevermind I'm just a little dumb
wow they're using Mac mini (2023) with M2 Pro for these simulators
Damn, nice find
yeah lol
say gex
gex
Hi all, what would be the best way to get to see my computer's screen on my iphone?
cooking
cringe
shut up night wind
literally no you
no sw*ft
fr
@radiant idol how do I respring device
from code
kill springboard
look at Bolders Reborn src code
k
I mean you can
cumcraze
https://er.run/blackhole (has remote control) 
if you're on macOS you can just airplay or use quicktime to view tho
?
Isn't that just a warning
pretty sure every tweak gets this logged
oh
Yeah, thats a common log
ah
Just saw it the other day myself lol
how do i call a method after a CABasicAnimation runs ?
been looking on stack of and chat gpt and they kinda said same thing but its jus not working
try that
the deleget stuff, alr tried that
so this one ?
theres an answr with deleget
how does it like know tho
@indigo peak thanks it worked sorta, i jus gota fix my logic
(ik corneres broken)
sandbox profiles fr got the worse syntax
Oh for fucks sake
I'm uninstalling xcode this is ridiculous
30gb for making shitty iOS apps im done
skipping to the next song should automatically start playing
unless that’s an option in prefs
but normally if you skip it auto plays
They’re only shitty if you make them shitty 
it’s not a choice for me

All good jailbreak developers can’t design a UI
It’s universal truth
i chat gpted my self into a decent design lol
@granite frigate mfw I’m about to leave for school and realise I haven’t charged my Mac
m1 will last its chill
oh so an hour
- it was paused 2) it’s Apple Music so it like doenst let u play while screen recording
"if you're on macOS you can just airplay or use quicktime to view tho". It's possible to see my computer's screen on iphone with Quicktime?
If yes how?
please
yes
open QuickTime player and once it opens go up to the menu bar at the top, click file and start new movie recording. then in the drop down menu next to the record button you should see your phones name under screen, click that and wait a few seconds and it should show you your phone’s display
you can’t control the device through there though
@whitetailani
@frail cedar
Arghhh
yup ios 15.0+
i know i meant that it unpauses when you skip normally
no it's part of an app store app lol
google photos
also
"wrong implementation for column-style UISplitViewController support"
what do I do about this lol
oh I got it to work
it didn't like NavigationView
stupid question, where does theos stick the output? I'm just trying to compile the beginning tool code
built object files are in .theos, or just use make package
what if I just want the compiled binary, pretty much as if I ran clang input output?
make package and unzip it or find it in the .theos folder after running make, i dont think theres some easier way save for invoking clang manually
this feels like learning how to use C all over again
at least I got the code I needed working, might actually try and do something useful
i mean you could just make clean stage and it will build and place the files in the staging dir
by default the staging dir is ./.theos/_
that would have worked beautifully
debian packages are tar archives with various forms of compression support but yeah i get the point
how do most people actually develop stuff for iOS without a mac? I'm just sshed in and trying to use my phone like a standard linux box, but everything's just a little laggy
a good chunk of that latency could be coming from the fact that the connection from my linux box and phone are connected over wireguard hosted on a vps, but it isn't this bad when i'm using the wireguard connection to ssh into my homelab linux server
most people developing iOS stuff is either using a mac or macOS vm
at this point it's not exactly feasible to use linux to build because we don't have a linker for the new abi
forward the ssh port from the phone over USB using iproxy
i forgot my cable in my dorm
well, just make sure the device isn't sleeping because network stuff gets kinda throttled when it does
which of the MacOS under quemu projects would lend itself best to being run over vnc or x11 forwarding from a mostly headless linux server?
that probably would have done it, my phone was in my pocket the whole time
i don't think any of them really configure for that out of the box
but i mean you could still just launch qemu on whatever display you wish from the command line
though vnc is enabled by default for qemu i believe
my recommendation would be osx-kvm
once it's all setup though, ideally you'd run the vm headless with autologin and just ssh
Would it be possible to do something like X11 forwarding for individual apps in the osx kvm?
you'd need vm software with some kind of integration for the macOS windowserver
which isn't a thing on linux, especially with kvm
but if you mean the other way around (linux applications displayed in macos), there's xquartz
so no way to install a x11 server on macOS
https://www.xquartz.org/
that's your server
so I could ssh into a vm with XQuartz forwarding, and it wold behave just as if it were a proper x11 forwarding session?
xquartz it's just an implementation of the x window server on macOS
meaning you can have X clients running on Quartz (macOS window server)
this would only be useful if you either
- have a macOS app that runs in X
- or want to have a client running from linux to display within the VM
ah, ok
I'm struggling alot with ui
Classic
swiftui is okay
real
L
So I'm trying to get into making my own tweaks and found Orion and I've been following this guide to try and change the time in the status bar
https://blog.sourceloc.net/ios-14-tweak-development-beginner-tutorial/
My issue is after installing the deb and restarting SpringBoard nothing changes. What could I have potentially missed? I'm on 16.6 beta on Dopamine.
This is the interface
@interface _UIStatusBarStringView : UILabel
@end```
and this is the hook
import Orion
import StatusTimeFormatterC
class StatusBarTimeHook: ClassHook<_UIStatusBarStringView> {
func setText(_ text: String) {
orig.setText("Hello world!")
}
}
(If this should go in [#969343289641828382](/guild/349243932447604736/channel/969343289641828382/) I'll move it there)
no lol this is definitely a #development issue
#969343289641828382 is more for tech support iirc
Rad
tbh there’s no reason why that shouldn’t work
maybe try hooking the getter instead of the setter
What does a getter look like in obj-c
ah
so literally just make it orig.text instead
not quite, you would return “Hello World!”
So completely remove the orig line?
in objc
@interface _UIStatusBarStringView : UILabel
@end
%hook _UIStatusBarStringView
- (NSString *)text {
return “Hello World!”;
}
%end
This is in swift though
orig is the original implementation
Right
you don’t need orig if you’re just returning a custom string
equivalent to this in objc
@interface _UIStatusBarStringView : UILabel
@end
%hook _UIStatusBarStringView
- (NSString *)text {
return %orig;
}
%end
class StuatsBarStringViewHook: ClassHook<_UIStatusBarStringView> {
func text() -> String {
return "Hello, world"
}
}
bear in mind i’m typing this on phone it might be wrong
yeah that’s what i meant
That makes more sense
@tepid olive when you hook something you're changing how a function works
essentially replacing the function
orig is the original, un-hooked version of the function
^^^
in Orion (Swift), you do orig.whatever, ie, orig.text(), in Objective-C, it's just %orig;
This also does not work
? at runtime or at buildtime?
class StuatsBarStringViewHook: ClassHook<_UIStatusBarStringView> {
func setText(_ str) {
orig.setText("Hello, world")
}
}
Is there a way to check if it's actually running
Could I use the console on my mac to check it or download some app for it
NSLog("[Tweak name] etc")
You can use Console.app on macOS or you can use Antoine
in this case Console.app would be preferrable
I'm guessing this can go above the class in my main file?
no this goes in the setText method
because that's what is running?
Correct
Ah
Not seeing it show up in the console
Filtered it by the SpringBoard process
So it's just not running?
yes
Would that mean something is wrong with the hook then
do you have an arm64e slice in your binary?
drop your Makefile
ARCHS = arm64 arm64e
THEOS_PACKAGE_SCHEME=rootless
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = StatusTimeFormatter
StatusTimeFormatter_FILES = $(shell find Sources/StatusTimeFormatter -name '*.swift') $(shell find Sources/StatusTimeFormatterC -name '*.m' -o -name '*.c' -o -name '*.mm' -o -name '*.cpp')
StatusTimeFormatter_SWIFTFLAGS = -ISources/StatusTimeFormatterC/include
StatusTimeFormatter_CFLAGS = -fobjc-arc -ISources/StatusTimeFormatterC/include
include $(THEOS_MAKE_PATH)/tweak.mk
uhm
something looks off with the TARGET
what would something similar be
depends on what you want your target to be
and whether you're using a patched SDK
if you're compiling for rootless only rn just go with what i provided above
Ok
this is mah makefile
SHELL := /bin/bash
THEOS_PACKAGE_SCHEME = rootless
ifdef ROOTFUL
$(shell test -f controlrootful && mv control controlrootless)
$(shell test -f controlrootful && mv controlrootful control)
THEOS_PACKAGE_SCHEME = rootful
else
$(shell test -f controlrootless && mv control controlrootful)
$(shell test -f controlrootless && mv controlrootless control)
endif
TWEAK_NAME = WeatherWhirl
WeatherWhirl_FILES = Tweak.m WeatherHandler.m HomeScreenView.m CloudView.m RainViewController.m Preferences.m
WeatherWhirl_CFLAGS = -fobjc-arc -Wno-deprecated-declarations -Wno-unused-but-set-variable
WeatherWhirl_EXTRA_FRAMEWORKS = FLAnimatedImage
ifdef ROOTFUL
WeatherWhirl_LDFLAGS += -rpath /Library/Frameworks
endif
ifndef FORSIM
TARGET := iphone:clang:16.5:15.0
else
TARGET = simulator:latest:15.0
ARCHS = x86_64
WeatherWhirl_FRAMEWORKS := CydiaSubstrate
endif
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/tweak.mk
SUBPROJECTS += weatherwhirlprefs
include $(THEOS_MAKE_PATH)/aggregate.mk
why no indents 
I don't like whitespace


mods can we ban this user
goddammit
Yeeesh
Progress has been made
I'm so good at finding issues
god dammit I hate kfd
I have tether downgrade
sometimes with taurine it panics
and then I have to retether boot
which is harder than it sounds trust
Holy shit it works
Took an unbelievable amount of time 😄
welcome to the club
Does this mean I'm ready to jailbreak iOS 17?
no lol
So my end goal is to create a cc module to respring
How much hair pulling does that entail
not too much
I think there's a lib for adding cc modules
and Cephei has a respring function
CCsupport
(Cephei is a tweak lib)
or is that something else
I just wanted to make my own
nono Cephei isn't a tweak
It's a lib
it's a library to help tweak devs lol
ye
So now I get to learn how to use libs?
cephei is integrated into theos
I think
Incredible
don't quote me on it
So not worth skipping my environmental science class for this
it is included yes
Awesome
the swift experience
I appreciate the help everyone. I'm going to go grab dinner and get some homework done lol
fr
vcam code leak!!
void get_memory(void) {
@autoreleasepool {
struct task_basic_info info;
mach_msg_type_number_t size = TASK_BASIC_INFO_COUNT;
task_info(mach_task_self(), TASK_BASIC_INFO, (task_info_t)&info, &size);
NSLog(@"memory: %f MB", ((CGFloat)info.resident_size / 1048576));
}
}
I thought that learning C++ would make the tranisition to obj-c easier and it's still kind of a headache
code leak
yeah, the code leaks
uh not anymore actually
WeatherWhirl code leak!!! `

it's just preferences UI
i fixed the memory leak i was having
some of the code ever
im 90% sure the reason i was leaking was i forgot to CFRelease smth
I don't fucking know any swift
then why use it
is this worth it
ask it to rewrite in objc 😭
for a dead game
swiftui is simpler for an AI to understand though
shit AI if it cant understand objc
How is it dead?
bing chat 
banger game
not my fault you can't shoot
@serene hawk using anouk and I can’t open my recently deleted or hidden folder when turning the tweak on
Solution: use Jade
Although I do own both tbf
Which game is this
yeah
Is that Akara maybe
Oh right
delete it then 
South Korean*
close enough
function differentiate(polynomial: string | null, variable = 'x') {
if (!polynomial) return null;
if (!isNaN(+polynomial)) return '0';
const terms = polynomial.replace(/[ ]/g, '').split(/(?=[+-])/g).filter(x => x.includes(variable));
const parsedParts = terms.map(term => {
const [coefficient, power] = term.split(variable);
if (!power) return `${coefficient}`
const parsedPower = power.replace('^', '');
const parsedCoefficient = ['', '+', '-'].includes(coefficient) ? `${coefficient}1` : coefficient;
const newCoefficient = parseInt(parsedCoefficient) * parseInt(parsedPower);
const newPower = parseInt(parsedPower) - 1;
const signedCoefficient = `${newCoefficient > 0 ? '+' : ''}${newCoefficient}`;
switch (newPower) {
case 0:
return `${signedCoefficient}`;
case 1:
return `${signedCoefficient}${variable}`;
default:
return `${signedCoefficient}${variable}^${newPower}`
}
})
const result = parsedParts.join('');
if (result.startsWith('+')) {
return result.replace('+', '');
}
return result;
}
power rule in 35 loc
🙏
Ewwww Javascr*ipt

does it work with 1.0.4
New hatred: async Swift
tbh all Swift should be async so that way I can run away while its waiting
New hatred: Swift
old news
also
Genuinely unusable rn
the best 5.5 feature
you might be the first person to bother using it that’s probably why

that reference might be older than you
that hurts.

asynchronous kernel patching sounds like race condition hell if you ask me
Based
tbf objc does have async
with like dispatch_async
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); lol
Have fun
probably somewhere
I can’t have Swift in this project because it’s gotta support 15.0b1 
🧐
sounds like a feature not a bug
So I want to add the seconds to the time in the status bar, but it only updates every minute. Is there a way to get the status bar to update every second or is that a bad idea
based
usually updating things every second is a bad idea but for what you're doing, it makes sense
Missing anyone ?(16Player like contributions page thing)
you forgot to add me
Maybe remove iCraze idk
definitely remove capt
How should I go about that
tired so I can't think of the correct way of doing this, but uh
hold on
I might have something to do with this in Jade's code
cant u do sm like timeout{ update;} ?
Good idea
@sonic totem you want to be in the contributors ?
Bro gonna dig jade’s code
For what 
The funnies
Nah
In dms
Just like I wouldn’t credit you for TrollStore
😭
Taking that personally
@implementation XXXXX {
NSDateFormatter *formatter
// ...
}
- (instancetype)init {
self = [super init];
if (self) {
formatter = [[NSDateFormatter alloc] init];
formatter.locale = NSLocale.autoupdatingCurrentLocale;
[formatter setLocalizedDateFormatFromTemplate:@"Jmmss"]; // w/ seconds
// init label or ig you can modify the stock one
}
return self;
}
- (void)updateTime {
if (shouldUpdate) {
NSString *string = [formatter stringFromDate:[NSDate date]];
timeLabel.text = string;
__weak typeof(self) weakSelf = self;
double delayInSeconds = 1; // every second
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
[weakSelf updateTime];
});
}
}
@end
something like that but obviously you'd need to make this a hook instead of a new class
XXXX
Honestly
Maybe I should just start using obj-c
for tweaks, objc is better
@radiant idol thoughts?
idk
😄
My GitHub

i said anyone not anything
cgrectoop
ida 8.3 cracked
clearly missing me (I annoyed you)


