#development
1 messages · Page 161 of 1
6 years of work experience with qualifications and im a Bakery Stocker
Not even the Baker
Just the Stocker
That shit just pissed me off im getting a beer
mad annoying drink to that
i’m with you on that brother
the job market is cooked
Just realized this is jb dev not tweak dev…
How can I call a method in another app? Im using orion and targeting ios 16+. Im trying to add another button to _UICalloutBar (which is the generic system copy/paste/select menu) with functionality from another app.
Then nvm 
If it was Baker I wouldnt even be that pissed
I literally have cooking and baking experience
Been working that basically forever
mach_msg on top tho
@radiant idol what was that thing u told bibi ab not running drm on like the main thread or sm
he was trying to do a network call on the main thread
ok so dont do that
yes
and doing this does that? objc dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ (DRMcall/code) }
yes
ok, bc he has it like the UIAlerts are ran on on the main thread and that like that, is it needed to have the alerts on the main thread? (bibi asleep rn)
all UI shit needs to be on the main thread yes
how do i get dyld shared cache dylibs plzzz
will it work on windows
does it need an ipsw?
how do i get that
i have ipsw installed
wsl is probably ideal
a big ole dmg file?
gorn
Think so
ooh
I have a locked iPhone 7 at the shop I work at
let me ask my boss
I think it only supports A9
A10 support will come at some point I think
Reverso Context
Btw does anyone know of any open source Orion tweaks i could look at to learn?
Very limited amount on github
Ur the man
Is there a way to capture network traffic on a jailbroken iPhone ? Or even better - do that for a specific app ?
IOS 16.0.2 if that helps
Sort of yes. The easy way to view Network History is to use flex via Menu -> Network History (at the top)
Yes. You can either use VolumeFLEX or this: https://github.com/PoomSmart/FLEXing
Which app particularly
Our capitals public transport ticket app. It just looks garbage and I wanted to see if there’s a way to maybe exploit it.
Cause I doubt it’s secure under the hood
hmm you could always mitm ig
yes
you may need to install https://github.com/NyaMisty/ssl-kill-switch3
note that this is half broken for me
be careful
it kept stalling daemons and i had to boot into palera1n safe mode to get rid of it
lol really? worked fine for me on dopamine, just spinlocked more often bc of this ig
Jesus i underestimated how damn tedious it is to hook functions in private apps…
if you need help just ask in here
tomorrow afternoon i'll be open sourcing one
make spm for setting up theos isnt doing anything for me... anyone get it to work that can help?
I'm trying to finish up rewriting the tweak I made in swift in obj-c and this is the last function I have to rewrite
-(void)setTextColor:(NSString *)textColor {
if (isDateLabel([text containsString:""] )) {
setTextColor("yellow");
} else {
setTextColor(textColor);
}
}```
I'm attemping to change the color of the status bar
Here is the entire project
-(void)setText:(NSString *)text {
if ([text containsString:@":"] ){
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateStyle = NSDateFormatterMediumStyle;
dateFormatter.timeStyle = NSDateFormatterNoStyle;
NSDate *date = [NSDate date];
// US English Locale (en_US)
dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
%orig([dateFormatter stringFromDate:date]); //Today's date
} else {
%orig;
}
}
-(void)setTextColor:(NSString *)textColor {
if (isDateLabel([textColor containsString:@""] )) {
setTextColor("yellow");
} else {
setTextColor(textColor);
}
}```
What's the current state of Asahi?
I found a ***really *** good deal on a M2 air on FB marketplace, but macOS infuriates me, but I'd also like to be able to build iOS apps without doing gymnastics to get stuff built. Also, battery life seems like it would be nice to have.
Would you consider Asahi daily-drivable?
tbh, I just need the jetBrains stuff, a terminal, firefox, and notepad++ for 90% of what I do, so I guess that if those are reliable, i'll be good to go
pretty good for the most part, driver is missing hardware video decoding/encoding but they do have opengl 3.1 compliance, for 2d shit like that y ou should be pretty well off
not ideal but you decide if thats worthy of being dailyable
that sounds relatively workable for most tasks
and there's always the option of pulling out my gaming laptop if I need to do something that isn't supported on asahi
How can i "diff" xnu/ios versions
Like is the xnu on github from the latest ios ?
And how can i access older versions
Sorry for stupid ass questions google is useless
@sonic totem i saw u commented something like u noticed differences in coretrust while "diffing" thats pretty much what i want to do too
Mooner
It’s pretty simple so it should be clear what’s happening
you can’t pass in a string iirc, instead pass in [UIColor yellowColor]
oh wait nvm
that takes in an nsstring i see
Yeah
I’m taking a break for now to get some homework done cause i skipped all my classes today
I’m gonna look through some open source stuff to try and find a solution
uhm so guys
is it possible to force link with a dylib that doesn't have an arm64e slice
What if you just hex edit the start to switch to arm64e
Yeah
doesn’t arm64e have backwards compatibility with arm64
yeah but ld refuses to link
building for iOS-arm64e but attempting to link with file built for iOS-arm64
lol
yup @visual meadow that worked thanks
ok im failing to even setup the theos/orion swift toolchain. after following all the isntructions, I keep getting error while loading shared libraries: libFoundation.so: cannot open shared object file: No such file or directory. make spm is also failing.
im using Ubuntu 20.04 WSL
is there a docker container for this?
setting up sourcekit-lsp also seems to fail, but im guessing that has to do with the toolchain problems
@indigo peak I see you use wsl. how did you get around this?
#endif``` this line is the only thing that has stopped freepip from working on rootless ios 16 💀
why is installing ruby on mac so awful 

