Эксперт
-
Автор темы
- #1
Updated cinput:
Updated GetVerifiedCMD:
Credits: Intrspct x3
C++:
std::byte pad0[0xC]; // 0x0
bool bTrackIRAvailable; // 0xC
bool bMouseInitialized; // 0xD
bool bMouseActive; // 0xE
std::byte pad1[0x9A]; // 0xF
bool bCameraInThirdPerson; // 0xA9
std::byte pad2[0x2]; // 0xAA
Vector vecCameraOffset; // 0xAC
std::byte pad3[0x38]; // 0xB8
CUserCmd* m_pCommands;
CVerifiedUserCmd* m_pVerifiedCommands;
C++:
CVerifiedUserCmd* CInput::GetVerifiedCmd(int sequence_number)
{
auto verifiedCommands = *(CVerifiedUserCmd **)(reinterpret_cast<uint32_t>(this) + 0xF4);
return &verifiedCommands[sequence_number % MULTIPLAYER_BACKUP];
}
MULTIPLAYER_BACKUP = 150