NFSU.cc / RE Atlas / Assets, Runtime & Shipping

Misc: the "unknown" bucket of census/systems.tsv (Speed.exe PC)

Assets, Runtime & Shipping 50 verified Speed.exe addresses Speed.exe (2003, x86)

Marks: V = read in code or bytes and a second tool agrees, I = inferred (one tool, or shape of code), U = open. Tools: H = Hopper export census/hopper/decomp.c, G = Ghidra export census/ghidra/decomp_*.c, C = capstone over pc/Speed.exe (.venv/bin/python, helpers from tools/verify_re.py). Files: census/names_misc.tsv (67 names), census/systems_override.tsv (601 rows, each with the evidence read).

Answer

the ones marked V in the file).

destructor funclets. Their system is the system of the global or object they build, which only the readers of that global tell. The rest (0x401000-0x684000) is small helpers that sit under a named parent.

functions above 0x684000 (83 are ctor + atexit stubs whose ctor is itself unnamed), 547 never ran.

Clusters

clusterwherecount in overridewhat it issystemevidence
Derived math constants0x689930-0x696170422fld [rdata const]; fmul/fadd [const]; fstp [global] run once at startup: the compiler's dynamic init of static const float X = a*b (pi0.5, 2pi, deg2rad multiples; 0x6cc7dc = 0.5, 0x6b5c24 = pi, C reads). The written global has no code reader in a disp32 scan of .text.runtimeC: instruction pattern of each function (shown in the evidence column)
Static init / dtor funclets with a reader0x689xxx-0x696xxx65mov esi, G; call ctor; push dtor; call 0x67100d (atexit) or a funclet that calls a destructor. System = majority of named functions that read G (>=60 % of votes; shown in the evidence column). 22 of them have two or more readers and get a StaticInit_<reader>_G<addr>_<func> name.assets 32, car 13, camera 5, audio 4, traffic 3, others 8C refs scan of .text (disp32/imm32) + names.tsv
String-hash initializers0x68ab60, 0x68abc0, 0x692530, 0x692cb0, 0x692ce05h = 0xffffffff; for c in str: h = h*0x21 + c over an rdata string, stored in a global: "Bip01", "SALLY" (NIS rig names), "EXHAUST_TIP_DECAL", "Rotate_360_t/q". The same loop is bStringHashSeeded 0x567ca0.camera, carC: string bytes read from rdata
Vector / matrix math0x401xxx-0x402xxxsee belowMatrix4 inverse (0x4020b0) and its cofactor helper, vec3 copy/scale, DegToRad 0x4055e0 (= x * 0.017453292), angle16 conversionruntimeH+C (DegToRad: constant read at 0x6cca50)
Runtime utilities0x4010xx, 0x50xxxx, 0x56xxxx, 0x58xxxxsee belowcircular list head init IList_InitEmpty 0x589260 (*eax=eax; eax[1]=eax), RandomInt 0x564a50 (state 0x6f227c, % n), wchar buffer class (WString_Grow/Assign/Free 0x5040e0/0x504080/0x504010), StringList_Find 0x53e4f0, FileSystem_Create 0x63a3f0, CPU detect 0x41e860runtimeH+C, G for 3
SNDSTRM request queue0x411be0-0x412930see belowrequest alloc/push/service around SNDSTRMI_queue, STRM magic 0x4d525453 checks, size formula SNDSTRM_OverheadBytes 0x4124d0audioH+G (formula identical in both)
FEng screen base and helpers0x4134d0-0x41f4d0, 0x4f08f0-0x4f89d0see belowobject lookup chain 0x4f65d0 / 0x4ffb70 / 0x4ef050 (same as HudWidget::RegisterObjectByHash), screen base ctor 0x41f0c0, message handler 0x41f240 (hash 0xc98356ba), list node alloc 0xabadcafe fillcanonH
Player / Car / RaceManager sub-functions0x421xxx-0x4a4xxxsee belowone-caller helpers of Player::ComputeHudFlags, RaceManager::UpdateAIScore, Car::ServiceResetRequest, Player::StartRaceCameras; Car field tablesrivals, hud, car, cameraH, parent named
Renderer sub-functions0x4016e0, 0x542xxx-0x570xxxsee belowD3D device reset (0x4016e0), car lit-body paths A and B (0x5437f0 2951 B, 0x542e40 2455 B), frame car draw 0x570db0renderH
Hud / audio / assets leavesvarioussee belowcallees of HudSmokeApplause::Update, HudTachDrag::Update, EAXSound::Update, LightPack_Load (chunk-id switch 0x40c4b0), CarLoader::AllocateSkinhud, audio, assetsH