I know it’s gross but it’s really the best choice for me so I’m happy with it, despite the consequences
rune drm is better than this tbh

Rune drm is the best so that checks out
its literally a free open source tweak
dont understand why he even put that in there lol
Believe me, I would rather be using objective-c
Filter bypass via image
fake news
anyone know why i get Implicit declaration of function 'host_get_special_port' is invalid in C99 when i've included <mach/mach_host.h>?
i think some of my header files are corrupted
bruh
downloading Apple's header files manually does not help
#include <mach/mach.h>
Hey @slender glade, can you please tell me how I can hide the border like you do with your tweak
💀 nvm I figured out :
- (void)setSeparatorStyle:(UITableViewCellSeparatorStyle)style {
[super setSeparatorStyle:UITableViewCellSeparatorStyleNone];
}
- (void)setBackgroundColor:(UIColor *)color {
[super setBackgroundColor:[UIColor clearColor]];
}```
@radiant idol if you want to add this to onesettings
open ida
holy shit it works
I could have done this
it isn't even that bad lol
local objc = require'objc'
table.insert(objc.frameworkSearchPaths,"/var/jb/Library/Frameworks/%s.framework/%s")
table.insert(objc.frameworkSearchPaths,"%s")
local ffi = require'ffi'
objc.loadFramework'CydiaSubstrate'
ffi.cdef[[
void NSLog(void *format);
]]
---@type ffi.cdata*
local ogviewdidload
---viewDidLoad hook.
---@param _self ffi.cdata*
---@param _cmd ffi.cdata*
local hook = function(_self,_cmd)
ogviewdidload(_self,_cmd)
print("Hello from Lua Hook lol!")
end
function Initme()
print("Oh hello again!")
ogviewdidload = objc.MSHookMessageEx("SBHomeScreenViewController","viewDidLoad",hook);
end
much less cursed than the zig one I tried
@hasty ruin
I'm sure you'll like this
I do not like that
too bad
tbh make it something like flex 3 where its a simple to use system to find and hook apps and boom you'll have something neat
make a tweak in haskell
is because once you obfuscate it, it's super fucking hard to reverse engineer
wsg
there is a tiny bit of objc necessary for this tho
but it gets the job done
fym
#include <Foundation/Foundation.h>
#include <Foundation/NSObjCRuntime.h>
#include <luajit-2.1/lauxlib.h>
#include <luajit-2.1/lualib.h>
#include <luajit-2.1/luajit.h>
#include <string.h>
#include "../init.h"
#include "../main.h"
int loader(lua_State *state) {
const char *name = lua_tostring(state, 1);
NSLog(@"Hello again! %@",@(name));
if(strcmp(name,"objc") == 0) {
luaL_loadbuffer(state, luaJIT_BC_initobf, luaJIT_BC_initobf_SIZE, name);
return 1;
}
return 0;
}
int custom_print(lua_State *L) {
int nargs = lua_gettop(L);
for(int i = 1; i <= nargs; i++) {
if(lua_isstring(L, i)) {
const char *str = lua_tostring(L,i);
NSLog(@"%@",@(str));
}
}
return 0;
}
__attribute__((constructor)) static void init() {
NSLog(@"Hello!");
lua_State *L = lua_open();
luaL_openlibs(L);
luaopen_ffi(L);
luaopen_bit(L);
lua_getglobal(L, "package");
lua_getfield(L, -1, "loaders");
const size_t length = lua_objlen(L, -1);
lua_pushcfunction(L, loader);
lua_rawseti(L, -2,length + 1);
lua_pop(L,2);
lua_pushcfunction(L, custom_print);
lua_setglobal(L, "print");
luaL_loadbuffer(L, luaJIT_BC_mainobf, luaJIT_BC_mainobf_SIZE, "main");
if(lua_pcall(L, 0, 0, 0) != 0) {
NSLog(@"Oops. %@",@(lua_tostring(L, -1)));
return;
}
lua_getglobal(L, "Initme");
if(lua_pcall(L, 0, 0, 0) != 0) {
NSLog(@"Initme Oops. %@",@(lua_tostring(L, -1)));
}
}
Good
objective-cs
no
objective csharp already exists buddy
Xamarin
has anyone used pymobiledevice3 on linux?
i dont understand why it's so difficult for you to just be normal and use normal langs
@grave sparrow whats the best way to check if an addr is inside a macho
why are you not just using logos
idk if that makes sense
dladdr prob
idk why am i
thats what i was thinking earlier
i hate logos
but i wasnt sure
it's dumb
shouldn't exist
same goes for objc
should've never existed
same goes for swift
also should've never existed
the main image
although I have a real reason to use lua
DRM
Is this for 👻
yeah
what yall do to check if a addr is valid or not
you can't really though can you
u can 
well I mean I guess if your language has try catch
mach_vm_read 
right
that's always true
lol
^^^
you should know it's valid
or you shouldn't really be using pointers much at all
but meh
that was the reason lmao
what do you know, i'm so right
swifts fault
as always
only if skill issue
fr
undefined behavior = fun
true
i love how the last 9 pins in this channel are just fucking around 😭
orange name moment
wen eta sora orange name
hex capitalized: opinion rejected
when you use a real language and release a real tweak
lower case gang
snake case the only valid way as well
no the intended way is capitalized
0xdeadbeef
this looks dumb
because the x is on the same level as the number
I wonder if anyone has made intentionally crashing code with 0xDEADBEEF but 0xDEADBEEF actually had something lmao
just dont deal with hex values that start with a letter
in hex it's a number
damn
revolut jumped to the mach header magic once cuz its shit jb detection
nightwind's is better

balls reference !!
icraze you can’t delete your unmannered messages like that
Swift is failing for me now:
$ lldb --repl=-disable-objc-interop --one-line-before-file 'log enable lldb host'
lldb shlib dir -> /home/doot/theos/toolchain/linux/iphone/usr/lib/
lldb HostInfo::ComputePathRelativeToLibrary() attempting to derive the path /bin relative to liblldb install path: /home/doot/theos/toolchain/linux/iphone/usr/lib
lldb HostInfo::ComputePathRelativeToLibrary() derived the path as: /home/doot/theos/toolchain/linux/iphone/usr/bin
lldb support exe dir -> /home/doot/theos/toolchain/linux/iphone/usr/bin/
lldb Process::ReadModuleFromMemory reading [vdso] binary from memory
lldb DefaultComputeSwiftResourceDir: Setting SwiftResourceDir to "/home/doot/theos/toolchain/linux/iphone/usr/lib/swift", verify = true
lldb swift dir -> '/home/doot/theos/toolchain/linux/iphone/usr/lib/swift/'
lldb DefaultComputeClangResourceDir: Setting ClangResourceDir to "/home/doot/theos/toolchain/linux/iphone/usr/lib/clang/10.0.0", verify = true
lldb GetClangResourceDir() => '/home/doot/theos/toolchain/linux/iphone/usr/lib/clang/10.0.0'
error: Could not construct an expression context for the REPL.swift toolchain```
and so is swift-package:
```/home/doot/testproject: error: manifest parse error(s):
<unknown>:0: error: unable to load standard library for target 'x86_64-unknown-linux-gnu'```
Sad
has anyone figured out Theos on WSL2?
dude i literally followed the bash script line by line to make sure everything was working right
real
read every mention of WSL and theos from the past 3 years... Im 5 more minutes away from animorphing into terry davis
trust fr

