feaff0443f
Hook-side tooling for the LSX/Blaze reverse-engineering effort: - probe.rs (new, `probe` feature): passive logging detours on FIFA's online-flow functions via the unhook/rehook pattern (no trampoline/relocation, works on RIP-relative prologues). Deferred install waits for anadius64.dll to load, then logs enter/return for GoOnline + GetInternetConnectedState (anadius) and the OnlineStatusEvent/Login deserializers (FIFA23.exe). Revealed that our pushed LSX events reach FIFA and parse OK, while GoOnline never fires — localizing the online gate to FIFA's game-side event consumer. - connect_hook.rs: redirect FIFA's LSX connect :3216 → :3217 so it lands on the native openfut-bridge LSX server (slips past anadius's in-process :3216 intercept); gated off under the `capture_baseline` feature. - recv_hook.rs: boundary-safe trampolines + LSX peer filtering for the capture_baseline path (log anadius's real LSX frames when the redirect is off). Build the instrumented DLL with `--features probe` (or `--features capture_baseline` for the anadius-baseline capture). Both features are off by default. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
34 lines
964 B
TOML
34 lines
964 B
TOML
[package]
|
|
name = "openfut-hook"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
# Build with `--features capture_baseline` to DISABLE the LSX 3216→3217 redirect,
|
|
# so FIFA's LSX goes to anadius's in-process server (for capturing anadius's real
|
|
# responses). Default build keeps the redirect (LSX → our bridge).
|
|
capture_baseline = []
|
|
# Build with `--features probe` to install passive logging detours on FIFA's
|
|
# in-process online-flow functions (GoOnline, GetInternetConnectedState, event
|
|
# deserializers). Writes PROBE lines to C:\openfut_hook.log for RE. See probe.rs.
|
|
probe = []
|
|
|
|
[dependencies]
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Memory",
|
|
"Win32_System_SystemServices",
|
|
"Win32_Networking_WinSock",
|
|
"Win32_Security_Cryptography",
|
|
"Win32_System_Threading",
|
|
] }
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
strip = true
|
|
panic = "abort"
|