Identify the provider and return contract for the loader's first context callback #33
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#33
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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.