Cross-project site map: the title's two deliberate self-kills, the 8-GB int3, and the cold-run sentinel family (exe hash e95020b2…) #630

Open
opened 2026-11-26 04:10:40 +00:00 by github-bot · 17 comments
Owner

@⁠pickles976 on GitHub · 2026-11-24 05:56 UTC · original

Context / no game data here. Cross-project note from the ivall/xcl side (via the awesome-PC-ports list). Both projects run the same retail exe — SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, 120,181,760 bytes — so game_scarlett_master.exe+0x… offsets are shared ground truth. Below is what static analysis over there has established; citing sites instead of symptoms will save this repo days.

1. The title kills itself, on purpose, in two places

  • +0x23cf683: mov dword ptr [0], 0x4d8bd421 — unconditional null store with a tag value, on the stall-watchdog's give-up path. When frame presents stop advancing past the escalation window (tens of seconds), the title ends its own process. The tag matches the report routine xref'd at +0x221396e.
  • +0x2215c35: mov qword ptr [0], 0 — sibling exit, reached via a null-checked callback through the global at exe+0x71b6348 (bring-up reporter family).

Consequence: any "crash at address 0" report here should first be checked against these two sites. They are not corruption — they mean progress stopped. Chase what stopped; don't chase the AV.

2. Watchdog timing model (from dumps correlated on the other project)

Stall → reports escalate → kill lands 40–105 s after presents stop, 100% reproducibly, GPU-independent. Builds that keep trickling presents stay alive but then consume half-initialized state — the real fix is throughput of pipeline creation (NVIDIA DXC: ~6–9 s per big compute shader was measured on an RTX 5080; warm-cache runs only move the wall, not remove it).

3. Crash sites to classify before debugging (day-1 map)

  • +0xb5a5f8 read: zero object from a success-returning factory (callee +0xb5a5d0, factory +0x1819530) — auth-subsystem uninitialized chain.
  • +0x193e00f int3: the title treats a failed GPU allocation as fatal (test esi,esi; jns; int3) — this is what kills 8 GB VRAM cards; E_OUTOFMEMORY precedes it in logs.
  • Cold-run sentinel family (creation paths only): reads at 0x20 / 0x10 / 0xffffffffffffffff at +0x5417661, +0x4eeaa29, +0x53664a8, +0x4e32bc5 — consumers that filter only null while failure paths write 0/-1 sentinels into handle/index tables.
  • The exe uses a custom import call-table (no RIP-relative refs to the static IAT; 275 FF 25 thunks into .rdata ~0x6794xxx) — "symbol X isn't imported" theories read the wrong table; enumerate the table, don't read the IAT.

4. On this repo's #619/#625 (device hangs on 8 GB NVIDIA)

Those numbers (0x887A0006 after entering world, 8 GB cards) match the class behind the +0x193e00f mechanism on the other project: allocation failures + TDR, not a translation hang — DRED page data will show the allocation that failed, and the title's response is the int3, not a graceful degrade. A spillover/backfill strategy for failed heap allocations is the fix that unblocked the 16 GB cohort there.

Happy to decode specific sites from your side — the exe copy used for analysis is hash-pinned above; no package bytes are hosted or distributed from this issue, per both repos' rules.

**@⁠pickles976** on GitHub · 2026-11-24 05:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/630) **Context / no game data here.** Cross-project note from the `ivall/xcl` side (via the awesome-PC-ports list). Both projects run the **same retail exe** — SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`, 120,181,760 bytes — so `game_scarlett_master.exe+0x…` offsets are shared ground truth. Below is what static analysis over there has established; citing sites instead of symptoms will save this repo days. ## 1. The title kills itself, on purpose, in two places - `+0x23cf683`: `mov dword ptr [0], 0x4d8bd421` — unconditional null store with a **tag value**, on the stall-watchdog's give-up path. When frame presents stop advancing past the escalation window (tens of seconds), the title ends its own process. The tag matches the report routine xref'd at `+0x221396e`. - `+0x2215c35`: `mov qword ptr [0], 0` — sibling exit, reached via a null-checked callback through the global at `exe+0x71b6348` (bring-up reporter family). Consequence: any "crash at address 0" report here should first be checked against these two sites. They are **not** corruption — they mean progress stopped. Chase what stopped; don't chase the AV. ## 2. Watchdog timing model (from dumps correlated on the other project) Stall → reports escalate → kill lands 40–105 s after presents stop, 100% reproducibly, GPU-independent. Builds that keep *trickling* presents stay alive but then consume half-initialized state — the real fix is throughput of pipeline creation (NVIDIA DXC: ~6–9 s per big compute shader was measured on an RTX 5080; warm-cache runs only move the wall, not remove it). ## 3. Crash sites to classify before debugging (day-1 map) - `+0xb5a5f8` read: zero object from a success-returning factory (callee `+0xb5a5d0`, factory `+0x1819530`) — auth-subsystem uninitialized chain. - `+0x193e00f` `int3`: the title treats a **failed GPU allocation as fatal** (`test esi,esi; jns; int3`) — this is what kills 8 GB VRAM cards; `E_OUTOFMEMORY` precedes it in logs. - Cold-run sentinel family (creation paths only): reads at `0x20` / `0x10` / `0xffffffffffffffff` at `+0x5417661`, `+0x4eeaa29`, `+0x53664a8`, `+0x4e32bc5` — consumers that filter only `null` while failure paths write `0`/`-1` sentinels into handle/index tables. - The exe uses a **custom import call-table** (no RIP-relative refs to the static IAT; 275 `FF 25` thunks into `.rdata` ~`0x6794xxx`) — "symbol X isn't imported" theories read the wrong table; enumerate the table, don't read the IAT. ## 4. On this repo's #619/#625 (device hangs on 8 GB NVIDIA) Those numbers (`0x887A0006` after entering world, 8 GB cards) match the class behind the `+0x193e00f` mechanism on the other project: allocation failures + TDR, not a translation hang — DRED page data will show the allocation that failed, and the title's response is the `int3`, not a graceful degrade. A spillover/backfill strategy for failed heap allocations is the fix that unblocked the 16 GB cohort there. Happy to decode specific sites from your side — the exe copy used for analysis is hash-pinned above; no package bytes are hosted or distributed from this issue, per both repos' rules.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:10:40 +00:00
Author
Owner

@⁠fiestorra on GitHub · 2026-11-24 13:53 UTC · original

Checked against an independent copy of the same image — my local copy of the 1.0.2.1 package, SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, 120,181,760 bytes, same size and hash as yours. Your three sites are correct byte for byte. Two more stops of the same class, and one number to correct.

1. Confirmed as written.

  • +0x23cf683: c7 04 25 00 00 00 00 21 d4 8b 4d — mov dword ptr [0], 4d8bd421h, reached out of a inc rax / jne counting loop and followed by add rsp,48h; ret. Tag value and null store exactly as you describe.
  • +0x2215c35: c7 04 25 00 00 00 00 00 00 00 00 — mov qword ptr [0], 0, reached through mov rax,[rip+4fa071ah] (the global at +0x71b6348) / test rax,rax / je / call rax. The null-checked callback, as you describe.
  • +0x193e00f: call [rax+428h] at +0x193dff6, then mov ecx,eax / mov esi,eax, a call to the reporting routine at +0x4e9b660, test esi,esi / jns +2d9h, and cc at +0x193e00f. So the fatal case is a failed call through device-table offset 0x428, which this repo fills with resource::create_at_address (device.rs:403) — a placed creation that the title treats as fatal rather than degrading. The reporting routine at +0x4e9b660 is the same one the two unresolved slots 0x1c8/0x218 go through (#417 comment).

2. Two more deliberate stops, same family. Both are single occurrences, so they are specific checks rather than patterns.

  • +0x247af2d, inside the function +0x247ad10–+0x247af58:
    +0x247af14  mov rax,[rsp+78h] / sub rax,[rsp+70h] / add rax,[rip+516c0cbh]  ; a value at +75e6ff2h
    +0x247af25  cmp rax, 1FFFFFh
    +0x247af2b  jbe +1
    +0x247af2d  int 3
    
    A hard 2 MiB cap on a range: the stop is taken when end − start + value_at(+75e6ff2h) reaches 2 MiB. The sub of the two stack values occurs exactly once in the whole image. Execution continues afterwards into +0x5c8fa7x, which is why such a stop shows up as a record rather than a death.
  • +0x19f4f58: call +2478440h at +0x19f4f4f, test al,al / jne +1 / int 3. A bring-up routine whose byte result gates everything after it; +0x2478440–+0x2479682 is the same startup routine that reaches 0x1c8 and 0x218 through the device table.

3. One number, and the encoding to look for. The table near 0x6794xxx is real, but the form that dominates is call [rip+disp32] (ff 15), not jmp [rip+disp32] (ff 25). Counting the raw byte pairs inside .text: 5228 ff 15 and 2703 ff 25 occurrences, of which the displacements that land inside 0x6794000–0x6795000 are 2317 for ff 15 and 234 for ff 25. The remaining ones are other instructions or data, so a scan keyed on ff 25 alone misses about nine out of ten uses of that table. The IAT itself is not the dominant path, which matches your point.

What I cannot add from here: this machine's GPU stops before the first presentation, so I have no run that reaches those sites in motion — everything above is read out of the file.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-24 13:53 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7133485803) Checked against an independent copy of the same image — my local copy of the 1.0.2.1 package, SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`, 120,181,760 bytes, same size and hash as yours. Your three sites are correct byte for byte. Two more stops of the same class, and one number to correct. **1. Confirmed as written.** - `+0x23cf683`: `c7 04 25 00 00 00 00 21 d4 8b 4d` — `mov dword ptr [0], 4d8bd421h`, reached out of a `inc rax / jne` counting loop and followed by `add rsp,48h; ret`. Tag value and null store exactly as you describe. - `+0x2215c35`: `c7 04 25 00 00 00 00 00 00 00 00` — `mov qword ptr [0], 0`, reached through `mov rax,[rip+4fa071ah]` (the global at `+0x71b6348`) / `test rax,rax` / `je` / `call rax`. The null-checked callback, as you describe. - `+0x193e00f`: `call [rax+428h]` at `+0x193dff6`, then `mov ecx,eax / mov esi,eax`, a call to the reporting routine at `+0x4e9b660`, `test esi,esi / jns +2d9h`, and `cc` at `+0x193e00f`. So the fatal case is a **failed call through device-table offset `0x428`**, which this repo fills with `resource::create_at_address` ([device.rs:403](https://github.com/Marvisak/VIctory/blob/main/crates/victory-gpu/src/device.rs)) — a placed creation that the title treats as fatal rather than degrading. The reporting routine at `+0x4e9b660` is the same one the two unresolved slots `0x1c8`/`0x218` go through ([#417 comment](https://git.gtahub.st/github/Marvisak--VIctory/issues/417)). **2. Two more deliberate stops, same family.** Both are single occurrences, so they are specific checks rather than patterns. - `+0x247af2d`, inside the function `+0x247ad10`–`+0x247af58`: ```text +0x247af14 mov rax,[rsp+78h] / sub rax,[rsp+70h] / add rax,[rip+516c0cbh] ; a value at +75e6ff2h +0x247af25 cmp rax, 1FFFFFh +0x247af2b jbe +1 +0x247af2d int 3 ``` A hard **2 MiB cap on a range**: the stop is taken when `end − start + value_at(+75e6ff2h)` reaches 2 MiB. The `sub` of the two stack values occurs exactly once in the whole image. Execution continues afterwards into `+0x5c8fa7x`, which is why such a stop shows up as a record rather than a death. - `+0x19f4f58`: `call +2478440h` at `+0x19f4f4f`, `test al,al / jne +1 / int 3`. A bring-up routine whose byte result gates everything after it; `+0x2478440`–`+0x2479682` is the same startup routine that reaches `0x1c8` and `0x218` through the device table. **3. One number, and the encoding to look for.** The table near `0x6794xxx` is real, but the form that dominates is `call [rip+disp32]` (`ff 15`), not `jmp [rip+disp32]` (`ff 25`). Counting the raw byte pairs inside `.text`: 5228 `ff 15` and 2703 `ff 25` occurrences, of which the displacements that land inside `0x6794000`–`0x6795000` are **2317 for `ff 15`** and **234 for `ff 25`**. The remaining ones are other instructions or data, so a scan keyed on `ff 25` alone misses about nine out of ten uses of that table. The IAT itself is not the dominant path, which matches your point. What I cannot add from here: this machine's GPU stops before the first presentation, so I have no run that reaches those sites in motion — everything above is read out of the file. Written with an AI assistant.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 13:57 UTC · original

Byte-verified against my independent copy of the same hash — all three of your additions are exactly as written (cmp rax, 0x1fffff / jbe / int3 at +0x247af2d; test al,al / jne / int3 after call +0x2478440 at +0x19f4f58; and the fatal path really is call [rax+0x428] — note the raw pattern scan lands one byte early, the disassembly is +0x193dff8). Two independent copies of this image checking each other is precisely the discipline this map is for.

Adopting your two corrections as map canon:

  • +0x193e00f refined: the fatal case is a failed call through device-table slot +0x428 feeding the reporting routine at +0x4e9b660 (test esi,esi / jns skip, cc on negative HR). On our side of the fence the equivalent placed-creation wrapper gets the same slot in our device vtable — whoever attacks the 8 GB wall here should first diff what each project fills that slot with, because the title treats that one failure as fatal while it degrades others.
  • Table scanning: FF 15 (call [rip+disp32]) is the dominant use of the 0x6794xxx call table — my map's FF 25-keyed number counted the thunk table itself, not its callers, and your 2317:234 ratio is the number to carry. Methodology note logged.

Net map so far (shared hash e95020b2…): deliberate stops +0x23cf683 (tag 0x4d8bd421), +0x2215c35 (null-checked callback via +0x71b6348), +0x193e00f (slot-0x428 HR fatal), +0x247af2d (2 MiB range cap, record-style), +0x19f4f58 (bring-up gate through routine +0x2478440) — five specific checks, each a question to the runtime, not a bug to fix. Your note that your GPU dies before the first present is fine: everything in this map is static by design, and the stops are worth more mapped-than-run.

**@⁠pickles976** on GitHub · 2026-11-24 13:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7133589826) Byte-verified against my independent copy of the same hash — all three of your additions are exactly as written (`cmp rax, 0x1fffff / jbe / int3` at `+0x247af2d`; `test al,al / jne / int3` after `call +0x2478440` at `+0x19f4f58`; and the fatal path really is `call [rax+0x428]` — note the raw pattern scan lands one byte early, the disassembly is `+0x193dff8`). Two independent copies of this image checking each other is precisely the discipline this map is for. Adopting your two corrections as map canon: - **`+0x193e00f` refined**: the fatal case is a failed call through **device-table slot `+0x428`** feeding the reporting routine at `+0x4e9b660` (`test esi,esi / jns` skip, `cc` on negative HR). On our side of the fence the equivalent placed-creation wrapper gets the same slot in our device vtable — whoever attacks the 8 GB wall here should first diff what each project fills that slot with, because the title treats *that one* failure as fatal while it degrades others. - **Table scanning**: `FF 15` (`call [rip+disp32]`) is the dominant use of the `0x6794xxx` call table — my map's `FF 25`-keyed number counted the thunk table itself, not its callers, and your 2317:234 ratio is the number to carry. Methodology note logged. Net map so far (shared hash `e95020b2…`): deliberate stops `+0x23cf683` (tag `0x4d8bd421`), `+0x2215c35` (null-checked callback via `+0x71b6348`), `+0x193e00f` (slot-`0x428` HR fatal), `+0x247af2d` (2 MiB range cap, record-style), `+0x19f4f58` (bring-up gate through routine `+0x2478440`) — five specific checks, each a *question to the runtime*, not a bug to fix. Your note that your GPU dies before the first present is fine: everything in this map is static by design, and the stops are worth more mapped-than-run.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 14:59 UTC · original

Map refinement from a fresh decode — your bring-up gate is not opaque, it is a subsystem-ready bitmap check, and the bitmap lives in memory we can all dump:

  • +0x2478440 calls its work through a thunk at +0x6DE60 (17 times — 17 subsystems) into a helper at +0x55AC240: read a table pointer global, take entry [rax+0x30], then lock cmpxchg a 64-bit ready bitmap combining a slot index (upper 32 bits, sentinel 0xFFFFFFFF = "no slot") with a table value (lower). The routine's byte result = every expected bit set; +0x19f4f58 int3s on false, exactly as your #917-table row says.
  • The addresses (RVA, add the load base at runtime): ready bitmap at +0x75E74EE (8 bytes), two pointer globals at +0x75E74E0 / +0x75E74E8, slot-counter global at +0x75E74F0. The 2 MiB-cap parameter you referenced at +0x75E6FF2 computes to +0x75E6FF0 from the lea-adjacent add rax,[rip+0x516c0cb] (next-IP +0x247AF25) — small correction, worth pinning before anyone scripts a dump.
  • Runtime use: a stopped or gated run answers "which subsystem never came up" with a single 16-byte read at base+0x75E74E0 (and +0x75E6FF0 alongside) — every watchdog experiment with the +0x19f4f58 NOP should snapshot that block before and after, since the bitmap slot counter mutates by design (the sentinel pattern implies rotation, so bit positions may not be stable across runs — the pair of dumps kills that ambiguity).
  • Cross-project tie: our #232 completion-stall hunt is asking the same question from the other side (what never releases the title's semaphores). If the gated runs' bitmap is ever short of bits at the stop, the two threads converge on one name.
**@⁠pickles976** on GitHub · 2026-11-24 14:59 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7135280919) Map refinement from a fresh decode — your bring-up gate is not opaque, it is a **subsystem-ready bitmap check**, and the bitmap lives in memory we can all dump: - `+0x2478440` calls its work through a thunk at `+0x6DE60` (17 times — 17 subsystems) into a helper at `+0x55AC240`: read a table pointer global, take entry `[rax+0x30]`, then `lock cmpxchg` a **64-bit ready bitmap** combining a slot index (upper 32 bits, sentinel `0xFFFFFFFF` = "no slot") with a table value (lower). The routine's byte result = every expected bit set; `+0x19f4f58` `int3`s on false, exactly as your #917-table row says. - The addresses (RVA, add the load base at runtime): **ready bitmap at `+0x75E74EE`** (8 bytes), two pointer globals at `+0x75E74E0` / `+0x75E74E8`, slot-counter global at `+0x75E74F0`. The 2 MiB-cap parameter you referenced at `+0x75E6FF2` computes to **`+0x75E6FF0`** from the `lea`-adjacent `add rax,[rip+0x516c0cb]` (next-IP `+0x247AF25`) — small correction, worth pinning before anyone scripts a dump. - **Runtime use:** a stopped or gated run answers "which subsystem never came up" with a single 16-byte read at `base+0x75E74E0` (and `+0x75E6FF0` alongside) — every watchdog experiment with the `+0x19f4f58` NOP should snapshot that block *before and after*, since the bitmap slot counter mutates by design (the sentinel pattern implies rotation, so bit positions may not be stable across runs — the pair of dumps kills that ambiguity). - Cross-project tie: our #232 completion-stall hunt is asking the same question from the other side (what never releases the title's semaphores). If the gated runs' bitmap is ever short of bits at the stop, the two threads converge on one name.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 15:11 UTC · original

Precision addendum to my comment above, verified after posting: all four globals sit in .data past its file-backed end (virtual 0x4.4 MB, raw 0.6 MB — it is BSS), so nothing here is precomputable from the file: the bitmap dump gives which slot bits are missing directly, and the names come from walking the +0x75E74E0/+0x75E74E8 pointers into the heap inside the same snapshot. Both are routine for whoever runs cdb post-mortems; neither works from the image alone. Flagging my own optimism — same rule as everyone's: claims shrink to what was measured.

**@⁠pickles976** on GitHub · 2026-11-24 15:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7135601007) Precision addendum to my comment above, verified after posting: all four globals sit in `.data` **past its file-backed end** (virtual 0x4.4 MB, raw 0.6 MB — it is BSS), so nothing here is precomputable from the file: the bitmap dump gives **which slot bits are missing** directly, and the names come from walking the `+0x75E74E0`/`+0x75E74E8` pointers into the heap inside the same snapshot. Both are routine for whoever runs cdb post-mortems; neither works from the image alone. Flagging my own optimism — same rule as everyone's: claims shrink to what was measured.
Author
Owner

@⁠superboynick on GitHub · 2026-11-24 17:22 UTC · original

Package layer, and no runtime or driver data. A third independent copy agrees at the level below the executable: all 108 file sizes match the published file listing, 208.5054 GiB in total, none missing and none extra, and every one of the 22 .rpf archives in the package opens as RPF9 — 12 at the package root and 10 under pack/. This is stated as the package layer on purpose; the exe itself has already been matched by two others here, and what it adds is that the containers are intact too, so the premise that both projects share one executable rests on a package that has been looked at rather than assumed. Method is file sizes plus container identification, with no second content pass.

AI-assisted. No game data used.

**@⁠superboynick** on GitHub · 2026-11-24 17:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7139104884) Package layer, and no runtime or driver data. A third independent copy agrees at the level below the executable: all 108 file sizes match the published file listing, 208.5054 GiB in total, none missing and none extra, and every one of the 22 `.rpf` archives in the package opens as RPF9 — 12 at the package root and 10 under `pack/`. This is stated as the package layer on purpose; the exe itself has already been matched by two others here, and what it adds is that the containers are intact too, so the premise that both projects share one executable rests on a package that has been looked at rather than assumed. Method is file sizes plus container identification, with no second content pass. AI-assisted. No game data used.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 18:08 UTC · original

Map addendum — complete census of deliberate null-writes (mov dword [0], imm32, both encodings, whole .text, hash-matched copy). Seven sites total; here they all are, with what each is:

