Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ProtoBufMsg_ReportPlayer
- {
- public:
- struct msgdata
- {
- uint8_t pad_0x00[8]; //0x00
- uint32_t account_id; //0x08
- uint32_t rpt_aimbot; //0x0C
- uint32_t rpt_wallhack; //0x10
- uint64_t rpt_otherhack; //0x14
- uint64_t matchid; //0x20
- uint32_t rpt_voiceabuse;//0x28
- uint8_t pad_0x2C[4]; //0x2C
- uint32_t set_to_0xFF; //0x30
- };
- void* vmtptr; //0x00
- msgdata* data; //0x10
- ProtoBufMsg_ReportPlayer(uint64_t* steamid);
- ~ProtoBufMsg_ReportPlayer();
- };
- ProtoBufMsg_ReportPlayer::ProtoBufMsg_ReportPlayer(uint64_t* steamid)
- {
- static auto *pConstructor = reinterpret_cast<void(__thiscall*)(void*,uint64_t*)>(reinterpret_cast<uintptr_t>;
- this->data->set_to_0xFF = 0xFF;
- }
- ProtoBufMsg_ReportPlayer::~ProtoBufMsg_ReportPlayer()
- {
- static auto *pDeconstructor = reinterpret_cast<void(__thiscall*)(void*)>(reinterpret_cast<uintptr_t>;
- pDeconstructor(this);
- }
- ProtoBuf_SendHandler::ProtoBuf_SendHandler()
- {
- static void* _gcclient = reinterpret_cast<void*>(*reinterpret_cast<uintptr_t*>(reinterpret_cast<uintptr_t>(GetModuleHandleA("client.dll")) + 0x02EA907C) + 0x20);
- vmtptr = _vmtptr;
- gcclient = _gcclient;
- }
- void SubmitReport(uint64_t SteamId, uint64_t MatchId)
- {
- __declspec(align(8)) ProtoBufMsg_ReportPlayer msg_reportplayer(&SteamId);
- msg_reportplayer.data->account_id = (uint32_t)SteamId;
- msg_reportplayer.data->matchid = MatchId;
- msg_reportplayer.data->rpt_aimbot = 1;
- msg_reportplayer.data->rpt_wallhack = 1;
- msg_reportplayer.data->rpt_otherhack = 1;
- msg_reportplayer.data->rpt_grief = 1;
- ProtoBuf_SendHandler sendhandler;
- sendhandler.SendProtoBufMessage(&msg_reportplayer);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement