sots-re/verify/results/shim/ar/ar-r1-shim.log
alex df9431be64 AR: the raid target pick FIRES - TradeManager+0x0c is the per-system containing-sector table
Decides lane AG's section 3.3 final paragraph, which lane AD correctly reported
it could not separate on sector 832.

STATIC: FUN_00841700 is the writer AG's section 7 lists as not found. It resizes
the +0x0c vector to the length of the systems vector -- the container trfr indexes
-- and fills it with containingSector[system.Idx] = sector. It runs from the
deserialiser, so a loaded save has it populated. G_B1a cannot reject a valid trfr.

LIVE: four raiders parked (2 CR on sector 832, 2 DE on sector 816), probes=8.
Slot13RngCalleeA entered 4x/turn at 4 words every turn; on turn 42 the pick fired
at 0x0088b613, calls=1 words=1, and the tail cost 5 words against 4 elsewhere.
The same run carries its own control: B entered on 832 twice at 0 words.

B costs ONE word, not two: FUN_00820af0's third short-circuit is a flag word
InitTable sets only for Human and Zuul, so AG's committed 3-words-on-success is 2.

Two hooks=off processes gave byte-identical autosaves, and so did a probes=8
process -- an oracle pair and a whole-save byte-neutrality proof for the
instrument, both firsts on this lineage.

