thiscall
Thiscall is a calling convention used for non-static C++ member functions on 32-bit x86 platforms, most commonly with Microsoft Visual C++ on Windows. It defines how the this pointer (the object instance) and function arguments are passed and how the stack is cleaned up when a member function is called.
In this convention, the implicit this pointer is passed in the ECX register. The explicit function arguments
Thiscall is mainly associated with the Microsoft Visual C++ compiler on 32-bit Windows. Some other Windows toolchains,
Portability considerations apply when interfacing with code compiled under different ABIs or on different architectures. Because