Merge pull request #62 from TheBozos/claude/native-ferris-smasher-forward

Replace the Ferris wheel fall and smasher camera forward transforms with native math
This commit is contained in:
boubou666 authored and GitHub committed 2026-11-08 19:34:03 +01:00
commit 9daca2b6f4
5 files changed
+134 -18

No files matched your search

+4
View File
@@ -15,6 +15,10 @@ The earlier v0.3.2 release remains in Git history and on GitHub for comparison;
## Architecture and build
[`NATIVE_FERRIS_SMASHER_FORWARD.md`](NATIVE_FERRIS_SMASHER_FORWARD.md) adds the falling Ferris wheel car and
smasher hit-camera forwards. Coverage is 148/269 known forward returns (121 remain), with 134/134
known inverse returns native.
[`NATIVE_ENVWEAPON_FORWARD.md`](NATIVE_ENVWEAPON_FORWARD.md) adds the two environment gun fire-point
forwards. Coverage is 146/269 known forward returns (123 remain), with 134/134 known inverse
returns native.
+2
View File
@@ -1,5 +1,7 @@
# Native environment gun forward transforms
[Ferris wheel fall and smasher camera forwards](NATIVE_FERRIS_SMASHER_FORWARD.md) follow with two environment sites.
The two `Launcher::UpdateEnvWeapon` (`14d3a0`) forward returns use native XYZ
arithmetic after the [Cop SUV laser-aim forwards](NATIVE_COPSUV_AIM_FORWARD.md).
Known forward coverage grows from 144 to 146 of 269 returns (123 remain). Known
+81
View File
@@ -0,0 +1,81 @@
# Native Ferris wheel fall and smasher camera forward transforms
Two environment forward returns use native XYZ arithmetic after the
[environment gun forwards](NATIVE_ENVWEAPON_FORWARD.md). Known forward coverage
grows from 146 to 148 of 269 returns (121 remain). Known inverse coverage stays 134
of 134; BozoEngine stays at `4a8f70a`.
| Return PC | Owner | Producer and consumer |
| --- | --- | --- |
| `12aad4` | `FerrisWheel::UpdateFalling` (`12aa98`) | The falling car's velocity through its coordinate system, added to its position; the resulting height selects the landing state at `gp-312c` |
| `169ed0` | `Smashers::SmasherHit` (`169d48`) | Camera offset `(0, -200, 60)` through the slot camera's basis, added to the hit vehicle's position and handed to `TheGame::DetachCamera` |
The Ferris wheel result is the owner's frame vector at `+0`, read only by
`mathfAddVector`. Later stack use starts at `+10`, so frame `+0c` is never read.
The smasher result is at frame `+10`. `mathfAddVector` and `Camera::DetachCamera`
read it only as XYZ: a scalar `mathfCopyVector` into the camera, then the real
point-to-point rotation and matrix rebuild. Frame `+1c` is never read. Neither
owner reads VU registers, the accumulator or flags; `vehicleStunCar` only writes
one vehicle field. The existing native helper computes separately rounded XYZ,
preserves destination W and leaves VU state untouched. Unknown and historical
callers keep the original ABI. No engine or gameplay formula changes.
## Generated comparisons
Evidence is under `D:/BozoScratch/ferris-smasher-forward`, against parent
`9057db2` (PR #61). Parent headless/window binaries are preserved there and match
PR #61's qualified build. Generated bodies, retail data and runtime recordings
stay outside Git.
- Added coverage is 1,024 generated sequences / 64 whole-memory comparisons
(caller kinds 251 and 252): helper-boundary continuations and full-owner
entries, across four rounding modes, FTZ/DAZ, RAM aliases, identity/quarter-turn
bases and arbitrary W payloads.
- Ferris wheel full entries run the whole owner. Both landing states are covered
(still falling above height 10, landed below), and the published position and
state are asserted. All 512 cases publish.
- Smasher full entries run the stun, the slot search and the real
`Camera::DetachCamera`. A new 0x20-byte snapshot region covers the game's camera
mode table at `4ac0d0`, which DetachCamera writes. The camera's copied position,
the claimed smasher slot and the camera mode are asserted. The inactive-smasher,
no-camera-slot and occupied-slot scenarios return without a transform, and
producer reach is asserted in every case. 416 cases publish.
- Transform outputs are checked against an independent identity or quarter-turn
result in every reached case. Published points are exact against the original
FPU addition.
- The VU rule from the earlier weapon increments applies. Only forward scratch W
(frame `+0c` and `+1c` respectively) is normalized for test comparison, after
every real consumer.
- New caller kinds and the new region shift the shared random fill for later
rounding modes, so two data-dependent counts in earlier fixtures moved (vehicle
tire jumps 718 → 715, real libm errno cases 802 → 830). All scenario-defined
counts and assertions are unchanged.
- Aggregate caller coverage is 129,536 generated sequences / 6,080 whole-memory
comparisons. Historical forward ABI coverage is 8,896 / 556; inverse remains
8,576 / 134.
## Replay and window qualification
Player, headless runner, historical checker and all eleven native test targets
build. All eleven native suites and twelve Python tooling tests pass, with every
previous publication assertion enabled.
Default and strict routes complete 9,500 one-player and 8,500 actual four-player
frames. Every recording field matches parent `9057db2`: raw RAM, scratchpad,
calls, draws, sound, thread state and EE timing/counts. Sampled 32 MiB RAM images
are identical. Strict/default recordings and snapshots are byte exact; strict
comparisons report no mismatch. Both new sites are cold on these routes, so the
generated owner suite above is their qualification. The Cop SUV site `1502cc`
still runs natively 1,638 times (one-player) and 845 times (four-player), exact.
Fresh isolated window runs complete 6,500 one-player, 6,500 actual four-player
and 4,200 movie frames. Reviewed captures show the intro and credits, menus,
vehicle and level selection, combat with the HUD and four simultaneous views.
Each route has five distinct captures. Stereo 48 kHz, 16-bit WAV recordings
contain nonzero audio.
Audio device underruns remain: 46.1 ms silence in one-player, 69.8 ms in
four-player and 28.3 ms in the movie run. These are functional checks, not a
performance or flawless-playback claim. A level with a falling Ferris wheel car or
a smasher hit in actual play, full campaign and physical controller/hardware
acceptance remain open.
+3 -2
View File
@@ -10,7 +10,7 @@
namespace tmb::math
{
// Audited XYZ-only consumers: collision queries, vehicle spatial records and hierarchy lighting/attachments.
inline constexpr std::array<uint32_t, 146> directionReturns{
inline constexpr std::array<uint32_t, 148> directionReturns{
0x168b30, 0x1cd618, 0x1cda54, 0x1cdabc, 0x11708c, 0x1880e0, 0x1d4284, 0x1d42e8, 0x1cb19c,
0x1cfd18, 0x1cfde8, 0x1d0224, 0x1d0250, // height-test collision/BSP results
0x1d25ec, 0x1d261c, 0x1d2784, 0x1d2804, // line-of-sight BSP/volume results
@@ -52,7 +52,8 @@ namespace tmb::math
0x1b2fb0, 0x1b3118, // ricochet movement before its height test and after its reflection
0x150efc, 0x1511ec, 0x1513f4, // Hearse, Minion and Tanker launcher turret aim points
0x150094, 0x1502cc, // Cop SUV laser aim points (player-state and closest-car branches)
0x14d62c, 0x14d678}; // environment gun fire points passed to CreateStaticWeapon
0x14d62c, 0x14d678, // environment gun fire points passed to CreateStaticWeapon
0x12aad4, 0x169ed0}; // falling Ferris wheel car position and smasher hit camera position
struct alignas(16) Vector { std::array<uint32_t, 4> bits{}; };
struct Matrix { std::array<Vector, 4> column{}; };
+44 -16
View File
@@ -131,8 +131,8 @@ namespace
constexpr uint32_t debug = 0x7484f0, debugBytes = 0x220; // actual terrain line/GS-line producer records
constexpr uint32_t towVectors = 0x23d060, towVectorBytes = 0x50, towMaterials = 0x190c20, towMaterialBytes = 0x100;
constexpr std::pair<uint32_t,uint32_t> regions[] = {{base,bytes},{globals,globalBytes},{debug,debugBytes},{0x66fcc4,4},
{towVectors,towVectorBytes},{towMaterials,towMaterialBytes},{0x230010,64},{0x687680,0x130},{0x687f00,0xb800},{0x446560,0x80},{0x235280,0x10},{0x239480,0x400},{0x742f80,0x20},{0x4b0560,0x10},{0x360000,0x2600}};
constexpr size_t fixtureBytes = bytes + globalBytes + debugBytes + 4 + towVectorBytes + towMaterialBytes + 64 + 0x130 + 0xb800 + 0x80 + 0x10 + 0x400 + 0x20 + 0x10 + 0x2600;
{towVectors,towVectorBytes},{towMaterials,towMaterialBytes},{0x230010,64},{0x687680,0x130},{0x687f00,0xb800},{0x446560,0x80},{0x235280,0x10},{0x239480,0x400},{0x742f80,0x20},{0x4b0560,0x10},{0x360000,0x2600},{0x4ac0d0,0x20}};
constexpr size_t fixtureBytes = bytes + globalBytes + debugBytes + 4 + towVectorBytes + towMaterialBytes + 64 + 0x130 + 0xb800 + 0x80 + 0x10 + 0x400 + 0x20 + 0x10 + 0x2600 + 0x20;
constexpr uint32_t gp = 0x40000, sp = 0x30000;
constexpr size_t vuAt = offsetof(R5900Context, vu0_vf), vuBytes = offsetof(R5900Context, cycles) - vuAt;
bool cpuEqual(R5900Context a, R5900Context b)
@@ -227,7 +227,7 @@ namespace
countMinionDirection(ctx); const auto before=*ctx; nativeDirectionImplementation(ram,ctx,rt);
require(vuUntouched(before,*ctx),"Minion forward leaf changed VU state");
}
constexpr uint32_t weaponDirectionReturns[]={0x1b1700,0x1b1bbc,0x1b339c,0x1b3634,0x1b371c,0x1b3ef8,0x1b2fb0,0x1b3118,0x150efc,0x1511ec,0x1513f4,0x150094,0x1502cc,0x14d62c,0x14d678};
constexpr uint32_t weaponDirectionReturns[]={0x1b1700,0x1b1bbc,0x1b339c,0x1b3634,0x1b371c,0x1b3ef8,0x1b2fb0,0x1b3118,0x150efc,0x1511ec,0x1513f4,0x150094,0x1502cc,0x14d62c,0x14d678,0x12aad4,0x169ed0};
std::array<unsigned,std::size(weaponDirectionReturns)> weaponDirectionCalls{};
void countWeaponDirection(const R5900Context *ctx) {
for(unsigned i=0;i<std::size(weaponDirectionReturns);++i) if(getRegU32(ctx,31)==weaponDirectionReturns[i]) ++weaponDirectionCalls[i];
@@ -348,7 +348,7 @@ void testHierarchyHelperCallers()
0x129e58,0x137cac,0x1b2d1c,0x1b3d30,0x1b3e00,
0x1ada84,0x1adb8c,0x1adba0,0x1adca8,0x1adcbc,0x1addc4,0x1addd8,
0x1b1700,0x1b1bbc,0x1b339c,0x1b3634,0x1b371c,0x1b3ef8,0x1b2fb0,0x1b3118,
0x150efc,0x1511ec,0x1513f4,0x150094,0x1502cc,0x14d62c,0x14d678};
0x150efc,0x1511ec,0x1513f4,0x150094,0x1502cc,0x14d62c,0x14d678,0x12aad4,0x169ed0};
const auto isInverse = [](unsigned kind) { return kind < 4 || kind == 12 || kind == 13 || (kind >= 24 && kind <= 30) || (kind >= 37 && kind <= 45) || (kind >= 50 && kind <= 57) || (kind >= 65 && kind <= 67) || (kind >= 76 && kind <= 96) || (kind >= 111 && kind <= 118) || (kind >= 123 && kind <= 125) || (kind >= 135 && kind <= 138) || (kind >= 155 && kind <= 187) || (kind >= 189 && kind <= 200); };
const unsigned saved = _mm_getcsr(); unsigned cases = 0, memoryCases = 0; std::array<unsigned,2> aiShotPublications{};
unsigned weaponJumpCases=0, lightingPublicationCases=0, rolloverPublicationCases=0;
@@ -357,7 +357,7 @@ void testHierarchyHelperCallers()
std::array<unsigned,4> collisionPublications{}; unsigned collisionErrnoCases=0;
std::array<unsigned,5> attachmentPublications{}; unsigned gridRemovals=0;
std::array<unsigned,4> minionPublications{}, minionDestructions{}; unsigned minionBoundaries=0;
std::array<unsigned,15> weaponPublications{};
std::array<unsigned,17> weaponPublications{};
for (unsigned mode = 0; mode < 4; ++mode) for (unsigned kind = 0; kind < std::size(callers); ++kind)
for (unsigned n = 0; n < 128; ++n)
{
@@ -1965,9 +1965,9 @@ void testHierarchyHelperCallers()
// Weapon lock-on, look-ahead, skill-satellite, rock and ricochet transforms through their real owners.
const unsigned site=kind-236;
const auto fp=[&](unsigned r,float v) { std::memcpy(&initial.fu[r],&v,4); };
constexpr uint32_t owners[]={0x1b16a8,0x1b1ae0,0x1b3350,0x1b3350,0x1b3350,0x1b3e28,0x1b2ee0,0x1b2ee0,0x150e68,0x151060,0x151358,0x14ff58,0x14ff58,0x14d3a0,0x14d3a0};
constexpr RecompiledFunction resumes[]={resume_0x1b16a8,resume_0x1b1ae0,resume_0x1b3350,resume_0x1b3350,resume_0x1b3350,resume_0x1b3e28,resume_0x1b2ee0,resume_0x1b2ee0,resume_0x150e68,resume_0x151060,resume_0x151358,resume_0x14ff58,resume_0x14ff58,resume_0x14d3a0,resume_0x14d3a0};
continuation=resumes[site]; entry=owners[site]; returnAt(site<2 ? 0x70 : site==8 ? 0x70 : site>=13 ? 0xd0 : site>=11 ? 0x80 : site>=9 ? 0xd0 : site>=6 ? 0xb0 : 0x30);
constexpr uint32_t owners[]={0x1b16a8,0x1b1ae0,0x1b3350,0x1b3350,0x1b3350,0x1b3e28,0x1b2ee0,0x1b2ee0,0x150e68,0x151060,0x151358,0x14ff58,0x14ff58,0x14d3a0,0x14d3a0,0x12aa98,0x169d48};
constexpr RecompiledFunction resumes[]={resume_0x1b16a8,resume_0x1b1ae0,resume_0x1b3350,resume_0x1b3350,resume_0x1b3350,resume_0x1b3e28,resume_0x1b2ee0,resume_0x1b2ee0,resume_0x150e68,resume_0x151060,resume_0x151358,resume_0x14ff58,resume_0x14ff58,resume_0x14d3a0,resume_0x14d3a0,resume_0x12aa98,resume_0x169d48};
continuation=resumes[site]; entry=owners[site]; returnAt(site<2 ? 0x70 : site==15 ? 0x40 : site==16 ? 0x50 : site==8 ? 0x70 : site>=13 ? 0xd0 : site>=11 ? 0x80 : site>=9 ? 0xd0 : site>=6 ? 0xb0 : 0x30);
word(object+0x130,address(cs)); word(object+0x110,address(vehicle)); word(object+0x114,scenario==2 && n>=64 ? 0 : address(vehicle)); // no target only gates full entries
word(object+4,scenario==1 ? 4 : 9); word(object+0x34,scenario==3 ? 0 : 1); word(object+0x3c,n&1); word(object+0x40,0);
f(object+0x54,0.f); word(object+0x14,0); f(object+0x70,2.f); f(object+0x94,-5.f); f(object+0x98,scenario==4 ? .5f : 6.f);
@@ -1981,6 +1981,25 @@ void testHierarchyHelperCallers()
if(site<2) { reg(4,vehicle+0xd0); reg(5,object+0x120); reg(6,sp); }
else if(site==2) { reg(4,object+0xd0); reg(5,object+0x90); reg(6,sp); }
else if(site<6) { reg(4,site==5 ? object+0xd0 : cs+0x20); reg(5,sp); reg(6,sp); xyz(sp,3.f,-4.f,8.f); } // actual in-place transforms
else if(site>=15) {
if(site==15) {
// FerrisWheel::UpdateFalling: the falling car's offset through its coordinate system, added to the
// position; the resulting height (Z) selects the landing state at gp-312c.
word(object+0x90,address(cs)); xyz(object+0x30,2.f,-3.f,4.5f); word(gp-0x312c,0);
if(scenario==2) f(cs+0x18,-100.f);
reg(16,object); reg(4,cs+0x20); reg(5,object+0x30); reg(6,sp);
} else {
// Smashers::SmasherHit: a camera offset (0,-200,60) through the slot's camera basis, added to the hit
// vehicle's position, then handed to TheGame::DetachCamera, which copies it into that camera.
constexpr uint32_t smasher=object, cameraModes=0x4ac0d0;
const uint32_t slot=n%4;
word(smasher+0x38,n>=64 && scenario==1 ? 0 : 4); for(unsigned i=0;i<4;++i) word(smasher+4*i,n>=64 && scenario==3 && i==slot ? 1 : 0);
word(smasher+0x10,address(vehicle)); word(vehicle+0x20bc,n>=64 && scenario==2 ? 0 : 1); word(vehicle+0x20c0,slot);
for(unsigned i=0;i<4;++i) { word(0x4b0370+4*i,address(cs)); word(0x4b0380+4*i,address(child)); word(cameraModes+4*i,0); }
xyz(child+0x10,40.f,50.f,60.f);
reg(16,sp+0x10); reg(17,smasher); reg(18,vehicle); reg(4,cs+0x20); reg(5,sp); reg(6,sp+0x10); xyz(sp,0.f,-200.f,60.f);
}
}
else if(site>=8) {
// Launcher turret aim (Hearse, Minion, Tanker): the object is the launcher, the vehicle its owner.
// GetClosestCar walks the game's embedded vehicle array; one live candidate car is at the game base.
@@ -2049,7 +2068,7 @@ void testHierarchyHelperCallers()
if(n>=64) {
fromEntry=true; initial.pc=entry; reg(4,object); setRegU32(&initial,31,0xbad0000);
if(kind==225) reg(5,actor);
if(kind>=244) reg(5,vehicle); // launcher owners take (launcher, vehicle)
if(kind>=244) reg(5,vehicle); // launcher and smasher owners take (object, vehicle)
}
}
else
@@ -2457,9 +2476,10 @@ void testHierarchyHelperCallers()
const unsigned site=kind-236, scenario=(n%64)/8;
const auto read=[&](uint32_t at) { uint32_t v; std::memcpy(&v,ram+at,4); return v; };
const bool active=!fromEntry || site>=2 || (scenario!=1 && scenario!=2 && scenario!=3);
std::array<unsigned,15> reached{};
std::array<unsigned,17> reached{};
std::vector<unsigned> order; // reached sites in execution order
if(site>=8) { const bool aim=!fromEntry || scenario!=1 || site==11; reached[site]=aim; if(aim) order.push_back(site); }
if(site>=15) { const bool hit=site==15 || !fromEntry || scenario<1 || scenario>3; reached[site]=hit; if(hit) order.push_back(site); }
else if(site>=8) { const bool aim=!fromEntry || scenario!=1 || site==11; reached[site]=aim; if(aim) order.push_back(site); }
// (Environment gun: scenario 1 is the no-fire update count, which skips its transform as well.)
else if(site<6) { reached[site]=active; if(active) order.push_back(site); }
else {
@@ -2468,21 +2488,29 @@ void testHierarchyHelperCallers()
if(!fromEntry || scenario!=4) { reached[7]=1; order.push_back(7); }
}
require(refWeaponDirections==reached,"weapon forward producer reach differs");
const uint32_t frame=fromEntry ? sp-(site<2 ? 0x90u : site==5 ? 0x60u : site==8 ? 0xa0u : site>=13 ? 0x110u : site>=11 ? 0xb0u : site==9 ? 0x100u : site==10 ? 0xf0u : site>=6 ? 0xd0u : 0x50u) : sp;
const uint32_t wAt=frame+(site>=8 && site<13 ? 0x1cu : 0xcu);
const uint32_t frame=fromEntry ? sp-(site<2 ? 0x90u : site==5 ? 0x60u : site==8 ? 0xa0u : site>=15 ? 0x60u : site>=13 ? 0x110u : site>=11 ? 0xb0u : site==9 ? 0x100u : site==10 ? 0xf0u : site>=6 ? 0xd0u : 0x50u) : sp;
const uint32_t wAt=frame+((site>=8 && site<13) || site==16 ? 0x1cu : 0xcu);
require(referenceW.size()==unsigned(!order.empty()) && (order.empty() || referenceW[0].offset==wAt),"unexpected weapon forward-W exclusion");
require(refWeaponInputs.size()==order.size() && refWeaponOutputs.size()==order.size(),"weapon transform consumer not executed");
for(size_t k=0;k<order.size();++k) {
// Independent quarter-turn/identity result where the basis is fixture-known, then the actual XYZ
// publication through mathfAddVector. Ricochet's second basis is rebuilt by the owner after its first.
const unsigned at=order[k];
const bool known=at==9 || at==10 || at>=13 ? !fromEntry : at!=7 || (site==7 && !fromEntry); // Minion/Tanker entries build their aim basis
const bool known=at==9 || at==10 || at==13 || at==14 ? !fromEntry : at!=7 || (site==7 && !fromEntry); // Minion/Tanker entries build their aim basis
const bool rotated=at==2 || (at>=5 && at<=7) ? n%4==1 : (at==3 || at==4) && fromEntry ? false : n%4==0;
float in[3], out[3]; std::memcpy(in,refWeaponInputs[k].data(),12); std::memcpy(out,refWeaponOutputs[k].data(),12);
if(known) require(out[0]==(rotated ? -in[1] : in[0]) && out[1]==(rotated ? in[0] : in[1]) && out[2]==in[2],"weapon independent transform differs");
std::array<uint32_t,3> sum;
for(unsigned i=0;i<3;++i) sum[i]=bozo::fadd(nullptr,refWeaponBases[k][i],refWeaponOutputs[k][i]);
if(at>=8) {
if(at==15) {
float z; std::memcpy(&z,&sum[2],4);
require(read(0x22010)==sum[0] && read(0x22014)==sum[1] && read(0x22018)==sum[2] && read(gp-0x312c)==(z>10.f ? 0u : 1u),
"Ferris wheel falling position/state publication differs");
} else if(at==16) {
const uint32_t slot=n%4, alias=getRegU32(&initial,29)&0xa0000000u;
require(read(0x22010)==sum[0] && read(0x22014)==sum[1] && read(0x22018)==sum[2],"smasher camera position differs");
require(read(0x18000+4*slot)==(0x1c000u|alias) && read(0x4ac0d0+4*slot)==5,"smasher camera slot/mode publication differs");
} else if(at>=8) {
// The aim point is consumed by the real mathfRotationFromPointToPoint toward the chosen car.
require(refWeaponTargets.size()==1 && refWeaponTargets[0]==sum,"launcher aim point differs");
if((at==8 || at==12) && fromEntry) require(read(0x3624bc)==1,"launcher target flag not published"); // set before the transform
@@ -2575,7 +2603,7 @@ void testHierarchyHelperCallers()
std::all_of(minionDestructions.begin(),minionDestructions.end(),[](unsigned n) { return n!=0; }) && minionBoundaries,"Minion fixtures missed damage/destruction/distance boundaries");
std::printf("Minion forward publication cases: damage %u/%u/%u/%u destruction %u/%u/%u/%u exact distance boundaries %u\n",minionPublications[0],minionPublications[1],minionPublications[2],minionPublications[3],minionDestructions[0],minionDestructions[1],minionDestructions[2],minionDestructions[3],minionBoundaries);
require(std::all_of(weaponPublications.begin(),weaponPublications.end(),[](unsigned n) { return n!=0; }),"weapon fixtures missed transform publication");
std::printf("Weapon forward publication cases: lock-on %u look-ahead %u skill-satellite %u/%u/%u rock %u ricochet %u/%u launcher aim hearse %u minion %u tanker %u cop SUV %u/%u environment gun %u/%u\n",weaponPublications[0],weaponPublications[1],weaponPublications[2],weaponPublications[3],weaponPublications[4],weaponPublications[5],weaponPublications[6],weaponPublications[7],weaponPublications[8],weaponPublications[9],weaponPublications[10],weaponPublications[11],weaponPublications[12],weaponPublications[13],weaponPublications[14]);
std::printf("Weapon forward publication cases: lock-on %u look-ahead %u skill-satellite %u/%u/%u rock %u ricochet %u/%u launcher aim hearse %u minion %u tanker %u cop SUV %u/%u environment gun %u/%u; Ferris wheel fall %u, smasher camera %u\n",weaponPublications[0],weaponPublications[1],weaponPublications[2],weaponPublications[3],weaponPublications[4],weaponPublications[5],weaponPublications[6],weaponPublications[7],weaponPublications[8],weaponPublications[9],weaponPublications[10],weaponPublications[11],weaponPublications[12],weaponPublications[13],weaponPublications[14],weaponPublications[15],weaponPublications[16]);
host.enabled = false; unsigned historical = 0;
for (unsigned kind = 4; kind < std::size(callers); ++kind) for (unsigned n = 0; n < 64; ++n)
{