mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-29 03:46:50 +01:00
23 lines
1.1 KiB
C++
23 lines
1.1 KiB
C++
#pragma once
|
|
#include <array>
|
|
#include <cstdint>
|
|
|
|
// Skater creation and player binding lifecycle logging.
|
|
namespace dingosdk::game::build::v20260929::skater_observer {
|
|
// Skater factory (factory, context).
|
|
inline constexpr std::uintptr_t skater_factory = 0xf887b0;
|
|
inline constexpr std::array<unsigned char, 24> skater_factory_prefix{
|
|
0x40,0x53,0x55,0x56,0x57,0x48,0x81,0xec,0xe8,0x00,0x00,0x00,0x44,0x0f,0xb7,0x05,
|
|
0xc4,0x7b,0x2f,0x06,0x48,0x8b,0xd9,0x48};
|
|
// Skater component create (component, ground check).
|
|
inline constexpr std::uintptr_t component_create = 0xf8d730;
|
|
inline constexpr std::array<unsigned char, 24> component_create_prefix{
|
|
0x40,0x56,0x57,0x48,0x81,0xec,0x18,0x03,0x00,0x00,0x48,0x8b,0x05,0x7f,0x6c,0x23,
|
|
0x06,0x48,0x33,0xc4,0x48,0x89,0x84,0x24};
|
|
// Binds a player to an entity (player, entity).
|
|
inline constexpr std::uintptr_t player_bind = 0x2ea42f0;
|
|
inline constexpr std::array<unsigned char, 24> player_bind_prefix{
|
|
0x40,0x53,0x55,0x56,0x57,0x48,0x83,0xec,0x38,0x48,0x8b,0xf2,0x48,0x8b,0xe9,0x48,
|
|
0x85,0xd2,0x74,0x12,0x48,0x8b,0x02,0x8b};
|
|
}
|