If there is any corporate action in stock then what will happen if stocks are funded?

If there is any corporate action in stock then what will happen if stocks are funded?

Funding will be removed, and debit will be transferred to the IIL ledger.

Also, MTOM loss will be debited to the IIL ledger.