mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:25:52 +01:00
[PR #1954] docs/xdxr: the title's XboxBvhBuilder arguments and the rehydrate contract #1962
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1962
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1954
Author: @BubsMcgee
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:docs/xdxr-title-call-args📝 Commits (1)
2562683docs/xdxr: the title's XboxBvhBuilder arguments and the rehydrate contract📊 Changes
3 files changed (+256 additions, -1 deletions)
View changed files
📝
docs/README.md(+1 -0)➕
docs/selective_re.md(+196 -0)📝
docs/xdxr.md(+59 -1)📄 Description
Docs-only; measurement from the local package, no game data.
What
docs/xdxr.md§6: what the retail executable passes to the sevenXboxBvhBuilder.dllimports, measured from thefile alone — 27 call sites, the ctor bool (
false) and the exact0x18-byte object, a null stream at all threeprebuild calls, an all-zero stream in every batched element,
COMPACTat both copy calls, and the 16-descrehydrate batches with their source array and
ScratchAccelerationStructureData = 0.docs/xdxr.md§7: the DLL's rehydrate contract — the build-input hash compared withSource + 8, the0x01000000header bit, and the source array overridingdesc.Source.docs/selective_re.md: the REA + Ghidra setup and the isolated, question-driven RE plan, linked fromdocs/README.md.Only counts, constants and call shapes are recorded, as in
docs/xmem_exe_calls.md.Why
It closes the last open item in
docs/xdxr.md§5 (whether the title ever passes a stream desc: it never does) andgives #1759 the shape it has to serve. The measured
Scratch = 0is why that rebuild currently trips the layer'saddress check and gets its command list refused at
Close/Execute; the same facts are posted as a finding on#1759 rather than a competing implementation.
Tests
python -I tests/test_docs_links.pyand the othertests/test_docs_*.pysuitespython -I scripts/check_no_game_data.py docs/selective_re.md docs/xdxr.md docs/README.mdAI-assisted (opencode). Claimed as
XDXR-TITLE-CALL-ARGSin the coordination issue.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.