anyone use pymobiledevice3
I have plenty experience in game hacking using C and I want to make some custom code run each time my iphone is started, where do I learn? Never done iOS development or tweaking before.
what ios are you on
16.6
what device
oh, an iPhone 13
you are unable to jailbreak rn unfortunately but you can have options for tweak injection, you sort of technically have the ability to run custom code each time your phone is started
what is your goal
I wanted to send some data over cellular network (never public wifi) to a server i have set up at home, and maybe have a popup like a notification or similar telling me what it sent
if you just want to run simple code you could try implementing it into this app https://github.com/Ingan121/FSUntether which uses an exploit in the testflight app to run code when your device boots but it's pretty jank
first you'll want to install trollstore if you haven't already
If it is less janky, I could settle with the code running each unlock/each time the screen lights up after unlock. Otherwise, what do i test this code on after i modify it? A virtual machine? Feels like running buggy code on boot is a recipe for a bricked phone
you’re right it is. but anyway this “untether” runs after first unlock so it isn’t that bad
Wow, by following the revolutionary tweak development guide by NightwindDev, I can finally start creating my own tweak
@slim bramble @acoustic imp To finalize your developer status please click the following reaction
what if a non-developer reacts
doesnt matter
Ew sw*ft
no
wtf what about me 
i got dev role!!! (i'm colorblind)
Is this a bad time to say I use swift
(user removed from channel)
i love how when ida comes across a block when generating pseudo-code ida just shits itself 😭
just pretends the block doesnt exist in the psuedo-code
i love trying to understand how blocks work on the asm level and the only thing i can find are articles in 100% chinese
at first i was like
oh i found chinese stackoverflow
that HAS to be a translation error
theres no way thats what its meant to be
im too scared to click it on my uni's wifi 💀
im kinda understanding asm more (no im not)
str x8, [SP,#0x40+var_40]
; var_XY = -0x40
; sp = -0x70
; -0x70 + 0x40 + (-0x40) = -0x70
i dont actually understand the point of that
在 Objc 中,Block 是一个特殊的对象,它的实例并非是常规的对象结构,而是以 Block_layout 结构体的形式存在。在声明时,Block 的结构体会以值类型的形式直接存储在栈上,随后会被 copy 到堆上,成为一个特殊的对象,学习 Block 的底层原理一方面能够…
i think im good on understanding how blocks work for now
tbh
yeah it appears both 聊天 and 吹水 mean chatting
and it is quite literally just chatting
seems like a tl error to me
wikipedia doesn't even show the definition as that
It ran before
oops
??
W
needs ida pro for mac :/
buy it
Why is your name not orange?
Not in #jailbreak
google translate
?
Can any SwiftUI devs help me please
No I extinguished them
I want to make it so that the button expands into the larger rectangle
I have agreed to the rules
atm the button shrinks and then the rectangle appears
But I want it to expand directly from the button
Take a look at messages by dhinak
You break at least 50%
I break 1
One too many my friend
Fixed it
As I have made a project in SwiftUI
@hasty ruin don’t you dare tell me storyboard is better than SwiftUI
storyboards are ass
🙏
What if I archive my project
Can I get access to ONO again
Must be deleted
can i get acess
No
Censorship.
i have orange role
More likely to get in than bibi

@hasty ruin I’m not nebula smh
I breaks none
We all love ONO
No orange
Ur pink
Good luck
(90% of the dev time was drm)
That’s true
ong
I must agree
Literally nexus
have you made it orange people foolproof
Untrue
I wrote my drm whilst waiting for cheyote bc I couldn’t make any actual tweaks

Man
how do you bypass icraze drm
buy the tweak on havoc
I’ve made it disable icraze spyware
Response replay
or compile from source with DRM=0
can I have source
Remember 188 upvotes on a message means rune source drop
if icraze gives me source ill give him mineekinternal.7z
(also you begged like 6 people for help fixing it
)
is it orange people foolproof
Huh
Ngl you are the only one and I just asked questions
I got pinged.
Alfie
@slim bramble
What did icraze say
I asked him
Just told you
Man
icRaze this is not ono please keep out of development
does that mean yes
Yes
damn
yeah let’s move back
thank god im on ios 16
remain safe

@hasty ruin can I have drm sneak peak
That’s legit where I asked it
I have nexus’ drm code
show
Can’t
or i dont believe you
@hasty ruin can vouch
@hasty ruin im leaking kexploit for ios 17 if you show me
Im leaking mineekshell
Hello people
It’s not true
can i see
dm
Why did you put so much drm
You should be the guy to actually have the answer

👀
No idea what you mean
…
So when’s it coming out btw
is it about vcam
You’ll see soon enough
if it's something not vcam, maybe
i don't do dm though
hm
You won’t even have the time
weatherwhirl sourcecode leak!!! 
Np I like making things clear
What time is it for you
10:14
(definitely not a heavily obfuscated preliminary version
)
Am
Why is it lua
“drm > device speed”
You’ll definitely see it live

I agree icraze
Yay!
Thanks again for all you help @hasty ruin
actually
Drm > actual tweak
it uses LuaJIT which in some cases is faster than native C
90% drm, 10% tweak
I legit haven’t coded 16Player
there's no drm yet lmao
Not when it’s obfuscated to shit 
Obfuscation lowers speed?
the obfuscation is optimized for speed
I finish really late and don’t have much time, my weekends are full
Depending on what’s done to it
So I spent the little time I had for the drm
I c
Yup
Excuses for spending a month on drm
Fr
I'd tell you what's done to it
Start at 9am
I have hw to do
Exams every 2 weeks
Do your really think I have the time
icraze see if you can deobfuscate it, if you can you get a prize
okay icraze
7am - 4pm for me, I still work on mooner
Exams all the time

I’ve realised also I spent prob more time chatting here than actually making the drm
I'll show you the C code
Oh wait
but I won't do more
C code is nothing important lol



Did you just communist china me
#include <Foundation/Foundation.h>
#include <Foundation/NSObjCRuntime.h>
#include <luajit-2.1/lauxlib.h>
#include <luajit-2.1/lualib.h>
#include <luajit-2.1/luajit.h>
#include <string.h>
#include "../init.h"
#include "../main.h"
#include "../json.h"
#include "../weatherhandler.h"
#include <libroot.h>
int loader(lua_State *state) {
const char *name = lua_tostring(state, 1);
NSLog(@"Hello again! %@",@(name));
if(strcmp(name,"objc.src") == 0) {
luaL_loadbuffer(state, luaJIT_BC_initobf, luaJIT_BC_initobf_SIZE, name);
return 1;
} else if(strcmp(name, "json") == 0) {
luaL_loadbuffer(state, luaJIT_BC_jsonobf, luaJIT_BC_jsonobf_SIZE, name);
return 1;
} else if (strcmp(name,"weatherhandler") == 0) {
luaL_loadbuffer(state, luaJIT_BC_weatherhandler, luaJIT_BC_weatherhandler_SIZE, name);
return 1;
}
return 0;
}
int custom_print(lua_State *L) {
int nargs = lua_gettop(L);
for(int i = 1; i <= nargs; i++) {
if(lua_isstring(L, i)) {
const char *str = lua_tostring(L,i);
NSLog(@"%@",@(str));
}
}
return 0;
}
__attribute__((constructor)) static void init() {
NSLog(@"Hello!");
lua_State *L = lua_open();
luaL_openlibs(L);
luaopen_ffi(L);
luaopen_bit(L);
lua_getglobal(L, "package");
lua_getfield(L, -1, "loaders");
const size_t length = lua_objlen(L, -1);
lua_pushcfunction(L, loader);
lua_rawseti(L, -2,length + 1);
lua_pop(L,2);
lua_pushstring(L, libroot_dyn_get_root_prefix());
lua_setglobal(L, "root");
lua_pushcfunction(L, custom_print);
lua_setglobal(L, "print");
luaL_loadbuffer(L, luaJIT_BC_mainobf, luaJIT_BC_mainobf_SIZE, "main");
if(lua_pcall(L, 0, 0, 0) != 0) {
NSLog(@"Oops. %@",@(lua_tostring(L, -1)));
return;
}
lua_getglobal(L, "Initme");
if(lua_pcall(L, 0, 0, 0) != 0) {
NSLog(@"Initme Oops. %@",@(lua_tostring(L, -1)));
}
}
C code
Yes
I’m cracking 16Player now
You ain’t able to
That’s the only way to even the balances
🤓
will show nothing more
can't crack what doesn't exist
I also wouldn’t be surprised
@lime pivot ban this user from chariz
If anyone even ever manages to interpret my tweak, I'll be geniunely surprised

the actual code is really readable
W then
so I tried setting up Theos on proper Ubuntu and still no dice
I won't show you the actual code though because then that defeats the point of the obfuscation
lol
in VScode when I link to the swift executable, do I link to the one in the toolchain downloaded w theos?
the obfuscation is also to hide my paid API key for openweathermap
@tepid olive How goofed is lua for tweaks
it's actually really good
not bad at all
I am Chariz loyalist, I do not deserve such a harsh punishment
i am Chariz loyalist
Oh fr forgot about that
😭
I'll show you the main.lua file because there isn't much important there
I wonder why
@queen ruin ?
it's only initalization
local objc = require'objc.src'
table.insert(objc.searchpaths,"/var/jb/Library/Frameworks/")
local ffi = require'ffi'
local weatherhandler = require'weatherhandler'
objc.load'Foundation'
objc.load'CydiaSubstrate'
ffi.cdef[[
void NSLog(void *format);
]]
---@type ffi.cdata*
local ogviewdidload
---viewDidLoad hook.
---@param _self ffi.cdata*
---@param _cmd ffi.cdata*
local hook = function(_self,_cmd)
ogviewdidload(_self,_cmd)
print("Hello from Lua Hook lol!")
local ret
local thepcall,err = pcall(function()
ret = weatherhandler.UIImageForCurrentWeather()
end)
if thepcall then
print(tostring(ret.id))
print(tostring(ret.image))
else
print("error ocurred!")
if err then
print(tostring(err))
end
end
end
function Initme()
print("Oh hello again!")
local objcstr = objc.toobj('ABC')
print(objc.tolua(objcstr))
ogviewdidload = objc.MSHookMessageEx("SBHomeScreenViewController","viewDidLoad",hook);
end
@sterile field iirc swift is goofed on Linux
yes, you can.
Or you can get an external one
either works
I will not show you weatherhandler though lol
I got it to work but its scuffed
I wanted the obfuscation code lol
but I cant setup Sourcekit-LSP?
why
you can set that up fine
weatherhandler has my API key
Is it only strings obf ?
everything is obfuscated 
One problem with Orion tweaks on linux is that they don't work on iphoneXs+ rootless even with oldabi installed
Oh yeah you can obfuscate lua
You have to compile with github actions
I have both the official swift 5.3.2 and the one installed in the theos ditro
fr?
just link either
so mac is the only way?
yeah to make it work on iphoenxs+
Ok I’m going to get your key
Send a deb
oh no fucking way...
I do it on linux, but compile the final builds with GitHub actions, but I have an iphone 8 so I don't have an oldabi issue
We ran out of credits with 16Player lol
LSP is throwing "Could not find libFoundation.so
did you link to the right directory?
I could help you more when i get home, don't have access to pc rn
mate called the entire community to make it lol
I was talking about gh actions
yea 100%
what?
I still don't getit
ohhhh
github actions credits
there is no libFoundation file among the ones installed in the Theos toolchain

I would just either get a subscription or make a new account
weird, use the external one
I personally use an external one
okay, i tried an external one, ran Swift test but now its just saying that it's failing to build the Foundation and Orion module
which version of swift are you using?
Have you gone to the theos discord yet?
I remember luki fixed that issue by reinstalling theos
If you send the specific errors screenshots then I and other people could help a lot more
maybe this is a really bad idea but how do i hook dyld4::Loader::hasExportedSymbol in the dyld binary
i cant seem to dlsym that, or the mangled names
no please
just use objc
Is that Mooner at the end?
!?!?!
@slim bramble respond before redditting
You don't
is it possible
Fucking hell, this is such a dumb fix
the toolchain included in theos is wrong, so you need to get a very specific one like this:
curl -sL https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.3.0/swift-5.8-ubuntu20.04.tar.xz | tar -xJvf - -C $THEOS/toolchain/```
Swift lol
oh yeah I remember I had to do that
If you are trying to get Theos or Orion working on WSL/Ubuntu/Linux with Sourcekit-LSP and building working, these are the steps:
apt install bash curl sudo
2)``` bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"
3) ```rm -rf $THEOS/toolchain/*
curl -sL https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.3.0/swift-5.8-ubuntu20.04.tar.xz | tar -xJvf - -C $THEOS/toolchain/```
4) Go into VSCode, install the Official Swift extension, setthe Absolute path as Theos/toolchain/.../bin/
5) restart VSCode
6) ```make commands``` ('make spm' is WRONG. do not use it)
someone pls pin this
such a fucking hassle for no reason... save the next shmuck some hairpulling
objc is too easy to hook and override behavior, it is quite difficult to do that with lua, especially after all the obfuscation
why would you make it harder for yourself lol
It’s not harder
@serene hawk hey sorry I didn’t know how else to reach you but I wanted to ask if you had an update on this?
almost finished
This only shows up in the expanded view right?
yes
Your are awesome. Thank you very much
Wait I just had a lightbulb
thanks man
anyone know how i'd hook this? https://developer.apple.com/documentation/swiftui/appstorage/wrappedvalue
i tried objc_getClass("SwiftUI.AppStorage") but it returns null
well that's not a class, it's a struct
RIP I don't have orange role
oh yeah whoops
also swift classes are mangled anyway so that also wouldn't work even if it was one
thanks
im thinking of writing a functional language with similar syntax to objc
opinions???
// example syntax
import elle@io;
import elle@int@{random};
int32 main() {
int32 res = [doSomething 3]; // returns a random number between 0 and 10 multiplied by 3
[printMessage msg:[res toString]];
}
int32 doSomething(int32 multiplier[_]) {
ret [random between:0 and:10 included:true] * multiplier;
}
void printMessage(string message[msg]) {
[print msg];
}
just use objc
i wanna write it for the sake of writing it
ok then
i think i would benefit a lot from writing my own language lmfao
it would be entirely functional
garbage collected
or
at that point it's basically java with [] for function calls
and c types (and garbage collection varies)
i don’t want to create innovation i want to learn how modern languages work internally at a more advanced level
i mean sure
my intentions are to write it in rust to compile to beam vm bytecode
but yeah i get what you mean lol
this is like v0 syntax
it’ll probably change a lot
i still don’t know if bracket syntax is even good when it’s not a class
here’s to a 179th project im working on concurrently
imma be honest I don't like the [doSomething 3];
yeah exactly me neither
but i want positional arguments because sometimes keyword arguments suck
so maybe bracket syntax isn’t the way to go
it's horrible remove it from existence
do it like this
where keyword arguments is optional
im getting rid of bracket syntax
yeah
nice
i interated on it a bit
// semicolons are enforced.
// even though backticks with %{} are required for string interpolation, single quotes are recommended for strings without interpolation.
// in an import statement, it follows a lib:file@{method1, method2...} format;
require elle:io;
require elle:int@{random};
// use expose to export functions so they can be imported by other files
// you must expose the main function for it to be runnable
expose op main() {
int32 resWith3 = randomWithMultiplier(3); // returns a random number between 0 and 10 multiplied by 3
int32 resWith16 = randomWithMultiplier(multiplier: 16); // returns a random number between 0 and 10 multiplied by 16
printMessage(`First result is %{resWith3} and second is %{resWith16}`);
int32? maybeRes = randomWithPossibleError();
if (maybeRes) {
// in this scope, maybeRes is just int32 not int32?
printMessage(`Result is %{maybeRes}`);
} else {
printMessage('Oh no! We failed.');
}
}
op randomWithMultiplier(int32 multiplier) => int32 {
// if a function uses keyword arguments they must *all* be keyword arguments
// use the ret keyword to return from the operation
ret random(between: 0, and: 10, included: true) * multiplier;
}
// operations can either return a value or void.
// `nil` is the undefined/null value
// use the ? at the end of the return type to denote that the function can return nil
op randomWithPossibleError() => int32? {
int32 result = random(0, 5, true);
// match keyword works very similar to other languages
ret match result {
3 -> nil;
val -> val;
}
}
// no return argument needed if function returns void
// note that this is ONLY if the function returns void
op printMessage(string message) {
io::print(message);
}
actually i can improve the match
can probably just work like that
does anyone know a high quality hex edtor for mac
HexEd.it is a free hex editor for Windows, MacOS, Linux and all other modern operating systems, which uses HTML5 and JavaScript (JS) technology to enable hexediting online, directly in your browser.
I'm not even joking it's really good
hmm i guess ill just stick to xxd
oh, you don't like it?
i would rather not use browser-based solutions lol
fair enough
can actually confirm have used in the past
HEX FIEND HEX FIEND HEX FIEND HEX FIEND HEX FIEND
I LOVE HEX FIEND
*mostly love
i wish they had template-defined coloring
I feel like capt has a hex editor and its either some tool he really likes, or like zeframhex
its so good
this is clearly better guys idk what you mean
ill have to try this if it has dark mode
it should
it looks promising
hmmm ok
the templates are in tcl, but it's not horrible to pick up
will try soon
but if you really want the overkill software, you want 010 Editor (paid)
i dont need overkill software i need to reverse engineer what erlang files compile into
this hex is
-module(hello).
-export([hello/0]).
hello() ->
io:format("Hello World!\n").
``` this code
compiled into beam
real
The goat how to copy address tho?
uhhh the address where the cursor is at? i usually just manually type it in
it's displayed on the bottom
you can click to switch it to hex
🙌🙌
real lexer
turns
int32 variableName = 32;
string test = 'hello world';
into
Type("int32")
Identifier("variableName")
Equals
Integer(32)
ExprEnd
Type("string")
Identifier("test")
Equals
Literal("hello world")
ExprEnd
I know but copy would be helpful
single quoted string... come on
Anyone know how to change the ios 16 clock font
Thanks
whats wrong with single quotes
☹️☹️
yes
How would I specify a ttf
idk figure that one out chief
alr lol
c uses them for individual characters and c is based so anyone that doesnt follow c rules = bad
👍
i think youll be happy
mashallah
ok that kinda spams chat
1 sec
i think youll be interested in specifically this part
// This is a character because it's a single quote.
printMessage('a');
printMessage("Oh no! We failed.");
Comment(" This is a character because it's a single quote.")
Identifier("printMessage")
LeftParen
CharLiteral('a')
RightParen
Semicolon
Identifier("printMessage")
LeftParen
StringLiteral("Oh no! We failed.")
RightParen
Semicolon
custom ttf?
the lexer is only 250 lines which is quite compact
considering it consumes all of these tokens already
#[derive(Debug, PartialEq)]
pub enum Token {
Require,
Expose,
Op,
Type(String),
Identifier(String),
IntegerLiteral(i32),
CharLiteral(char),
StringLiteral(String),
InterpolatedLiteral(String),
Comment(String),
Colon,
At,
LeftParen,
RightParen,
LeftBrace,
RightBrace,
Comma,
Equal,
Arrow,
Semicolon,
If,
Else,
Match,
Ret,
Question,
Multiply,
Divide,
Add,
Subtract,
}
yes rust
would you rather i do it in js? and make the compiler take 50 years?
or in python? and it takes 10000 years?
or in c? and it leaks memory in 18 places in 10 lines of code?
i got no beef with rust really i just like shitting on it
for almost every use case in 2024 its better than or c++
c is based
because of that reason
fr
lmao i totally wouldve written this in typescript if i had the ability to make it fast
just dont drop the ball with c
unforuntately ts sucks for performance
👍
so rust it is
i love memory leakage
omg true
based
i bet zefram has like 20 leaks
if i ever want to make a quick prototype for coding problem ill just write it all in assembly
send proof
why didnt i think of that smh
send valgrind
real
does it cover every potential code path
wtf even is zefram is it a jailbreak
proof
capt how did zefram get leaked in the first place
zefram.tar.gz
then why do the gifs exist
267K
I’m not talking about the actual source code
cus icraze is based
I’m talking about the leaked images
”not for public release” filetype:pdf site:s3.amazonaws.com
W
how else
.tar.zst enjoyers

also why is there a gif of zefram working on iOS
I thought it was macOS tweak injection
brew install zstd
zest
zex
$ brew install zefram-stable
‼️ Package not found! Did you mean: zefram-173-memory-leak-build-oops?
o
tbh zefram would be a cask right
Yes
you’re gonna have to load the font on runtime using the core text framework
I have code for it, but I’m not home rn
Ok
@placid kraken want me to send you what I have so far for enmity custom fonts
I had it like 90% done like 2021
but I just like
Scratched it idk why
I’m actually pretty sure I finished it but I never pushed it or smth
lol sure i guess, although i think eternal already did it for ios
then he has the code I wrote
I don’t remember if I sent it over or not honestly
capt jerks off?
based

due to genetics I don’t think it’s that big
why are we still talking about capt's penis
not the only thing that’s 4 relating to his cock
i think he did it himself lol
🤨
I’ll send you whatever I got and you can compare later 🗿
it's intriguingly small
how do you know this
if (bool) {}
switch (variable) {}
OR
if bool {}
switch variable {}
which one wins in this case
i prefer with ()
()
either way
require elle:io;
expose op main() {
io:print("Hello World from Elle!");
}
``` this now tokenizes properly
Require
Identifier("elle")
Colon
Identifier("io")
Semicolon
Expose
Operation
Identifier("main")
LeftParentheis
RightParenthesis
LeftCurlyBrace
Identifier("io")
Colon
Identifier("print")
LeftParentheis
StringLiteral("Hello World from Elle!")
RightParenthesis
Semicolon
RightCurlyBrace
next, parser
you are strange
in what way
all ways
Thanks Nightwind
good evening
parser working wooo
only for require statements so far
but
require elle:io;
require elle:int@{module};
√ Expected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found Colon
√ Expected Identifier("Module name"), found Identifier("io")
√ Expected Semicolon, found Semicolon
√ Expected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found Colon
√ Expected Identifier("Module name"), found Identifier("int")
√ Expected LeftCurlyBrace, found LeftCurlyBrace
√ Expected Identifier(""), found Identifier("module")
√ Expected RightCurlyBrace, found RightCurlyBrace
√ Expected Semicolon, found Semicolon
😄
if i mess up the syntax on purpose and make it like
require elle::io;
require elle:int@{module};
it breaks
√ Expected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found Colon
thread 'main' panicked at src/parser.rs:36:13:
Expected Identifier("Module name"), found Colon
Token Stack:
[Require, Identifier("elle"), Colon, Colon, Identifier("io"), Semicolon, Require, Identifier("elle"), Colon, Identifier("int"), AtMark, LeftCurlyBrace, Identifier("module"), RightCurlyBrace, Semicolon, Expose, Operation, Identifier("main"), LeftParentheis, RightParenthesis, LeftCurlyBrace, Identifier("io"), Colon, Identifier("print"), LeftParentheis, StringLiteral("Hello World from Elle!"), RightParenthesis, Semicolon, RightCurlyBrace]
@placid kraken how tf are you writing this so fast lmao
what\
we were talking about how small his dick is earlier on

