I have successfully used this to fix up syscalls and add signatures from the Data Type Manager. However, the syscall number is added as the first argument of the functions for some reason, and this messes up the argument types in the decompiler. Do you know if there is any way to fix this?
At least, in my case this is undesirable because the functions using syscalls are defined like this: https://github.com/embassy-rs/nrf-softdevice/blob/a5026485151138112b522a27c4a340614d7a7512/softdevice/mbr/headers/nrf_svc.h#L71 .
I would like them to show up as somefun(a, b, c) in the decompiler instead of somefun(0x12, a, b, c).