site imm what it is
+0x23cf683 4d8bd421 the watchdog (mapped, cross-verified) — every deep run ends here
+0x2215c35 0 null-callback stop via global +0x71b6348 (mapped)
+0x2215da9 0 NEW: second consumer of the same global — mov rax,[rip+0x4fa05a6] → test/call rax → falls into null-write when the callback global is unset; same family, different call site, so #1118-style crashes resolve to whichever consumer fired
+0x258b000 2ef1e94b NEW tagged stop, function-tail block
+0x29e0880 4d795ee1 NEW tagged stop, function-tail block
+0x390e0c0 b90ee778 NEW tagged stop, function-tail block
+0x402ac70 18283088 NEW tagged stop, function-tail block

Honest limits on the four tagged ones: they sit after ret+int3 padding (same tail shape as the 2 MiB cap), and no direct jmp/jcc rel32 branch targets them anywhere in .text — so they are reached indirectly (computed dispatch) or are dormant; I am not claiming they are live until someone's fault PC says so. The distinct immediates read as stop-codes (like the watchdog's 4d8bd421 and the runtime 7333478d discussion on #534 — different word-space, probably different mechanism). Practical use: if any future crash log names one of these four RVAs, the imm identifies the gate without re-disassembly — paste the crash address here. Also registering yesterday's new live site from #175 (xcl): +0x4dcbc9d — verified int3, tail of a size/limit validation helper (callers +0x4e52a83/+0x4e529c4 behind an emptiness check), fired at game frame 82 with healthy memory: first deterministic early stop on the map, distinct from the ~1–5 min watchdog family.

**@⁠pickles976** on GitHub · 2026-11-24 18:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7140209721) **Map addendum — complete census of deliberate null-writes** (`mov dword [0], imm32`, both encodings, whole .text, hash-matched copy). Seven sites total; here they all are, with what each is: | site | imm | what it is | |---|---|---| | `+0x23cf683` | `4d8bd421` | **the watchdog** (mapped, cross-verified) — every deep run ends here | | `+0x2215c35` | `0` | null-callback stop via global `+0x71b6348` (mapped) | | `+0x2215da9` | `0` | **NEW: second consumer of the same global** — `mov rax,[rip+0x4fa05a6]` → `test/call rax` → falls into null-write when the callback global is unset; same family, different call site, so #1118-style crashes resolve to whichever consumer fired | | `+0x258b000` | `2ef1e94b` | **NEW tagged stop**, function-tail block | | `+0x29e0880` | `4d795ee1` | **NEW tagged stop**, function-tail block | | `+0x390e0c0` | `b90ee778` | **NEW tagged stop**, function-tail block | | `+0x402ac70` | `18283088` | **NEW tagged stop**, function-tail block | Honest limits on the four tagged ones: they sit after `ret`+`int3` padding (same tail shape as the 2 MiB cap), and **no direct `jmp`/`jcc` rel32 branch targets them anywhere in .text** — so they are reached indirectly (computed dispatch) or are dormant; I am *not* claiming they are live until someone's fault PC says so. The distinct immediates read as stop-codes (like the watchdog's `4d8bd421` and the runtime `7333478d` discussion on #534 — different word-space, probably different mechanism). Practical use: **if any future crash log names one of these four RVAs, the imm identifies the gate without re-disassembly — paste the crash address here.** Also registering yesterday's new live site from #175 (xcl): `+0x4dcbc9d` — verified `int3`, tail of a size/limit validation helper (callers `+0x4e52a83/+0x4e529c4` behind an emptiness check), fired at game frame 82 with healthy memory: first *deterministic early* stop on the map, distinct from the ~1–5 min watchdog family.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 18:22 UTC · original

Upgrade to yesterday's +0x4dcbc9d entry — gate now fully decoded (callee +0x4dcbc40): it is an inline append-to-fixed-capacity overflow guard, compiled into the hot path, trap at the tail: ebx = [obj+0x10] /*capacity*/ − [obj+0x18] /*used*/; cmp ebx, requested; jb → int3 — then the append (call +0x5f40560 writes at [obj+0x8]+used) and a post-append watermark compare ([obj+0x1c] vs new count, second trap shape). Caller +0x4e52a40 = container processor: early-returns when [obj+0x18]==0 (nothing queued), refcounts the item struct, passes the full queued quantity as the append size. Read for the cohort: this is the title screaming that its static capacity plan was exceeded by the input it was handed — the trap cannot fire from corruption of the counters alone (it fires from quantity > free), so on #175 the frame-82 event means whatever filled that container produced more records than the container was sized for. Testable from the emulator side: capacity comes from creation-time planning, so diff the emulator-reported descriptors that feed such plans (tile/region counts, format tables, adapter/heap topology) against console values — a granularity or count reported too small inflates record counts and lands exactly here. (The zero-streaming context means the overflowing container is not the streaming-request queue — likely a topology/heap descriptor table, but that stays [INFERENCE] until someone names the struct.)

**@⁠pickles976** on GitHub · 2026-11-24 18:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7140561073) Upgrade to yesterday's `+0x4dcbc9d` entry — gate now **fully decoded** (callee `+0x4dcbc40`): it is an **inline append-to-fixed-capacity overflow guard**, compiled into the hot path, trap at the tail: `ebx = [obj+0x10] /*capacity*/ − [obj+0x18] /*used*/; cmp ebx, requested; jb → int3` — then the append (`call +0x5f40560` writes at `[obj+0x8]+used`) and a post-append watermark compare (`[obj+0x1c]` vs new count, second trap shape). Caller `+0x4e52a40` = container processor: early-returns when `[obj+0x18]==0` (nothing queued), refcounts the item struct, passes the **full queued quantity** as the append size. Read for the cohort: this is the title screaming that **its static capacity plan was exceeded by the input it was handed** — the trap cannot fire from corruption of the counters alone (it fires from *quantity > free*), so on #175 the frame-82 event means whatever filled that container produced **more records than the container was sized for**. Testable from the emulator side: capacity comes from creation-time planning, so diff the emulator-reported descriptors that feed such plans (tile/region counts, format tables, adapter/heap topology) against console values — a granularity or count reported too small inflates record counts and lands exactly here. (The zero-streaming context means the overflowing container is **not** the streaming-request queue — likely a topology/heap descriptor table, but that stays `[INFERENCE]` until someone names the struct.)
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 18:25 UTC · original

One-line refinement to the census, from a whole-image immediate hunt (LE dword, both file-orderings checked): each stop-code immediate occurs exactly once in the entire image — at its own write site (+0x258b007, +0x29e0887, +0x390e0c7, +0x402ac77, and the watchdog's +0x23cf68a; all five the 7-byte mov qword [abs0], imm32 form, imm at site+7). No table, no dispatch structure, no second reference anywhere — so these words are pure forensic payloads: written once to page zero so a crash dump names the gate, never consulted. Two consequences: ① the null-write family is closed as a pattern — seven sites, all known, hunting more of this pattern is done; ② but it bounds nothing about the others: gates that stop via int3 directly (like +0x4dcbc9d, whose trap carries no imm at all) leave no greppable signature — reachable-int3 identification needs per-function control-flow work, not pattern scans. So: if a future crash names an unlisted RVA, expect it to be int3-class, and post it here for a targeted decode rather than waiting for a census that cannot exist.

**@⁠pickles976** on GitHub · 2026-11-24 18:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7140627091) One-line refinement to the census, from a whole-image immediate hunt (LE dword, both file-orderings checked): **each stop-code immediate occurs exactly once in the entire image** — at its own write site (`+0x258b007`, `+0x29e0887`, `+0x390e0c7`, `+0x402ac77`, and the watchdog's `+0x23cf68a`; all five the 7-byte `mov qword [abs0], imm32` form, imm at site+7). No table, no dispatch structure, no second reference anywhere — so these words are **pure forensic payloads**: written once to page zero so a crash dump names the gate, never consulted. Two consequences: ① the null-write family is **closed** as a pattern — seven sites, all known, hunting more of this pattern is done; ② but it bounds nothing about the others: gates that stop via `int3` directly (like `+0x4dcbc9d`, whose trap carries no imm at all) leave no greppable signature — reachable-int3 identification needs per-function control-flow work, not pattern scans. So: if a future crash names an unlisted RVA, expect it to be int3-class, and post it here for a targeted decode rather than waiting for a census that cannot exist.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 18:39 UTC · original

Map amendment for +0x23cf683 (details + full decode on VIctory#534): mechanism identified — the owning function (+0x23cf620) rolls a 12-byte obfuscated string into "GPU Loc Sig", resolves it as a debug parameter (resolver +0x2215950, same +0x2215xxx parameter-service cluster as the two null-callback stops — shared global +0x71b6348 neighborhood), and traps iff the parameter does not read 1. Rename in the map: "watchdog (timeout)" → "GPU Loc Sig validation gate"; imm 4d8bd421 = its failure marker. Practical: future reports should log that parameter's write sequence; the value 7333478d seen in live logs is a signature value on the same name (explains both failed grep hunts — the string is runtime-constructed everywhere it appears).

**@⁠pickles976** on GitHub · 2026-11-24 18:39 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7140948411) Map amendment for `+0x23cf683` (details + full decode on VIctory#534): **mechanism identified** — the owning function (`+0x23cf620`) rolls a 12-byte obfuscated string into `"GPU Loc Sig"`, resolves it as a debug parameter (resolver `+0x2215950`, same `+0x2215xxx` parameter-service cluster as the two null-callback stops — shared global `+0x71b6348` neighborhood), and traps iff the parameter does not read `1`. Rename in the map: "watchdog (timeout)" → "**GPU Loc Sig validation gate**"; imm `4d8bd421` = its failure marker. Practical: future reports should log that parameter's write sequence; the value `7333478d` seen in live logs is a signature value on the same name (explains both failed grep hunts — the string is runtime-constructed everywhere it appears).
Author
Owner

@⁠superboynick on GitHub · 2026-11-24 18:52 UTC · original

Independent-copy cross-check, which is the discipline this thread asks for: a separate copy of the same image, scanned read-only, with the PE section table used to turn file offsets into RVAs. No bytes are quoted below.

All seven of the null-store sites reproduce, and there is no eighth:

0x02215c35 → 0, 0x02215da9 → 0, 0x023cf683 → 0x4d8bd421, 0x0258b000 → 0x2ef1e94b, 0x029e0880 → 0x4d795ee1, 0x0390e0c0 → 0xb90ee778, 0x0402ac70 → 0x18283088

One shape note, which matters for reproducing the census rather than for the conclusion: the REX.W-prefixed qword form of this store returns zero matches anywhere in the image. What is actually present is the dword form with an absolute SIB address — eleven bytes, imm32 — and that is the encoding all seven sites use here, including the ones the table lists as qword. The dword shape is the one that finds them; a search on the qword shape comes back empty.

On the uniqueness claim: treating each immediate as four little-endian bytes and searching the whole file, the five tagged values each match exactly once, at their own site. The two sites whose immediate is zero cannot carry that argument — an all-zero run matches more than a million times — so the result rests on the five, which is enough to say each tag identifies exactly one writer.

Boundary: this covers the null-store pattern only. The int3 family discussed in the comments above was not re-checked here.

AI-assisted. No game data used.

**@⁠superboynick** on GitHub · 2026-11-24 18:52 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7141284218) Independent-copy cross-check, which is the discipline this thread asks for: a separate copy of the same image, scanned read-only, with the PE section table used to turn file offsets into RVAs. No bytes are quoted below. All seven of the null-store sites reproduce, and there is no eighth: `0x02215c35 → 0`, `0x02215da9 → 0`, `0x023cf683 → 0x4d8bd421`, `0x0258b000 → 0x2ef1e94b`, `0x029e0880 → 0x4d795ee1`, `0x0390e0c0 → 0xb90ee778`, `0x0402ac70 → 0x18283088` One shape note, which matters for reproducing the census rather than for the conclusion: the REX.W-prefixed qword form of this store returns zero matches anywhere in the image. What is actually present is the dword form with an absolute SIB address — eleven bytes, imm32 — and that is the encoding all seven sites use here, including the ones the table lists as qword. The dword shape is the one that finds them; a search on the qword shape comes back empty. On the uniqueness claim: treating each immediate as four little-endian bytes and searching the whole file, the five tagged values each match exactly once, at their own site. The two sites whose immediate is zero cannot carry that argument — an all-zero run matches more than a million times — so the result rests on the five, which is enough to say each tag identifies exactly one writer. Boundary: this covers the null-store pattern only. The int3 family discussed in the comments above was not re-checked here. AI-assisted. No game data used.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:47 UTC · original · edited 2026-11-25 18:48 UTC

Automated triage for the maintainers.

This thread is a discussion of the title's internals, not a report about VIctory's code. Disassembly, decoded instruction sequences, byte patterns and internal data layouts of the title must not be posted here, and comments since the last update still do (the latest, of 2026-11-25 16:41, again quotes a decoded instruction listing); this has been passed to the maintainer. Please keep further comments to what VIctory does: a run's log lines and the crashes.log entries it prints are fine.

Some claims here should not be relied on for triage. One example: the explanation of the common world-entry crash on Windows 10 as an account-initialisation fault. Several Windows 10 runs in #84 and on PR #175 lost that crash with only the D3D12 Agility runtime loaded and no change to the account code. Another: the early 0x80000003 at +0x1ce6e13 right after the archives are opened, before any window, has been resolved in #8 by repairing archives that had the right size but wrong contents, with no change to VIctory; check all archives' hashes before reading it as a missing HLE subsystem. Where a theory points at our code, a run on current main that confirms it, filed as its own issue, is what lets it be acted on.

Left open as a discussion for the maintainers to decide on.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7149952811) · edited 2026-11-25 18:48 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T16:41:55Z at=2026-11-25T18:57:00Z --> Automated triage for the maintainers. This thread is a discussion of the title's internals, not a report about VIctory's code. Disassembly, decoded instruction sequences, byte patterns and internal data layouts of the title must not be posted here, and comments since the last update still do (the latest, of 2026-11-25 16:41, again quotes a decoded instruction listing); this has been passed to the maintainer. Please keep further comments to what VIctory does: a run's log lines and the crashes.log entries it prints are fine. Some claims here should not be relied on for triage. One example: the explanation of the common world-entry crash on Windows 10 as an account-initialisation fault. Several Windows 10 runs in #84 and on PR #175 lost that crash with only the D3D12 Agility runtime loaded and no change to the account code. Another: the early `0x80000003` at `+0x1ce6e13` right after the archives are opened, before any window, has been resolved in #8 by repairing archives that had the right size but wrong contents, with no change to VIctory; check all archives' hashes before reading it as a missing HLE subsystem. Where a theory points at our code, a run on current main that confirms it, filed as its own issue, is what lets it be acted on. Left open as a discussion for the maintainers to decide on. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 05:21 UTC · original · edited 2026-11-25 06:21 UTC

