cleaner main decompiler for brachio

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
Julien CLEMENT 2023-05-01 13:55:21 +02:00
parent 4e1e081827
commit fd576889fe

@ -55,14 +55,14 @@ int32_t main(int32_t argc, char** argv, char** envp) __noreturn
free(serial_img_data); free(serial_img_data);
free(an_interesting_output); free(an_interesting_output);
status = ((uint32_t)(err | ((int8_t)win == 0))); status = err | (win == 0);
} }
} }
else else
{ {
printf("Usage: %s <username> <username.p…", *(int64_t*)argv); printf("Usage: %s <username> <username.p…", *argv);
} }
if (((argc != 4 || (argc == 4 && user_status == 0)) || ((argc == 4 && user_status != 0) && serial_status == 0))) if (argc != 4 || user_status == 0 || serial_status == 0)
{ {
status = 1; status = 1;
} }