修正旋转偏移为 0x3AC(Rotation_1): 0x3A4 是 MovementDirection_1 移动方向, 依据 Mono.Cecil 字段表+运行时俯仰恒0验证

This commit is contained in:
kedou 2026-08-05 23:39:45 +08:00
parent 64fbfabc3a
commit 4dca333267
3 changed files with 9 additions and 7 deletions

View File

@ -235,10 +235,10 @@ void CFramework::RenderMenu()
ImGui::InputInt("旋转", &g.g_AimRotOffset, 4, 4, ImGuiInputTextFlags_CharsHexadecimal);
// 误改输入框会直接导致 Memory 模式失效, 一键恢复本客户端实测默认值
if (ImGui::Button("重置偏移 (0x1E0/0x3A4)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f)))
if (ImGui::Button("重置偏移 (0x1E0/0x3AC)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f)))
{
g.g_AimMcOffset = 0x1E0;
g.g_AimRotOffset = 0x3A4;
g.g_AimRotOffset = 0x3AC;
}
if (ImGui::Button("扫描旋转偏移(两步)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f)))

View File

@ -29,8 +29,9 @@ namespace offset
namespace MovementContext
{
// Vector2 (x = yaw, y = pitch) [rad]
// EXFIL DELTA (Mono 0.16.9) 实测: +0x3A4. IL2CPP 0.15.x 是 0x2C0
constexpr auto Rotation = 0x3A4;
// EXFIL DELTA (Mono 0.16.9) 实测: +0x3AC = Rotation_1 (视角旋转)
// +0x3A4 = MovementDirection_1 (移动方向, 勿用!) 依据 Mono.Cecil 字段表
constexpr auto Rotation = 0x3AC;
}
// EFT.Profile

View File

@ -55,10 +55,11 @@ struct Globals
// Aim Offset (运行时可调, 默认 = 本客户端实测值)
// Memory 模式自瞄用: Player + g_AimMcOffset -> + g_AimRotOffset (Vector2 yaw/pitch)
// EXFIL DELTA (Mono 0.16.9) 实测: Player+0x1E0 = MovementContext, +0x3A4 = Rotation
// 内置扫描器 [扫描旋转偏移] 找到后会直接写到这里
// EXFIL DELTA (Mono 0.16.9) 实测: Player+0x1E0 = MovementContext
// +0x3A4 = MovementDirection(移动方向, 非视角!), +0x3AC = Rotation_1(视角旋转, 正解)
// 依据: Mono.Cecil 字段表 + 运行时验证 (0x3A4 读出的俯仰恒 0)
int g_AimMcOffset = 0x1E0;
int g_AimRotOffset = 0x3A4;
int g_AimRotOffset = 0x3AC;
// System
bool g_StreamProof = false;