+0x2215c35 and +0x2215da9 are the two kill paths of a heartbeat watchdog thread, not stops for an unset callback. The callback at +0x71b6348 is optional: test rax,rax / je / call rax skips it when it's null, and the null store comes next either way. Decoded from image b99f876b… (base 0x140000000). Addresses and instructions only.

The thread. +0x2215a20 starts it at +0x2215a60 (created through +0x1ad0ef0 with r8d = 0xA000, probably a 40 KiB stack; handle at +0x6843320). On entry it registers an event handler, +0x22159c0, through +0x1b0bc20. Then it loops:

QueryPerformanceCounter -> t0; Sleep(1000) (+0x92eca0, ecx=3E8h); QueryPerformanceCounter -> t1
(t1 - t0) * [+0x9e4f5c0] > 2.0          -> re-arm (the wake itself was late: host stall)
byte [+0x71b6331] set                   -> re-arm, clear it
byte [+0x71b6330] set                   -> paused: re-arm, check nothing
dword [+0x71b6334] != 0                 -> table mode (below)
else: heartbeat [+0x71b6338] unchanged since the last wake -> ebp-- (starts at 1Eh = 30)
      ebp == 0                          -> call +0x4e4ba80; call [+0x71b6348] if set; mov dword ptr [0],0
  • Scale: [+0x9e4f5c0] is 1.0 / QueryPerformanceFrequency, set at +0x4daa2e0. Both timer calls go through the title's call table to the host's kernel32, so the ages are real seconds.
  • The heartbeat is +0x22159f0, which writes QueryPerformanceCounter into +0x71b6338. It's called from +0x12079a, +0xc9e369, and twice from +0x1c82b30, a wait loop that sleeps between polls and pets each time round.
  • Countdown mode, the default: if no heartbeat is written for 30 consecutive one-second wakes, the title kills itself.
  • Table mode ([+0x71b6334] != 0): it walks 64 groups at +0x6844a20 (stride 0x48; count at +4, timestamps from +8). It kills when any timestamp is ≥ 300 s old ([+0x6159e20] = 300.0) and a check, +0x9d3e70(0x89AEE1D6), passes. The second copy of the loop (from +0x2215c7a, taken when [+0x71b62f0] is set) walks the table without acting on it, and uses the same 30-tick countdown, which ends at +0x2215da9.
  • Pause: the handler +0x22159c0 sets [+0x71b6330] = 1 on an event whose type ([rcx+0Ch]) is 0x24. On type 0x25 it clears the flag and sets [+0x71b6331], which re-arms the timer. I haven't identified what sends 0x24/0x25.

So a crash at +0x2215c35 / +0x2215da9 means none of the heartbeat sites ran for about 30 s, for example a main-thread call that blocked that long. It doesn't mean a missing callback, and frames still being presented don't prevent it.

Data point (corrected): RTX 3050 6 GB laptop, main 70564ae, Series X profile, one run. XUserAddAsync was logged at 22:12:40 and the kill at +0x2215c35 came at 22:13:11, 31 s later. I first wrote that a second run with VICTORY_POKE=71B6330:1 showed no watchdog kill. That run ended in the NVIDIA device removal (#1754) only 28 s after its XUserAddAsync, before a 30 s countdown could run out, so it doesn't show the poke works. The pause byte's effect is so far from the disassembly only. A controlled A/B (title-main held suspended for 40 s, with and without the poke) is still to be run.

AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this; the runs are the two described. No game data beyond addresses and instructions.

**@⁠AgneyaK** on GitHub · 2026-11-25 05:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7153693475) · edited 2026-11-25 06:21 UTC **`+0x2215c35` and `+0x2215da9` are the two kill paths of a heartbeat watchdog thread**, not stops for an unset callback. The callback at `+0x71b6348` is optional: `test rax,rax / je / call rax` skips it when it's null, and the null store comes next either way. Decoded from image `b99f876b…` (base `0x140000000`). Addresses and instructions only. **The thread.** `+0x2215a20` starts it at `+0x2215a60` (created through `+0x1ad0ef0` with `r8d = 0xA000`, probably a 40 KiB stack; handle at `+0x6843320`). On entry it registers an event handler, `+0x22159c0`, through `+0x1b0bc20`. Then it loops: ``` QueryPerformanceCounter -> t0; Sleep(1000) (+0x92eca0, ecx=3E8h); QueryPerformanceCounter -> t1 (t1 - t0) * [+0x9e4f5c0] > 2.0 -> re-arm (the wake itself was late: host stall) byte [+0x71b6331] set -> re-arm, clear it byte [+0x71b6330] set -> paused: re-arm, check nothing dword [+0x71b6334] != 0 -> table mode (below) else: heartbeat [+0x71b6338] unchanged since the last wake -> ebp-- (starts at 1Eh = 30) ebp == 0 -> call +0x4e4ba80; call [+0x71b6348] if set; mov dword ptr [0],0 ``` - **Scale:** `[+0x9e4f5c0]` is `1.0 / QueryPerformanceFrequency`, set at `+0x4daa2e0`. Both timer calls go through the title's call table to the host's kernel32, so the ages are real seconds. - **The heartbeat** is `+0x22159f0`, which writes `QueryPerformanceCounter` into `+0x71b6338`. It's called from `+0x12079a`, `+0xc9e369`, and twice from `+0x1c82b30`, a wait loop that sleeps between polls and pets each time round. - **Countdown mode, the default:** if no heartbeat is written for **30 consecutive one-second wakes**, the title kills itself. - **Table mode** (`[+0x71b6334] != 0`): it walks 64 groups at `+0x6844a20` (stride `0x48`; count at `+4`, timestamps from `+8`). It kills when any timestamp is **≥ 300 s old** (`[+0x6159e20]` = 300.0) and a check, `+0x9d3e70(0x89AEE1D6)`, passes. The second copy of the loop (from `+0x2215c7a`, taken when `[+0x71b62f0]` is set) walks the table without acting on it, and uses the same 30-tick countdown, which ends at `+0x2215da9`. - **Pause:** the handler `+0x22159c0` sets `[+0x71b6330] = 1` on an event whose type (`[rcx+0Ch]`) is `0x24`. On type `0x25` it clears the flag and sets `[+0x71b6331]`, which re-arms the timer. I haven't identified what sends `0x24`/`0x25`. **So a crash at `+0x2215c35` / `+0x2215da9` means none of the heartbeat sites ran for about 30 s,** for example a main-thread call that blocked that long. It doesn't mean a missing callback, and frames still being presented don't prevent it. **Data point (corrected):** RTX 3050 6 GB laptop, `main` `70564ae`, Series X profile, one run. `XUserAddAsync` was logged at 22:12:40 and the kill at `+0x2215c35` came at 22:13:11, 31 s later. I first wrote that a second run with `VICTORY_POKE=71B6330:1` showed no watchdog kill. That run ended in the NVIDIA device removal (#1754) only 28 s after its `XUserAddAsync`, before a 30 s countdown could run out, so it doesn't show the poke works. The pause byte's effect is so far from the disassembly only. A controlled A/B (`title-main` held suspended for 40 s, with and without the poke) is still to be run. AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this; the runs are the two described. No game data beyond addresses and instructions.
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 05:24 UTC · original

