I used the rsp register instead of the rbp register for accessing the stack variables, rsp is the wrong base and changes constantly fuck