Skip to content

Commit

Permalink
Update TheLastOfUs2-Orbis.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 authored Aug 18, 2023
1 parent 2b9392e commit c340d33
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions patches/xml/TheLastOfUs2-Orbis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Using Bow?: %i
<!--
_start:
# Start addr 0204118c
LEA RCX, [0x0436bca4] # Show Foreground Stats
LEA RCX, [0x0436bca4] # Show Foreground Stats bool
CMP byte ptr [RCX], 0
JZ exit_func
MOV R13,RAX
Expand All @@ -463,6 +463,7 @@ Using Bow?: %i
vxorps XMM1,XMM1,XMM1
vxorps XMM2,XMM2,XMM2
vxorps XMM3,XMM3,XMM3
# coordinates are 1280,720 mapped
# x1
MOV EAX, 0x0
VCVTSI2SS XMM0,XMM0,EAX
Expand All @@ -480,7 +481,7 @@ Using Bow?: %i
MOV EDX,0xb
MOV RDI,RAX
LEA RAX, [0x03400064]
CMP dword ptr [RAX],0x7 # above 16 index, reset
CMP dword ptr [RAX],0x7 # above 8 index, reset
JA color_default
CMP dword ptr [RAX],0x0 # check color index
JZ color_0
Expand All @@ -502,36 +503,36 @@ Using Bow?: %i
MOV ESI, 0xFFFFFFFF # first index color
MOV dword ptr [RAX],1 # next frame, use second index
JMP draw_bar_only_no_add
# Doom Eternal color platte (only 8)
color_0:
MOV ESI, 0xFFFFFFFF # White good
MOV ESI, 0xFFFFFFFF
JMP draw_bar
color_1:
MOV ESI, 0xFFFF0000 # Lime good
MOV ESI, 0xFFFF0000
JMP draw_bar
color_2:
MOV ESI, 0xFF808000 # Blue bad 000,170,255,255
MOV ESI, 0xFF808000
JMP draw_bar
color_3:
MOV ESI, 0xFF008000 # Red good
MOV ESI, 0xFF008000
JMP draw_bar
color_4:
MOV ESI, 0xFF000080 # Teal?? bad 255,124,231,255
MOV ESI, 0xFF000080
JMP draw_bar
color_5:
MOV ESI, 0xFF800080 # Navy bad 231,124,124,255
MOV ESI, 0xFF800080
JMP draw_bar
color_6:
MOV ESI, 0xFF808080 # Green 000,216,000,255
MOV ESI, 0xFF808080
JMP draw_bar
color_7:
MOV ESI, 0xFF00FFFF # Aqua good
MOV ESI, 0xFF00FFFF
# JMP draw_bar
draw_bar:
ADD dword ptr [RAX],1
draw_bar_only_no_add:
CALL 0x021af640
exit_func:
# MOV R13,RAX
JMP 0x20413df
-->
<Line Type="utf8" Address="0x02eb1970" Value="Draw Color Boarder"/>
Expand Down

0 comments on commit c340d33

Please sign in to comment.