#development
1 messages · Page 257 of 1
Kill everyone with drugs
:E_FeelsCringeMan:
@vivid dew
Just like in Uprising
ok
we will be victorious bro
Gn
gn
:gn:
gn dont let the meth bugs bite
:oomf:
this eating soap
yea true gimme drugs br o
hello shep
i was given morphine at the hospital once my pain instantly disappeared, i can see why people use it
gm @azure sail
gm alpher
Gm scoob
opium war flashbacks

M
M
mono
i am not a white 17 year old male

@vivid dew do you raid your grandparents drug cabinets
@vivid dew do you raid your grandparents drug cabinets
@narrow mason

is this really what i waste my time doing all day
Yes

posting yello face emotes and saying true
@primal perch
le fr
posting yellow face emotes and saying true: 90% of us
them*
us and them
im just sad i have no weed or else it would be better
bruh
weed makes every food taste better its fact
well actually i still have but i just cant consume it

need clean pee bro
piss break complete
true
when uroboro reads this hes gonna be annoyed that he wasted so much time reading the retards talking about drugs
So does anyone know if itspossible ?
true
true
ok the shots kicking in now bro
the drunk is starting
and now im cold 
and everyone is leaving so rip
fun convo boys but its dead now
uhh

wtf nvm
when uroboro reads this hes gonna be annoyed that he wasted so much time reading the retards talking about drugs
@lethal ice yes 🦀
hi

Hi
gm
was there any part you enjoyed reading?
No
great!
ye true
i dont think we enjoyed reading most of that either
2k messages in like 2h
meth man
“Y’all need Jesus”
true
Hmm
hey everyone, is there a mini tutorial or something for Dragon?
check the dragon wiki if it exists, else just use theos
You did it! Congratulations on submitting four (or more) pull requests and contributing to open source projects this month. Each of your contributions has passed the 14-day review period which means you have earned a reward! You can either choose to receive a limited edition tee or donate the proceeds to plant a tree.
@glacial matrix Hi, are you there?
What do you need from me?
Some wisdom
ObjC pointer members are currently not allowed in unions in either C or C++ mode. Do you know why this is the case?
Ohboy
I can't find much about it, only 1 thread which patches LLVM and allows you to do it
I do not know why, sorry
Ah ok, no problem

