If i konw a function's address is xxxxxxxx, How can i assign it to a proc type var ? like
var p:padd = xxxxxxxx
type padd = proc (a, b: int): int {.nimcall.} # DO NOT USE CLOSURE HERE (the default for proc types)
proc test(a, b: int): int {.nimcall.} = a + b
var a = cast[padd](0xffeeff)
var b = test
echo a(1, 2), b(4, 5)