aorecomp

Anarchy Online classic in the browser

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


commit eeed10c2b9f3282314d2fb3777bd611a8c46ac39
parent 90406f1a61f85f8d285d8318d9c558d67e8f56a5
Author: anon <anon@example.com>
Date:   Tue, 13 Oct 2026 15:09:20 +0000

Translate ACE message queue virtual callbacks

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

diff --git a/docs/browser-threads.md b/docs/browser-threads.md @@ -40,6 +40,25 @@ REA evidence: - `ev_5c129767925f931238574e9a8fee640d80ddb302946bfc2e4268d693f04adfa1`: task service dispatch. - `ev_743c5c400e99410bab545c52a249ceefce06bd537d256746840f0b99e90f240d`: thread-local logger. +The next observed indirect startup target is ACE RVA `0x13ba0` (guest +`0x423ba0`). It enters the critical section at object +0x28, checks the field +at +0x20 and calls vtable slots +0x90, +0x70 and +0x64. The function returns +with `ret 8`. Its only reported incoming reference is the raw method pointer +at RVA `0xacb14`; the concrete template class name has not been recovered. +Pseudocode has confused stack locals here, so the decoded assembly is the +stronger evidence for arguments and cleanup. + +The surrounding 40-entry table occupies `0xacac8..0xacb64`, immediately after +the exported `ACE_Message_Queue_Base` table at `0xaca84`. Its +0x90 slot is +`0x14840`, which waits through `ACE_Condition_Thread_Mutex::wait` on the object +at +0x74 and rechecks a virtual predicate and the field at +0x20. This supports +identifying the table as a concrete ACE message queue, without establishing +its exact template name. These method pointers need translation independently +of the queue constructors and ordinary imported calls. + +REA evidence: `ev_e32c33c5e903944149eb978d036c2fd4b5e2460abf565f7c0b322e80e006b4f5` +and `ev_33c4b092df88b7339c8df4b4bb2b8c69369affb4e84d978a75411317656a1cd8`. + ## Shared WASM execution Each guest thread needs a separate x86 CPU context, guest stack, TEB/FS base,