commit 2357f9ea16b51758e317e5cfa9b0f0ee0f466797
parent 2715c507b6c0d58cfa0208467e3b2370f02c7558
Author: anon <anon@example.com>
Date: Tue, 13 Oct 2026 13:32:23 +0000
Translate the pinned filename registry factory and reader
Diffstat:
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/docs/browser-porting.md b/docs/browser-porting.md
@@ -1031,3 +1031,18 @@ local jump methods need translation even when their imported target functions
have already been translated. This mapping was checked against the pinned
FFR PE's raw code, IAT and `.rdata` pointers (SHA-256
`ce23256643e4a7c04007409bbc1ab9c1818de7c2cb9d24bd58196e56ab436c38`).
+
+FFR registers the filename-registry database type `1000010` with a native
+factory at RVA `0x6f00` (`DbObject_t::Register` call at `0x6f70`). The factory
+allocates 28 bytes, forwards its two arguments into constructor `0xac10`,
+and returns the object. Its seven-entry vtable at `0xe600` points to
+`0xb2d0`, `0xb2d0`, `0xad60`, `0xad70`, `0xb2d0`, `0xb2e0`, `0xac50`.
+The reader at `0xad70` calls `DbObject_t::ReadBlob`, requires version 1,
+then reads nested counts, numeric IDs and length-prefixed filename bytes
+through `BinaryStream`. It rejects filename lengths over 79 bytes. Factories
+and these virtual reader methods need translation independently of the
+registration routine. REA evidence:
+`ev_20ca52e9c721f01cdf36a586c8eae8758d8cd8884959597c488a308440d9200b`,
+`ev_7aedefd594e87e4cd7d7697a32ec3ad224d9a6c70051ca7f30b468e7202f3cab`,
+`ev_93223775f9b979daa8ee09cba0e53cec6c8bf193efe42f7d519e50813a84b6ff`,
+`ev_c44fa41a27944909da8885a8e1727c789d857a3d0b09952e5f1b46be95b2ce0f`.