aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 302360dae569ba230c379332717dec99d0121c34
parent 925915165b8e3e91dca9dddd65fe1e2c342b72e2
Author: anon <anon@example.com>
Date:   Tue, 13 Oct 2026 13:44:19 +0000

Translate native texture quality preference callbacks

Diffstat:
Mdocs/browser-porting.md | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/docs/browser-porting.md b/docs/browser-porting.md @@ -1062,3 +1062,16 @@ This was inspected in `client-target/cr.dll`, SHA-256 REA evidence: `ev_e0ed4fbeaae26082038e9dd8f5d57f04a78786c00958da6f83b50f39a5bd3b95`, `ev_b37cdffbfa01c8c926303d4d9b56dbb96b7cf26b3169098449c15493acd4029e`, `ev_9ac64c3d697a52f5a131393c86ba118b27afd0dc040026a1fe95e2a5733445c3`. + +PPR's `ResourceManager_t::SetPrefCallback` at RVA `0x2080` registers integer +change callbacks for `GroundTextureQuality` (`0x2060`) and +`OtherTextureQuality` (`0x2070`) with `IndependentPrefs_t`. Registration +requests immediate notification. Both callbacks are cdecl functions with two +arguments: they ignore the first and copy the second into native globals at +`0x18bd4` and `0x18bd0`, respectively. This preference callback path is another +indirect entry requirement beyond module initialization and frame processing. +Pinned PPR SHA-256: +`c0287692f30405ecd22014b01f481e0178a3e44737297bf66fb507200bfe2ccf`. +REA evidence: `ev_c6976bc5587fb6f968987344051d1e590773093768c12ca1bff90aabf06761a5`, +`ev_976d1fa9b163c00055d393f450c4657ef9895a99ff1174cdb3e14f92469dc955`, +`ev_64da9dd6a606ab1d9527610afb76118cff6e358af3ebba0d31d4e9cf89a4e1c0`.