daily update on 20231104 by nitload youmu
This commit is contained in:
@@ -0,0 +1,869 @@
|
||||
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
|
||||
|
||||
include listing.inc
|
||||
|
||||
INCLUDELIB OLDNAMES
|
||||
|
||||
PUBLIC ??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@ ; `string'
|
||||
PUBLIC ??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@ ; `string'
|
||||
; COMDAT ??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@
|
||||
CONST SEGMENT
|
||||
??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@ DB 'Null: Gamma'
|
||||
DB ' ramp size must match current ramp size', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@
|
||||
CONST SEGMENT
|
||||
??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@ DB 'Null SuperNoop 0', 00H ; `string'
|
||||
PUBLIC _glfwGetMonitorContentScaleNull
|
||||
PUBLIC _glfwGetGammaRampNull
|
||||
PUBLIC _glfwGetVideoModesNull
|
||||
PUBLIC _glfwPollMonitorsNull
|
||||
PUBLIC _glfwGetVideoModeNull
|
||||
PUBLIC _glfwFreeMonitorNull
|
||||
PUBLIC _glfwSetGammaRampNull
|
||||
PUBLIC _glfwGetMonitorPosNull
|
||||
PUBLIC _glfwGetMonitorWorkareaNull
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwGetGammaRampNull DD imagerel $LN27
|
||||
DD imagerel $LN27+31
|
||||
DD imagerel $unwind$_glfwGetGammaRampNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$1$_glfwGetGammaRampNull DD imagerel $LN27+31
|
||||
DD imagerel $LN27+74
|
||||
DD imagerel $chain$1$_glfwGetGammaRampNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$4$_glfwGetGammaRampNull DD imagerel $LN27+74
|
||||
DD imagerel $LN27+248
|
||||
DD imagerel $chain$4$_glfwGetGammaRampNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$5$_glfwGetGammaRampNull DD imagerel $LN27+248
|
||||
DD imagerel $LN27+258
|
||||
DD imagerel $chain$5$_glfwGetGammaRampNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$6$_glfwGetGammaRampNull DD imagerel $LN27+258
|
||||
DD imagerel $LN27+351
|
||||
DD imagerel $chain$6$_glfwGetGammaRampNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwGetVideoModesNull DD imagerel $LN14
|
||||
DD imagerel $LN14+113
|
||||
DD imagerel $unwind$_glfwGetVideoModesNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwPollMonitorsNull DD imagerel $LN16
|
||||
DD imagerel $LN16+127
|
||||
DD imagerel $unwind$_glfwPollMonitorsNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwFreeMonitorNull DD imagerel $LN18
|
||||
DD imagerel $LN18+107
|
||||
DD imagerel $unwind$_glfwFreeMonitorNull
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwSetGammaRampNull DD imagerel $LN6
|
||||
DD imagerel $LN6+131
|
||||
DD imagerel $unwind$_glfwSetGammaRampNull
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwSetGammaRampNull DD 040a01H
|
||||
DD 06340aH
|
||||
DD 07006320aH
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwFreeMonitorNull DD 020601H
|
||||
DD 030023206H
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwPollMonitorsNull DD 020601H
|
||||
DD 030023206H
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwGetVideoModesNull DD 020601H
|
||||
DD 030023206H
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$chain$6$_glfwGetGammaRampNull DD 021H
|
||||
DD imagerel $LN27
|
||||
DD imagerel $LN27+31
|
||||
DD imagerel $unwind$_glfwGetGammaRampNull
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$chain$5$_glfwGetGammaRampNull DD 021H
|
||||
DD imagerel $LN27+31
|
||||
DD imagerel $LN27+74
|
||||
DD imagerel $chain$1$_glfwGetGammaRampNull
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$chain$4$_glfwGetGammaRampNull DD 062021H
|
||||
DD 028820H
|
||||
DD 037812H
|
||||
DD 046805H
|
||||
DD imagerel $LN27+31
|
||||
DD imagerel $LN27+74
|
||||
DD imagerel $chain$1$_glfwGetGammaRampNull
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$chain$1$_glfwGetGammaRampNull DD 041621H
|
||||
DD 0d7416H
|
||||
DD 0c6405H
|
||||
DD imagerel $LN27
|
||||
DD imagerel $LN27+31
|
||||
DD imagerel $unwind$_glfwGetGammaRampNull
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwGetGammaRampNull DD 040b01H
|
||||
DD 0e340bH
|
||||
DD 0e007920bH
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetMonitorWorkareaNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 8
|
||||
xpos$ = 16
|
||||
ypos$ = 24
|
||||
width$ = 32
|
||||
height$ = 40
|
||||
_glfwGetMonitorWorkareaNull PROC ; COMDAT
|
||||
|
||||
; 94 : const GLFWvidmode mode = getVideoMode();
|
||||
; 95 :
|
||||
; 96 : if (xpos)
|
||||
|
||||
00000 48 85 d2 test rdx, rdx
|
||||
00003 74 06 je SHORT $LN2@glfwGetMon
|
||||
|
||||
; 97 : *xpos = 0;
|
||||
|
||||
00005 c7 02 00 00 00
|
||||
00 mov DWORD PTR [rdx], 0
|
||||
$LN2@glfwGetMon:
|
||||
|
||||
; 98 : if (ypos)
|
||||
|
||||
0000b 4d 85 c0 test r8, r8
|
||||
0000e 74 07 je SHORT $LN3@glfwGetMon
|
||||
|
||||
; 99 : *ypos = 10;
|
||||
|
||||
00010 41 c7 00 0a 00
|
||||
00 00 mov DWORD PTR [r8], 10
|
||||
$LN3@glfwGetMon:
|
||||
|
||||
; 100 : if (width)
|
||||
|
||||
00017 4d 85 c9 test r9, r9
|
||||
0001a 74 07 je SHORT $LN4@glfwGetMon
|
||||
|
||||
; 101 : *width = mode.width;
|
||||
|
||||
0001c 41 c7 01 80 07
|
||||
00 00 mov DWORD PTR [r9], 1920 ; 00000780H
|
||||
$LN4@glfwGetMon:
|
||||
|
||||
; 102 : if (height)
|
||||
|
||||
00023 48 8b 44 24 28 mov rax, QWORD PTR height$[rsp]
|
||||
00028 48 85 c0 test rax, rax
|
||||
0002b 74 06 je SHORT $LN5@glfwGetMon
|
||||
|
||||
; 103 : *height = mode.height - 10;
|
||||
|
||||
0002d c7 00 2e 04 00
|
||||
00 mov DWORD PTR [rax], 1070 ; 0000042eH
|
||||
$LN5@glfwGetMon:
|
||||
|
||||
; 104 : }
|
||||
|
||||
00033 c3 ret 0
|
||||
_glfwGetMonitorWorkareaNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetMonitorPosNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 8
|
||||
xpos$ = 16
|
||||
ypos$ = 24
|
||||
_glfwGetMonitorPosNull PROC ; COMDAT
|
||||
|
||||
; 75 : if (xpos)
|
||||
|
||||
00000 33 c0 xor eax, eax
|
||||
00002 48 85 d2 test rdx, rdx
|
||||
00005 74 02 je SHORT $LN2@glfwGetMon
|
||||
|
||||
; 76 : *xpos = 0;
|
||||
|
||||
00007 89 02 mov DWORD PTR [rdx], eax
|
||||
$LN2@glfwGetMon:
|
||||
|
||||
; 77 : if (ypos)
|
||||
|
||||
00009 4d 85 c0 test r8, r8
|
||||
0000c 74 03 je SHORT $LN3@glfwGetMon
|
||||
|
||||
; 78 : *ypos = 0;
|
||||
|
||||
0000e 41 89 00 mov DWORD PTR [r8], eax
|
||||
$LN3@glfwGetMon:
|
||||
|
||||
; 79 : }
|
||||
|
||||
00011 c3 ret 0
|
||||
_glfwGetMonitorPosNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwSetGammaRampNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 48
|
||||
ramp$ = 56
|
||||
_glfwSetGammaRampNull PROC ; COMDAT
|
||||
|
||||
; 149 : {
|
||||
|
||||
$LN6:
|
||||
00000 48 89 5c 24 08 mov QWORD PTR [rsp+8], rbx
|
||||
00005 57 push rdi
|
||||
00006 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||||
|
||||
; 150 : if (monitor->null.ramp.size != ramp->size)
|
||||
|
||||
0000a 8b 42 18 mov eax, DWORD PTR [rdx+24]
|
||||
0000d 48 8b da mov rbx, rdx
|
||||
00010 48 8b f9 mov rdi, rcx
|
||||
00013 39 81 e8 01 00
|
||||
00 cmp DWORD PTR [rcx+488], eax
|
||||
00019 74 1b je SHORT $LN2@glfwSetGam
|
||||
|
||||
; 151 : {
|
||||
; 152 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
|
||||
0001b 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@
|
||||
00022 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||||
|
||||
; 160 : }
|
||||
|
||||
00027 48 8b 5c 24 30 mov rbx, QWORD PTR [rsp+48]
|
||||
0002c 48 83 c4 20 add rsp, 32 ; 00000020H
|
||||
00030 5f pop rdi
|
||||
|
||||
; 151 : {
|
||||
; 152 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
|
||||
00031 e9 00 00 00 00 jmp _glfwInputError
|
||||
$LN2@glfwSetGam:
|
||||
|
||||
; 153 : "Null: Gamma ramp size must match current ramp size");
|
||||
; 154 : return;
|
||||
; 155 : }
|
||||
; 156 :
|
||||
; 157 : memcpy(monitor->null.ramp.red, ramp->red, sizeof(short) * ramp->size);
|
||||
|
||||
00036 48 8b 12 mov rdx, QWORD PTR [rdx]
|
||||
00039 4c 8b c0 mov r8, rax
|
||||
0003c 48 8b 89 d0 01
|
||||
00 00 mov rcx, QWORD PTR [rcx+464]
|
||||
00043 4d 03 c0 add r8, r8
|
||||
00046 e8 00 00 00 00 call memcpy
|
||||
|
||||
; 158 : memcpy(monitor->null.ramp.green, ramp->green, sizeof(short) * ramp->size);
|
||||
|
||||
0004b 44 8b 43 18 mov r8d, DWORD PTR [rbx+24]
|
||||
0004f 48 8b 53 08 mov rdx, QWORD PTR [rbx+8]
|
||||
00053 4d 03 c0 add r8, r8
|
||||
00056 48 8b 8f d8 01
|
||||
00 00 mov rcx, QWORD PTR [rdi+472]
|
||||
0005d e8 00 00 00 00 call memcpy
|
||||
|
||||
; 159 : memcpy(monitor->null.ramp.blue, ramp->blue, sizeof(short) * ramp->size);
|
||||
|
||||
00062 44 8b 43 18 mov r8d, DWORD PTR [rbx+24]
|
||||
00066 48 8b 53 10 mov rdx, QWORD PTR [rbx+16]
|
||||
0006a 4d 03 c0 add r8, r8
|
||||
0006d 48 8b 8f e0 01
|
||||
00 00 mov rcx, QWORD PTR [rdi+480]
|
||||
|
||||
; 160 : }
|
||||
|
||||
00074 48 8b 5c 24 30 mov rbx, QWORD PTR [rsp+48]
|
||||
00079 48 83 c4 20 add rsp, 32 ; 00000020H
|
||||
0007d 5f pop rdi
|
||||
|
||||
; 159 : memcpy(monitor->null.ramp.blue, ramp->blue, sizeof(short) * ramp->size);
|
||||
|
||||
0007e e9 00 00 00 00 jmp memcpy
|
||||
_glfwSetGammaRampNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwFreeMonitorNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 48
|
||||
_glfwFreeMonitorNull PROC ; COMDAT
|
||||
|
||||
; 69 : {
|
||||
|
||||
$LN18:
|
||||
00000 40 53 push rbx
|
||||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||||
00006 48 8b d9 mov rbx, rcx
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
|
||||
; 214 : _glfw_free(ramp->red);
|
||||
|
||||
00009 48 8b 89 d0 01
|
||||
00 00 mov rcx, QWORD PTR [rcx+464]
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 320 : if (block)
|
||||
|
||||
00010 48 85 c9 test rcx, rcx
|
||||
00013 74 0d je SHORT $LN6@glfwFreeMo
|
||||
|
||||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||||
|
||||
00015 48 8b 15 20 00
|
||||
00 00 mov rdx, QWORD PTR _glfw+32
|
||||
0001c ff 15 18 00 00
|
||||
00 call QWORD PTR _glfw+24
|
||||
$LN6@glfwFreeMo:
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
|
||||
; 215 : _glfw_free(ramp->green);
|
||||
|
||||
00022 48 8b 8b d8 01
|
||||
00 00 mov rcx, QWORD PTR [rbx+472]
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 320 : if (block)
|
||||
|
||||
00029 48 85 c9 test rcx, rcx
|
||||
0002c 74 0d je SHORT $LN9@glfwFreeMo
|
||||
|
||||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||||
|
||||
0002e 48 8b 15 20 00
|
||||
00 00 mov rdx, QWORD PTR _glfw+32
|
||||
00035 ff 15 18 00 00
|
||||
00 call QWORD PTR _glfw+24
|
||||
$LN9@glfwFreeMo:
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
|
||||
; 216 : _glfw_free(ramp->blue);
|
||||
|
||||
0003b 48 8b 8b e0 01
|
||||
00 00 mov rcx, QWORD PTR [rbx+480]
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 320 : if (block)
|
||||
|
||||
00042 48 85 c9 test rcx, rcx
|
||||
00045 74 0d je SHORT $LN12@glfwFreeMo
|
||||
|
||||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||||
|
||||
00047 48 8b 15 20 00
|
||||
00 00 mov rdx, QWORD PTR _glfw+32
|
||||
0004e ff 15 18 00 00
|
||||
00 call QWORD PTR _glfw+24
|
||||
$LN12@glfwFreeMo:
|
||||
00054 0f 57 c0 xorps xmm0, xmm0
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
|
||||
; 218 : memset(ramp, 0, sizeof(GLFWgammaramp));
|
||||
|
||||
00057 0f 11 83 d0 01
|
||||
00 00 movups XMMWORD PTR [rbx+464], xmm0
|
||||
0005e 0f 11 83 e0 01
|
||||
00 00 movups XMMWORD PTR [rbx+480], xmm0
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
|
||||
; 71 : }
|
||||
|
||||
00065 48 83 c4 20 add rsp, 32 ; 00000020H
|
||||
00069 5b pop rbx
|
||||
0006a c3 ret 0
|
||||
_glfwFreeMonitorNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetVideoModeNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 8
|
||||
mode$ = 16
|
||||
_glfwGetVideoModeNull PROC ; COMDAT
|
||||
|
||||
; 116 : *mode = getVideoMode();
|
||||
|
||||
00000 c7 02 80 07 00
|
||||
00 mov DWORD PTR [rdx], 1920 ; 00000780H
|
||||
00006 c7 42 04 38 04
|
||||
00 00 mov DWORD PTR [rdx+4], 1080 ; 00000438H
|
||||
0000d c7 42 08 08 00
|
||||
00 00 mov DWORD PTR [rdx+8], 8
|
||||
00014 c7 42 0c 08 00
|
||||
00 00 mov DWORD PTR [rdx+12], 8
|
||||
0001b c7 42 10 08 00
|
||||
00 00 mov DWORD PTR [rdx+16], 8
|
||||
00022 c7 42 14 3c 00
|
||||
00 00 mov DWORD PTR [rdx+20], 60 ; 0000003cH
|
||||
|
||||
; 117 : }
|
||||
|
||||
00029 c3 ret 0
|
||||
_glfwGetVideoModeNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwPollMonitorsNull
|
||||
_TEXT SEGMENT
|
||||
_glfwPollMonitorsNull PROC ; COMDAT
|
||||
|
||||
; 55 : {
|
||||
|
||||
$LN16:
|
||||
00000 40 53 push rbx
|
||||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
|
||||
|
||||
00006 48 8b 15 20 00
|
||||
00 00 mov rdx, QWORD PTR _glfw+32
|
||||
0000d b9 f0 01 00 00 mov ecx, 496 ; 000001f0H
|
||||
00012 ff 15 08 00 00
|
||||
00 call QWORD PTR _glfw+8
|
||||
|
||||
; 284 : if (block)
|
||||
|
||||
00018 48 85 c0 test rax, rax
|
||||
0001b 74 15 je SHORT $LN11@glfwPollMo
|
||||
|
||||
; 285 : return memset(block, 0, count * size);
|
||||
|
||||
0001d 33 d2 xor edx, edx
|
||||
0001f 41 b8 f0 01 00
|
||||
00 mov r8d, 496 ; 000001f0H
|
||||
00025 48 8b c8 mov rcx, rax
|
||||
00028 e8 00 00 00 00 call memset
|
||||
0002d 48 8b d8 mov rbx, rax
|
||||
00030 eb 0e jmp SHORT $LN9@glfwPollMo
|
||||
$LN11@glfwPollMo:
|
||||
|
||||
; 286 : else
|
||||
; 287 : {
|
||||
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
|
||||
|
||||
00032 33 d2 xor edx, edx
|
||||
00034 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
|
||||
00039 e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 289 : return NULL;
|
||||
|
||||
0003e 33 db xor ebx, ebx
|
||||
$LN9@glfwPollMo:
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\monitor.c
|
||||
|
||||
; 179 : strncpy(monitor->name, name, sizeof(monitor->name) - 1);
|
||||
|
||||
00040 41 b8 7f 00 00
|
||||
00 mov r8d, 127 ; 0000007fH
|
||||
00046 c7 83 88 00 00
|
||||
00 59 01 00 00 mov DWORD PTR [rbx+136], 345 ; 00000159H
|
||||
00050 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@
|
||||
00057 c7 83 8c 00 00
|
||||
00 c2 00 00 00 mov DWORD PTR [rbx+140], 194 ; 000000c2H
|
||||
00061 48 8b cb mov rcx, rbx
|
||||
00064 ff 15 00 00 00
|
||||
00 call QWORD PTR __imp_strncpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
|
||||
; 61 : _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST);
|
||||
|
||||
0006a 45 33 c0 xor r8d, r8d
|
||||
0006d ba 01 00 04 00 mov edx, 262145 ; 00040001H
|
||||
00072 48 8b cb mov rcx, rbx
|
||||
|
||||
; 62 : }
|
||||
|
||||
00075 48 83 c4 20 add rsp, 32 ; 00000020H
|
||||
00079 5b pop rbx
|
||||
|
||||
; 61 : _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST);
|
||||
|
||||
0007a e9 00 00 00 00 jmp _glfwInputMonitor
|
||||
_glfwPollMonitorsNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetVideoModesNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 48
|
||||
found$ = 56
|
||||
_glfwGetVideoModesNull PROC ; COMDAT
|
||||
|
||||
; 107 : {
|
||||
|
||||
$LN14:
|
||||
00000 40 53 push rbx
|
||||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||||
00006 48 8b da mov rbx, rdx
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
|
||||
|
||||
00009 b9 18 00 00 00 mov ecx, 24
|
||||
0000e 48 8b 15 20 00
|
||||
00 00 mov rdx, QWORD PTR _glfw+32
|
||||
00015 ff 15 08 00 00
|
||||
00 call QWORD PTR _glfw+8
|
||||
|
||||
; 284 : if (block)
|
||||
|
||||
0001b 48 85 c0 test rax, rax
|
||||
0001e 74 0e je SHORT $LN7@glfwGetVid
|
||||
00020 0f 57 c0 xorps xmm0, xmm0
|
||||
|
||||
; 285 : return memset(block, 0, count * size);
|
||||
|
||||
00023 33 c9 xor ecx, ecx
|
||||
00025 0f 11 00 movups XMMWORD PTR [rax], xmm0
|
||||
00028 48 89 48 10 mov QWORD PTR [rax+16], rcx
|
||||
0002c eb 0e jmp SHORT $LN5@glfwGetVid
|
||||
$LN7@glfwGetVid:
|
||||
|
||||
; 286 : else
|
||||
; 287 : {
|
||||
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
|
||||
|
||||
0002e 33 d2 xor edx, edx
|
||||
00030 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
|
||||
00035 e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 289 : return NULL;
|
||||
|
||||
0003a 33 c0 xor eax, eax
|
||||
$LN5@glfwGetVid:
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
|
||||
; 109 : *mode = getVideoMode();
|
||||
|
||||
0003c c7 00 80 07 00
|
||||
00 mov DWORD PTR [rax], 1920 ; 00000780H
|
||||
00042 c7 40 04 38 04
|
||||
00 00 mov DWORD PTR [rax+4], 1080 ; 00000438H
|
||||
00049 c7 40 08 08 00
|
||||
00 00 mov DWORD PTR [rax+8], 8
|
||||
00050 c7 40 0c 08 00
|
||||
00 00 mov DWORD PTR [rax+12], 8
|
||||
00057 c7 40 10 08 00
|
||||
00 00 mov DWORD PTR [rax+16], 8
|
||||
0005e c7 40 14 3c 00
|
||||
00 00 mov DWORD PTR [rax+20], 60 ; 0000003cH
|
||||
|
||||
; 110 : *found = 1;
|
||||
|
||||
00065 c7 03 01 00 00
|
||||
00 mov DWORD PTR [rbx], 1
|
||||
|
||||
; 111 : return mode;
|
||||
; 112 : }
|
||||
|
||||
0006b 48 83 c4 20 add rsp, 32 ; 00000020H
|
||||
0006f 5b pop rbx
|
||||
00070 c3 ret 0
|
||||
_glfwGetVideoModesNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetGammaRampNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 96
|
||||
ramp$ = 104
|
||||
_glfwGetGammaRampNull PROC ; COMDAT
|
||||
|
||||
; 120 : {
|
||||
|
||||
$LN27:
|
||||
00000 48 89 5c 24 18 mov QWORD PTR [rsp+24], rbx
|
||||
00005 41 56 push r14
|
||||
00007 48 83 ec 50 sub rsp, 80 ; 00000050H
|
||||
0000b 4c 8b f2 mov r14, rdx
|
||||
0000e 48 8b d9 mov rbx, rcx
|
||||
|
||||
; 121 : if (!monitor->null.ramp.size)
|
||||
|
||||
00011 8b 91 e8 01 00
|
||||
00 mov edx, DWORD PTR [rcx+488]
|
||||
00017 85 d2 test edx, edx
|
||||
00019 0f 85 e3 00 00
|
||||
00 jne $LN3@glfwGetGam
|
||||
0001f 48 89 74 24 60 mov QWORD PTR [rsp+96], rsi
|
||||
|
||||
; 122 : {
|
||||
; 123 : unsigned int i;
|
||||
; 124 :
|
||||
; 125 : _glfwAllocGammaArrays(&monitor->null.ramp, 256);
|
||||
|
||||
00024 ba 00 01 00 00 mov edx, 256 ; 00000100H
|
||||
00029 48 81 c1 d0 01
|
||||
00 00 add rcx, 464 ; 000001d0H
|
||||
00030 48 89 7c 24 68 mov QWORD PTR [rsp+104], rdi
|
||||
00035 e8 00 00 00 00 call _glfwAllocGammaArrays
|
||||
|
||||
; 126 :
|
||||
; 127 : for (i = 0; i < monitor->null.ramp.size; i++)
|
||||
|
||||
0003a 8b 93 e8 01 00
|
||||
00 mov edx, DWORD PTR [rbx+488]
|
||||
00040 33 ff xor edi, edi
|
||||
00042 85 d2 test edx, edx
|
||||
00044 0f 84 ae 00 00
|
||||
00 je $LN24@glfwGetGam
|
||||
0004a 0f 29 74 24 40 movaps XMMWORD PTR [rsp+64], xmm6
|
||||
0004f f3 0f 10 35 00
|
||||
00 00 00 movss xmm6, DWORD PTR __real@477fff00
|
||||
00057 0f 29 7c 24 30 movaps XMMWORD PTR [rsp+48], xmm7
|
||||
0005c f3 0f 10 3d 00
|
||||
00 00 00 movss xmm7, DWORD PTR __real@3ee8ba2e
|
||||
00064 44 0f 29 44 24
|
||||
20 movaps XMMWORD PTR [rsp+32], xmm8
|
||||
0006a f3 44 0f 10 05
|
||||
00 00 00 00 movss xmm8, DWORD PTR __real@3f000000
|
||||
00073 0f 1f 40 00 66
|
||||
0f 1f 84 00 00
|
||||
00 00 00 npad 13
|
||||
$LL4@glfwGetGam:
|
||||
|
||||
; 128 : {
|
||||
; 129 : const float gamma = 2.2f;
|
||||
; 130 : float value;
|
||||
; 131 : value = i / (float) (monitor->null.ramp.size - 1);
|
||||
|
||||
00080 0f 57 c0 xorps xmm0, xmm0
|
||||
00083 8b c7 mov eax, edi
|
||||
00085 0f 57 c9 xorps xmm1, xmm1
|
||||
00088 8d 4a ff lea ecx, DWORD PTR [rdx-1]
|
||||
0008b f3 48 0f 2a c9 cvtsi2ss xmm1, rcx
|
||||
00090 f3 48 0f 2a c0 cvtsi2ss xmm0, rax
|
||||
00095 f3 0f 5e c1 divss xmm0, xmm1
|
||||
|
||||
; 132 : value = powf(value, 1.f / gamma) * 65535.f + 0.5f;
|
||||
|
||||
00099 0f 28 cf movaps xmm1, xmm7
|
||||
0009c e8 00 00 00 00 call powf
|
||||
000a1 f3 0f 59 c6 mulss xmm0, xmm6
|
||||
000a5 f3 41 0f 58 c0 addss xmm0, xmm8
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
|
||||
|
||||
; 249 : if (a != a)
|
||||
|
||||
000aa 0f 2e c0 ucomiss xmm0, xmm0
|
||||
000ad 7a 05 jp SHORT $LN25@glfwGetGam
|
||||
|
||||
; 250 : return b;
|
||||
; 251 : else if (b != b)
|
||||
; 252 : return a;
|
||||
; 253 : else if (a < b)
|
||||
|
||||
000af 0f 2f f0 comiss xmm6, xmm0
|
||||
000b2 77 03 ja SHORT $LN13@glfwGetGam
|
||||
$LN25@glfwGetGam:
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
|
||||
; 135 : monitor->null.ramp.red[i] = (unsigned short) value;
|
||||
|
||||
000b4 0f 28 c6 movaps xmm0, xmm6
|
||||
$LN13@glfwGetGam:
|
||||
000b7 48 8b 83 d0 01
|
||||
00 00 mov rax, QWORD PTR [rbx+464]
|
||||
000be f3 0f 2c d0 cvttss2si edx, xmm0
|
||||
000c2 66 89 14 78 mov WORD PTR [rax+rdi*2], dx
|
||||
|
||||
; 136 : monitor->null.ramp.green[i] = (unsigned short) value;
|
||||
|
||||
000c6 48 8b 83 d8 01
|
||||
00 00 mov rax, QWORD PTR [rbx+472]
|
||||
000cd 66 89 14 78 mov WORD PTR [rax+rdi*2], dx
|
||||
|
||||
; 137 : monitor->null.ramp.blue[i] = (unsigned short) value;
|
||||
|
||||
000d1 48 8b 83 e0 01
|
||||
00 00 mov rax, QWORD PTR [rbx+480]
|
||||
000d8 66 89 14 78 mov WORD PTR [rax+rdi*2], dx
|
||||
000dc ff c7 inc edi
|
||||
000de 8b 93 e8 01 00
|
||||
00 mov edx, DWORD PTR [rbx+488]
|
||||
000e4 3b fa cmp edi, edx
|
||||
000e6 72 98 jb SHORT $LL4@glfwGetGam
|
||||
|
||||
; 126 :
|
||||
; 127 : for (i = 0; i < monitor->null.ramp.size; i++)
|
||||
|
||||
000e8 44 0f 28 44 24
|
||||
20 movaps xmm8, XMMWORD PTR [rsp+32]
|
||||
000ee 0f 28 7c 24 30 movaps xmm7, XMMWORD PTR [rsp+48]
|
||||
000f3 0f 28 74 24 40 movaps xmm6, XMMWORD PTR [rsp+64]
|
||||
$LN24@glfwGetGam:
|
||||
000f8 48 8b 74 24 60 mov rsi, QWORD PTR [rsp+96]
|
||||
000fd 48 8b 7c 24 68 mov rdi, QWORD PTR [rsp+104]
|
||||
$LN3@glfwGetGam:
|
||||
|
||||
; 138 : }
|
||||
; 139 : }
|
||||
; 140 :
|
||||
; 141 : _glfwAllocGammaArrays(ramp, monitor->null.ramp.size);
|
||||
|
||||
00102 49 8b ce mov rcx, r14
|
||||
00105 e8 00 00 00 00 call _glfwAllocGammaArrays
|
||||
|
||||
; 142 : memcpy(ramp->red, monitor->null.ramp.red, sizeof(short) * ramp->size);
|
||||
|
||||
0010a 45 8b 46 18 mov r8d, DWORD PTR [r14+24]
|
||||
0010e 48 8b 93 d0 01
|
||||
00 00 mov rdx, QWORD PTR [rbx+464]
|
||||
00115 4d 03 c0 add r8, r8
|
||||
00118 49 8b 0e mov rcx, QWORD PTR [r14]
|
||||
0011b e8 00 00 00 00 call memcpy
|
||||
|
||||
; 143 : memcpy(ramp->green, monitor->null.ramp.green, sizeof(short) * ramp->size);
|
||||
|
||||
00120 45 8b 46 18 mov r8d, DWORD PTR [r14+24]
|
||||
00124 48 8b 93 d8 01
|
||||
00 00 mov rdx, QWORD PTR [rbx+472]
|
||||
0012b 4d 03 c0 add r8, r8
|
||||
0012e 49 8b 4e 08 mov rcx, QWORD PTR [r14+8]
|
||||
00132 e8 00 00 00 00 call memcpy
|
||||
|
||||
; 144 : memcpy(ramp->blue, monitor->null.ramp.blue, sizeof(short) * ramp->size);
|
||||
|
||||
00137 45 8b 46 18 mov r8d, DWORD PTR [r14+24]
|
||||
0013b 48 8b 93 e0 01
|
||||
00 00 mov rdx, QWORD PTR [rbx+480]
|
||||
00142 4d 03 c0 add r8, r8
|
||||
00145 49 8b 4e 10 mov rcx, QWORD PTR [r14+16]
|
||||
00149 e8 00 00 00 00 call memcpy
|
||||
|
||||
; 145 : return GLFW_TRUE;
|
||||
; 146 : }
|
||||
|
||||
0014e 48 8b 5c 24 70 mov rbx, QWORD PTR [rsp+112]
|
||||
00153 b8 01 00 00 00 mov eax, 1
|
||||
00158 48 83 c4 50 add rsp, 80 ; 00000050H
|
||||
0015c 41 5e pop r14
|
||||
0015e c3 ret 0
|
||||
_glfwGetGammaRampNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT _glfwGetMonitorContentScaleNull
|
||||
_TEXT SEGMENT
|
||||
monitor$ = 8
|
||||
xscale$ = 16
|
||||
yscale$ = 24
|
||||
_glfwGetMonitorContentScaleNull PROC ; COMDAT
|
||||
|
||||
; 84 : if (xscale)
|
||||
|
||||
00000 48 85 d2 test rdx, rdx
|
||||
00003 74 06 je SHORT $LN2@glfwGetMon
|
||||
|
||||
; 85 : *xscale = 1.f;
|
||||
|
||||
00005 c7 02 00 00 80
|
||||
3f mov DWORD PTR [rdx], 1065353216 ; 3f800000H
|
||||
$LN2@glfwGetMon:
|
||||
|
||||
; 86 : if (yscale)
|
||||
|
||||
0000b 4d 85 c0 test r8, r8
|
||||
0000e 74 07 je SHORT $LN3@glfwGetMon
|
||||
|
||||
; 87 : *yscale = 1.f;
|
||||
|
||||
00010 41 c7 00 00 00
|
||||
80 3f mov DWORD PTR [r8], 1065353216 ; 3f800000H
|
||||
$LN3@glfwGetMon:
|
||||
|
||||
; 88 : }
|
||||
|
||||
00017 c3 ret 0
|
||||
_glfwGetMonitorContentScaleNull ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Ogtpy
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
||||
; COMDAT getVideoMode
|
||||
_TEXT SEGMENT
|
||||
__$ReturnAddress$ = 8
|
||||
getVideoMode PROC ; COMDAT
|
||||
|
||||
; 40 : GLFWvidmode mode;
|
||||
; 41 : mode.width = 1920;
|
||||
|
||||
00000 c7 01 80 07 00
|
||||
00 mov DWORD PTR [rcx], 1920 ; 00000780H
|
||||
|
||||
; 42 : mode.height = 1080;
|
||||
; 43 : mode.redBits = 8;
|
||||
; 44 : mode.greenBits = 8;
|
||||
; 45 : mode.blueBits = 8;
|
||||
; 46 : mode.refreshRate = 60;
|
||||
; 47 : return mode;
|
||||
|
||||
00006 48 8b c1 mov rax, rcx
|
||||
00009 c7 41 04 38 04
|
||||
00 00 mov DWORD PTR [rcx+4], 1080 ; 00000438H
|
||||
00010 c7 41 08 08 00
|
||||
00 00 mov DWORD PTR [rcx+8], 8
|
||||
00017 c7 41 0c 08 00
|
||||
00 00 mov DWORD PTR [rcx+12], 8
|
||||
0001e c7 41 10 08 00
|
||||
00 00 mov DWORD PTR [rcx+16], 8
|
||||
00025 c7 41 14 3c 00
|
||||
00 00 mov DWORD PTR [rcx+20], 60 ; 0000003cH
|
||||
|
||||
; 48 : }
|
||||
|
||||
0002c c3 ret 0
|
||||
getVideoMode ENDP
|
||||
_TEXT ENDS
|
||||
END
|
||||
Reference in New Issue
Block a user