Skip to content

Instantly share code, notes, and snippets.

View haram's full-sized avatar


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 / be_fn.hpp
Last active July 25, 2023 21:28
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 / decrypt.cpp
Created June 20, 2020 02:51
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;