mic is good but no sound on speaker

I have Realme 7 Pro (there is no option for Realme phones) I accidently slept on it on my pocket,it bented . Everything was fine but the sound on speaker does not working except if I will use earphones. I tried recording my voice but when I play it , I can hear my voice with earphones on, when without earphones I cant hear anything even when I watch on youtube. I already erase all the data in my phone still the same. I already looked on the flex and board,everything is fine. What seems to be the problem?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1

crwdns2944067:02crwdne2944067:0:

also I tested both the ear and loud speaker on a tester they both working

.Is it possible that I need to straighten the frame so it will work again?

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

In my realme earphones sound is coming and not coming music

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0