aorecomp

Anarchy Online classic in the browser

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


commit 01ed7539a62147c0b0e91a3395fd4e3e3781d6b2
parent d4bc5bc239c8922f2afc5d87b64f03c4fc7422b7
Author: anon <anon@example.com>
Date:   Tue, 13 Oct 2026 10:33:42 +0000

Discover native module initialization scheduler callbacks

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

diff --git a/docs/browser-porting.md b/docs/browser-porting.md @@ -969,6 +969,12 @@ FramePreProcess, FrameProcess or FramePostProcess with MSVC suffixes `@@CAXXZ`, `@@KAXXZ` or `@@SAXXZ` are static cdecl void(void), with private, protected or public access respectively. These exports can be seeded as a group after confirming their addresses lie in executable image ranges. +Module initialization is another scheduler message phase. CCR exports +InputConfigModule_t::InitialiseMessage at RVA `0x3540`; its native path +creates the InputConfig_t singleton only when absent, allocating 0x1b8 bytes. +The callback uses the same static cdecl void(void) decoration. InitialiseMessage +exports therefore belong to the indirect scheduler discovery set too +(REA evidence `ev_a49ce7698a8ed72430373179ce94258b6b552735df454774dfa567e06e3de80a`). The browser bridge renders in a worker-owned WebGL2 OffscreenCanvas. D3D row vector matrices upload as transposes; clip depth 0..w becomes -w..w. Readback