Cairo version 2.11.1 introduces a new libfunc that we should implement:
extern fn squashed_felt252_dict_entries<T>(
dict: SquashedFelt252Dict<T>,
) -> Array<(felt252, T, T)> nopanic;
See casm lowering for more information: https://github.com/starkware-libs/cairo/blob/1a531143af0066d3d9141d63dfbfba2e293ff8f0/crates/cairo-lang-sierra-to-casm/src/invocations/squashed_felt252_dict.rs#L6-L14
Our implementation will differ from the casm lowering because the memory layout is different.