use only refs in spaghetti::hook
addfield(uint)
hook::object() returns hook()
addfield(int*const)
addfield(packetbuf&)