dunno wahts worng :d
crash
0xE4 seems to be correct
google-site-verification: googlebaca44933768a824.html
CUserCmd* __stdcall h_GetUserCmd(int nSlot, int sequence_number) {
if(nSlot != 0)
return o_GetUserCmd(Ptr::pInput, nSlot, sequence_number);
static CUserCmd* pCommands = *(CUserCmd**)((DWORD)Ptr::pInput + 0xE4);
return &pCommands[sequence_number % 0x96];
}
CUserCmd* __fastcall GetUserCmd ( CInput* ecx, void* edx, int slot, int sequence_number )
{
return &ecx->m_pCommands[ sequence_number % MULTIPLAYER_BACKUP ];
}
class CInput {
public:
char unk000[ 0xDC ];
float m_flLastForwardMove;
char unk0E0[ 0x4 ];
CUserCmd* m_pCommands;
CVerifiedUserCmd* m_pVerifiedCommands;
};
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment