Why do I have to strongly rotate the pointer twice

@kisvegabor

These functions store their result in a pointer called res. But in this case, the result has const void * type. So a pointer to it has const void ** type.

Take a look at the very similar _lv_style_get_color() function: