Your basis is the 100,000 less whatever principle you removed in years 2022, 2023, and 2024 (if I have the right years).
If you removed only earnings in 2024, then there is no changed to the basis in 2024, but I can't say what you did in 2022 and 2023.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"