One more for the map, since it shows up as a frame in many reports (#23, #103, #108, #264, #766, #1464, #1808): +0x2215eca is the title's thread-start trampoline (+0x2215ea0; return address after call qword ptr [rsi], the thread's function). It's the bottom frame of every title thread, not a crash site. Look at the frames above it. Decode on #1464.

Also seen in those stacks: +0x22511f is the return from WaitForSingleObject (wrapper +0x225110). A stack that ends there is a thread waiting on a handle.

AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this.

**@⁠AgneyaK** on GitHub · 2026-11-25 05:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7153741348) One more for the map, since it shows up as a frame in many reports (#23, #103, #108, #264, #766, #1464, #1808): **`+0x2215eca` is the title's thread-start trampoline** (`+0x2215ea0`; return address after `call qword ptr [rsi]`, the thread's function). It's the bottom frame of every title thread, not a crash site. Look at the frames above it. Decode on #1464. Also seen in those stacks: `+0x22511f` is the return from `WaitForSingleObject` (wrapper `+0x225110`). A stack that ends there is a thread waiting on a handle. AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this.
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 05:28 UTC · original · edited 2026-11-25 06:21 UTC

Correction for the map's +0x23cf683 entry: it's the third kill site of the same heartbeat watchdog, not a separate gate.

  • +0x23cf620, the function holding the store, has one reference in the image: lea rcx,[+0x23cf620] at +0x23cf6f7, passed to the setter +0x22161f0, which stores it in +0x71b6348. That global is read only at +0x2215c2a and +0x2215d9e, the watchdog's two kill paths, right before +0x2215c35 / +0x2215da9.
  • Inside +0x23cf620 the "GPU Loc Sig" parameter lookup (+0x2215950) doesn't gate the store. cmp byte [rsp+34h],1 / jne +0x23cf683 skips only a 12-byte wipe of the decoded name, and both paths reach mov dword ptr [0],4D8BD421h.

So +0x23cf683, +0x2215c35 and +0x2215da9 all mean the same thing: no heartbeat (+0x22159f0) for 30 one-second wakes. By the disassembly, the title's pause byte +0x71b6330 (VICTORY_POKE=71B6330:1 on a diagnostics build) stops all three (not yet shown in a controlled run). Details on #454.

AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this.

**@⁠AgneyaK** on GitHub · 2026-11-25 05:28 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7153811267) · edited 2026-11-25 06:21 UTC Correction for the map's `+0x23cf683` entry: **it's the third kill site of the same heartbeat watchdog**, not a separate gate. - `+0x23cf620`, the function holding the store, has one reference in the image: `lea rcx,[+0x23cf620]` at `+0x23cf6f7`, passed to the setter `+0x22161f0`, which stores it in `+0x71b6348`. That global is read only at `+0x2215c2a` and `+0x2215d9e`, the watchdog's two kill paths, right before `+0x2215c35` / `+0x2215da9`. - Inside `+0x23cf620` the "GPU Loc Sig" parameter lookup (`+0x2215950`) doesn't gate the store. `cmp byte [rsp+34h],1 / jne +0x23cf683` skips only a 12-byte wipe of the decoded name, and both paths reach `mov dword ptr [0],4D8BD421h`. So `+0x23cf683`, `+0x2215c35` and `+0x2215da9` all mean the same thing: no heartbeat (`+0x22159f0`) for 30 one-second wakes. By the disassembly, the title's pause byte `+0x71b6330` (`VICTORY_POKE=71B6330:1` on a diagnostics build) stops all three (not yet shown in a controlled run). Details on #454. AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this.
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 06:14 UTC · original

Map addendum: every function the title resolves at run time (GetProcAddress, +0x6793530 in its call table). There are 12 call sites, all at +0x55dd3a4–+0x55e8930, in the title's statically linked GDK/CRT helper code:

function module the handle comes from served by VIctory?
SleepConditionVariableCS, WakeAllConditionVariable GetModuleHandleW("api-ms-win-core-synch-l1-2-0.dll"), then kernel32.dll host (CRT fallback; same behaviour)
QueryApiImpl, InitializeApiImpl, InitializeApiImplEx, InitializeApiImplEx2, UninitializeApiImpl, XErrorReport the game runtime's handle (+0x6e04ea0) yes, xgameruntime.rs
GetPackagesByPackageFamily LoadLibraryExA(…, 0x800) host; checks whether Microsoft.WindowsStore_8wekyb3d8bbwe is installed
RegGetValueW LoadLibraryExA("advapi32.dll", 0, 0x800) host; reads HKLM\Software\Microsoft\GamingServices → ForceUseLocalServices (DWORD)
MiniDumpWriteDump LoadLibraryW("dbghelp.dll") host; the title's crash reporter's minidump
UuidCreate dynamic yes, rpcrt4.rs

Everything else goes through the import table, which the loader binds. So nothing that matters reaches the host behind HLE's back through GetProcAddress. In particular the ConsoleMode read uses the imported ADVAPI32!RegOpenKeyW/RegQueryValueExW, which device_type serves (more on #2141).

AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and checked the names against crates/victory-hle on main 940d32f.

**@⁠AgneyaK** on GitHub · 2026-11-25 06:14 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7154594358) Map addendum: **every function the title resolves at run time** (`GetProcAddress`, `+0x6793530` in its call table). There are 12 call sites, all at `+0x55dd3a4`–`+0x55e8930`, in the title's statically linked GDK/CRT helper code: | function | module the handle comes from | served by VIctory? | |---|---|---| | `SleepConditionVariableCS`, `WakeAllConditionVariable` | `GetModuleHandleW("api-ms-win-core-synch-l1-2-0.dll")`, then `kernel32.dll` | host (CRT fallback; same behaviour) | | `QueryApiImpl`, `InitializeApiImpl`, `InitializeApiImplEx`, `InitializeApiImplEx2`, `UninitializeApiImpl`, `XErrorReport` | the game runtime's handle (`+0x6e04ea0`) | yes, `xgameruntime.rs` | | `GetPackagesByPackageFamily` | `LoadLibraryExA(…, 0x800)` | host; checks whether `Microsoft.WindowsStore_8wekyb3d8bbwe` is installed | | `RegGetValueW` | `LoadLibraryExA("advapi32.dll", 0, 0x800)` | host; reads `HKLM\Software\Microsoft\GamingServices` → `ForceUseLocalServices` (DWORD) | | `MiniDumpWriteDump` | `LoadLibraryW("dbghelp.dll")` | host; the title's crash reporter's minidump | | `UuidCreate` | dynamic | yes, `rpcrt4.rs` | Everything else goes through the import table, which the loader binds. So nothing that matters reaches the host behind HLE's back through `GetProcAddress`. In particular the `ConsoleMode` read uses the imported `ADVAPI32!RegOpenKeyW`/`RegQueryValueExW`, which `device_type` serves (more on #2141). AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and checked the names against `crates/victory-hle` on `main` `940d32f`.
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 06:35 UTC · original

Follow-up on the heartbeat watchdog above: a controlled test, and a correction to when the 30 s countdown applies.

[+0x71b6334] is a count of open "tracked scopes", not a mode flag. +0xb5b6c0 stores a QueryPerformanceCounter timestamp into an entry of the table at +0x6844a20 and does lock inc [+0x71b6334]. +0xb5b6f0 does lock dec [+0x71b6334]. So:

  • While any scope is open, the watchdog checks only the table: it kills when an open scope's timestamp is ≥ 300 s old and the check +0x9d3e70(0x89AEE1D6) passes.
  • Only when no scope is open does the heartbeat countdown run: 30 one-second wakes without +0x22159f0.

