SDL3's properties API uses an internal hashtable I'm waiting for them to make public.
I also like https://github.com/tidwall/hashmap.c for general use.