# C4: original sphere/triangle response 2026-10-26. Original EXE SHA256 `f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`. Preferred VAs are used below; EXE text file offsets are VA minus400000. The helper independently maps PE sections and guards six complete function bodies. ## Recovered contract 479D20 integrates body motion, invokes static response47B4B0, then support47B890 and friction47A330. Static47B4B0 traverses the wall grid, invoking47BBB0 for each candidate.47BBB0 fetches the first three source polygon vertices through477F10, then invokes47BD80. Dynamic mode2's twelve box triangles also invoke47BD80 (dynamic-collision.md). Stored polygon normals and winding are independent inputs. 47BD80 takes five by-value four-float records (triangle A/B/C, stored normal, previous root), a mutable current-root pointer, radius, and an edge-enable byte. It uses shared nearest state:695D5C face distance,5CFBE0 edge distance, 5CFBE8..5CFBF4 hit point,695D74 lower-edge override. Callers initialize/retain this state; component tests deliberately supply explicit initial values. | Path / source range | Recovered transition | |---|---| |47BD86..47BE34|Compute normal×radius and endpoint=current−offset, retaining max(currentY,endpointY); build segment469530 from previous root to endpoint.| |47BEBA..47BFAD|One-sided469B70 triangle ray. A strictly nearer hit updates695D5C and hit point. Root becomes hit+offset in X/Z; Y changes only for normal.Y<−0.7. A farther/equal face returns false without edge fallback.| |47BFAE..47BFED|Only a failed face query may enter edges. Requires edge flag and strictly −0.7