Decode with local contract context
The function reads only the current database's ABI registry. Validity endpoints are inclusive, and a NULL endpoint in a registration is unbounded.
- Register the ABI before decoding. Required NULL inputs propagate NULL.
- If no registration matches, built-in Error(string) and Panic(uint256) can still decode; other payloads return unknown with their raw selector and payload words.