Also first firings of 0x008939ee (rule 20's case study) and 0x00820c1b.
2026-09-09 00:36:32 -04:00

143 lines
15 KiB
Text

23:47:48.211 [tid 5640] ==== sots-engine shim (binkw32 proxy) build ar-989c692-20260909T0313Z ====
23:47:48.211 [tid 5640] exe: C:\SOTS\Sword of the Stars.exe
23:47:48.211 [tid 5640] exe base=0x00210000 (link-time image base 0x00400000, ASLR delta -2031616) pid=8632 shim=72a50000
23:47:48.211 [tid 5640] addresses: Source: sots-re ghidra/addresses.json @ 48db3cc, generated 2026-09-08 by tools/gen_addresses.py
23:47:48.211 [tid 5640] config: hooks=trace
23:47:48.211 [tid 5640] config: hook.Shim::SelfTest::Fill=off
23:47:48.211 [tid 5640] config: hook.Mars::GlobalConsts::LoadFile=off
23:47:48.211 [tid 5640] config: hook.Game::WeaponDictionary::Init=off
23:47:48.211 [tid 5640] config: hook.Game::SectionDictionary::SectionDictionary=off
23:47:48.211 [tid 5640] config: hook.Game::ServerPlayer::ComputeBudget=off
23:47:48.211 [tid 5640] config: hook.Game::TechTree::ProcessResearch=off
23:47:48.211 [tid 5640] config: hook.Game::ServerPlayer::OnTechResearched=off
23:47:48.211 [tid 5640] config: hook.Game::ServerSystem::ProcessTurn=off
23:47:48.211 [tid 5640] config: hook.Game::ServerPlayer::ProcessTurn=off
23:47:48.211 [tid 5640] config: hook.Game::ServerSystem::GroupOutput=off
23:47:48.211 [tid 5640] config: hook.Game::ServerSystem::ComputeTotalOutput=off
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::MoveFleet=off
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::ProcessFleetMovement=off
23:47:48.211 [tid 5640] config: hook.Game::StrategyHost::Autosave=trace
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::ProcessTurn=trace
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::OnAllCombatDone_Tail=trace
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::ApplyEncounterResult=trace
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::NodeLineDecay=trace
23:47:48.211 [tid 5640] config: hook.Game::StrategyServer::ProcessNodeSpaceTravel=trace
23:47:48.211 [tid 5640] config: hook.Game::EncounterDetect::AssignContacts=trace
23:47:48.211 [tid 5640] config: hook.Game::EncounterDetect::ProcessTeamRecord=trace
23:47:48.211 [tid 5640] config: fpu.sample_turn=off
23:47:48.211 [tid 5640] config: fpu.sample_ticks=off
23:47:48.211 [tid 5640] config: trace.inline_max=64
23:47:48.211 [tid 5640] config: trace.path=C:\SOTS\shim.trace.jsonl
23:47:48.211 [tid 5640] config: trace.flush=always
23:47:48.211 [tid 5640] config: probes=8 -> 8 lane-H entry probes
23:47:48.273 [tid 5640] trace: C:\SOTS\shim.trace.jsonl (default mode trace, inline_max 64, flush always)
23:47:48.273 [tid 5640] hook: Mars_Application_Initialize rva=0x004a0e50 -> va=006b0e50
23:47:48.273 [tid 5640] hook: MH_Initialize -> MH_OK
23:47:48.273 [tid 5640] hook: MH_CreateHook -> MH_OK (trampoline=00f00fe0)
23:47:48.289 [tid 5640] hook: MH_EnableHook -> MH_OK
23:47:48.289 [tid 5640] cfg: GlobalConsts hook ready (scale constant 0.017453292519943295)
23:47:48.289 [tid 5640] hook: Mars::GlobalConsts::LoadFile rva=0x004b73c0 mode=off (not installed)
23:47:48.289 [tid 5640] dict: dictionaries hook ready (crt new=74b3232b delete=74b30174)
23:47:48.289 [tid 5640] hook: Game::WeaponDictionary::Init rva=0x0019a4c0 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::SectionDictionary::SectionDictionary rva=0x00176f40 mode=off (not installed)
23:47:48.289 [tid 5640] research: ProcessResearch hook ready (Cost=0038da00, node=0x34, rng=0x9cc, fpu_cw=0x027f)
23:47:48.289 [tid 5640] hook: Game::TechTree::ProcessResearch rva=0x001876c0 mode=off (not installed)
23:47:48.289 [tid 5640] techfx: OnTechResearched hook ready (regions=15, gate=0/0, fpu_cw=0x027f)
23:47:48.289 [tid 5640] hook: Game::ServerPlayer::OnTechResearched rva=0x00491790 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::ServerPlayer::ComputeBudget rva=0x00463030 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::ServerSystem::ProcessTurn rva=0x003598e0 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::ServerSystem::GroupOutput rva=0x0034b7a0 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::ServerSystem::ComputeTotalOutput rva=0x00350480 mode=off (not installed)
23:47:48.289 [tid 5640] player_turn: ServerPlayer::ProcessTurn hook armed (ratio helper at 0038e950)
23:47:48.289 [tid 5640] hook: Game::ServerPlayer::ProcessTurn rva=0x00491340 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::StrategyServer::MoveFleet rva=0x003d9ee0 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::StrategyServer::ProcessFleetMovement rva=0x003da9a0 mode=off (not installed)
23:47:48.289 [tid 5640] hook: Game::StrategyHost::Autosave rva=0x00495210 -> va=006a5210 MH_CreateHook -> MH_OK (trampoline=00f00fc0)
23:47:48.305 [tid 5640] hook: Game::StrategyHost::Autosave MH_EnableHook -> MH_OK mode=trace
23:47:48.305 [tid 5640] hook: Game::StrategyServer::ProcessTurn rva=0x003dc6c0 -> va=005ec6c0 MH_CreateHook -> MH_OK (trampoline=00f00fa0)
23:47:48.336 [tid 5640] hook: Game::StrategyServer::ProcessTurn MH_EnableHook -> MH_OK mode=trace
23:47:48.336 [tid 5640] hook: Game::StrategyServer::OnAllCombatDone_Tail rva=0x003d92a0 -> va=005e92a0 MH_CreateHook -> MH_OK (trampoline=00f00f80)
23:47:48.351 [tid 5640] hook: Game::StrategyServer::OnAllCombatDone_Tail MH_EnableHook -> MH_OK mode=trace
23:47:48.351 [tid 5640] hook: Game::StrategyServer::ApplyEncounterResult rva=0x003d8920 -> va=005e8920 MH_CreateHook -> MH_OK (trampoline=00f00f60)
23:47:48.367 [tid 5640] hook: Game::StrategyServer::ApplyEncounterResult MH_EnableHook -> MH_OK mode=trace
23:47:48.367 [tid 5640] hook: Game::StrategyServer::NodeLineDecay rva=0x003ae010 -> va=005be010 MH_CreateHook -> MH_OK (trampoline=00f00f40)
23:47:48.383 [tid 5640] hook: Game::StrategyServer::NodeLineDecay MH_EnableHook -> MH_OK mode=trace
23:47:48.383 [tid 5640] hook: Game::StrategyServer::ProcessNodeSpaceTravel rva=0x003a0e20 -> va=005b0e20 MH_CreateHook -> MH_OK (trampoline=00f00f20)
23:47:48.398 [tid 5640] hook: Game::StrategyServer::ProcessNodeSpaceTravel MH_EnableHook -> MH_OK mode=trace
23:47:48.398 [tid 5640] hook: Game::EncounterDetect::AssignContacts rva=0x003aa240 -> va=005ba240 MH_CreateHook -> MH_OK (trampoline=00f00f00)
23:47:48.414 [tid 5640] hook: Game::EncounterDetect::AssignContacts MH_EnableHook -> MH_OK mode=trace
23:47:48.414 [tid 5640] hook: Game::EncounterDetect::ProcessTeamRecord rva=0x003ca640 -> va=005da640 MH_CreateHook -> MH_OK (trampoline=00f00ee0)
23:47:48.430 [tid 5640] hook: Game::EncounterDetect::ProcessTeamRecord MH_EnableHook -> MH_OK mode=trace
23:47:48.430 [tid 5640] hook: Game::StrategyServer::BeginProcessTurn rva=0x003d98e0 -> va=005e98e0 MH_CreateHook -> MH_OK (trampoline=00f00ec0)
23:47:48.445 [tid 5640] hook: Game::StrategyServer::BeginProcessTurn MH_EnableHook -> MH_OK mode=trace
23:47:48.445 [tid 5640] hook: Game::SVSOSwarmQueen::OnTurnBegin rva=0x00129930 -> va=00339930 MH_CreateHook -> MH_OK (trampoline=00f00ea0)
23:47:48.461 [tid 5640] hook: Game::SVSOSwarmQueen::OnTurnBegin MH_EnableHook -> MH_OK mode=trace
23:47:48.461 [tid 5640] hook: Game::SVSOSwarmQueen::RegisterHives rva=0x00127630 -> va=00337630 MH_CreateHook -> MH_OK (trampoline=00f00e80)
23:47:48.476 [tid 5640] hook: Game::SVSOSwarmQueen::RegisterHives MH_EnableHook -> MH_OK mode=trace
23:47:48.476 [tid 5640] hook: Game::SVSOSwarmQueen::TickHives rva=0x00127770 -> va=00337770 MH_CreateHook -> MH_OK (trampoline=00f00e60)
23:47:48.492 [tid 5640] hook: Game::SVSOSwarmQueen::TickHives MH_EnableHook -> MH_OK mode=trace
23:47:48.492 [tid 5640] hook: Game::SVSOSlaversRefuel::UpdateDifficultyTier rva=0x00115820 -> va=00325820 MH_CreateHook -> MH_OK (trampoline=00f00e40)
23:47:48.508 [tid 5640] hook: Game::SVSOSlaversRefuel::UpdateDifficultyTier MH_EnableHook -> MH_OK mode=trace
23:47:48.508 [tid 5640] hook: Mars::RNG::Seed rva=0x0009fdf0 -> va=002afdf0 MH_CreateHook -> MH_OK (trampoline=00f00e20)
23:47:48.523 [tid 5640] hook: Mars::RNG::Seed MH_EnableHook -> MH_OK mode=trace
23:47:48.523 [tid 5640] hook: Game::StrategyApp::RunAI rva=0x004706f0 -> va=006806f0 MH_CreateHook -> MH_OK (trampoline=00f00e00)
23:47:48.539 [tid 5640] hook: Game::StrategyApp::RunAI MH_EnableHook -> MH_OK mode=trace
23:47:48.555 [tid 5640] drawsite: Mars::RNG::NextFloat rva=0x0007d830 -> va=0028d830 create=MH_OK enable=MH_OK
23:47:48.570 [tid 5640] drawsite: Mars::RNG::NextInt rva=0x000271c0 -> va=002371c0 create=MH_OK enable=MH_OK
23:47:48.586 [tid 5640] drawsite: Mars::RNG::Chance rva=0x004e6dd0 -> va=006f6dd0 create=MH_OK enable=MH_OK
23:47:48.601 [tid 5640] drawsite: Mars::RNG::NextUInt rva=0x000f7670 -> va=00307670 create=MH_OK enable=MH_OK
23:47:48.617 [tid 5640] drawsite: Mars::RNG::FloatRange rva=0x0007d8a0 -> va=0028d8a0 create=MH_OK enable=MH_OK
23:47:48.648 [tid 5640] drawsite: Mars::RNG::IntRangeBell rva=0x004e6d80 -> va=006f6d80 create=MH_OK enable=MH_OK
23:47:48.664 [tid 5640] drawsite: Mars::RNG::GaussianRange rva=0x004e6e30 -> va=006f6e30 create=MH_OK enable=MH_OK
23:47:48.664 [tid 5640] probe: installing 8 of 12 (probes= in shim.cfg)
23:47:48.680 [tid 5640] probe: Game::ServerSpyManager::vslot13 rva=0x004877b0 -> va=006977b0 create=MH_OK enable=MH_OK
23:47:48.695 [tid 5640] probe: Game::ServerSpyManager::vslot14 rva=0x0048db80 -> va=0069db80 create=MH_OK enable=MH_OK
23:47:48.711 [tid 5640] probe: Game::ServerTradeManagerImpl::vslot13 rva=0x0048ef80 -> va=0069ef80 create=MH_OK enable=MH_OK
23:47:48.726 [tid 5640] probe: Game::ServerTradeManagerImpl::vslot15 rva=0x0042cca0 -> va=0063cca0 create=MH_OK enable=MH_OK
23:47:48.742 [tid 5640] probe: Game::SpyManager::Slot13RngCallee rva=0x004408e0 -> va=006508e0 create=MH_OK enable=MH_OK
23:47:48.758 [tid 5640] probe: Game::TradeManager::Slot13RngCalleeA rva=0x00420ca0 -> va=00630ca0 create=MH_OK enable=MH_OK
23:47:48.789 [tid 5640] probe: Game::TradeManager::Slot13RngCalleeB rva=0x0048b440 -> va=0069b440 create=MH_OK enable=MH_OK
23:47:48.805 [tid 5640] probe: Game::ServerTradeManager::CreateRaidEncounter rva=0x004938a0 -> va=006a38a0 create=MH_OK enable=MH_OK
23:47:48.805 [tid 5640] watch: disabled (watch=off)
23:47:48.805 [tid 5640] aiorders: disabled (aiorders=off)
23:47:48.805 [tid 5640] fpu: module init, entry cw=0x027f 53bit-double/nearest; force=off value=0x0000 sample_ticks=off
23:47:48.805 [tid 5640] fpu: sample_turn=off (off releases StrategyServer::ProcessTurn for another hook)
23:47:48.805 [tid 5640] fpu: StrategyClient::EndTurn rva=0x00383be0 -> va=00593be0 MH_CreateHook -> MH_OK (trampoline=00f00c00)
23:47:48.820 [tid 5640] fpu: StrategyClient::EndTurn MH_EnableHook -> MH_OK
23:47:48.820 [tid 5640] fpu: StrategyServer::BeginProcessTurn rva=0x003d98e0 -> va=005e98e0 MH_CreateHook -> MH_ERROR_ALREADY_CREATED (trampoline=00000000)
23:47:48.820 [tid 5640] fpu: StrategyServer::ProcessTurn rva=0x003dc6c0 not installed (sampler off)
23:47:48.820 [tid 5640] fpu: DemoApp::OnTick rva=0x0049a640 not installed (sampler off)
23:47:48.820 [tid 5640] selftest: Shim::SelfTest::Fill mode=off checksum=075ef0c3 records=0
23:47:48.836 [tid 5640] Application::Initialize called (this=02fb8128)
23:53:02.045 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:53:05.171 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:53:05.186 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:53:05.233 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:01.702 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:04.842 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:04.874 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:04.920 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:46.827 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:49.952 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:49.999 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:56:50.045 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:57:51.061 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:57:54.217 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:57:54.233 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:57:54.295 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:04.858 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:08.014 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:08.030 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:08.077 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:50.061 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:53.233 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:53.249 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
23:59:53.295 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:00:35.264 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:00:38.452 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:00:38.467 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:00:38.530 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:01:39.780 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=1f876370): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:01:42.889 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a69610): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:01:42.905 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6dee0): cw=0x127f 53bit-double/nearest [no fpu.force configured]
00:01:42.952 [tid 5640] fpu: sample at StrategyClient::EndTurn (this=33a6a4a0): cw=0x127f 53bit-double/nearest [no fpu.force configured]