Fun with codes cracked, or bewildered? (8)
I believe the answer is:
confused
'bewildered?' is the definition.
(bewildered means confused or baffled)
'fun with codes cracked' is the wordplay.
'with' is a charade indicator (letters next to each other).
'cracked' is an anagram indicator.
'fun' after 'codes' is 'codesfun'.
'codesfun' anagrammed gives 'CONFUSED'.
'or' is the link.
(Other definitions for confused that I've seen before include "at sea" , "Unable to think clearly, bewildered" , "Disorientated" , "Muddled" , "Mixed up in fun codes" .)