Akkadian

daˀāmu - to be(come) dark, dim (CAD D 1, AHw. 146)

daˀmu ‘dark’ (CAD D 74, AHw. 158)

PS
*dhm - to be dark (Fronzaroli 1965a: 138–139, 145, 149; Kogan 2011: 196; EDA II)

One cannot exclude that Hbr. nidhām “astounded, confused” (HALOT 214) belongs to this root with a metaphoric shift of meaning (< “dark, gloomy”, сf. Russian мрачный). Admittedly, the context of the only passage where it is attested (Jr 14:9) rather suggests the meaning “helpless”.