Mental Model
The inorder predecessor of a node in a BST is the node that comes just before it in sorted order. It is the largest node smaller than the given node.
Analogy: Imagine a sorted list of books on a shelf. The inorder predecessor of a book is the book immediately to its left, the one that comes just before it alphabetically.
5
/ \
3 7
/ \ \
2 4 8
↑curr=5