Counts of the 114 rows below 0x684000 by system (from the override file): runtime 20, audio 16, car 15, render 11, camera 11, hud 10, canon 9, rivals 7, assets 5, traffic 4, track 3, online 1, input 1, props 1. 101 of the 114 ran.

What is weak

reader). They are honest about what they are, not about who uses them. If the OWNER prefers, they can be dropped from the override and stay unknown: the 179 other rows do not depend on them.

Re-derived with a second tool (10 rows)

First tool H, second tool C (capstone over pc/Speed.exe) or G, run in this session.

#addrclaimsecond toolresult
10x4055e0DegToRad: x * 0.0174533C: fld [esp+4]; fmul [0x6cca50]; ret, f32 at 0x6cca50 = 0.01745329238agrees
20x567ca0eax = eax*0x21 + byte loop (bStringHash with seed)C: imul eax,eax,0x21 ... add eax,ecx, loop to NULagrees
30x589260circular list head initC: mov [eax],eax; mov [eax+4],eax; ret; G: called as FUN_00589260(param_1, ...) from ctorsagrees
40x564a50RandomInt: state % n, xor 0x1d872b41, shifts 5 and 0x1bC: div dword [esp+4], xor ecx,0x1d872b41, shr 5, shl 0x1b; G: DAT_006f227c % param_1, same xor/shiftsagrees (both tools)
50x4124d0a*0x128 + (b*3+0x7b)*4 + (c<<4)C: imul ecx,ecx,0x128; lea eax,[eax+eax*2+0x7b]; lea [ecx+eax*4]; shl edx,4; G: param_1*0x128 + (param_2*3+0x7b)*4 + param_3*0x10agrees (both tools)
60x41e860CPU detection with cpuidC: cpuid present in the first 80 instructionsagrees
70x692ce0static hash of "Rotate_360_q"C: rdata string at 0x6ba5e8 reads "Rotate_360_q"; same loop; hash 0x7799e3f6 computed offlineagrees on string and loop; stored value (0x73b0b8) NOT VERIFIED at run time
80x4134a0thin wrapper over _mallocC: push eax; call 0x67121a; add esp,4; retagrees
90x504010WString_Free: free if non-nullC: mov eax,[ecx]; test; je; push eax; call 0x671102agrees
100x42ad10CameraMoverBase_InitFields (zeroes fields)C: 18 mov dword [eax+...] stores in 120 bytes, starts with xor ecx,ecx; mov [eax],ecx; mov [eax+4],ecxagrees on shape; that the 5 named camera ctors call it comes from H only, so it stays V on shape and I on role

Rerun

Scratch scripts (candidate list, dossier, global-reader index) were in the session scratchpad, not in the repo. To redo: lifted list = f_<hex>( in build/gen/f*.c; unknown = systems.tsv; reader index = capstone linear sweep of 0x401000-0x697000 for disp32/imm32 operands in 0x697000-0x7a0000.

HANDOFF: next pass reads the 265 unread ran functions below 0x684000 (list = unknown, not in override, in union.json, sorted by callers), then asks the OWNER whether tools/census/systems.py should read census/systems_override.tsv.