Direct-damage nano consumer contract, original 14.9.1
The native consumer supports the same signed HP-delta result for every standard AC damage type. No per-program branch was found in the NanoAttack reader, activator, or generic attack/recharge queue. This supports expanding a complete pure single-Hit program set beyond Winter's Bite. It does not recover the original server's damage calculation or justify dropping other authored effects.
This is REA skill Step 6 independent, read-only research. It reuses retained complete Evidence and maintained generated source. No binary was opened, no REA session was created, and no runtime, DB, production source, or tracked file was changed. The earlier automatic approval rejection of a fresh native open was respected; no retry or alternate binary-export route was attempted.
Identity and evidence
All retained native records used here identify original kkr.dll SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
REA addresses use image base 10000000; maintained generated sources use
36000000, so add 26000000 to the original address. Generated C is a lift,
not original source. retained-evidence.json preserves complete records,
including limitations and provider metadata. provenance.json identifies the
retained bundles. Address-named files are convenience extracts. sources.json
records full source hashes and bounded generated-source extracts; these are not
new REA Evidence IDs.
| Original procedures | Complete retained Evidence ID |
|---|---|
100b1590 reader, 100b1600 activation |
ev_065aec48e84d7bcfd376705ec06f50ef9f1ffd1b50711ff79c65ede2a927eec6 |
100b1600 activation, separate decompile |
ev_131a4a47db9b81c124beb0b7adcdb819c8f4a1fa8bc233f5f91c76840fef306f |
1001d0b0 feedback |
ev_16fbb07444de249fd19ed14114c99abb43239d8f64214cc0e4494b36dc8a7c77 |
1003e440 damage-name lookup and 1001d0b0 |
ev_eb20a4ca58374e72da2f8326ccfd51f83f77758fcff01da9626fa192429b926d |
10039cf0 dictionary initialization |
ev_1a3cb7e77a4267701716a4ec28b32bf1ad4e1f9c934ef18e59cc10785519c56f |
100bfb40 effect gate and 100be8e0 executor |
ev_f28cc89d25d840908ea753e766d4e2d1a718ef5138b04f190e82062755593b1d |
10002370 application and 100027e0 queue insertion |
ev_21b6bf56ea3b01fefafecdb673e392142538e12a995ac4070c4b8a8f1a26f59b |
100021f0 queued-effect visitor |
ev_700456d500ded1b651bc8f770dbe843118f6c6286ca349ae445f40ef86a4e8c5 |
1010def0 unreachable Hit executor stub |
ev_b36e6b8b14d9f960dd1705c8d5cd0779c3be3306d575aa456b07008bdb956f40 |
100650f0 attack queue and 10066a90 finish gate |
ev_a9090944783a773664fa3351a229696dfbf286ba0e7263ad03c2c2b5942ca38a |
100654a0 phase transition and outcome |
ev_4454e12e69f0ac994b39f2628681f4ea8b1c62dfb507addeb5761df50b4ce819 |
100654a0 original assembly |
ev_ad186f0988b9d48e0d36a6de81f40306e742582852c898a26e8313e9077ed6f8 |
10066010 active-program add |
ev_a760dfc116df1dd38b0619334130d916b7706ee29c64a535cdef16ed448295a6 |
The reader and writer are also retained in generated source
client/game/kkr.dll/lifted-0052.c:8328..8417; activation is
8419..8535. The original writer 100b15d0 was not found as an independent
decompile in the selected retained records; its complete maintained lift is
included in nanoattack-codec-activation.c.txt.
Hit arguments and result delivery
Observed catalog authoring is [resourceStat, signedEndpointA, signedEndpointB, damageStat]. For a pure HP damage Hit, resourceStat is 27,
both endpoints are negative, target is 3, count is 1 and interval is 0.
Winter's Bite 29618 is [27,-10,-23,95]: preserve the authored order instead
of assuming the first endpoint is the smaller signed value. The interpretation
as damage magnitude 10..23 is supported by the original text and retained
local/nano-damage-research/startup-nuke.json. Exact random distribution and
inclusive/exclusive endpoints are not established by the client.
The client does not calculate this Hit. 100be8e0 calls 100bfb40 before
criteria, timing, dispatch or HP access. Hit 53002 (cf0a) takes the false
default; the executor clears its remaining count and returns. Immediate and
periodic application converge on this gate. The otherwise unreachable Hit case
calls 1010def0, a ret 4 stub. Action 177 active-program delivery provides no
Hit bypass. See local/combat-heal-hit-research/README.md for the full bounded
negative proof. An authoritative result packet remains necessary.
The established NanoAttack message type is 4727213e (prior retained contract
local/nano-casting-research/health-queue-fields.json, key
NanoAttack4727213e). Its complete payload is two signed 32-bit words:
| Wire offset | Object offset | Meaning |
|---|---|---|
| 0 | +24 |
resolved signed HP delta |
| 4 | +20 |
damage stat used for feedback |
Reader 100b15a1..af reads this order; writer 100b15dd..ef mirrors it.
Activation 100b1605..1f resolves the victim from the envelope identity,
requires type 50000 and an existing dynel, and otherwise skips both feedback
and mutation. At 100b1675..80 it reads HP27 in mode 2, adds the raw signed
delta, and calls the actor's stat setter. There is no field for program ID,
caster, endpoints, absolute HP, resist result, or optional quiet feedback.
Inference for reconstruction: after resolving a damaging authored Hit on the server, send a negative HP delta and the authored fourth damage-stat argument unchanged. The native packet consumer proves this wire interpretation; it does not prove the historical server's endpoint selection or modifier order.
Damage stats and feedback
The HP arithmetic accepts any signed 32-bit damage-stat word: no switch or
whitelist guards the mutation. Damage stat affects the text only. Local victim
flag actor+128 selects feedback category 27, otherwise 28; the caller passes
abs(delta) and zero other contexts to 1001c590 / 1001d0b0. Neither branch
checks program ID or delta polarity. Positive deltas therefore still select
damage narration, not healing narration. A zero amount suppresses text; the HP
setter is still invoked. User feedback preferences may suppress narration.
10039cf0 initializes map 10306400. The maintained initialization range is
client/game/kkr.dll/lifted-0019.c:20895..21089, original instruction range
1003c09e..1003c2bc. Lookup 1003e440 returns the named string or formats
Missing damagetype: %d; an unrecognized type does not reject HP mutation.
String bytes are retained in client/data/kkr_dll.c:20370..20376 and decoded
with exact RVAs in damage-labels.json.
| Damage stat | Native label |
|---|---|
| 90 | projectile |
| 91 | melee |
| 92 | energy |
| 93 | chemical |
| 94 | radiation |
| 95 | cold |
| 96 | poison |
| 97 | fire |
| 168 | nano |
| 27 | unknown |
| 474 | fall |
Feedback stat 0 is normalized to 27. Stat 474 selects explicit fall-damage wording in categories 27/28. The other named values use generic nanobot damage wording. This receiver does not look up AC, add-damage stats, reflect, absorb, critical chances, program damage scales, PvP rules, or target resistance. Those calculations, if applicable, precede the resolved delta on the server. The extra labels 168/27/474 are not evidence that authored pure HP nukes should be admitted with these types; catalog admission remains a separate question.
Generic attack and recharge
The retained native cast contract in
local/nano-casting-research/native-cast-protocol.json remains applicable.
Action 18 creates an entry through 10064bc0 -> 100650f0; action 107 releases
the matching program's finish gate through 10066a90. The entry must exist
before 107 can release it. There is no program-ID special case in these routines.
100650f0 reads NanoInit149 (mode 0), AggDef51 (mode 2), and program Attack294
(mode 2). Its timer is attackCs/100 minus initiative reduction/100 minus signed
integer AggDef/100; initiative reduction is I*0.5 through 1200, then
600+(I-1200)/6. Program flag 80000 forces zero deadline. This is a native
consumer calculation, not a recovered original-server scheduling algorithm.
100654a0 waits for attack deadline and finish gate clear, then enters phase 2
and uses now + program.Recharge210/100; the same flag zeroes that deadline.
Outcome graphics/text and active-effect handling use program flags/resources,
so programs may differ through data while sharing execution machinery. The
SimpleChar success branch does not execute the authored Hit locally. Native
start/finish/outcome delivery order beyond consumer dependencies, and exact
historical timing of the separate HP result, remain unproved.
Startup Ice Flechette boundary
The NT startup crystal is 28815, which uploads program 28612, not Winter's
Bite. Catalog evidence is server/gamedata/items/items_000.yaml:32612
(crystal), items_166.yaml:51452 (program), and items_171.yaml:2296
(secondary program). Complete selected decoded records are retained in
catalog-records.json; these are generated catalog evidence, not a fresh
reparse of the original resource database in this task.
| Record | Original payload SHA-256 | Original record file offset |
|---|---|---|
| 28815 | 5720cacb5d62ac0ca74435a79749598d59b910be4be0cf14565b32e0d8924d98 |
65056340 |
| 28612 | d3c582425ee42a26d8e997730685160b3bba148aeeb1784b9cfafcb249e0497d |
91564336 |
| 144632 | 2468d892714587cda36f453b19b3cdbd501eff2ee06bc05b395b1fcbb0bcfdcc |
69240919 |
28612 has two target-3 OnUse functions: Hit53002 [27,-13,-17,95] and
CastNano53051 [144632], both count 1 / interval 0. Attack is 125cs,
recharge 251cs, cost 8, range 25, and requirements are MC130 > 8 and visual
profession368 == 11. Secondary 144632 has duration6000cs and four 53045
modifiers [149,-6], [120,-6], [119,-6], [118,-6], all target 3. This
is the complete dependency boundary needed to exclude Ice from a pure-Hit
milestone. This pass did not solve secondary buff delivery, stacking, or
removal and does not authorize silently omitting those modifiers.
Checklist, confidence and gaps
| Question | Result / confidence |
|---|---|
| Signed payload order and HP mutation | Answered, high: complete reader/activator Evidence plus maintained writer |
| All native damage labels / acceptance | Answered, high: dictionary initialization, lookup, feedback and data bytes |
| Program-specific receiver distinctions | Answered within these routines, high: no program ID is present |
| Generic attack/recharge and data differences | Answered, high for consumer behavior; server timing only partially answered |
| Startup crystal and complete pure-Hit boundary | Answered, high for decoded catalog; raw original reparse deferred to parent |
| Original RNG, AC, add-damage / reflect / absorb / PvP ordering | Unresolved: original server implementation absent |
| Catalog-wide completeness and program admission | Parent scope; no full census claimed here |
No new experiment or runtime verification was performed. A generic pure-Hit implementation can preserve the existing reconstruction's PvE, resistance and distribution policies while clearly retaining these policy limits. Native consumer evidence alone cannot turn those policies into original-server facts.