Skip to content

Instantly share code, notes, and snippets.

Avatar

haram

View GitHub Profile
View decode_ptr.hpp
namespace sdk
{
namespace detail
{
static __int64 __fastcall sub_17F7660(unsigned __int64 a1, unsigned __int64 a2, int a3)
{
unsigned __int64 v3; // r8
__int64 result; // rax
unsigned __int64 v5; // r9
unsigned __int64 v6; // r9
@haram
haram / be_fn.hpp
Last active Apr 11, 2022
Replicate BattlEye initialization to dump data out of it
View be_fn.hpp
#pragma once
#include <stdint.h>
#include <stdio.h>
namespace be
{
void print_message( const char* msg )
{
printf( "[BATTLEYE] %s\n", msg );
}
@haram
haram / decrypt.cpp
Created Jun 20, 2020
Escape From Tarkov encryption defeated
View decrypt.cpp
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
// yousif, namazso, can1357, defcon42
namespace packet
{
constexpr size_t be_xor_key = 0xd774f59d;