Did toilet cat 1 get flushed down?
yes :((
Wait they got him back out, @tepid olive
I hope DGh0st or Muirey knows why this is the case with unions 
The ObjC pointer member causes all of the defaulted special functions of the union that directly contains the member to be defined as deleted, except when the member has an in-class initializer, the default constructor isn't defined as deleted.

I prefer not to work with C++ because of all the lack of knowledge about implementation details I have
lol
ObjC pointer members are currently not allowed in unions in either C or C++ mode.Do you know why this is the case?
@misty cradle possibly because it isnt compatible with arc since it would have to know whether the union is the object or not in order to figure out whether to retain/release it

although if that were the case then theoretically __unsafe_unretained objects would work fine
I’m just tryna have an Union with a UIImage * and NSArray *
oop
oh no
Well uh I’m returning pics from the photos and instead of having an extra argument, I could easily just return an image or just an array of pictures in the union
through my callback
an imageview can do that :P
polymorphism exists, make use of it
you can return an id and check the class at runtime
or use a protocol
or an array of 1
or that


a union wouldn’t have worked for this anyway
And why’s that 
because it doesn’t contain any information about which member the union represents
can you ELI5 that 
kek
g
yes i wanna know too
why

maybe i understand
after reading more on unions
yeah this makes sense
WOW
or an array of 1
@misty cradle yes my opinion does not matter but i suggest you just send it in an array anways, even if its just one image

@tepid olive ye that’s the plan
Also don’t ever say your opinion does not matter, bc it does

Also don’t ever say your opinion does not matter, bc it does
@misty cradle
also wondering
wtf

lmao
woe
mf already asking me questions
IT’S A THING
@tepid olive i hope you know
huzzah

and the staff
i didn’t know it pinged you guys

sorry lmao
ily though
lol
aww
more than here? impressive
true
true
trueeeeee

well
i’ve been in the official server
ngl some of the people there are just head-up-asses
lmao
lmao
bruhhhh
the guide the python server told me sucks 
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
there literally nothing remotely decent on the internet

What are you trying to do
not much just trying to find an online python guide that isn’t youtube
don’t diss my man Indian tutorial man
bruh
Anything with a price tag is BS, don’t pay for it
py TLDR: change your indents to 4 spaces if you use a editor like nano or atom
lmao
@tepid olive do I know U
no
Bruh lmao

SDL2 on Procursus wen
True
@lethal ice SDL2 should have compile scripts for iOS apps
At true
static lib tho
needs xcode 

I don’t got a box hook up for compiling shit
too lazy to fix
L
so @tepid olive you’re our last hope
lmao
@tepid olive true
@tepid olive true
! false
&main
&main
Bro sdl
sdl2 is good

lightweight and has everythign u need
but actually now that i think about it objc is probably fine for games lol

damn I need to hurry up and 1 v 1 hayden on compiles/repo
magic school bus
steal her look
Mrs frizzle lookin kinda thick
Leviathan

it's better than a memoji
i just don't like that it has two ms lol
@lethal ice this https://www.libsdl.org ?
@tepid olive yeah that
do you want to dynamic link it or static link it
because i can add it to the repo rq or just give u a static lib
ok i did it
helo good sirs
can i get a static lib?
sure
just arm64
ill do both. why not.
lol okay thanks
sdl2 is hot as fuck
ye
i love it
what will he say next
poop
“brenbreak fake”
scoop
brenfake
sdl2 is hot as fuck
@upper wigeon true true
damn, you’re ahead of the curve

wrote an class in c++ that manages sdl windows, i really wanna make a game that uses multiple windows to render itself 👀
nobody does that :(
go ahead, write a window manager in c
🗿
@lethal ice
trust me i hated doing c++ too
you must waste a lot of your life here to do it
Yea
edition is given to geniuses

bren said it pretty much, you gotta waste a good chunk of your life for the roles
woe
oh yeah
i'm on 24
6 more until pro

but it takes a long time to level up ngl
it might be like a week before it happens
@lethal ice min ios v?
@tepid olive 11 prob
ok
i'd say 10 but nah
this should hopefully do the trick for u @lethal ice sorry it took so long im just busy
true thanks SDL time on ios
Damn imagine imgui on iOS using framebuffer as a directx alternative
Imagine not compiling body dynamic and static for production build
@lethal ice the xcode proj only compiled that
I didnt bother doing a whole procursus makefile doing the configure script and all
Yah fuck that
No problem. If it doesnt just tell me and ill work somethin out
Has anyone else ever had a conversation with someone that literally made yourself loose all hope you had for humanity?

~~everyday in #development ~~
you guys check genius bar?
java
python
Has anyone else ever had a conversation with someone that literally made yourself loose all hope you had for humanity?
@tepid olive yeah I’m here pretty often
python pays my bills 
python is my homework
i wish

python does my math hw
@grave sparrow believable
it’s funny how possible that is lol
I like making small things in Python
Like something to do homework
Or a small discord bot to control your hue lights
I just use Python because I know it well
yeah true
Well yeah, use what you know best

true do it
🇫🇷
no way it’s happening
he did it
true
anxiously waiting
:fr:
nice meme
how are you feeling on a scale of 1-5
2

🅱️


lmao
nfr
What’s the best guide to start getting into tweaks
learning objc
Isn’t objc basically c#

very different
C# is basically microsoft's equivalent though i guess compared to apple
So objc vs swift?
wouldn’t compare the two either
A style guide that outlines the coding conventions for raywenderlich.com - raywenderlich/objective-c-style-guide
peek over there & check raywenderlich in general for objc
get a grip on it & come back then
Will check it out. I appreciate it. Want to get into tweaks. Loved making android apps but fk Android phones
Np, it’ll take some time since imo the learning curve is a bit more crude. on droids you’re well on your way with regular basic Java/ Kotlin skills whereas it’s not that analogous for iOS
if you got a good grip over objc you’ll enjoy making tweaks + have a better understanding, else if you just need some clout & faster entry, just look at open source projects and copy/paste code together that works
I’ll get into it and find out more. I find it crazy that tweaks can use system functions and stuff so I need to look into if that’s actually modifying base iOS or something else
rebrand as female for more positive input from the subreddit, top tier tip
rebrand as female for more positive input from the subreddit, top tier tip
@tardy narwhal
that’s good for you but yeah, idc if you make stuff paid or free, important to me would be that you genuinely learn objc
too many skiddies join this discord and think we got a one click solution to making tweaks in no time
for them to get a bit more pocket money but yeah, world don’t work like that

Lol I know it’s more in depth than that but everyone wants to be rich and famous
well bless you good sir, if you got questions surrounding objc just shoot them in here. People are more than willing to help serious learners
Talk about college. I’m still paying mine off so I feels
for top tier objc tips ping this sir @twilit jungle
he does objc for breakfast and dinner
fuck fame
@lethal ice close
bruh he literally may as well have written springboard @tardy narwhal
underrated comment
i dont think anyone in this server knows more about springboard ngl
good knowledge which has helped me
:intjpray:

too many skiddies join this discord and think we got a one click solution to making tweaks in no time
@tardy narwhal ik this is targeted at me
I didn’t mention you in particular though but if you feel addressed then i guess🤷🏽♀️
Hey @tardy narwhal do you have the link to that website that instantly creates tweaks for me
@eternal crater yeah bro hold on, i think it’s https://theos.dev/
Perfect thanks guys!
Rule 2 😳
for cute pics of hamsters, go to xhamster.com
@tepid olive how do I access that? It says I have 12 viruses
ok
so here’s whatcha do
install miniviruscleaner™️ confirmed working 2010
and
click the big red “clean” button
Pls hurry I only have 5 minutes before my phone turns off forever
if your computer’s screen goes black and won’t turn on, it worked right
true
Sorry if repost
Music: Noisia - Seven Stitches
i'm going to need to see your meme license grandpa
@vivid dew I lost it in the war



true
The bastard isn't even trying anymore
storyboardsucks
Not YulkyTulky.
17 featured
email account verification creation – popular memes on the site ifunny.co
kekw
i funny is trash
🪳
I get all my memes off tiktok. Stupid boomers
dead channel

https://cdn.discordapp.com/emojis/751177393573462016.png?v=1
@primal perch true
true
for cute pics of hamsters, go to xhamster.com
@tepid olive uh
nice
@grave sparrow what assembly you using
doesn't look like what i used
ah
yeah i did different i think
hehehe
remove directory?
path of ~

lol
false
idk
go find out
true
If the directory is not an empty directory, rmdir() shall fail and set errno to [EEXIST] or [ENOTEMPTY].
F
nice
i loved learning assembly
there's something so cool about it
lmfao
1001010100101010110101
i'm sure there's a binary translator
online
just objdump the object file
10$ an hour
is it worth?
it was fun
you tell me
i mean
no ill do it for 10$ an hour deadass
google.com to the rescue

yes
no
but i don't think i hate myself enough to write a whole sophisticated program in assembly
objdump -d <binary>
but the gas syntax is default its ass
and the macos objdump has weird args
-masm=intel i think
what does any of this shit mean
@surreal mountain you need the documentation to see what the left part means
but musically
like MOV
means you're moving what's in
w10
to that stress
address
assembly requires you to think very different from how you used to write a higher level language so you wont learn it overnight
0x
assembly requires you to think very different from how you used to write a higher level language so you wont learn it overnight
@primal perch yeah ive noticed
its not that bad though
its not easy to grasp i dont think
it's a lot of logic
its only logic
@grave sparrow i would be proud it if wasnt x64...
literally the silicon is nothing but logic gates
i literally put it in pseudocode mode
@grave sparrow
arm sixty four
i can't believe i'm in dev channel
or just use qemu

You do not have permission to use this command.
!slowmode 5

wtf calm down
how do i put ida in pseudocode mode
SYS_WRITE equ 0x2000004
WAIT
8 bytes wide
or just use #define with clang
i think that makEs it more confusing for me
clang /gcc both do assembly kek
yea ill literally send you it
it's possible
lol
yes
but
yeah
i've tried
lmfao
on paper
ducking hell
it was
for school
const char main[] = { 0x48, 0xC7, 0xC0, 0x04, 0x00, 0x00, 0x02, 0x68, 0x41, 0x42, 0x43, 0x0A, 0x48, 0xC7, 0xC7, 0x01, 0x00, 0x00, 0x00, 0x48, 0x89, 0xE6, 0x48, 0xC7, 0xC2, 0x04, 0x00, 0x00, 0x00, 0x0F, 0x05, 0x58, 0xC3};
``` @grave sparrow go ahead compile it as C
quizzes and shit
\x86 \xCE\xCA2i\xEA\x3F\x9E\x84\xFB\x88U\xB5V\x04f{\xF8z\x1E\xEB\x27\x83d\x18}J%\xD4\x31\xA2b\xB5f\x99\x8D&~\xFD\xEF\x2E\x86\x85G\xFE\x8EG\xFA\xBAt,\x05\xA5\xBB\xC3\x3A"`\x13n\xBE\x82P7\xF9\xFA\xA5|\x80\xAB\x84\x01\a4%\a\xA0M=\x1C\xA6q?ǽ\xF9\x13/x\xFE\xAD\xC0\xB7\xEA\x3D\x6B
what does this mean
wtf
lmfao
@cinder island wtf
@grave sparrow our finals and tests were on paper
it was hard
cause you're used to typing
and the ide helping
mov rax doesnt do anything except put a value into the register rax
the kernel interprets a certain value as write
yes
all write calls eventually go to that at some level
libc is just a wrapper for it
yea or jmp printf depending on the location
how do i decode this
\x86 \xCE\xCA2i\xEA\x3F\x9E\x84\xFB\x88U\xB5V\x04f{\xF8z\x1E\xEB\x27\x83d\x18}J%\xD4\x31\xA2b\xB5f\x99\x8D&~\xFD\xEF\x2E\x86\x85G\xFE\x8EG\xFA\xBAt,\x05\xA5\xBB\xC3\x3A"`\x13n\xBE\x82P7\xF9\xFA\xA5|\x80\xAB\x84\x01\a4%\a\xA0M=\x1C\xA6q?ǽ\xF9\x13/x\xFE\xAD\xC0\xB7\xEA\x3D\x6B

and at one point yea
what is that called
idk where did you get it
fron nslog pseudocode
ye
it wont brick your pc either
its fine
:trust:
gcc file.c

go ahead do it
executable
:nfr:
a.out
go ahead run a.out
i really want to learn this low level stuff
what does that do
stack
it subtracts a value from the stack pointer puts value there
stack pointer must be maintained after every subroutine or the program will shit itself
same concept yea
well most of them arent on the keyboard and are just arbitrary bytes
so you wont be able to type them out like that
yea
L
find the 0x4142430A pattern and you can change what it prints
you can only modify those 4 bytes though
any addition or subtraction of the amount of bytes and the program wont execute because addresses are wrong
not necessarily overflows it would just start executing shit that could be data
or the wrong opcode order
undefined behavior
so overwrite everything and it works
the exact file yea
n
oh yeah you cant just copy that ma chine code is that what youre doing
true
that works as an object file but it wont execute
when you're sure that your thing is finished and you find a horrible bug
to do that youd have to copy the entire linked file and then its the exact same so yeah itll work
not by hand surely

yea
:frcoal:
or just use cp like a normal person
yea good
doing that all by hand youd need help

true
eh im bored ill walk you through a little experiement
#include <stdio.h>
int main(void)
{
for (int i = 0; i < 8; i++) {
printf("bruh %i\n", i);
}
}
``` compile this rq
what do you think the experiment im showing you is going to be
shep is just built different
() in c also indicates var args
(void) indicates no args
and anyway run it it should give you the expected outcome you know
and send me a copy of the compiled because im on windows rn
tru
ok now load it up into ida and find the main function
hopper then
Ida does work on mac and it's fantastic
oh sorry forgot you were pirating 😎 can't relate 
true lmao
so now you should see something akin to this
and if not it doesnt really matter since you can use that as areference

ye
yup thats it
yea
and we're going to make it print it 30 times instead of 8
with nothing but a patch
because the for loop has to check how many times we want to do it
each iteration
see if you can find what instruction would need to be patched
to do it 30 times
1e
so we need to change the immediate in the instruction cmp to 0x1e
83 7D F8 08
thats the whole instruction
something something x86 encodings the immediate is at the end
nfr
word is 16 bytes on intel x86
bits*
God damn. Looking at x86 makes me realize that I really dont know x86
beginning of subroutine wherever that is
push rbp just pushed the stack base pointer onto the stack
i mean I can get a sense of what's happening. just looks like a bunch of spam
no
thats the process mapping address
well actually i think that can be anything either
regardless we only care about the offsets rn
anyway the stack pointer is at some undefined value (at static analysis) the OS gives your process anytime it runs
well thread more specifically
creating a new thread gives you a new stack pointer
and new register states
anyway
yea this is pretty unoptimized assembly since we just used -O0
but anyway find the cmp instruction thats where it eventually goes to loc f7f right
jge is jump if greater than
which checks the processor flags set by cmp or test
see the offset for the instruction cmp now
0xf56
dickword vs qockword
true
in asm you get global variables as registers have fun 😎
jge doesnt even check any registers
well thats al ie
it checks the flag register
of which the flags are set by something like cmp
anyhoo open hex fiend go to 0xf56 + the immediate offset in the cmp instruction
which is like 2 or 3
3
change the 08 to 1E save it and run
no recompiling or any of that
what I do
nfr
damn. That sucks @grave sparrow can't relate 😎
i literally forgot how to spell siblings
there
click the sidebar it shows hex offsets
@grave sparrow delet ida home
instead of dec
wait hold
no thats right
continue
no
at f56 is 83
now 3 bytes to the right just change that shit to 1e or anything between 0 and ff
doesnt really matter
as long as its just the immediate
well wherever the 08 is
probably 6
save and run and enjoy
tru
most instructions are more than 1 byte
in size
the immediate needs to be stored somewhere
well how is it going to store cmp [rbp - 0x8], 8 in one byte thats a lot right
name jeff
one byte of instructions worth is only 256 possible instructions
name jeff
@faint timber
the amount of possible x86 instruction combinations is massive
tell that to aarch64
no
nop and ret are 0x90 and 0xc3 accordingly
one byte one ins truction
it really depends on the instruction
nop is the best instruction
fr
use a converter
0x1F2003D5
nop
https://defuse.ca/online-x86-assembler.htm#disassembly dick around with that its fun
Easily find out which bytes your x86 ASM instructions assemble to.
mov eax 0 stuff like that
0x000020D4
true
0x011000D4