Test (Windows 11, RTX 3050 laptop, 70564ae + #1763, Series X, diagnostics build, memguard on). Two 70 s runs. In each, the title-main thread was suspended from 20 s to 60 s with SuspendThread. The log goes silent for those ~35–40 s, so the title really stopped. VICTORY_WATCH=71B6330 was on in both.

run +0x71b6330 (pause byte) watchdog kill during the freeze
base 0x0 throughout none
VICTORY_POKE=71B6330:1 0x0 → 0x1 at start, stays 1 none

So the poke does set the byte the watchdog reads. But freezing title-main for ~40 s at the menus didn't kill the base run either, so this test doesn't show the poke preventing anything. The likely reason is the scope count: with a scope open, a 40 s freeze is far below the 300 s limit. Session B's earlier kill (31 s after XUserAddAsync) would then be a moment with no scope open. I couldn't run a third test that watches +0x71b6334 during the freeze, so that part is still inference from the code.

AI use: Claude Code (Claude Opus 5.5) disassembled the image, ran the two runs described and wrote this; no game data beyond addresses and instructions.

**@⁠AgneyaK** on GitHub · 2026-11-25 06:35 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7154945525) Follow-up on the heartbeat watchdog above: a controlled test, and a correction to when the 30 s countdown applies. **`[+0x71b6334]` is a count of open "tracked scopes", not a mode flag.** `+0xb5b6c0` stores a `QueryPerformanceCounter` timestamp into an entry of the table at `+0x6844a20` and does `lock inc [+0x71b6334]`. `+0xb5b6f0` does `lock dec [+0x71b6334]`. So: - **While any scope is open**, the watchdog checks only the table: it kills when an open scope's timestamp is ≥ 300 s old and the check `+0x9d3e70(0x89AEE1D6)` passes. - **Only when no scope is open** does the heartbeat countdown run: 30 one-second wakes without `+0x22159f0`. **Test** (Windows 11, RTX 3050 laptop, `70564ae` + #1763, Series X, diagnostics build, memguard on). Two 70 s runs. In each, the `title-main` thread was suspended from 20 s to 60 s with `SuspendThread`. The log goes silent for those ~35–40 s, so the title really stopped. `VICTORY_WATCH=71B6330` was on in both. | run | `+0x71b6330` (pause byte) | watchdog kill during the freeze | |---|---|---| | base | `0x0` throughout | **none** | | `VICTORY_POKE=71B6330:1` | `0x0` → `0x1` at start, stays 1 | none | So the poke does set the byte the watchdog reads. But freezing `title-main` for ~40 s at the menus didn't kill the base run either, so this test doesn't show the poke preventing anything. The likely reason is the scope count: with a scope open, a 40 s freeze is far below the 300 s limit. Session B's earlier kill (31 s after `XUserAddAsync`) would then be a moment with no scope open. I couldn't run a third test that watches `+0x71b6334` during the freeze, so that part is still inference from the code. AI use: Claude Code (Claude Opus 5.5) disassembled the image, ran the two runs described and wrote this; no game data beyond addresses and instructions.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 16:41 UTC · original

Another site for the map — same exe (Series 1.0.2.1, 120,181,760 bytes), reproducible 2 s into "System Init" on Win10/GTX 1050:

first-chance 0x80000003 at +0x1ce6e13 — right after DirectStorage opens appdata0.rpf and common.rpf, before any window.

The site decodes locally as a two-argument validator:

+0x1ce6df0  sub rsp,0x28
+0x1ce6df4  test rdx,rdx ; sete al
+0x1ce6dfa  test rcx,rcx ; sete r8b
+0x1ce6e01  or al,r8b         ; either arg null -> skip
+0x1ce6e04  jne +0x1ce6e14    ; pass, return
+0x1ce6e06  add rdx,0x60
+0x1ce6e0a  call +0x292d370   ; check(rcx, rdx+0x60) -> al
+0x1ce6e0f  test al,al
+0x1ce6e11  jne +0x1ce6e14    ; pass, return
+0x1ce6e13  int3

Inside check (+0x292d370, a ~0x900-byte routine): its first gate is [rsi+0x78] == 0 -> early return 0 before it ever touches rdx — which fits the live registers: rcx=0x7ffb94ba4fe0 (a live host pointer) but rdx=0x26a400000001 / 0x358400000001 (tagged values, not pointers; different tag each boot). So the actual failing condition reads as [rcx+0x78] == 0 — an object that was created but never got its sub-object at +0x78 — i.e. the same family as your +0xb5a5f8 entry ("success-returning factory, zero object", auth-subsystem chain), one layer earlier.

Stack: the validator is tail-called from +0x5a3f200; its return address lands on +0x293ef38 (caller there builds a small object at rsp+0x28 around the global at +0x7bb4f48, then calls +0x5a3f200).

Questions where your side may already have names: what is +0x5a3f200 — a service/factory get? And is +0x292d370 part of a registration walk ([rdi+4] count / [rdi+8] array + broadcast-compare)? If the object at rcx is meant to come from an HLE-side subsystem we stub, that would explain a non-null shell with a null +0x78.

**@⁠kotekompotek** on GitHub · 2026-11-25 16:41 UTC · [original](https://github.com/Marvisak/VIctory/issues/630#issuecomment-7168393072) Another site for the map — same exe (Series 1.0.2.1, 120,181,760 bytes), reproducible 2 s into "System Init" on Win10/GTX 1050: **first-chance `0x80000003` at `+0x1ce6e13`** — right after DirectStorage opens `appdata0.rpf` and `common.rpf`, before any window. The site decodes locally as a two-argument validator: ``` +0x1ce6df0 sub rsp,0x28 +0x1ce6df4 test rdx,rdx ; sete al +0x1ce6dfa test rcx,rcx ; sete r8b +0x1ce6e01 or al,r8b ; either arg null -> skip +0x1ce6e04 jne +0x1ce6e14 ; pass, return +0x1ce6e06 add rdx,0x60 +0x1ce6e0a call +0x292d370 ; check(rcx, rdx+0x60) -> al +0x1ce6e0f test al,al +0x1ce6e11 jne +0x1ce6e14 ; pass, return +0x1ce6e13 int3 ``` Inside `check` (`+0x292d370`, a ~0x900-byte routine): its first gate is `[rsi+0x78] == 0 -> early return 0` before it ever touches `rdx` — which fits the live registers: `rcx=0x7ffb94ba4fe0` (a live host pointer) but `rdx=0x26a400000001` / `0x358400000001` (tagged values, not pointers; different tag each boot). So the actual failing condition reads as **`[rcx+0x78] == 0`** — an object that was created but never got its sub-object at +0x78 — i.e. the same family as your `+0xb5a5f8` entry ("success-returning factory, zero object", auth-subsystem chain), one layer earlier. Stack: the validator is tail-called from `+0x5a3f200`; its return address lands on `+0x293ef38` (caller there builds a small object at `rsp+0x28` around the global at `+0x7bb4f48`, then calls `+0x5a3f200`). Questions where your side may already have names: what is `+0x5a3f200` — a service/factory get? And is `+0x292d370` part of a registration walk (`[rdi+4]` count / `[rdi+8]` array + broadcast-compare)? If the object at rcx is meant to come from an HLE-side subsystem we stub, that would explain a non-null shell with a null +0x78.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#630
No description provided.