Hi, thanks for writing to HCM.
in the hip can be ruled out if you are able to bear weight on the affected leg and walking normally.
From the description, it seems that you are having SNAPPING HIP SYNDROME
causing loud cracks during certain movements.
Well, the presence of a swelling along with a bruise could be due to a HEMATOMA secondary to an unnoticed blunt injury
or a skin lesion or a soft tissue
A thorough examination & evaluation is needed to establish a clinical diagnosis.
Hope this information is helpful. Good day