Identify the provider and return contract for the loader's first context callback #33

Closed
opened 2026-11-26 21:23:18 +00:00 by github-bot · 0 comments
Owner

@⁠R0Y00 on GitHub · 2026-11-21 11:08 UTC · original

Follow-up to #29 and #32. A read-only check of the packaged loader's non-null ffxDestroyContext path found three details that the source-built callback fixture does not model. The caller passes the address eight bytes into the context as its first argument, reads the target from table slot 1, and saves only the low 32 bits of the return before selecting a cleanup path. This describes the caller's use of the registers. The callback signature and the identity of its provider still need independent evidence.

Trace where the table is initialized and compare the slot with an independently identified provider or published interface definition. Record which incoming arguments the target actually consumes and how the caller propagates the result across cleanup. Use a source-built differential test for any newly supported behavior. Keep unverified layouts unresolved and keep proprietary bytes out of the repository.

**@⁠R0Y00** on GitHub · 2026-11-21 11:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/33) Follow-up to #29 and #32. A read-only check of the packaged loader's non-null ffxDestroyContext path found three details that the source-built callback fixture does not model. The caller passes the address eight bytes into the context as its first argument, reads the target from table slot 1, and saves only the low 32 bits of the return before selecting a cleanup path. This describes the caller's use of the registers. The callback signature and the identity of its provider still need independent evidence. Trace where the table is initialized and compare the slot with an independently identified provider or published interface definition. Record which incoming arguments the target actually consumes and how the caller propagates the result across cleanup. Use a source-built differential test for any newly supported behavior. Keep unverified layouts unresolved and keep proprietary bytes out of the repository.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:18 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#33
No description provided.