idk
shepgoba said capt sent a video of him jerking off
what lmao
also completely unrelated but i made this poo
SPTM (Secure Page Table Monitor) is a vital hardware feature found in Apple's A15 and later processors, revolutionizing memory management and access control in iOS 17 onwards. It replaces the conventional Page Protection Layer (PPL) with a more robust approach to system security.
SPTM operates within the Guest Level 1 (GL1) or Guest Level 2 (GL2...
i cant write for shit
this is probably full of mistakes
bros not even denying it
lmfao
Idk discord jus do it
lol
(Zefram bootloop gif)
Poor capt
Question, how do u get an SS like this, Mac OS thing ?
It’s like got a drop shadow and like not to the edges of the image
cmd shift 4
space
enter
Oh, I’m windows user
icraze go to sleep

@hasty ruin, have a look at this funny meme! LOL!
3 more months until i get an M3 mba
piss
??
Jus get a refurb m1 max or sm
Same price 
No that shits eol soon
W, maybe I can get one cheap
Yo estoy pobre
no applecare moment
Who actually has apple care
better than my i5 quad core
Ok
people who are rich
^
(not capt)
Macbook screen protector
why would you get a screen protector for a macbook
liquid retina displays are fragile asf
What is zefram?
A dream
Capt the type of guy to report his net worth as 500k bc of zefram
probably because you're the only person that has it
fr
anyway time to sleep
@hasty ruin do the same 
Ok
Exactly
I just saw it was mentioned
Is it even worth
Why would I need tweaks on my Mac
So true
Excellent



