Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Input.h"
- #include "Process.h"
- std::shared_ptr<CInput> g_pInput( new CInput );
- uintptr_t CInput::GetUserCmd( int sequence_number )
- {
- auto pCmd = process->Read<uintptr_t>( client->GetImageBase( ) + 0x3FD208 + 0xC4 );
- if( !pCmd )
- return 0;
- return ( pCmd + ( sequence_number % 90 << 6 ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement