- [ ] Fix naming and invocation of local functions but leave compiler generated method names as is. - [ ] Put local function declarations in the right scope. - [ ] correctly decompile **unused** local functions.