Latest Reversed CLTClient Functions
Hi guys,
This is the Latest CLTClient Functions,
This for Crossfire NA/West
Have a nice day.
This is the Latest CLTClient Functions,
Code:
// Created with ReClass.NET by KN4CK3R
class CLTClient
{
public:
virtual void Function0(); //0x0000 Access to CLTCSBase
char pad_0004[156]; //0x0004
bool(*IntersectSegments)(IntersectQuery *pQuery, IntersectInfo *pInfo); //0x00A0
char pad_00A4[60]; //0x00A4
LTRESULT(*FlipScreen)(uint32 flags); //0x00E0
LTRESULT(*Start3D)(); //0x00E4
char pad_00E8[24]; //0x00E8
LTRESULT(*StartOptimized2D)(); //0x0100
LTRESULT(*EndOptimized2D)(); //0x0104
char pad_0108[8]; //0x0108
LTRESULT(*End3D)(uint32 flags); //0x0110 End3D
signed int GetObjectPos(LTObject* hObj, D3DXVECTOR3 *pPos) //0x00A0
{
typedef signed int(__thiscall* GetObjectPosFn)(void*, LTObject* hObj, D3DXVECTOR3 *pPos);
return GetVFunc<GetObjectPosFn>(this, 39)(this, hObj, pPos);
};
signed int SetObjectPos(LTObject* hObj, const D3DXVECTOR3* pPos, bool bForce = true) //0x00F8
{
typedef signed int(__thiscall* SetObjectPosFn)(void*, LTObject* hObj, const D3DXVECTOR3* pPos, bool bForce);
return GetVFunc<SetObjectPosFn>(this, 62)(this, hObj, pPos, bForce);
};
signed int GetObjectRotation(LTObject* hObj, LTRotation *pRotation) //0x0128
{
typedef signed int(__thiscall* GetObjectRotationFn)(void*, LTObject* hObj, LTRotation *pRotation);
return GetVFunc<GetObjectRotationFn>(this, 74)(this, hObj, pRotation);
};
void SetObjectOutLine(LTObject* hObj, bool Status, BYTE r, BYTE g, BYTE b) //0x0138
{
typedef void(__thiscall* SetObjectOutLineFn)(void*, LTObject* hObj, bool Status, BYTE r, BYTE g, BYTE b);
return GetVFunc<SetObjectOutLineFn>(this, 78)(this, hObj, 1, r, g, b);
};
LTRESULT SendToServer(ILTMessage_Read* pMsg, uint32 flags) //0x01FC
{
typedef LTRESULT(__thiscall* SendToServerFn)(void*, ILTMessage_Read* pMsg, uint32 flags);
return GetVFunc<SendToServerFn>(this, 127)(this, pMsg, flags);
}
signed int GetObjectBoxMin(LTObject* hObj, D3DXVECTOR3 *Min) //0x0250
{
typedef signed int(__thiscall* GetObjectBoxMinFn)(void*, LTObject* hObj, D3DXVECTOR3 *Min);
return GetVFunc<GetObjectBoxMinFn>(this, 148)(this, hObj, Min);
}
signed int GetObjectBoxMax(LTObject* hObj, D3DXVECTOR3 *Max) //0x0254
{
typedef signed int(__thiscall* GetObjectBoxMaxFn)(void*, LTObject* hObj, D3DXVECTOR3 *Max);
return GetVFunc<GetObjectBoxMaxFn>(this, 149)(this, hObj, Max);
}
bool IntersectSegment(IntersectQuery &iQuery, IntersectInfo *Info)
{
typedef bool(__thiscall* IntersectSegmentFn)(void*, IntersectQuery &iQuery, IntersectInfo *Info);
return GetVFunc<IntersectSegmentFn>(this, 39)(this, iQuery, Info);
}
void GetObjectScale(LTObject *hObj, D3DXVECTOR3 *pScale) //0x026C
{
typedef void(__thiscall* GetObjectScaleFn)(void*, LTObject *hObj, D3DXVECTOR3 *pScale);
return GetVFunc<GetObjectScaleFn>(this, 155)(this, hObj, pScale);
}
void SetObjectScale(LTObject *hObj, const D3DXVECTOR3 *pScale) //0x0270
{
typedef void(__thiscall* SetObjectScaleFn)(void*, LTObject *hObj, const D3DXVECTOR3 *pScale);
return GetVFunc<SetObjectScaleFn>(this, 156)(this, hObj, pScale);
}
}; //Size: 0x1144
#define m_ILTCSBase 0x12ADEC0
class ILTCSBase : public CLTClient
{
public:
CLTClient* pCLTClient; //0x0000
public:
static ILTCSBase* Instance()
{
return (ILTCSBase*)m_ILTCSBase;
}
};
Have a nice day.



