XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net income before noncontrolling interests $ 171,296 $ 185,900
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Gains attributable to the fair value of future servicing rights, net of guaranty obligation (159,970) (209,266)
Change in the fair value of premiums and origination fees 8,586 6,909
Amortization and depreciation 177,101 148,879
Provision (benefit) for credit losses (13,120) (14,380)
Gain from revaluation of previously held equity-method investment (39,641)  
Originations of loans held for sale (13,877,961) (12,761,432)
Proceeds from transfers of loans held for sale 13,283,455 12,459,511
Other operating activities, net (16,512) (13,100)
Net cash provided by (used in) operating activities (466,766) (196,979)
Cash flows from investing activities    
Capital expenditures (19,302) (5,507)
Purchase of equity-method investments (25,098) (8,029)
Purchase of pledged available-for-sale ("AFS") securities (51,302) (7,250)
Proceeds from prepayment and sale of pledged AFS securities 9,261 28,781
Investments in joint ventures (5,040) (58,065)
Distributions from joint ventures 11,926 34,012
Acquisitions, net of cash acquired (114,163) (62,208)
Originations of loans held for investment (50,772) (269,737)
Principal collected on loans held for investment upon payoff 73,500 397,328
Net cash provided by (used in) investing activities (170,990) 49,325
Cash flows from financing activities    
Borrowings (repayments) of warehouse notes payable, net 593,685 333,887
Borrowings of interim warehouse notes payable 36,459 154,661
Repayments of interim warehouse notes payable (26,000) (157,277)
Repayments of notes payable (29,487) (2,234)
Repayments of secured borrowings   (73,312)
Proceeds from issuance of common stock 263 5,256
Repurchase of common stock (40,675) (15,686)
Cash dividends paid (60,025) (48,268)
Payment of contingent consideration (19,720)  
Distributions to noncontrolling interests (2,035)  
Debt issuance costs (2,831) (2,762)
Net cash provided by (used in) financing activities 449,634 194,265
Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents (NOTE 2) (188,122) 46,611
Cash, cash equivalents, restricted cash, and restricted cash equivalents at beginning of period 393,180 358,002
Total of cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period 205,058 404,613
Supplemental Disclosure of Cash Flow Information:    
Cash paid to third parties for interest 48,590 24,906
Cash paid for income taxes $ 56,099 $ 38,728