1305 lines
36 KiB
Plaintext
1305 lines
36 KiB
Plaintext
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
|
|
|
|
include listing.inc
|
|
|
|
INCLUDELIB MSVCRTD
|
|
INCLUDELIB OLDNAMES
|
|
|
|
msvcjmc SEGMENT
|
|
__9C03CD75_concurrencysal@h DB 01H
|
|
__CA64BAF1_sal@h DB 01H
|
|
__95655E73_vadefs@h DB 01H
|
|
__1D560A45_vcruntime@h DB 01H
|
|
__1B0272D9_corecrt@h DB 01H
|
|
__13F5961F_stddef@h DB 01H
|
|
__ED683015_stdint@h DB 01H
|
|
__89F75FCD_ssgc_internal@h DB 01H
|
|
__A5E73FD0_glfw3@h DB 01H
|
|
__1D45B1A5_glfw_null_platform@h DB 01H
|
|
__74484FB3_corecrt_wctype@h DB 01H
|
|
__CBE172F9_wctype@h DB 01H
|
|
__0ED14FEE_winpackagefamily@h DB 01H
|
|
__F92EF742_winapifamily@h DB 01H
|
|
__22E515EB_sdkddkver@h DB 01H
|
|
__F214EFBF_excpt@h DB 01H
|
|
__D9B78EDA_stdarg@h DB 01H
|
|
__29F49F40_specstrings_undef@h DB 01H
|
|
__D0F42932_specstrings_strict@h DB 01H
|
|
__F00405FD_sdv_driverspecs@h DB 01H
|
|
__173E09CA_driverspecs@h DB 01H
|
|
__9A452361_specstrings@h DB 01H
|
|
__1EC467ED_ctype@h DB 01H
|
|
__98517906_kernelspecs@h DB 01H
|
|
__D3497022_basetsd@h DB 01H
|
|
__61CC25A1_errno@h DB 01H
|
|
__7061C667_vcruntime_string@h DB 01H
|
|
__E4C945B4_corecrt_memcpy_s@h DB 01H
|
|
__8EAFF484_corecrt_memory@h DB 01H
|
|
__6490AEC5_corecrt_wstring@h DB 01H
|
|
__E8295E1E_string@h DB 01H
|
|
__7FCB5136_guiddef@h DB 01H
|
|
__FF8A9E11_pshpack4@h DB 01H
|
|
__D5438902_poppack@h DB 01H
|
|
__FB07E2A3_pshpack2@h DB 01H
|
|
__F6906775_pshpack8@h DB 01H
|
|
__F9415CFA_pshpack1@h DB 01H
|
|
__E58C6F1C_apiset@h DB 01H
|
|
__A5C52262_ktmtypes@h DB 01H
|
|
__FBBA8F9D_winnt@h DB 01H
|
|
__A32D3D2C_minwindef@h DB 01H
|
|
__7D798299_windef@h DB 01H
|
|
__9AE108E9_apisetcconv@h DB 01H
|
|
__9CE53D2C_minwinbase@h DB 01H
|
|
__5D0AA210_apiquery2@h DB 01H
|
|
__4DD4E726_processenv@h DB 01H
|
|
__3575CC96_fileapi@h DB 01H
|
|
__8EA220E6_fileapifromapp@h DB 01H
|
|
__BF9B31FE_debugapi@h DB 01H
|
|
__C3AFE134_utilapiset@h DB 01H
|
|
__76F69E51_handleapi@h DB 01H
|
|
__7E63D784_errhandlingapi@h DB 01H
|
|
__FFA7003C_fibersapi@h DB 01H
|
|
__8971CECF_namedpipeapi@h DB 01H
|
|
__46C9D8A6_profileapi@h DB 01H
|
|
__98D4F0A3_heapapi@h DB 01H
|
|
__50EF2A88_ioapiset@h DB 01H
|
|
__92EA1464_synchapi@h DB 01H
|
|
__A53D8AED_interlockedapi@h DB 01H
|
|
__B506CAAF_processthreadsapi@h DB 01H
|
|
__FF735694_sysinfoapi@h DB 01H
|
|
__29589789_memoryapi@h DB 01H
|
|
__E9C7A663_enclaveapi@h DB 01H
|
|
__D035F9F7_threadpoollegacyapiset@h DB 01H
|
|
__C899130C_threadpoolapiset@h DB 01H
|
|
__E0441EE7_jobapi@h DB 01H
|
|
__CEF86838_jobapi2@h DB 01H
|
|
__35AC6B9A_wow64apiset@h DB 01H
|
|
__C8AE41A5_libloaderapi@h DB 01H
|
|
__CC9E232D_securitybaseapi@h DB 01H
|
|
__C9D0C9B8_namespaceapi@h DB 01H
|
|
__30FF9CAD_systemtopologyapi@h DB 01H
|
|
__4D358795_processtopologyapi@h DB 01H
|
|
__40446D10_securityappcontainer@h DB 01H
|
|
__3A952EDF_realtimeapiset@h DB 01H
|
|
__F4865F4B_winerror@h DB 01H
|
|
__53C1BD93_timezoneapi@h DB 01H
|
|
__1FFBEDBF_winbase@h DB 01H
|
|
__43D3FA34_wingdi@h DB 01H
|
|
__D24A7391_tvout@h DB 01H
|
|
__7713A6C8_winuser@h DB 01H
|
|
__0B345F71_datetimeapi@h DB 01H
|
|
__9AC6960C_winnls@h DB 01H
|
|
__973A40A8_stringapiset@h DB 01H
|
|
__CC46FEE2_wincontypes@h DB 01H
|
|
__97D70BE1_consoleapi@h DB 01H
|
|
__27EC5E18_consoleapi2@h DB 01H
|
|
__262E342F_consoleapi3@h DB 01H
|
|
__641DCD70_wincon@h DB 01H
|
|
__5A96C7A7_verrsrc@h DB 01H
|
|
__B69C6FF2_winver@h DB 01H
|
|
__7AEB8C37_reason@h DB 01H
|
|
__59F1A8A9_winreg@h DB 01H
|
|
__EE0E2B7F_wnnc@h DB 01H
|
|
__DCDB7054_winnetwk@h DB 01H
|
|
__81DDEDE3_stralign@h DB 01H
|
|
__2134D1B4_winsvc@h DB 01H
|
|
__11C07376_mcx@h DB 01H
|
|
__577CE3E7_ime_cmodes@h DB 01H
|
|
__1E72C31E_imm@h DB 01H
|
|
__E15BF856_windows@h DB 01H
|
|
__DF8704F0_rpcdcep@h DB 01H
|
|
__5C6CA7BB_rpcdce@h DB 01H
|
|
__853533C4_rpcnsi@h DB 01H
|
|
__2D2406C3_rpcnterr@h DB 01H
|
|
__64521D71_rpcasync@h DB 01H
|
|
__AADCBA08_rpc@h DB 01H
|
|
__1FE431C9_rpcnsip@h DB 01H
|
|
__2B741F2D_rpcsal@h DB 01H
|
|
__92623256_rpcndr@h DB 01H
|
|
__45DED006_corecrt_malloc@h DB 01H
|
|
__FD6DBD68_corecrt_search@h DB 01H
|
|
__E2E33A61_corecrt_wstdlib@h DB 01H
|
|
__531E1E2A_limits@h DB 01H
|
|
__6E5ACABA_stdlib@h DB 01H
|
|
__9C18532E_wtypesbase@h DB 01H
|
|
__30B1AFDA_unknwnbase@h DB 01H
|
|
__328C1996_objidlbase@h DB 01H
|
|
__C4E06B6A_cguid@h DB 01H
|
|
__434718C5_combaseapi@h DB 01H
|
|
__EA2E1D6D_wtypes@h DB 01H
|
|
__DE6FDEF1_unknwn@h DB 01H
|
|
__CCE0BACC_objidl@h DB 01H
|
|
__8C7011E5_oaidl@h DB 01H
|
|
__2E0B7863_propidlbase@h DB 01H
|
|
__BF4CF2EC_coml2api@h DB 01H
|
|
__6D897344_oleidl@h DB 01H
|
|
__1129FC2C_servprov@h DB 01H
|
|
__757952E4_msxml@h DB 01H
|
|
__B1191D53_urlmon@h DB 01H
|
|
__404D1A47_propidl@h DB 01H
|
|
__A1C63593_objbase@h DB 01H
|
|
__9F7C87B7_dinput@h DB 01H
|
|
__B468A3D3_xinput@h DB 01H
|
|
__AD768F06_dbt@h DB 01H
|
|
__D83367F8_glfw_win32_platform@h DB 01H
|
|
__53CB9229_glfw_null_joystick@h DB 01H
|
|
__96BD4474_glfw_win32_joystick@h DB 01H
|
|
__7D74CEA8_glfw_win32_thread@h DB 01H
|
|
__C7421531_glfw_win32_time@h DB 01H
|
|
__43B1F397_glfw_platform@h DB 01H
|
|
__A547227D_glfw_internal@h DB 01H
|
|
__BB16330F_corecrt_math@h DB 01H
|
|
__3BF2A406_math@h DB 01H
|
|
__BE69B0C0_null_monitor@c DB 01H
|
|
msvcjmc ENDS
|
|
PUBLIC _glfwPollMonitorsNull
|
|
PUBLIC _glfwFreeMonitorNull
|
|
PUBLIC _glfwGetMonitorPosNull
|
|
PUBLIC _glfwGetMonitorContentScaleNull
|
|
PUBLIC _glfwGetMonitorWorkareaNull
|
|
PUBLIC _glfwGetVideoModesNull
|
|
PUBLIC _glfwGetVideoModeNull
|
|
PUBLIC _glfwGetGammaRampNull
|
|
PUBLIC _glfwSetGammaRampNull
|
|
PUBLIC __JustMyCode_Default
|
|
PUBLIC ??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@ ; `string'
|
|
PUBLIC ??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@ ; `string'
|
|
PUBLIC __real@3f000000
|
|
PUBLIC __real@3f800000
|
|
PUBLIC __real@400ccccd
|
|
PUBLIC __real@41cb3333
|
|
PUBLIC __real@430d0000
|
|
PUBLIC __real@477fff00
|
|
EXTRN memcpy:PROC
|
|
EXTRN _glfwInputMonitor:PROC
|
|
EXTRN _glfwInputError:PROC
|
|
EXTRN _glfwAllocMonitor:PROC
|
|
EXTRN _glfwAllocGammaArrays:PROC
|
|
EXTRN _glfwFreeGammaArrays:PROC
|
|
EXTRN _glfw_fminf:PROC
|
|
EXTRN _glfw_calloc:PROC
|
|
EXTRN __imp_powf:PROC
|
|
EXTRN _RTC_CheckStackVars:PROC
|
|
EXTRN _RTC_InitBase:PROC
|
|
EXTRN _RTC_Shutdown:PROC
|
|
EXTRN __CheckForDebuggerJustMyCode:PROC
|
|
EXTRN _fltused:DWORD
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwPollMonitorsNull DD imagerel $LN3
|
|
DD imagerel $LN3+196
|
|
DD imagerel $unwind$_glfwPollMonitorsNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwFreeMonitorNull DD imagerel $LN3
|
|
DD imagerel $LN3+62
|
|
DD imagerel $unwind$_glfwFreeMonitorNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetMonitorPosNull DD imagerel $LN5
|
|
DD imagerel $LN5+97
|
|
DD imagerel $unwind$_glfwGetMonitorPosNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetMonitorContentScaleNull DD imagerel $LN5
|
|
DD imagerel $LN5+109
|
|
DD imagerel $unwind$_glfwGetMonitorContentScaleNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetMonitorWorkareaNull DD imagerel $LN7
|
|
DD imagerel $LN7+221
|
|
DD imagerel $unwind$_glfwGetMonitorWorkareaNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetVideoModesNull DD imagerel $LN3
|
|
DD imagerel $LN3+110
|
|
DD imagerel $unwind$_glfwGetVideoModesNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetVideoModeNull DD imagerel $LN3
|
|
DD imagerel $LN3+77
|
|
DD imagerel $unwind$_glfwGetVideoModeNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwGetGammaRampNull DD imagerel $LN7
|
|
DD imagerel $LN7+504
|
|
DD imagerel $unwind$_glfwGetGammaRampNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$_glfwSetGammaRampNull DD imagerel $LN4
|
|
DD imagerel $LN4+230
|
|
DD imagerel $unwind$_glfwSetGammaRampNull
|
|
pdata ENDS
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$getVideoMode DD imagerel getVideoMode
|
|
DD imagerel getVideoMode+178
|
|
DD imagerel $unwind$getVideoMode
|
|
pdata ENDS
|
|
; COMDAT __real@477fff00
|
|
CONST SEGMENT
|
|
__real@477fff00 DD 0477fff00r ; 65535
|
|
CONST ENDS
|
|
; COMDAT __real@430d0000
|
|
CONST SEGMENT
|
|
__real@430d0000 DD 0430d0000r ; 141
|
|
CONST ENDS
|
|
; COMDAT __real@41cb3333
|
|
CONST SEGMENT
|
|
__real@41cb3333 DD 041cb3333r ; 25.4
|
|
CONST ENDS
|
|
; COMDAT __real@400ccccd
|
|
CONST SEGMENT
|
|
__real@400ccccd DD 0400ccccdr ; 2.2
|
|
CONST ENDS
|
|
; COMDAT __real@3f800000
|
|
CONST SEGMENT
|
|
__real@3f800000 DD 03f800000r ; 1
|
|
CONST ENDS
|
|
; COMDAT __real@3f000000
|
|
CONST SEGMENT
|
|
__real@3f000000 DD 03f000000r ; 0.5
|
|
CONST ENDS
|
|
; COMDAT rtc$TMZ
|
|
rtc$TMZ SEGMENT
|
|
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
|
|
rtc$TMZ ENDS
|
|
; COMDAT rtc$IMZ
|
|
rtc$IMZ SEGMENT
|
|
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
|
|
rtc$IMZ ENDS
|
|
; 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'
|
|
CONST ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$getVideoMode DD 025052c01H
|
|
DD 010e2313H
|
|
DD 070070023H
|
|
DD 05006H
|
|
xdata ENDS
|
|
; COMDAT CONST
|
|
CONST SEGMENT
|
|
getVideoMode$rtcName$0 DB 06dH
|
|
DB 06fH
|
|
DB 064H
|
|
DB 065H
|
|
DB 00H
|
|
ORG $+11
|
|
getVideoMode$rtcVarDesc DD 028H
|
|
DD 018H
|
|
DQ FLAT:getVideoMode$rtcName$0
|
|
ORG $+48
|
|
getVideoMode$rtcFrameData DD 01H
|
|
DD 00H
|
|
DQ FLAT:getVideoMode$rtcVarDesc
|
|
CONST ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwSetGammaRampNull DD 025051801H
|
|
DD 01132318H
|
|
DD 0700c001dH
|
|
DD 0500bH
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetGammaRampNull DD 025051801H
|
|
DD 01132318H
|
|
DD 0700c0029H
|
|
DD 0500bH
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetVideoModeNull DD 025061901H
|
|
DD 01142319H
|
|
DD 0700d0022H
|
|
DD 0500b600cH
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetVideoModesNull DD 025061901H
|
|
DD 01142319H
|
|
DD 0700d0026H
|
|
DD 0500b600cH
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetMonitorWorkareaNull DD 025063c01H
|
|
DD 011e2323H
|
|
DD 070170028H
|
|
DD 050156016H
|
|
xdata ENDS
|
|
; COMDAT CONST
|
|
CONST SEGMENT
|
|
_glfwGetMonitorWorkareaNull$rtcName$0 DB 06dH
|
|
DB 06fH
|
|
DB 064H
|
|
DB 065H
|
|
DB 00H
|
|
ORG $+11
|
|
_glfwGetMonitorWorkareaNull$rtcVarDesc DD 028H
|
|
DD 018H
|
|
DQ FLAT:_glfwGetMonitorWorkareaNull$rtcName$0
|
|
ORG $+48
|
|
_glfwGetMonitorWorkareaNull$rtcFrameData DD 01H
|
|
DD 00H
|
|
DQ FLAT:_glfwGetMonitorWorkareaNull$rtcVarDesc
|
|
CONST ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetMonitorContentScaleNull DD 025051d01H
|
|
DD 0118231dH
|
|
DD 07011001dH
|
|
DD 05010H
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwGetMonitorPosNull DD 025051d01H
|
|
DD 0118231dH
|
|
DD 07011001dH
|
|
DD 05010H
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwFreeMonitorNull DD 025051301H
|
|
DD 010e2313H
|
|
DD 07007001dH
|
|
DD 05006H
|
|
xdata ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$_glfwPollMonitorsNull DD 025062101H
|
|
DD 010b2310H
|
|
DD 070040030H
|
|
DD 050026003H
|
|
xdata ENDS
|
|
; COMDAT CONST
|
|
CONST SEGMENT
|
|
_glfwPollMonitorsNull$rtcName$0 DB 06dH
|
|
DB 06fH
|
|
DB 064H
|
|
DB 065H
|
|
DB 00H
|
|
ORG $+11
|
|
_glfwPollMonitorsNull$rtcVarDesc DD 048H
|
|
DD 018H
|
|
DQ FLAT:_glfwPollMonitorsNull$rtcName$0
|
|
ORG $+48
|
|
_glfwPollMonitorsNull$rtcFrameData DD 01H
|
|
DD 00H
|
|
DQ FLAT:_glfwPollMonitorsNull$rtcVarDesc
|
|
CONST ENDS
|
|
; Function compile flags: /Odt
|
|
; COMDAT __JustMyCode_Default
|
|
_TEXT SEGMENT
|
|
__JustMyCode_Default PROC ; COMDAT
|
|
00000 c2 00 00 ret 0
|
|
__JustMyCode_Default ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT getVideoMode
|
|
_TEXT SEGMENT
|
|
__$ReturnAddress$ = 272
|
|
getVideoMode PROC ; COMDAT
|
|
|
|
; 39 : {
|
|
|
|
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
00005 55 push rbp
|
|
00006 57 push rdi
|
|
00007 48 81 ec 18 01
|
|
00 00 sub rsp, 280 ; 00000118H
|
|
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00013 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
|
|
00018 b9 0e 00 00 00 mov ecx, 14
|
|
0001d b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
|
|
00022 f3 ab rep stosd
|
|
00024 48 8b 8c 24 38
|
|
01 00 00 mov rcx, QWORD PTR [rsp+312]
|
|
0002c 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00033 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 40 : GLFWvidmode mode;
|
|
; 41 : mode.width = 1920;
|
|
|
|
00038 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
0003f c7 00 80 07 00
|
|
00 mov DWORD PTR [rax], 1920 ; 00000780H
|
|
|
|
; 42 : mode.height = 1080;
|
|
|
|
00045 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
0004c c7 40 04 38 04
|
|
00 00 mov DWORD PTR [rax+4], 1080 ; 00000438H
|
|
|
|
; 43 : mode.redBits = 8;
|
|
|
|
00053 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
0005a c7 40 08 08 00
|
|
00 00 mov DWORD PTR [rax+8], 8
|
|
|
|
; 44 : mode.greenBits = 8;
|
|
|
|
00061 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
00068 c7 40 0c 08 00
|
|
00 00 mov DWORD PTR [rax+12], 8
|
|
|
|
; 45 : mode.blueBits = 8;
|
|
|
|
0006f 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
00076 c7 40 10 08 00
|
|
00 00 mov DWORD PTR [rax+16], 8
|
|
|
|
; 46 : mode.refreshRate = 60;
|
|
|
|
0007d 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
00084 c7 40 14 3c 00
|
|
00 00 mov DWORD PTR [rax+20], 60 ; 0000003cH
|
|
|
|
; 47 : return mode;
|
|
|
|
0008b 48 8b 85 10 01
|
|
00 00 mov rax, QWORD PTR __$ReturnAddress$[rbp]
|
|
|
|
; 48 : }
|
|
|
|
00092 48 8b f8 mov rdi, rax
|
|
00095 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
|
00099 48 8d 15 00 00
|
|
00 00 lea rdx, OFFSET FLAT:getVideoMode$rtcFrameData
|
|
000a0 e8 00 00 00 00 call _RTC_CheckStackVars
|
|
000a5 48 8b c7 mov rax, rdi
|
|
000a8 48 8d a5 f8 00
|
|
00 00 lea rsp, QWORD PTR [rbp+248]
|
|
000af 5f pop rdi
|
|
000b0 5d pop rbp
|
|
000b1 c3 ret 0
|
|
getVideoMode ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwSetGammaRampNull
|
|
_TEXT SEGMENT
|
|
monitor$ = 224
|
|
ramp$ = 232
|
|
_glfwSetGammaRampNull PROC ; COMDAT
|
|
|
|
; 149 : {
|
|
|
|
$LN4:
|
|
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000a 55 push rbp
|
|
0000b 57 push rdi
|
|
0000c 48 81 ec e8 00
|
|
00 00 sub rsp, 232 ; 000000e8H
|
|
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00018 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 150 : if (monitor->null.ramp.size != ramp->size)
|
|
|
|
00024 48 8b 85 e0 00
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
0002b 48 8b 8d e8 00
|
|
00 00 mov rcx, QWORD PTR ramp$[rbp]
|
|
00032 8b 49 18 mov ecx, DWORD PTR [rcx+24]
|
|
00035 39 88 e8 01 00
|
|
00 cmp DWORD PTR [rax+488], ecx
|
|
0003b 74 16 je SHORT $LN2@glfwSetGam
|
|
|
|
; 151 : {
|
|
; 152 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
|
|
|
0003d 48 8d 15 00 00
|
|
00 00 lea rdx, OFFSET FLAT:??_C@_0DD@JDDDNHLP@Null?3?5Gamma?5ramp?5size?5must?5matc@
|
|
00044 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
|
00049 e8 00 00 00 00 call _glfwInputError
|
|
|
|
; 153 : "Null: Gamma ramp size must match current ramp size");
|
|
; 154 : return;
|
|
|
|
0004e e9 89 00 00 00 jmp $LN1@glfwSetGam
|
|
$LN2@glfwSetGam:
|
|
|
|
; 155 : }
|
|
; 156 :
|
|
; 157 : memcpy(monitor->null.ramp.red, ramp->red, sizeof(short) * ramp->size);
|
|
|
|
00053 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
0005a 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
0005d 48 d1 e0 shl rax, 1
|
|
00060 4c 8b c0 mov r8, rax
|
|
00063 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
0006a 48 8b 10 mov rdx, QWORD PTR [rax]
|
|
0006d 48 8b 85 e0 00
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
00074 48 8b 88 d0 01
|
|
00 00 mov rcx, QWORD PTR [rax+464]
|
|
0007b e8 00 00 00 00 call memcpy
|
|
|
|
; 158 : memcpy(monitor->null.ramp.green, ramp->green, sizeof(short) * ramp->size);
|
|
|
|
00080 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
00087 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
0008a 48 d1 e0 shl rax, 1
|
|
0008d 4c 8b c0 mov r8, rax
|
|
00090 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
00097 48 8b 50 08 mov rdx, QWORD PTR [rax+8]
|
|
0009b 48 8b 85 e0 00
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
000a2 48 8b 88 d8 01
|
|
00 00 mov rcx, QWORD PTR [rax+472]
|
|
000a9 e8 00 00 00 00 call memcpy
|
|
|
|
; 159 : memcpy(monitor->null.ramp.blue, ramp->blue, sizeof(short) * ramp->size);
|
|
|
|
000ae 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
000b5 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
000b8 48 d1 e0 shl rax, 1
|
|
000bb 4c 8b c0 mov r8, rax
|
|
000be 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
000c5 48 8b 50 10 mov rdx, QWORD PTR [rax+16]
|
|
000c9 48 8b 85 e0 00
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
000d0 48 8b 88 e0 01
|
|
00 00 mov rcx, QWORD PTR [rax+480]
|
|
000d7 e8 00 00 00 00 call memcpy
|
|
$LN1@glfwSetGam:
|
|
|
|
; 160 : }
|
|
|
|
000dc 48 8d a5 c8 00
|
|
00 00 lea rsp, QWORD PTR [rbp+200]
|
|
000e3 5f pop rdi
|
|
000e4 5d pop rbp
|
|
000e5 c3 ret 0
|
|
_glfwSetGammaRampNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetGammaRampNull
|
|
_TEXT SEGMENT
|
|
i$1 = 4
|
|
gamma$2 = 36
|
|
value$3 = 68
|
|
monitor$ = 320
|
|
ramp$ = 328
|
|
_glfwGetGammaRampNull PROC ; COMDAT
|
|
|
|
; 120 : {
|
|
|
|
$LN7:
|
|
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000a 55 push rbp
|
|
0000b 57 push rdi
|
|
0000c 48 81 ec 48 01
|
|
00 00 sub rsp, 328 ; 00000148H
|
|
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00018 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 121 : if (!monitor->null.ramp.size)
|
|
|
|
00024 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
0002b 83 b8 e8 01 00
|
|
00 00 cmp DWORD PTR [rax+488], 0
|
|
00032 0f 85 0f 01 00
|
|
00 jne $LN5@glfwGetGam
|
|
|
|
; 122 : {
|
|
; 123 : unsigned int i;
|
|
; 124 :
|
|
; 125 : _glfwAllocGammaArrays(&monitor->null.ramp, 256);
|
|
|
|
00038 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
0003f 48 05 d0 01 00
|
|
00 add rax, 464 ; 000001d0H
|
|
00045 ba 00 01 00 00 mov edx, 256 ; 00000100H
|
|
0004a 48 8b c8 mov rcx, rax
|
|
0004d e8 00 00 00 00 call _glfwAllocGammaArrays
|
|
|
|
; 126 :
|
|
; 127 : for (i = 0; i < monitor->null.ramp.size; i++)
|
|
|
|
00052 c7 45 04 00 00
|
|
00 00 mov DWORD PTR i$1[rbp], 0
|
|
00059 eb 08 jmp SHORT $LN4@glfwGetGam
|
|
$LN2@glfwGetGam:
|
|
0005b 8b 45 04 mov eax, DWORD PTR i$1[rbp]
|
|
0005e ff c0 inc eax
|
|
00060 89 45 04 mov DWORD PTR i$1[rbp], eax
|
|
$LN4@glfwGetGam:
|
|
00063 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
0006a 8b 80 e8 01 00
|
|
00 mov eax, DWORD PTR [rax+488]
|
|
00070 39 45 04 cmp DWORD PTR i$1[rbp], eax
|
|
00073 0f 83 ce 00 00
|
|
00 jae $LN3@glfwGetGam
|
|
|
|
; 128 : {
|
|
; 129 : const float gamma = 2.2f;
|
|
|
|
00079 f3 0f 10 05 00
|
|
00 00 00 movss xmm0, DWORD PTR __real@400ccccd
|
|
00081 f3 0f 11 45 24 movss DWORD PTR gamma$2[rbp], xmm0
|
|
|
|
; 130 : float value;
|
|
; 131 : value = i / (float) (monitor->null.ramp.size - 1);
|
|
|
|
00086 8b 45 04 mov eax, DWORD PTR i$1[rbp]
|
|
00089 f3 48 0f 2a c0 cvtsi2ss xmm0, rax
|
|
0008e 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
00095 8b 80 e8 01 00
|
|
00 mov eax, DWORD PTR [rax+488]
|
|
0009b ff c8 dec eax
|
|
0009d 8b c0 mov eax, eax
|
|
0009f f3 48 0f 2a c8 cvtsi2ss xmm1, rax
|
|
000a4 f3 0f 5e c1 divss xmm0, xmm1
|
|
000a8 f3 0f 11 45 44 movss DWORD PTR value$3[rbp], xmm0
|
|
|
|
; 132 : value = powf(value, 1.f / gamma) * 65535.f + 0.5f;
|
|
|
|
000ad f3 0f 10 05 00
|
|
00 00 00 movss xmm0, DWORD PTR __real@3f800000
|
|
000b5 f3 0f 5e 45 24 divss xmm0, DWORD PTR gamma$2[rbp]
|
|
000ba 0f 28 c8 movaps xmm1, xmm0
|
|
000bd f3 0f 10 45 44 movss xmm0, DWORD PTR value$3[rbp]
|
|
000c2 ff 15 00 00 00
|
|
00 call QWORD PTR __imp_powf
|
|
000c8 f3 0f 59 05 00
|
|
00 00 00 mulss xmm0, DWORD PTR __real@477fff00
|
|
000d0 f3 0f 58 05 00
|
|
00 00 00 addss xmm0, DWORD PTR __real@3f000000
|
|
000d8 f3 0f 11 45 44 movss DWORD PTR value$3[rbp], xmm0
|
|
|
|
; 133 : value = _glfw_fminf(value, 65535.f);
|
|
|
|
000dd f3 0f 10 0d 00
|
|
00 00 00 movss xmm1, DWORD PTR __real@477fff00
|
|
000e5 f3 0f 10 45 44 movss xmm0, DWORD PTR value$3[rbp]
|
|
000ea e8 00 00 00 00 call _glfw_fminf
|
|
000ef f3 0f 11 45 44 movss DWORD PTR value$3[rbp], xmm0
|
|
|
|
; 134 :
|
|
; 135 : monitor->null.ramp.red[i] = (unsigned short) value;
|
|
|
|
000f4 f3 0f 2c 45 44 cvttss2si eax, DWORD PTR value$3[rbp]
|
|
000f9 8b 4d 04 mov ecx, DWORD PTR i$1[rbp]
|
|
000fc 48 8b 95 40 01
|
|
00 00 mov rdx, QWORD PTR monitor$[rbp]
|
|
00103 48 8b 92 d0 01
|
|
00 00 mov rdx, QWORD PTR [rdx+464]
|
|
0010a 66 89 04 4a mov WORD PTR [rdx+rcx*2], ax
|
|
|
|
; 136 : monitor->null.ramp.green[i] = (unsigned short) value;
|
|
|
|
0010e f3 0f 2c 45 44 cvttss2si eax, DWORD PTR value$3[rbp]
|
|
00113 8b 4d 04 mov ecx, DWORD PTR i$1[rbp]
|
|
00116 48 8b 95 40 01
|
|
00 00 mov rdx, QWORD PTR monitor$[rbp]
|
|
0011d 48 8b 92 d8 01
|
|
00 00 mov rdx, QWORD PTR [rdx+472]
|
|
00124 66 89 04 4a mov WORD PTR [rdx+rcx*2], ax
|
|
|
|
; 137 : monitor->null.ramp.blue[i] = (unsigned short) value;
|
|
|
|
00128 f3 0f 2c 45 44 cvttss2si eax, DWORD PTR value$3[rbp]
|
|
0012d 8b 4d 04 mov ecx, DWORD PTR i$1[rbp]
|
|
00130 48 8b 95 40 01
|
|
00 00 mov rdx, QWORD PTR monitor$[rbp]
|
|
00137 48 8b 92 e0 01
|
|
00 00 mov rdx, QWORD PTR [rdx+480]
|
|
0013e 66 89 04 4a mov WORD PTR [rdx+rcx*2], ax
|
|
|
|
; 138 : }
|
|
|
|
00142 e9 14 ff ff ff jmp $LN2@glfwGetGam
|
|
$LN3@glfwGetGam:
|
|
$LN5@glfwGetGam:
|
|
|
|
; 139 : }
|
|
; 140 :
|
|
; 141 : _glfwAllocGammaArrays(ramp, monitor->null.ramp.size);
|
|
|
|
00147 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
0014e 8b 90 e8 01 00
|
|
00 mov edx, DWORD PTR [rax+488]
|
|
00154 48 8b 8d 48 01
|
|
00 00 mov rcx, QWORD PTR ramp$[rbp]
|
|
0015b e8 00 00 00 00 call _glfwAllocGammaArrays
|
|
|
|
; 142 : memcpy(ramp->red, monitor->null.ramp.red, sizeof(short) * ramp->size);
|
|
|
|
00160 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
00167 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
0016a 48 d1 e0 shl rax, 1
|
|
0016d 4c 8b c0 mov r8, rax
|
|
00170 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
00177 48 8b 90 d0 01
|
|
00 00 mov rdx, QWORD PTR [rax+464]
|
|
0017e 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
00185 48 8b 08 mov rcx, QWORD PTR [rax]
|
|
00188 e8 00 00 00 00 call memcpy
|
|
|
|
; 143 : memcpy(ramp->green, monitor->null.ramp.green, sizeof(short) * ramp->size);
|
|
|
|
0018d 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
00194 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
00197 48 d1 e0 shl rax, 1
|
|
0019a 4c 8b c0 mov r8, rax
|
|
0019d 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
001a4 48 8b 90 d8 01
|
|
00 00 mov rdx, QWORD PTR [rax+472]
|
|
001ab 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
001b2 48 8b 48 08 mov rcx, QWORD PTR [rax+8]
|
|
001b6 e8 00 00 00 00 call memcpy
|
|
|
|
; 144 : memcpy(ramp->blue, monitor->null.ramp.blue, sizeof(short) * ramp->size);
|
|
|
|
001bb 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
001c2 8b 40 18 mov eax, DWORD PTR [rax+24]
|
|
001c5 48 d1 e0 shl rax, 1
|
|
001c8 4c 8b c0 mov r8, rax
|
|
001cb 48 8b 85 40 01
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
001d2 48 8b 90 e0 01
|
|
00 00 mov rdx, QWORD PTR [rax+480]
|
|
001d9 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR ramp$[rbp]
|
|
001e0 48 8b 48 10 mov rcx, QWORD PTR [rax+16]
|
|
001e4 e8 00 00 00 00 call memcpy
|
|
|
|
; 145 : return GLFW_TRUE;
|
|
|
|
001e9 b8 01 00 00 00 mov eax, 1
|
|
|
|
; 146 : }
|
|
|
|
001ee 48 8d a5 28 01
|
|
00 00 lea rsp, QWORD PTR [rbp+296]
|
|
001f5 5f pop rdi
|
|
001f6 5d pop rbp
|
|
001f7 c3 ret 0
|
|
_glfwGetGammaRampNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetVideoModeNull
|
|
_TEXT SEGMENT
|
|
$T1 = 200
|
|
monitor$ = 272
|
|
mode$ = 280
|
|
_glfwGetVideoModeNull PROC ; COMDAT
|
|
|
|
; 115 : {
|
|
|
|
$LN3:
|
|
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000a 55 push rbp
|
|
0000b 56 push rsi
|
|
0000c 57 push rdi
|
|
0000d 48 81 ec 10 01
|
|
00 00 sub rsp, 272 ; 00000110H
|
|
00014 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00019 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00020 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 116 : *mode = getVideoMode();
|
|
|
|
00025 48 8d 8d c8 00
|
|
00 00 lea rcx, QWORD PTR $T1[rbp]
|
|
0002c e8 00 00 00 00 call getVideoMode
|
|
00031 48 8b bd 18 01
|
|
00 00 mov rdi, QWORD PTR mode$[rbp]
|
|
00038 48 8b f0 mov rsi, rax
|
|
0003b b9 18 00 00 00 mov ecx, 24
|
|
00040 f3 a4 rep movsb
|
|
|
|
; 117 : }
|
|
|
|
00042 48 8d a5 f0 00
|
|
00 00 lea rsp, QWORD PTR [rbp+240]
|
|
00049 5f pop rdi
|
|
0004a 5e pop rsi
|
|
0004b 5d pop rbp
|
|
0004c c3 ret 0
|
|
_glfwGetVideoModeNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetVideoModesNull
|
|
_TEXT SEGMENT
|
|
mode$ = 8
|
|
$T1 = 232
|
|
monitor$ = 304
|
|
found$ = 312
|
|
_glfwGetVideoModesNull PROC ; COMDAT
|
|
|
|
; 107 : {
|
|
|
|
$LN3:
|
|
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000a 55 push rbp
|
|
0000b 56 push rsi
|
|
0000c 57 push rdi
|
|
0000d 48 81 ec 30 01
|
|
00 00 sub rsp, 304 ; 00000130H
|
|
00014 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00019 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00020 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 108 : GLFWvidmode* mode = _glfw_calloc(1, sizeof(GLFWvidmode));
|
|
|
|
00025 ba 18 00 00 00 mov edx, 24
|
|
0002a b9 01 00 00 00 mov ecx, 1
|
|
0002f e8 00 00 00 00 call _glfw_calloc
|
|
00034 48 89 45 08 mov QWORD PTR mode$[rbp], rax
|
|
|
|
; 109 : *mode = getVideoMode();
|
|
|
|
00038 48 8d 8d e8 00
|
|
00 00 lea rcx, QWORD PTR $T1[rbp]
|
|
0003f e8 00 00 00 00 call getVideoMode
|
|
00044 48 8b 7d 08 mov rdi, QWORD PTR mode$[rbp]
|
|
00048 48 8b f0 mov rsi, rax
|
|
0004b b9 18 00 00 00 mov ecx, 24
|
|
00050 f3 a4 rep movsb
|
|
|
|
; 110 : *found = 1;
|
|
|
|
00052 48 8b 85 38 01
|
|
00 00 mov rax, QWORD PTR found$[rbp]
|
|
00059 c7 00 01 00 00
|
|
00 mov DWORD PTR [rax], 1
|
|
|
|
; 111 : return mode;
|
|
|
|
0005f 48 8b 45 08 mov rax, QWORD PTR mode$[rbp]
|
|
|
|
; 112 : }
|
|
|
|
00063 48 8d a5 10 01
|
|
00 00 lea rsp, QWORD PTR [rbp+272]
|
|
0006a 5f pop rdi
|
|
0006b 5e pop rsi
|
|
0006c 5d pop rbp
|
|
0006d c3 ret 0
|
|
_glfwGetVideoModesNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetMonitorWorkareaNull
|
|
_TEXT SEGMENT
|
|
mode$ = 8
|
|
$T4 = 248
|
|
monitor$ = 320
|
|
xpos$ = 328
|
|
ypos$ = 336
|
|
width$ = 344
|
|
height$ = 352
|
|
_glfwGetMonitorWorkareaNull PROC ; COMDAT
|
|
|
|
; 93 : {
|
|
|
|
$LN7:
|
|
00000 4c 89 4c 24 20 mov QWORD PTR [rsp+32], r9
|
|
00005 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
|
|
0000a 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
0000f 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
00014 55 push rbp
|
|
00015 56 push rsi
|
|
00016 57 push rdi
|
|
00017 48 81 ec 40 01
|
|
00 00 sub rsp, 320 ; 00000140H
|
|
0001e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00023 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
|
|
00028 b9 18 00 00 00 mov ecx, 24
|
|
0002d b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
|
|
00032 f3 ab rep stosd
|
|
00034 48 8b 8c 24 68
|
|
01 00 00 mov rcx, QWORD PTR [rsp+360]
|
|
0003c 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00043 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 94 : const GLFWvidmode mode = getVideoMode();
|
|
|
|
00048 48 8d 8d f8 00
|
|
00 00 lea rcx, QWORD PTR $T4[rbp]
|
|
0004f e8 00 00 00 00 call getVideoMode
|
|
00054 48 8d 4d 08 lea rcx, QWORD PTR mode$[rbp]
|
|
00058 48 8b f9 mov rdi, rcx
|
|
0005b 48 8b f0 mov rsi, rax
|
|
0005e b9 18 00 00 00 mov ecx, 24
|
|
00063 f3 a4 rep movsb
|
|
|
|
; 95 :
|
|
; 96 : if (xpos)
|
|
|
|
00065 48 83 bd 48 01
|
|
00 00 00 cmp QWORD PTR xpos$[rbp], 0
|
|
0006d 74 0d je SHORT $LN2@glfwGetMon
|
|
|
|
; 97 : *xpos = 0;
|
|
|
|
0006f 48 8b 85 48 01
|
|
00 00 mov rax, QWORD PTR xpos$[rbp]
|
|
00076 c7 00 00 00 00
|
|
00 mov DWORD PTR [rax], 0
|
|
$LN2@glfwGetMon:
|
|
|
|
; 98 : if (ypos)
|
|
|
|
0007c 48 83 bd 50 01
|
|
00 00 00 cmp QWORD PTR ypos$[rbp], 0
|
|
00084 74 0d je SHORT $LN3@glfwGetMon
|
|
|
|
; 99 : *ypos = 10;
|
|
|
|
00086 48 8b 85 50 01
|
|
00 00 mov rax, QWORD PTR ypos$[rbp]
|
|
0008d c7 00 0a 00 00
|
|
00 mov DWORD PTR [rax], 10
|
|
$LN3@glfwGetMon:
|
|
|
|
; 100 : if (width)
|
|
|
|
00093 48 83 bd 58 01
|
|
00 00 00 cmp QWORD PTR width$[rbp], 0
|
|
0009b 74 0c je SHORT $LN4@glfwGetMon
|
|
|
|
; 101 : *width = mode.width;
|
|
|
|
0009d 48 8b 85 58 01
|
|
00 00 mov rax, QWORD PTR width$[rbp]
|
|
000a4 8b 4d 08 mov ecx, DWORD PTR mode$[rbp]
|
|
000a7 89 08 mov DWORD PTR [rax], ecx
|
|
$LN4@glfwGetMon:
|
|
|
|
; 102 : if (height)
|
|
|
|
000a9 48 83 bd 60 01
|
|
00 00 00 cmp QWORD PTR height$[rbp], 0
|
|
000b1 74 0f je SHORT $LN5@glfwGetMon
|
|
|
|
; 103 : *height = mode.height - 10;
|
|
|
|
000b3 8b 45 0c mov eax, DWORD PTR mode$[rbp+4]
|
|
000b6 83 e8 0a sub eax, 10
|
|
000b9 48 8b 8d 60 01
|
|
00 00 mov rcx, QWORD PTR height$[rbp]
|
|
000c0 89 01 mov DWORD PTR [rcx], eax
|
|
$LN5@glfwGetMon:
|
|
|
|
; 104 : }
|
|
|
|
000c2 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
|
000c6 48 8d 15 00 00
|
|
00 00 lea rdx, OFFSET FLAT:_glfwGetMonitorWorkareaNull$rtcFrameData
|
|
000cd e8 00 00 00 00 call _RTC_CheckStackVars
|
|
000d2 48 8d a5 20 01
|
|
00 00 lea rsp, QWORD PTR [rbp+288]
|
|
000d9 5f pop rdi
|
|
000da 5e pop rsi
|
|
000db 5d pop rbp
|
|
000dc c3 ret 0
|
|
_glfwGetMonitorWorkareaNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetMonitorContentScaleNull
|
|
_TEXT SEGMENT
|
|
monitor$ = 224
|
|
xscale$ = 232
|
|
yscale$ = 240
|
|
_glfwGetMonitorContentScaleNull PROC ; COMDAT
|
|
|
|
; 83 : {
|
|
|
|
$LN5:
|
|
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
|
|
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000f 55 push rbp
|
|
00010 57 push rdi
|
|
00011 48 81 ec e8 00
|
|
00 00 sub rsp, 232 ; 000000e8H
|
|
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
0001d 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 84 : if (xscale)
|
|
|
|
00029 48 83 bd e8 00
|
|
00 00 00 cmp QWORD PTR xscale$[rbp], 0
|
|
00031 74 13 je SHORT $LN2@glfwGetMon
|
|
|
|
; 85 : *xscale = 1.f;
|
|
|
|
00033 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR xscale$[rbp]
|
|
0003a f3 0f 10 05 00
|
|
00 00 00 movss xmm0, DWORD PTR __real@3f800000
|
|
00042 f3 0f 11 00 movss DWORD PTR [rax], xmm0
|
|
$LN2@glfwGetMon:
|
|
|
|
; 86 : if (yscale)
|
|
|
|
00046 48 83 bd f0 00
|
|
00 00 00 cmp QWORD PTR yscale$[rbp], 0
|
|
0004e 74 13 je SHORT $LN3@glfwGetMon
|
|
|
|
; 87 : *yscale = 1.f;
|
|
|
|
00050 48 8b 85 f0 00
|
|
00 00 mov rax, QWORD PTR yscale$[rbp]
|
|
00057 f3 0f 10 05 00
|
|
00 00 00 movss xmm0, DWORD PTR __real@3f800000
|
|
0005f f3 0f 11 00 movss DWORD PTR [rax], xmm0
|
|
$LN3@glfwGetMon:
|
|
|
|
; 88 : }
|
|
|
|
00063 48 8d a5 c8 00
|
|
00 00 lea rsp, QWORD PTR [rbp+200]
|
|
0006a 5f pop rdi
|
|
0006b 5d pop rbp
|
|
0006c c3 ret 0
|
|
_glfwGetMonitorContentScaleNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwGetMonitorPosNull
|
|
_TEXT SEGMENT
|
|
monitor$ = 224
|
|
xpos$ = 232
|
|
ypos$ = 240
|
|
_glfwGetMonitorPosNull PROC ; COMDAT
|
|
|
|
; 74 : {
|
|
|
|
$LN5:
|
|
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
|
|
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
|
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000f 55 push rbp
|
|
00010 57 push rdi
|
|
00011 48 81 ec e8 00
|
|
00 00 sub rsp, 232 ; 000000e8H
|
|
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
0001d 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 75 : if (xpos)
|
|
|
|
00029 48 83 bd e8 00
|
|
00 00 00 cmp QWORD PTR xpos$[rbp], 0
|
|
00031 74 0d je SHORT $LN2@glfwGetMon
|
|
|
|
; 76 : *xpos = 0;
|
|
|
|
00033 48 8b 85 e8 00
|
|
00 00 mov rax, QWORD PTR xpos$[rbp]
|
|
0003a c7 00 00 00 00
|
|
00 mov DWORD PTR [rax], 0
|
|
$LN2@glfwGetMon:
|
|
|
|
; 77 : if (ypos)
|
|
|
|
00040 48 83 bd f0 00
|
|
00 00 00 cmp QWORD PTR ypos$[rbp], 0
|
|
00048 74 0d je SHORT $LN3@glfwGetMon
|
|
|
|
; 78 : *ypos = 0;
|
|
|
|
0004a 48 8b 85 f0 00
|
|
00 00 mov rax, QWORD PTR ypos$[rbp]
|
|
00051 c7 00 00 00 00
|
|
00 mov DWORD PTR [rax], 0
|
|
$LN3@glfwGetMon:
|
|
|
|
; 79 : }
|
|
|
|
00057 48 8d a5 c8 00
|
|
00 00 lea rsp, QWORD PTR [rbp+200]
|
|
0005e 5f pop rdi
|
|
0005f 5d pop rbp
|
|
00060 c3 ret 0
|
|
_glfwGetMonitorPosNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwFreeMonitorNull
|
|
_TEXT SEGMENT
|
|
monitor$ = 224
|
|
_glfwFreeMonitorNull PROC ; COMDAT
|
|
|
|
; 69 : {
|
|
|
|
$LN3:
|
|
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
00005 55 push rbp
|
|
00006 57 push rdi
|
|
00007 48 81 ec e8 00
|
|
00 00 sub rsp, 232 ; 000000e8H
|
|
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00013 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 70 : _glfwFreeGammaArrays(&monitor->null.ramp);
|
|
|
|
0001f 48 8b 85 e0 00
|
|
00 00 mov rax, QWORD PTR monitor$[rbp]
|
|
00026 48 05 d0 01 00
|
|
00 add rax, 464 ; 000001d0H
|
|
0002c 48 8b c8 mov rcx, rax
|
|
0002f e8 00 00 00 00 call _glfwFreeGammaArrays
|
|
|
|
; 71 : }
|
|
|
|
00034 48 8d a5 c8 00
|
|
00 00 lea rsp, QWORD PTR [rbp+200]
|
|
0003b 5f pop rdi
|
|
0003c 5d pop rbp
|
|
0003d c3 ret 0
|
|
_glfwFreeMonitorNull ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\null_monitor.c
|
|
; COMDAT _glfwPollMonitorsNull
|
|
_TEXT SEGMENT
|
|
dpi$ = 4
|
|
mode$ = 40
|
|
monitor$ = 88
|
|
$T4 = 312
|
|
_glfwPollMonitorsNull PROC ; COMDAT
|
|
|
|
; 55 : {
|
|
|
|
$LN3:
|
|
00000 40 55 push rbp
|
|
00002 56 push rsi
|
|
00003 57 push rdi
|
|
00004 48 81 ec 80 01
|
|
00 00 sub rsp, 384 ; 00000180H
|
|
0000b 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
00010 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
|
|
00015 b9 28 00 00 00 mov ecx, 40 ; 00000028H
|
|
0001a b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
|
|
0001f f3 ab rep stosd
|
|
00021 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__BE69B0C0_null_monitor@c
|
|
00028 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
|
|
; 56 : const float dpi = 141.f;
|
|
|
|
0002d f3 0f 10 05 00
|
|
00 00 00 movss xmm0, DWORD PTR __real@430d0000
|
|
00035 f3 0f 11 45 04 movss DWORD PTR dpi$[rbp], xmm0
|
|
|
|
; 57 : const GLFWvidmode mode = getVideoMode();
|
|
|
|
0003a 48 8d 8d 38 01
|
|
00 00 lea rcx, QWORD PTR $T4[rbp]
|
|
00041 e8 00 00 00 00 call getVideoMode
|
|
00046 48 8d 4d 28 lea rcx, QWORD PTR mode$[rbp]
|
|
0004a 48 8b f9 mov rdi, rcx
|
|
0004d 48 8b f0 mov rsi, rax
|
|
00050 b9 18 00 00 00 mov ecx, 24
|
|
00055 f3 a4 rep movsb
|
|
|
|
; 58 : _GLFWmonitor* monitor = _glfwAllocMonitor("Null SuperNoop 0",
|
|
|
|
00057 f3 0f 2a 45 2c cvtsi2ss xmm0, DWORD PTR mode$[rbp+4]
|
|
0005c f3 0f 59 05 00
|
|
00 00 00 mulss xmm0, DWORD PTR __real@41cb3333
|
|
00064 f3 0f 5e 45 04 divss xmm0, DWORD PTR dpi$[rbp]
|
|
00069 f3 0f 2c c0 cvttss2si eax, xmm0
|
|
0006d f3 0f 2a 45 28 cvtsi2ss xmm0, DWORD PTR mode$[rbp]
|
|
00072 f3 0f 59 05 00
|
|
00 00 00 mulss xmm0, DWORD PTR __real@41cb3333
|
|
0007a f3 0f 5e 45 04 divss xmm0, DWORD PTR dpi$[rbp]
|
|
0007f f3 0f 2c c8 cvttss2si ecx, xmm0
|
|
00083 44 8b c0 mov r8d, eax
|
|
00086 8b d1 mov edx, ecx
|
|
00088 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:??_C@_0BB@CNEIGGLC@Null?5SuperNoop?50@
|
|
0008f e8 00 00 00 00 call _glfwAllocMonitor
|
|
00094 48 89 45 58 mov QWORD PTR monitor$[rbp], rax
|
|
|
|
; 59 : (int) (mode.width * 25.4f / dpi),
|
|
; 60 : (int) (mode.height * 25.4f / dpi));
|
|
; 61 : _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST);
|
|
|
|
00098 45 33 c0 xor r8d, r8d
|
|
0009b ba 01 00 04 00 mov edx, 262145 ; 00040001H
|
|
000a0 48 8b 4d 58 mov rcx, QWORD PTR monitor$[rbp]
|
|
000a4 e8 00 00 00 00 call _glfwInputMonitor
|
|
|
|
; 62 : }
|
|
|
|
000a9 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
|
000ad 48 8d 15 00 00
|
|
00 00 lea rdx, OFFSET FLAT:_glfwPollMonitorsNull$rtcFrameData
|
|
000b4 e8 00 00 00 00 call _RTC_CheckStackVars
|
|
000b9 48 8d a5 60 01
|
|
00 00 lea rsp, QWORD PTR [rbp+352]
|
|
000c0 5f pop rdi
|
|
000c1 5e pop rsi
|
|
000c2 5d pop rbp
|
|
000c3 c3 ret 0
|
|
_glfwPollMonitorsNull ENDP
|
|
_TEXT ENDS
|
|
END
|