I found what I need, the structure in which the movement flags are written
In C++ it would look something like this
Code:
unsigned int Flags = ReadUint(ReadUint(PlayerBase + 0xD8)+0x44);
enum eUnitFlags : unsigned int
{
UF_MOVING_FORWARD = 0x1,
UF_MOVING_BACKWARD = 0x2,
UF_TURNING_LEFT = 0x10,
UF_TURNING_RIGHT = 0x20,
UF_DEAD = 0x800,
UF_FALLING = 0x1000,
UF_SWIMMING = 0x200000,
UF_MOVING_UP = 0x400000,
UF_MOVING_DOWN = 0x800000,
UF_FLYINGMOUNT = 0x1000000,
UF_FLYING = 0x2000000,
UF_WATERWALKING = 0x10000000
};