Skip to content

Instantly share code, notes, and snippets.

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 May 14, 2024 15:37
Replicate BattlEye initialization to dump data out of it
#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 June 20, 2020 02:51
Escape From Tarkov encryption defeated
#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;