So as the guy above me said, it calls that function, though imo it is too much bloated code, this should do the trick. I did this and it did what I wanted it to, nothing. Do mine if you prefer non-bloat and if your stack_chk or so works idk. Use his if you want a working "__stack_chk_fail_local" or so. Thanks.
int __stack_chk_fail_local = 0; This will resolve the error. atleast for me