IPA: /ˌmæsoʊˈkɪstɪkli/
KK: /mæˈsoʊkɪstɪkli/
In a way that involves deriving pleasure from one's own pain or suffering.
He masochistically enjoyed the harsh criticism he received.
Masochistically → It is formed from "Masochist" (derived from the name of Leopold von Sacher-Masoch, an Austrian writer known for his works that explored themes of pain and pleasure) and the suffix "-ically" (meaning in a manner relating to). The word "masochistically" refers to behaving in a way that seeks pleasure from one's own pain or humiliation.
Think of the term 'masochist' which relates to finding pleasure in pain, and remember that 'masochistically' describes doing something in that manner.