diag(windows-nui): introspect game reference stage points for filter distance analysis

This commit is contained in:
kinect-bot committed 2026-11-26 02:14:03 -05:00
1 parent b4637dc119
commit cb85158379
1 file changed
+17
+17
View File
@@ -136,6 +136,23 @@ void DumpGameDisplayState() {
}
ShimLog("game-skel2: Mdiag=(%.3f,%.3f,%.3f) Mtrans=(%.3f,%.3f,%.3f) cand=%s",
asf(m0), asf(m5), asf(m10), asf(m3), asf(m7), asf(m11), cand);
// Reference stage points the filter/picker compare against (DAT_103d3248/
// 3254/3260), so we can compute offline the distance our transformed hip
// must satisfy.
uint32_t a0 = 0, a1 = 0, a2 = 0, b0 = 0, b1 = 0, b2 = 0, c0 = 0, c1 = 0, c2 = 0;
SafeReadU32(base + 0x3d3248u, &a0);
SafeReadU32(base + 0x3d324cu, &a1);
SafeReadU32(base + 0x3d3250u, &a2);
SafeReadU32(base + 0x3d3254u, &b0);
SafeReadU32(base + 0x3d3258u, &b1);
SafeReadU32(base + 0x3d325cu, &b2);
SafeReadU32(base + 0x3d3260u, &c0);
SafeReadU32(base + 0x3d3264u, &c1);
SafeReadU32(base + 0x3d3268u, &c2);
ShimLog("game-skel3: R48=(%.3f,%.3f,%.3f) R54=(%.3f,%.3f,%.3f) R60=(%.3f,%.3f,%.3f)",
asf(a0), asf(a1), asf(a2), asf(b0), asf(b1), asf(b2), asf(c0), asf(c1),
asf(c2));
}
BOOL CALLBACK InitSensorLock(PINIT_ONCE, PVOID, PVOID*) {