From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Software:Earth Defense Force 5" |
|---|
| claim | "The byte pattern F3 0F 58 87 FC 01 00 00 (addss xmm0, dword ptr [rdi+0x1FC]) in EDF5.exe is where an incoming damage value (negative float in xmm0) is added to the object's current health at +0x1FC; rsi points to the damage info, whose +0x10 is the attacker object. The EDF5 Damage Number Display mod hooks this instruction to record player damage." |
|---|
| scope | | level | "software" |
|---|
| applies_to | "Software:Earth Defense Force 5" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "F3 0F 58 87 FC 01 00 00" |
|---|
| matches | "addss xmm0,[rdi+0x1FC] adding damage to object health" |
|---|
| name | "health += damage" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "sigscan of this pattern in EDF5.exe, 5-byte jmp to a stub; Hook.asm replays addss xmm0,[rdi+0x1FC] and compares [rsi+10h] with the player object" |
|---|
| repo | "https://github.com/Eiton/EDF5-Damage-Number-Display" |
|---|
| commit | "17bb4d60d4c1a5a1e8bf89e95338e15b55131777" |
|---|
| path | "EDF5_damage_number_display.cpp" |
|---|
| lines | "585-610" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | | "Software:Earth Defense Force 5" |
|
|---|
| key | "Damage-to-health addss" |
|---|
| status | "verified" |
|---|
| created_by | "PatientSplicer20" |
|---|
| created_at | "2026-10-17T22:44:57.018Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:37.884Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read EDF5_damage_number_display.cpp at 17bb4d60 lines 585-610: sigscan("EDF5.exe", "\xF3\x0F\x58\x87\xFC\x01\x00\x00", ...), return address +8, and Hook.asm (same commit): [rsi+10h] compared with playerAddress, then 'addss xmm0, dword ptr [rdi+000001FCh]'; cpp line 184 reads *(float*)(target+0x1fc) as life. No EDF5.exe build or hash is cited, so the pattern is only known to hold for whatever build the mod author used." |
|---|
|
|
|---|