#pragma once
#include <cstdint>
#include <fstream>
#include <string>
#include <iostream>
#include <Windows.h>

namespace Offsets {
    // OFFSETS.HPP -> https://github.com/a2x/cs2-dumper/blob/main/output/offsets.hpp
    DWORD dwEntityList = 0x24CEC60;
    DWORD dwLocalPlayerPawn = 0x20546A0;
    DWORD dwViewMatrix = 0x232E9C0;

    // CLIENT_DLL.HPP -> https://github.com/a2x/cs2-dumper/blob/main/output/client_dll.hpp
    DWORD m_hPlayerPawn = 0x904;
    DWORD m_iHealth = 0x34C;
    DWORD m_iTeamNum = 0x3EB;
    DWORD m_vOldOrigin = 0x1390;
    DWORD m_pGameSceneNode = 0x330;
    DWORD m_modelState = 0x150;

    constexpr uintptr_t m_pWeaponServices = 0x11E0; // CS2 offset for weapon services
    constexpr uintptr_t m_hActiveWeapon = 0x60;    // Offset within weapon services
    constexpr uintptr_t m_szName = 0x720;
}