Byrgenwerthnotes of Paleblood, rebuilding Bloodborne one verified function at a time

Week of 16 November 2026: thousands of copies join function families

Contributor @FFwLo grouped thousands more copies of small engine functions into families, including families of functions that differ only in the addresses they reach, and @evill33t continued FMOD's thread code. The clinic's first encounter, reached last week, is still the furthest point in local runs, at about 11 fps.

Runtime and boot progress

So far this week: no new reach; the clinic's first encounter is still the furthest point (local runs). Does not advance game execution yet. In local runs from a save at the clinic's start with a scripted controller, the game still runs the clinic's first encounter through to the Hunter's Dream with no stop, at about 11 frames a second against the game's 30 (last week; Runtime). The saved record on merged main (#1082) is unchanged: first flip, 686 of 686 imports bound. The work this week is the clinic's speed and the rare compute stop early in the clinic walk; nothing of it has merged yet.

merged#855 metal: retain depth-bounds register state, by @evill33t. Merged 2026-11-17.

  • System calls: Retain independent raw depth-bounds words and refuse enabled bounds before draw effects.
  • Tests: 5 synthetic runtime test(s); the effect on the real boot is measured after merge, so this is not a boot result.
  • Left unresolved: Active depth-bounds testing remains explicitly unsupported; Exact inactive-value retention has source evidence only; no public readback; No new gameplay or physical-window qualification.

Decompilation and verified functions

