Skip to content

Instantly share code, notes, and snippets.

CGObjectData
m_guid = 0x0 (0x10 bytes)
m_data = 0x10 (0x10 bytes)
m_type = 0x20 (0x4 bytes)
m_entryID = 0x24 (0x4 bytes)
m_dynamicFlags = 0x28 (0x4 bytes)
m_scale = 0x2C (0x4 bytes)
CGItemData
m_owner = 0x30 (0x10 bytes)
@l0l1dk
l0l1dk / FireHack.cpp
Last active July 8, 2023 06:56
FireHack Exports Interface - C++
#include "FireHack.hpp"
#include <string>
#include <Psapi.h>
using std::runtime_error;
using std::string;
#define IMPORT(Name) ::FireHack::Imports::Name = ::FireHack::Imports::Get<decltype(::FireHack::Imports::Name)>(#Name)
CGObjectData
m_guid = 0x0
m_data = 0x10
m_type = 0x20
m_entryID = 0x24
m_dynamicFlags = 0x28
m_scale = 0x2C
CGItemData
m_owner = 0x30