So far this week: families of functions that differ only in their addresses. Decompilation infrastructure; the function count moves much more than the bytes.

  • @FFwLo's relative-shape families (#1099): copies of one function the compiler emitted for different classes, identical except for the addresses they call or read, now share one replacement that is told each copy's addresses. The first is the static wide string initializer (439 copies), and a run of pull requests on it followed: thread allocator, delegate and destructor families (#1138, 879 copies), seventeen deleting destructor shapes (#1141, 3,196 copies), a Scaleform destructor and its deleting twin (#1142), four static vtable setters (#1144, 1,131 copies), the remaining 8-byte array reallocations (#1145), fixed slot table fillers (#1147), the menu's named resource release (#1151), small member-releasing destructors (#1152), member-destroying destructors (#1156, 227 copies) and twelve small relative families (#1155). With constant field setters (#1112), float, double and signed field accessors (#1113) and string writers, toggles and resets (#1135), the number of families in the merged function table more than tripled since 15 November (Function families).
  • Byte-exact matching records for 23 families (#1165, 1,538 copies). The families added this week are replaced and edge-verified, not yet verified: the verified count is unchanged at 285 hand-written functions and 18,019 family members (Progress).
  • @evill33t initialised FMOD's thread transport fields (#1161), edge-verified.

merged#1161 audio: initialize FMOD Thread transport fields, by @evill33t. Merged 2026-11-16.

  • Named: audio_fmod_initialize_thread (0x011183b0).
  • Replaced: audio_fmod_initialize_thread (0x011183b0).
  • Edge-verified: audio_fmod_initialize_thread (0x011183b0).
  • Differential verification: 6 function(s), 504 of 504 cases passed.
  • Capture sets used: 1.

merged#1188 loading: reconstruct tpfbnd resource constructor, by @incident201. Merged 2026-11-17.

  • Named: loading_tpfbnd_resource_construct_0181fb10 (0x0181fb10).
  • Replaced: loading_tpfbnd_resource_construct_0181fb10 (0x0181fb10).
  • Edge-verified: loading_tpfbnd_resource_construct_0181fb10 (0x0181fb10).
  • Differential verification: 1 function(s), 7 of 7 cases passed.
  • Capture sets used: 1.
  • Findings: All eleven type-correct native controls and a separate relocation control compile and fail behaviorally under GCC and Clang, with clean original/replacement executions and restored-correct 7/7 results; Cross-reference wording now reports observed search results; final replacement source hash is 38f9be136672afff and verification and independent review records are current; Independent review confirmed the original behavior, replacement and matching source, including the RAX return and passing edge cases; The constructor forwards its arguments to the binder resource base and installs and returns the tpfbnd vtable address.
  • Open questions: No direct caller or game-run recording has been observed for this function.

merged#1104 engine: carry the 7 remaining copies of the 8-byte array reserve (FFwLo #1096), by @ThisIsAkill. Merged 2026-11-17.

  • Named: engine_array64_reserve_017db000 (0x017db000); engine_array64_reserve_01922130 (0x01922130); engine_array64_reserve_020b71c0 (0x020b71c0); engine_array64_reserve_024bcdd0 (0x024bcdd0); engine_array64_reserve_024c3160 (0x024c3160); engine_array64_reserve_025c7e80 (0x025c7e80).
  • Replaced: engine_array64_reserve_017db000 (0x017db000); engine_array64_reserve_01922130 (0x01922130); engine_array64_reserve_020b71c0 (0x020b71c0); engine_array64_reserve_024bcdd0 (0x024bcdd0); engine_array64_reserve_024c3160 (0x024c3160); engine_array64_reserve_025c7e80 (0x025c7e80).
  • Edge-verified: engine_array64_reserve_017db000 (0x017db000); engine_array64_reserve_01922130 (0x01922130); engine_array64_reserve_020b71c0 (0x020b71c0); engine_array64_reserve_024bcdd0 (0x024bcdd0); engine_array64_reserve_024c3160 (0x024c3160); engine_array64_reserve_025c7e80 (0x025c7e80).
  • Differential verification: 7 function(s), 105 of 105 cases passed.

merged#1191 verify 37 engine heap, allocator, thread and sync functions, by @ThisIsAkill. Merged 2026-11-17.

  • Verified: engine_scaleform_heap_reallocate_023392d0 (0x023392d0); engine_scaleform_heap_bin_allocate_0233a7f0 (0x0233a7f0); engine_scaleform_heap_bin_reallocate_0233b2f0 (0x0233b2f0); engine_scaleform_heap_add_page_0233bbe0 (0x0233bbe0); engine_scaleform_heap_add_page_locked_0233bd20 (0x0233bd20); engine_scaleform_heap_allocate_0233c870 (0x0233c870).
  • Differential verification: 37 function(s), 12413 of 12413 cases passed.

merged#1192 ai: goal framework part 2: the AddTopGoal / AddSubGoal script bindings, by @ThisIsAkill. Merged 2026-11-17.

  • Named: ai_func_add_top_goal_0 (0x01656fc0); ai_func_add_top_goal_1 (0x01657040); ai_func_add_top_goal_2 (0x016570c0); ai_func_add_top_goal_3 (0x01657130); ai_func_add_top_goal_4 (0x016571a0); ai_func_add_top_goal_5 (0x01657210).
  • Replaced: ai_func_add_top_goal_0 (0x01656fc0); ai_func_add_top_goal_1 (0x01657040); ai_func_add_top_goal_2 (0x016570c0); ai_func_add_top_goal_3 (0x01657130); ai_func_add_top_goal_4 (0x016571a0); ai_func_add_top_goal_5 (0x01657210).
  • Edge-verified: ai_func_add_top_goal_1 (0x01657040); ai_func_add_top_goal_2 (0x016570c0); ai_func_add_top_goal_3 (0x01657130); ai_func_add_top_goal_4 (0x016571a0); ai_func_add_top_goal_7 (0x016572e0); ai_goal_func_add_sub_goal_0 (0x0167ec30).
  • Verified: ai_func_add_top_goal_0 (0x01656fc0); ai_func_add_top_goal_5 (0x01657210); ai_func_add_top_goal_6 (0x01657280); ai_func_register_goal_no_update (0x0167b6b0); ai_func_register_goal_update_time (0x0167b710); ai_func_register_goal_no_interrupt (0x0167b790).
  • Differential verification: 33 function(s), 1413 of 1413 cases passed.

merged#1194 ai: verify the hearing sound check, by @ThisIsAkill. Merged 2026-11-17.

  • Verified: ai_hearing_check_sound (0x0169cef0).
  • Differential verification: 2 function(s), 3147 of 3147 cases passed.

merged#1193 verify 26 frame timing functions and 12 param lookups, by @ThisIsAkill. Merged 2026-11-17.

  • Verified: frame_timing_generator_buffer_size_00b68770 (0x00b68770); frame_timing_sleep_ms (0x0111a880); frame_timing_task_entry_count_01389df0 (0x01389df0); frame_timing_task_entry_at_01389e10 (0x01389e10); frame_timing_item_update_013d4810 (0x013d4810); frame_timing_listener_list_notify_013daac0 (0x013daac0).
  • Differential verification: 38 function(s), 8918 of 8918 cases passed.

Tooling and automation

merged#1112 leaf: constant field setters as families (243 copies), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 10 function(s), 729 of 729 cases passed.

merged#1113 leaf: float, double and signed field accessors as families (150 copies), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 5 function(s), 849 of 849 cases passed.

merged#1165 symbols: byte-exact matching records for 23 families (1,538 copies), by @FFwLo. Merged 2026-11-16.

  • No function status changed.

merged#1135 leaf: string writers, toggles, resets, a tree erase and other virtual-calling records as families (276 copies), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 13 function(s), 1638 of 1638 cases passed.

merged#1099 engine: relative-shape families, and the static wide string initializer copies as one (439), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 1 function(s), 13170 of 13170 cases passed.

merged#1138 engine: thread allocator, delegate and destructor families (879 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 9 function(s), 17060 of 17060 cases passed.

merged#1141 engine: seventeen deleting destructor shapes as families (3,196 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 18 function(s), 21602 of 21602 cases passed.

merged#1142 engine: a scaleform destructor and its deleting twin as families (464 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 3 function(s), 15490 of 15490 cases passed.

merged#1144 engine: four static vtable setters as families (1,131 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 5 function(s), 17694 of 17694 cases passed.

merged#1145 engine: the remaining 8-byte array reallocation copies as a family (87 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 2 function(s), 14475 of 14475 cases passed.

merged#1147 engine: sixteen fixed slot table fillers as families (443 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 17 function(s), 14056 of 14056 cases passed.

merged#1151 menu: the named resource release as two families (82 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 3 function(s), 13990 of 13990 cases passed.

merged#1152 engine: five small member-releasing destructors as families (182 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 6 function(s), 13534 of 13534 cases passed.

merged#1155 engine: twelve small relative families (265 copies; based on #1099), by @FFwLo. Merged 2026-11-16.

  • Differential verification: 13 function(s), 13888 of 13888 cases passed.

merged#1156 engine: member-destroying destructors as families (227 copies; based on #1099), by @FFwLo. Merged 2026-11-17.

  • Differential verification: 13 function(s), 13624 of 13624 cases passed.

merged#1157 engine: a keyed store, an interface query and layout-sized blocks as families (159 copies; based on #1099), by @FFwLo. Merged 2026-11-17.

  • Differential verification: 9 function(s), 14226 of 14226 cases passed.

merged#1100 metal: execute pixel shaders without a color attachment, by @evill33t. Merged 2026-11-17.

  • No function status changed.

merged#1114 metal: ignore inactive blend state for depth and stencil draws, by @evill33t. Merged 2026-11-17.

  • No function status changed.

merged#1190 cases: boundary edge cases the promotion reviews asked for, by @ThisIsAkill. Merged 2026-11-17.

  • No function status changed.

merged#1195 verify: start both runs of a case with the same stack bytes, by @ThisIsAkill. Merged 2026-11-17.

  • No function status changed.

merged#1198 cases: close-status and worst-case-class edge cases from the reviews, by @ThisIsAkill. Merged 2026-11-17.

  • No function status changed.

Documentation and website changes

The wiki brought up to date with the encounter. Documentation only. The Runtime, Home and Milestones pages now show the clinic's first encounter and the Hunter's Dream, the speed work and the recorder fixes, and The Clinic Beast gains its first attack (a silent clip and a frame from a Paleblood run), its hearing (edge-verified, from the code and constructed tests) and how it chooses attacks, read from the game's battle script and labelled as not yet confirmed in a Paleblood run. The perception update is verified there now.

merged#1184 docs: bring the scePthreadYield row up to date, by @EzequielRindello. Merged 2026-11-17.

  • Bring the scePthreadYield row up to date with the code since #308: RT_SYSLIB answering 0, why 0 is right whether the PS4 call is void or int, the 26 eboot call sites that ignore the result, and the PS4 declaration as the remaining open question.
  • Pages: docs/runtime-syscalls.md.

merged#1196 docs: system pages describe the work merged up to 5fba104, by @ThisIsAkill. Merged 2026-11-17.

  • System pages exported from the wiki: the function tables and progress summary follow symbols/ on main 5fba104, and the hand-written text describes the pull requests merged since 13 November (statuses as symbols/ gives them, contributors credited). No code changed.
  • Pages: docs/systems/README.md; docs/systems/ai.md; docs/systems/audio.md; docs/systems/camera.md; docs/systems/character.md; docs/systems/engine.md (and 8 more).

Blockers and next steps

Blockers and next steps.

  • The clinic at playable speed (about 11 fps against 30), then a benchmark of every area as it renders; the rare compute stop early in the clinic walk is still open.
  • Verify the newly replaced functions on recordings: the clinic beast's hearing and this week's families.
  • A longer recorded fight, to confirm how the clinic beast chooses its attacks.

Hunters Involved

← Back to the devlog