Files
stgsharp/源代码/StgSharpC/x64/Debug/monitor.cod
T

4096 lines
119 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; 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
__19139D6C_assert@h DB 01H
__BB16330F_corecrt_math@h DB 01H
__3BF2A406_math@h DB 01H
__B9985323_float@h DB 01H
__DFDE76EA_monitor@c DB 01H
msvcjmc ENDS
PUBLIC glfwGetMonitors
PUBLIC glfwGetPrimaryMonitor
PUBLIC glfwGetMonitorPos
PUBLIC glfwGetMonitorWorkarea
PUBLIC glfwGetMonitorPhysicalSize
PUBLIC glfwGetMonitorContentScale
PUBLIC glfwGetMonitorName
PUBLIC glfwSetMonitorUserPointer
PUBLIC glfwGetMonitorUserPointer
PUBLIC glfwSetMonitorCallback
PUBLIC glfwGetVideoModes
PUBLIC glfwGetVideoMode
PUBLIC glfwSetGamma
PUBLIC glfwGetGammaRamp
PUBLIC glfwSetGammaRamp
PUBLIC _glfwInputMonitor
PUBLIC _glfwInputMonitorWindow
PUBLIC _glfwChooseVideoMode
PUBLIC _glfwCompareVideoModes
PUBLIC _glfwAllocMonitor
PUBLIC _glfwFreeMonitor
PUBLIC _glfwAllocGammaArrays
PUBLIC _glfwFreeGammaArrays
PUBLIC _glfwSplitBPP
PUBLIC __JustMyCode_Default
PUBLIC ??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ ; `string'
PUBLIC ??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ ; `string'
PUBLIC ??_C@_1HA@LOLNABBE@?$AAa?$AAc?$AAt?$AAi?$AAo?$AAn?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AAG?$AAL?$AAF?$AAW?$AA_@ ; `string'
PUBLIC ??_C@_1IE@BENHIHAJ@?$AAp?$AAl?$AAa?$AAc?$AAe?$AAm?$AAe?$AAn?$AAt?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AA_?$AAG@ ; `string'
PUBLIC ??_C@_1BM@HDJLENFO@?$AAc?$AAo?$AAu?$AAn?$AAt?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ ; `string'
PUBLIC ??_C@_1BO@IDEJILBK@?$AAh?$AAa?$AAn?$AAd?$AAl?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ ; `string'
PUBLIC ??_C@_1BI@CDMODPEI@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DO?$AA?5?$AA0?$AA?4?$AAf@ ; `string'
PUBLIC ??_C@_1CC@OBLOCDMG@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DM?$AA?$DN?$AA?5?$AAF?$AAL?$AAT?$AA_?$AAM?$AAA@ ; `string'
PUBLIC ??_C@_0BH@BAPIEFAH@Invalid?5gamma?5value?5?$CFf@ ; `string'
PUBLIC ??_C@_1BK@FGBDIGLE@?$AAr?$AAa?$AAm?$AAp?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ ; `string'
PUBLIC ??_C@_1BO@NOADOJIK@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAs?$AAi?$AAz?$AAe?$AA?5?$AA?$DO?$AA?5?$AA0@ ; `string'
PUBLIC ??_C@_1CE@ECNENFHH@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAr?$AAe?$AAd?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU@ ; `string'
PUBLIC ??_C@_1CI@LANLGDBO@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAg?$AAr?$AAe?$AAe?$AAn?$AA?5?$AA?$CB?$AA?$DN?$AA?5@ ; `string'
PUBLIC ??_C@_1CG@BMBEMINL@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAb?$AAl?$AAu?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN@ ; `string'
PUBLIC ??_C@_0BL@OAABODH@Invalid?5gamma?5ramp?5size?5?$CFi@ ; `string'
PUBLIC __real@00000000
PUBLIC __real@3f000000
PUBLIC __real@3f800000
PUBLIC __real@477fff00
PUBLIC __real@7f7fffff
EXTRN memmove:PROC
EXTRN memset:PROC
EXTRN __imp_strncpy:PROC
EXTRN __imp_qsort:PROC
EXTRN abs:PROC
EXTRN _glfwInputError:PROC
EXTRN _glfw_fminf:PROC
EXTRN _glfw_calloc:PROC
EXTRN _glfw_realloc:PROC
EXTRN _glfw_free:PROC
EXTRN __imp__wassert:PROC
EXTRN __imp_powf:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN _glfw:BYTE
EXTRN __security_cookie:QWORD
EXTRN _fltused:DWORD
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitors DD imagerel $LN5
DD imagerel $LN5+139
DD imagerel $unwind$glfwGetMonitors
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetPrimaryMonitor DD imagerel $LN5
DD imagerel $LN5+95
DD imagerel $unwind$glfwGetPrimaryMonitor
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorPos DD imagerel $LN7
DD imagerel $LN7+190
DD imagerel $unwind$glfwGetMonitorPos
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorWorkarea DD imagerel $LN9
DD imagerel $LN9+260
DD imagerel $unwind$glfwGetMonitorWorkarea
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorPhysicalSize DD imagerel $LN9
DD imagerel $LN9+224
DD imagerel $unwind$glfwGetMonitorPhysicalSize
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorContentScale DD imagerel $LN7
DD imagerel $LN7+192
DD imagerel $unwind$glfwGetMonitorContentScale
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorName DD imagerel $LN5
DD imagerel $LN5+116
DD imagerel $unwind$glfwGetMonitorName
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwSetMonitorUserPointer DD imagerel $LN5
DD imagerel $LN5+133
DD imagerel $unwind$glfwSetMonitorUserPointer
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetMonitorUserPointer DD imagerel $LN5
DD imagerel $LN5+123
DD imagerel $unwind$glfwGetMonitorUserPointer
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwSetMonitorCallback DD imagerel $LN4
DD imagerel $LN4+109
DD imagerel $unwind$glfwSetMonitorCallback
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetVideoModes DD imagerel $LN7
DD imagerel $LN7+215
DD imagerel $unwind$glfwGetVideoModes
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetVideoMode DD imagerel $LN5
DD imagerel $LN5+145
DD imagerel $unwind$glfwGetVideoMode
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwSetGamma DD imagerel $LN13
DD imagerel $LN13+667
DD imagerel $unwind$glfwSetGamma
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetGammaRamp DD imagerel $LN6
DD imagerel $LN6+171
DD imagerel $unwind$glfwGetGammaRamp
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwSetGammaRamp DD imagerel $LN13
DD imagerel $LN13+421
DD imagerel $unwind$glfwSetGammaRamp
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwInputMonitor DD imagerel $LN21
DD imagerel $LN21+827
DD imagerel $unwind$_glfwInputMonitor
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwInputMonitorWindow DD imagerel $LN4
DD imagerel $LN4+105
DD imagerel $unwind$_glfwInputMonitorWindow
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwChooseVideoMode DD imagerel $LN15
DD imagerel $LN15+652
DD imagerel $unwind$_glfwChooseVideoMode
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwCompareVideoModes DD imagerel $LN3
DD imagerel $LN3+65
DD imagerel $unwind$_glfwCompareVideoModes
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwAllocMonitor DD imagerel $LN3
DD imagerel $LN3+131
DD imagerel $unwind$_glfwAllocMonitor
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwFreeMonitor DD imagerel $LN4
DD imagerel $LN4+139
DD imagerel $unwind$_glfwFreeMonitor
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwAllocGammaArrays DD imagerel $LN3
DD imagerel $LN3+147
DD imagerel $unwind$_glfwAllocGammaArrays
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwFreeGammaArrays DD imagerel $LN3
DD imagerel $LN3+108
DD imagerel $unwind$_glfwFreeGammaArrays
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwSplitBPP DD imagerel $LN6
DD imagerel $LN6+208
DD imagerel $unwind$_glfwSplitBPP
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$compareVideoModes DD imagerel compareVideoModes
DD imagerel compareVideoModes+254
DD imagerel $unwind$compareVideoModes
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$refreshVideoModes DD imagerel refreshVideoModes
DD imagerel refreshVideoModes+264
DD imagerel $unwind$refreshVideoModes
pdata ENDS
; COMDAT __real@7f7fffff
CONST SEGMENT
__real@7f7fffff DD 07f7fffffr ; 3.40282e+38
CONST ENDS
; COMDAT __real@477fff00
CONST SEGMENT
__real@477fff00 DD 0477fff00r ; 65535
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 __real@00000000
CONST SEGMENT
__real@00000000 DD 000000000r ; 0
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@_0BL@OAABODH@Invalid?5gamma?5ramp?5size?5?$CFi@
CONST SEGMENT
??_C@_0BL@OAABODH@Invalid?5gamma?5ramp?5size?5?$CFi@ DB 'Invalid gamma ra'
DB 'mp size %i', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CG@BMBEMINL@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAb?$AAl?$AAu?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN@
CONST SEGMENT
??_C@_1CG@BMBEMINL@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAb?$AAl?$AAu?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN@ DB 'r'
DB 00H, 'a', 00H, 'm', 00H, 'p', 00H, '-', 00H, '>', 00H, 'b', 00H
DB 'l', 00H, 'u', 00H, 'e', 00H, ' ', 00H, '!', 00H, '=', 00H, ' '
DB 00H, 'N', 00H, 'U', 00H, 'L', 00H, 'L', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CI@LANLGDBO@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAg?$AAr?$AAe?$AAe?$AAn?$AA?5?$AA?$CB?$AA?$DN?$AA?5@
CONST SEGMENT
??_C@_1CI@LANLGDBO@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAg?$AAr?$AAe?$AAe?$AAn?$AA?5?$AA?$CB?$AA?$DN?$AA?5@ DB 'r'
DB 00H, 'a', 00H, 'm', 00H, 'p', 00H, '-', 00H, '>', 00H, 'g', 00H
DB 'r', 00H, 'e', 00H, 'e', 00H, 'n', 00H, ' ', 00H, '!', 00H, '='
DB 00H, ' ', 00H, 'N', 00H, 'U', 00H, 'L', 00H, 'L', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CE@ECNENFHH@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAr?$AAe?$AAd?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU@
CONST SEGMENT
??_C@_1CE@ECNENFHH@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAr?$AAe?$AAd?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU@ DB 'r'
DB 00H, 'a', 00H, 'm', 00H, 'p', 00H, '-', 00H, '>', 00H, 'r', 00H
DB 'e', 00H, 'd', 00H, ' ', 00H, '!', 00H, '=', 00H, ' ', 00H, 'N'
DB 00H, 'U', 00H, 'L', 00H, 'L', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BO@NOADOJIK@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAs?$AAi?$AAz?$AAe?$AA?5?$AA?$DO?$AA?5?$AA0@
CONST SEGMENT
??_C@_1BO@NOADOJIK@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAs?$AAi?$AAz?$AAe?$AA?5?$AA?$DO?$AA?5?$AA0@ DB 'r'
DB 00H, 'a', 00H, 'm', 00H, 'p', 00H, '-', 00H, '>', 00H, 's', 00H
DB 'i', 00H, 'z', 00H, 'e', 00H, ' ', 00H, '>', 00H, ' ', 00H, '0'
DB 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BK@FGBDIGLE@?$AAr?$AAa?$AAm?$AAp?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
CONST SEGMENT
??_C@_1BK@FGBDIGLE@?$AAr?$AAa?$AAm?$AAp?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ DB 'r'
DB 00H, 'a', 00H, 'm', 00H, 'p', 00H, ' ', 00H, '!', 00H, '=', 00H
DB ' ', 00H, 'N', 00H, 'U', 00H, 'L', 00H, 'L', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@BAPIEFAH@Invalid?5gamma?5value?5?$CFf@
CONST SEGMENT
??_C@_0BH@BAPIEFAH@Invalid?5gamma?5value?5?$CFf@ DB 'Invalid gamma value '
DB '%f', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CC@OBLOCDMG@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DM?$AA?$DN?$AA?5?$AAF?$AAL?$AAT?$AA_?$AAM?$AAA@
CONST SEGMENT
??_C@_1CC@OBLOCDMG@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DM?$AA?$DN?$AA?5?$AAF?$AAL?$AAT?$AA_?$AAM?$AAA@ DB 'g'
DB 00H, 'a', 00H, 'm', 00H, 'm', 00H, 'a', 00H, ' ', 00H, '<', 00H
DB '=', 00H, ' ', 00H, 'F', 00H, 'L', 00H, 'T', 00H, '_', 00H, 'M'
DB 00H, 'A', 00H, 'X', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BI@CDMODPEI@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DO?$AA?5?$AA0?$AA?4?$AAf@
CONST SEGMENT
??_C@_1BI@CDMODPEI@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DO?$AA?5?$AA0?$AA?4?$AAf@ DB 'g'
DB 00H, 'a', 00H, 'm', 00H, 'm', 00H, 'a', 00H, ' ', 00H, '>', 00H
DB ' ', 00H, '0', 00H, '.', 00H, 'f', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BO@IDEJILBK@?$AAh?$AAa?$AAn?$AAd?$AAl?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
CONST SEGMENT
??_C@_1BO@IDEJILBK@?$AAh?$AAa?$AAn?$AAd?$AAl?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ DB 'h'
DB 00H, 'a', 00H, 'n', 00H, 'd', 00H, 'l', 00H, 'e', 00H, ' ', 00H
DB '!', 00H, '=', 00H, ' ', 00H, 'N', 00H, 'U', 00H, 'L', 00H, 'L'
DB 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BM@HDJLENFO@?$AAc?$AAo?$AAu?$AAn?$AAt?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
CONST SEGMENT
??_C@_1BM@HDJLENFO@?$AAc?$AAo?$AAu?$AAn?$AAt?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ DB 'c'
DB 00H, 'o', 00H, 'u', 00H, 'n', 00H, 't', 00H, ' ', 00H, '!', 00H
DB '=', 00H, ' ', 00H, 'N', 00H, 'U', 00H, 'L', 00H, 'L', 00H, 00H
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1IE@BENHIHAJ@?$AAp?$AAl?$AAa?$AAc?$AAe?$AAm?$AAe?$AAn?$AAt?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AA_?$AAG@
CONST SEGMENT
??_C@_1IE@BENHIHAJ@?$AAp?$AAl?$AAa?$AAc?$AAe?$AAm?$AAe?$AAn?$AAt?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AA_?$AAG@ DB 'p'
DB 00H, 'l', 00H, 'a', 00H, 'c', 00H, 'e', 00H, 'm', 00H, 'e', 00H
DB 'n', 00H, 't', 00H, ' ', 00H, '=', 00H, '=', 00H, ' ', 00H, '_'
DB 00H, 'G', 00H, 'L', 00H, 'F', 00H, 'W', 00H, '_', 00H, 'I', 00H
DB 'N', 00H, 'S', 00H, 'E', 00H, 'R', 00H, 'T', 00H, '_', 00H, 'F'
DB 00H, 'I', 00H, 'R', 00H, 'S', 00H, 'T', 00H, ' ', 00H, '|', 00H
DB '|', 00H, ' ', 00H, 'p', 00H, 'l', 00H, 'a', 00H, 'c', 00H, 'e'
DB 00H, 'm', 00H, 'e', 00H, 'n', 00H, 't', 00H, ' ', 00H, '=', 00H
DB '=', 00H, ' ', 00H, '_', 00H, 'G', 00H, 'L', 00H, 'F', 00H, 'W'
DB 00H, '_', 00H, 'I', 00H, 'N', 00H, 'S', 00H, 'E', 00H, 'R', 00H
DB 'T', 00H, '_', 00H, 'L', 00H, 'A', 00H, 'S', 00H, 'T', 00H, 00H
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1HA@LOLNABBE@?$AAa?$AAc?$AAt?$AAi?$AAo?$AAn?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AAG?$AAL?$AAF?$AAW?$AA_@
CONST SEGMENT
??_C@_1HA@LOLNABBE@?$AAa?$AAc?$AAt?$AAi?$AAo?$AAn?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AAG?$AAL?$AAF?$AAW?$AA_@ DB 'a'
DB 00H, 'c', 00H, 't', 00H, 'i', 00H, 'o', 00H, 'n', 00H, ' ', 00H
DB '=', 00H, '=', 00H, ' ', 00H, 'G', 00H, 'L', 00H, 'F', 00H, 'W'
DB 00H, '_', 00H, 'C', 00H, 'O', 00H, 'N', 00H, 'N', 00H, 'E', 00H
DB 'C', 00H, 'T', 00H, 'E', 00H, 'D', 00H, ' ', 00H, '|', 00H, '|'
DB 00H, ' ', 00H, 'a', 00H, 'c', 00H, 't', 00H, 'i', 00H, 'o', 00H
DB 'n', 00H, ' ', 00H, '=', 00H, '=', 00H, ' ', 00H, 'G', 00H, 'L'
DB 00H, 'F', 00H, 'W', 00H, '_', 00H, 'D', 00H, 'I', 00H, 'S', 00H
DB 'C', 00H, 'O', 00H, 'N', 00H, 'N', 00H, 'E', 00H, 'C', 00H, 'T'
DB 00H, 'E', 00H, 'D', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
CONST SEGMENT
??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@ DB 'm'
DB 00H, 'o', 00H, 'n', 00H, 'i', 00H, 't', 00H, 'o', 00H, 'r', 00H
DB ' ', 00H, '!', 00H, '=', 00H, ' ', 00H, 'N', 00H, 'U', 00H, 'L'
DB 00H, 'L', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
CONST SEGMENT
??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ DB 'D'
DB 00H, ':', 00H, '\', 00H, 'N', 00H, 'i', 00H, 't', 00H, 'l', 00H
DB 'o', 00H, 'a', 00H, 'd', 00H, 'I', 00H, 'n', 00H, 'd', 00H, 'u'
DB 00H, 's', 00H, 't', 00H, 'r', 00H, 'y', 00H, '\', 00H, 014H, 'x'
DB 'vzy', 098H, 0eeH, 'v\', 00H, '1', 00H, '-', 00H, 'F', 00H, 'l'
DB 00H, 'a', 00H, 'g', 00H, 's', 00H, 'h', 00H, 'i', 00H, 'p', 00H
DB '\', 00H, 'T', 00H, 'H', 00H, '2', 00H, '0', 00H, '2', 00H, '0'
DB 00H, '\', 00H, 'P', 00H, 'r', 00H, 'o', 00H, 'j', 00H, 'e', 00H
DB 'c', 00H, 't', 00H, 'F', 00H, 'i', 00H, 'l', 00H, 'e', 00H, '\'
DB 00H, 090H, 'n', 0e3H, 'N', 01H, 'x\', 00H, 'S', 00H, 't', 00H, 'g'
DB 00H, 'S', 00H, 'h', 00H, 'a', 00H, 'r', 00H, 'p', 00H, 'G', 00H
DB 'r', 00H, 'a', 00H, 'p', 00H, 'h', 00H, 'i', 00H, 'c', 00H, '\'
DB 00H, 'c', 00H, 'o', 00H, 'd', 00H, 'e', 00H, '\', 00H, 'g', 00H
DB 'l', 00H, 'f', 00H, 'w', 00H, '\', 00H, 'm', 00H, 'o', 00H, 'n'
DB 00H, 'i', 00H, 't', 00H, 'o', 00H, 'r', 00H, '.', 00H, 'c', 00H
DB 00H, 00H ; `string'
CONST ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DB 036H
DB 0efH
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$refreshVideoModes DD 025053d19H
DD 010e2313H
DD 070070025H
DD 05006H
DD imagerel __GSHandlerCheck
DD 0118H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
refreshVideoModes$rtcName$0 DB 06dH
DB 06fH
DB 064H
DB 065H
DB 043H
DB 06fH
DB 075H
DB 06eH
DB 074H
DB 00H
ORG $+6
refreshVideoModes$rtcVarDesc DD 024H
DD 04H
DQ FLAT:refreshVideoModes$rtcName$0
ORG $+48
refreshVideoModes$rtcFrameData DD 01H
DD 00H
DQ FLAT:refreshVideoModes$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$compareVideoModes DD 025051801H
DD 01132318H
DD 0700c0035H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwSplitBPP DD 025052101H
DD 011c2321H
DD 070150021H
DD 05014H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwFreeGammaArrays DD 025051301H
DD 010e2313H
DD 07007001dH
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwAllocGammaArrays DD 025051701H
DD 01122317H
DD 0700b001dH
DD 0500aH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwFreeMonitor DD 025051301H
DD 010e2313H
DD 07007001dH
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwAllocMonitor DD 025051c01H
DD 0117231cH
DD 070100021H
DD 0500fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwCompareVideoModes DD 025051801H
DD 01132318H
DD 0700c001dH
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwChooseVideoMode DD 025051801H
DD 01132318H
DD 0700c0041H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwInputMonitorWindow DD 025051801H
DD 01132318H
DD 0700c001dH
DD 0500bH
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DW 03fH
DW 0322H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwInputMonitor DD 045054619H
DD 0117431cH
DD 07010003bH
DD 0500fH
DD imagerel __GSHandlerCheck
DD 01c0H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
_glfwInputMonitor$rtcName$0 DB 077H
DB 069H
DB 064H
DB 074H
DB 068H
DB 00H
ORG $+2
_glfwInputMonitor$rtcName$1 DB 068H
DB 065H
DB 069H
DB 067H
DB 068H
DB 074H
DB 00H
ORG $+1
_glfwInputMonitor$rtcName$2 DB 078H
DB 06fH
DB 066H
DB 066H
DB 00H
ORG $+3
_glfwInputMonitor$rtcName$3 DB 079H
DB 06fH
DB 066H
DB 066H
DB 00H
ORG $+3
_glfwInputMonitor$rtcVarDesc DD 0e4H
DD 04H
DQ FLAT:_glfwInputMonitor$rtcName$3
DD 0c4H
DD 04H
DQ FLAT:_glfwInputMonitor$rtcName$2
DD 0a4H
DD 04H
DQ FLAT:_glfwInputMonitor$rtcName$1
DD 084H
DD 04H
DQ FLAT:_glfwInputMonitor$rtcName$0
ORG $+192
_glfwInputMonitor$rtcFrameData DD 04H
DD 00H
DQ FLAT:_glfwInputMonitor$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwSetGammaRamp DD 025051801H
DD 01132318H
DD 0700c0021H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetGammaRamp DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DW 03cH
DW 0282H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwSetGamma DD 025054319H
DD 01142319H
DD 0700d0035H
DD 0500cH
DD imagerel __GSHandlerCheck
DD 0198H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
glfwSetGamma$rtcName$0 DB 072H
DB 061H
DB 06dH
DB 070H
DB 00H
ORG $+11
glfwSetGamma$rtcVarDesc DD 068H
DD 020H
DQ FLAT:glfwSetGamma$rtcName$0
ORG $+48
glfwSetGamma$rtcFrameData DD 01H
DD 00H
DQ FLAT:glfwSetGamma$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetVideoMode DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetVideoModes DD 025051801H
DD 01132318H
DD 0700c0021H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwSetMonitorCallback DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorUserPointer DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwSetMonitorUserPointer DD 025051801H
DD 01132318H
DD 0700c0021H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorName DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorContentScale DD 025051d01H
DD 0118231dH
DD 070110021H
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorPhysicalSize DD 025051d01H
DD 0118231dH
DD 070110021H
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorWorkarea DD 035052201H
DD 011d3322H
DD 070160023H
DD 05015H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitorPos DD 025051d01H
DD 0118231dH
DD 070110021H
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetPrimaryMonitor DD 025050f01H
DD 010a230fH
DD 07003001dH
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetMonitors DD 025051301H
DD 010e2313H
DD 07007001dH
DD 05006H
xdata 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\monitor.c
; COMDAT refreshVideoModes
_TEXT SEGMENT
modeCount$ = 4
modes$ = 40
__$ArrayPad$ = 248
monitor$ = 288
refreshVideoModes PROC ; COMDAT
; 70 : {
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 28 01
00 00 sub rsp, 296 ; 00000128H
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 12 00 00 00 mov ecx, 18
0001d b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00022 f3 ab rep stosd
00024 48 8b 8c 24 48
01 00 00 mov rcx, QWORD PTR [rsp+328]
0002c 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00033 48 33 c5 xor rax, rbp
00036 48 89 85 f8 00
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
0003d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00044 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 71 : int modeCount;
; 72 : GLFWvidmode* modes;
; 73 :
; 74 : if (monitor->modes)
00049 48 8b 85 20 01
00 00 mov rax, QWORD PTR monitor$[rbp]
00050 48 83 b8 98 00
00 00 00 cmp QWORD PTR [rax+152], 0
00058 74 07 je SHORT $LN2@refreshVid
; 75 : return GLFW_TRUE;
0005a b8 01 00 00 00 mov eax, 1
0005f eb 78 jmp SHORT $LN1@refreshVid
$LN2@refreshVid:
; 76 :
; 77 : modes = _glfw.platform.getVideoModes(monitor, &modeCount);
00061 48 8d 55 04 lea rdx, QWORD PTR modeCount$[rbp]
00065 48 8b 8d 20 01
00 00 mov rcx, QWORD PTR monitor$[rbp]
0006c ff 15 f0 00 00
00 call QWORD PTR _glfw+240
00072 48 89 45 28 mov QWORD PTR modes$[rbp], rax
; 78 : if (!modes)
00076 48 83 7d 28 00 cmp QWORD PTR modes$[rbp], 0
0007b 75 04 jne SHORT $LN3@refreshVid
; 79 : return GLFW_FALSE;
0007d 33 c0 xor eax, eax
0007f eb 58 jmp SHORT $LN1@refreshVid
$LN3@refreshVid:
; 80 :
; 81 : qsort(modes, modeCount, sizeof(GLFWvidmode), compareVideoModes);
00081 48 63 45 04 movsxd rax, DWORD PTR modeCount$[rbp]
00085 4c 8d 0d 00 00
00 00 lea r9, OFFSET FLAT:compareVideoModes
0008c 41 b8 18 00 00
00 mov r8d, 24
00092 48 8b d0 mov rdx, rax
00095 48 8b 4d 28 mov rcx, QWORD PTR modes$[rbp]
00099 ff 15 00 00 00
00 call QWORD PTR __imp_qsort
; 82 :
; 83 : _glfw_free(monitor->modes);
0009f 48 8b 85 20 01
00 00 mov rax, QWORD PTR monitor$[rbp]
000a6 48 8b 88 98 00
00 00 mov rcx, QWORD PTR [rax+152]
000ad e8 00 00 00 00 call _glfw_free
; 84 : monitor->modes = modes;
000b2 48 8b 85 20 01
00 00 mov rax, QWORD PTR monitor$[rbp]
000b9 48 8b 4d 28 mov rcx, QWORD PTR modes$[rbp]
000bd 48 89 88 98 00
00 00 mov QWORD PTR [rax+152], rcx
; 85 : monitor->modeCount = modeCount;
000c4 48 8b 85 20 01
00 00 mov rax, QWORD PTR monitor$[rbp]
000cb 8b 4d 04 mov ecx, DWORD PTR modeCount$[rbp]
000ce 89 88 a0 00 00
00 mov DWORD PTR [rax+160], ecx
; 86 :
; 87 : return GLFW_TRUE;
000d4 b8 01 00 00 00 mov eax, 1
$LN1@refreshVid:
; 88 : }
000d9 48 8b f8 mov rdi, rax
000dc 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
000e0 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:refreshVideoModes$rtcFrameData
000e7 e8 00 00 00 00 call _RTC_CheckStackVars
000ec 48 8b c7 mov rax, rdi
000ef 48 8b 8d f8 00
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
000f6 48 33 cd xor rcx, rbp
000f9 e8 00 00 00 00 call __security_check_cookie
000fe 48 8d a5 08 01
00 00 lea rsp, QWORD PTR [rbp+264]
00105 5f pop rdi
00106 5d pop rbp
00107 c3 ret 0
refreshVideoModes ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT compareVideoModes
_TEXT SEGMENT
fm$ = 8
sm$ = 40
fbpp$ = 68
sbpp$ = 100
farea$ = 132
sarea$ = 164
fp$ = 416
sp$ = 424
compareVideoModes PROC ; COMDAT
; 43 : {
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 a8 01
00 00 sub rsp, 424 ; 000001a8H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 44 : const GLFWvidmode* fm = fp;
00024 48 8b 85 a0 01
00 00 mov rax, QWORD PTR fp$[rbp]
0002b 48 89 45 08 mov QWORD PTR fm$[rbp], rax
; 45 : const GLFWvidmode* sm = sp;
0002f 48 8b 85 a8 01
00 00 mov rax, QWORD PTR sp$[rbp]
00036 48 89 45 28 mov QWORD PTR sm$[rbp], rax
; 46 : const int fbpp = fm->redBits + fm->greenBits + fm->blueBits;
0003a 48 8b 45 08 mov rax, QWORD PTR fm$[rbp]
0003e 8b 40 08 mov eax, DWORD PTR [rax+8]
00041 48 8b 4d 08 mov rcx, QWORD PTR fm$[rbp]
00045 03 41 0c add eax, DWORD PTR [rcx+12]
00048 48 8b 4d 08 mov rcx, QWORD PTR fm$[rbp]
0004c 03 41 10 add eax, DWORD PTR [rcx+16]
0004f 89 45 44 mov DWORD PTR fbpp$[rbp], eax
; 47 : const int sbpp = sm->redBits + sm->greenBits + sm->blueBits;
00052 48 8b 45 28 mov rax, QWORD PTR sm$[rbp]
00056 8b 40 08 mov eax, DWORD PTR [rax+8]
00059 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
0005d 03 41 0c add eax, DWORD PTR [rcx+12]
00060 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
00064 03 41 10 add eax, DWORD PTR [rcx+16]
00067 89 45 64 mov DWORD PTR sbpp$[rbp], eax
; 48 : const int farea = fm->width * fm->height;
0006a 48 8b 45 08 mov rax, QWORD PTR fm$[rbp]
0006e 48 8b 4d 08 mov rcx, QWORD PTR fm$[rbp]
00072 8b 00 mov eax, DWORD PTR [rax]
00074 0f af 41 04 imul eax, DWORD PTR [rcx+4]
00078 89 85 84 00 00
00 mov DWORD PTR farea$[rbp], eax
; 49 : const int sarea = sm->width * sm->height;
0007e 48 8b 45 28 mov rax, QWORD PTR sm$[rbp]
00082 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
00086 8b 00 mov eax, DWORD PTR [rax]
00088 0f af 41 04 imul eax, DWORD PTR [rcx+4]
0008c 89 85 a4 00 00
00 mov DWORD PTR sarea$[rbp], eax
; 50 :
; 51 : // First sort on color bits per pixel
; 52 : if (fbpp != sbpp)
00092 8b 45 64 mov eax, DWORD PTR sbpp$[rbp]
00095 39 45 44 cmp DWORD PTR fbpp$[rbp], eax
00098 74 0c je SHORT $LN2@compareVid
; 53 : return fbpp - sbpp;
0009a 8b 45 64 mov eax, DWORD PTR sbpp$[rbp]
0009d 8b 4d 44 mov ecx, DWORD PTR fbpp$[rbp]
000a0 2b c8 sub ecx, eax
000a2 8b c1 mov eax, ecx
000a4 eb 4e jmp SHORT $LN1@compareVid
$LN2@compareVid:
; 54 :
; 55 : // Then sort on screen area
; 56 : if (farea != sarea)
000a6 8b 85 a4 00 00
00 mov eax, DWORD PTR sarea$[rbp]
000ac 39 85 84 00 00
00 cmp DWORD PTR farea$[rbp], eax
000b2 74 12 je SHORT $LN3@compareVid
; 57 : return farea - sarea;
000b4 8b 85 a4 00 00
00 mov eax, DWORD PTR sarea$[rbp]
000ba 8b 8d 84 00 00
00 mov ecx, DWORD PTR farea$[rbp]
000c0 2b c8 sub ecx, eax
000c2 8b c1 mov eax, ecx
000c4 eb 2e jmp SHORT $LN1@compareVid
$LN3@compareVid:
; 58 :
; 59 : // Then sort on width
; 60 : if (fm->width != sm->width)
000c6 48 8b 45 08 mov rax, QWORD PTR fm$[rbp]
000ca 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
000ce 8b 09 mov ecx, DWORD PTR [rcx]
000d0 39 08 cmp DWORD PTR [rax], ecx
000d2 74 10 je SHORT $LN4@compareVid
; 61 : return fm->width - sm->width;
000d4 48 8b 45 08 mov rax, QWORD PTR fm$[rbp]
000d8 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
000dc 8b 09 mov ecx, DWORD PTR [rcx]
000de 8b 00 mov eax, DWORD PTR [rax]
000e0 2b c1 sub eax, ecx
000e2 eb 10 jmp SHORT $LN1@compareVid
$LN4@compareVid:
; 62 :
; 63 : // Lastly sort on refresh rate
; 64 : return fm->refreshRate - sm->refreshRate;
000e4 48 8b 45 08 mov rax, QWORD PTR fm$[rbp]
000e8 48 8b 4d 28 mov rcx, QWORD PTR sm$[rbp]
000ec 8b 49 14 mov ecx, DWORD PTR [rcx+20]
000ef 8b 40 14 mov eax, DWORD PTR [rax+20]
000f2 2b c1 sub eax, ecx
$LN1@compareVid:
; 65 : }
000f4 48 8d a5 88 01
00 00 lea rsp, QWORD PTR [rbp+392]
000fb 5f pop rdi
000fc 5d pop rbp
000fd c3 ret 0
compareVideoModes ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwSplitBPP
_TEXT SEGMENT
delta$ = 4
bpp$ = 256
red$ = 264
green$ = 272
blue$ = 280
_glfwSplitBPP PROC ; COMDAT
; 283 : {
$LN6:
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 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00013 55 push rbp
00014 57 push rdi
00015 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0001c 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00021 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00028 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 284 : int delta;
; 285 :
; 286 : // We assume that by 32 the user really meant 24
; 287 : if (bpp == 32)
0002d 83 bd 00 01 00
00 20 cmp DWORD PTR bpp$[rbp], 32 ; 00000020H
00034 75 0a jne SHORT $LN2@glfwSplitB
; 288 : bpp = 24;
00036 c7 85 00 01 00
00 18 00 00 00 mov DWORD PTR bpp$[rbp], 24
$LN2@glfwSplitB:
; 289 :
; 290 : // Convert "bits per pixel" to red, green & blue sizes
; 291 :
; 292 : *red = *green = *blue = bpp / 3;
00040 8b 85 00 01 00
00 mov eax, DWORD PTR bpp$[rbp]
00046 99 cdq
00047 b9 03 00 00 00 mov ecx, 3
0004c f7 f9 idiv ecx
0004e 48 8b 8d 18 01
00 00 mov rcx, QWORD PTR blue$[rbp]
00055 89 01 mov DWORD PTR [rcx], eax
00057 48 8b 85 10 01
00 00 mov rax, QWORD PTR green$[rbp]
0005e 48 8b 8d 18 01
00 00 mov rcx, QWORD PTR blue$[rbp]
00065 8b 09 mov ecx, DWORD PTR [rcx]
00067 89 08 mov DWORD PTR [rax], ecx
00069 48 8b 85 08 01
00 00 mov rax, QWORD PTR red$[rbp]
00070 48 8b 8d 10 01
00 00 mov rcx, QWORD PTR green$[rbp]
00077 8b 09 mov ecx, DWORD PTR [rcx]
00079 89 08 mov DWORD PTR [rax], ecx
; 293 : delta = bpp - (*red * 3);
0007b 48 8b 85 08 01
00 00 mov rax, QWORD PTR red$[rbp]
00082 6b 00 03 imul eax, DWORD PTR [rax], 3
00085 8b 8d 00 01 00
00 mov ecx, DWORD PTR bpp$[rbp]
0008b 2b c8 sub ecx, eax
0008d 8b c1 mov eax, ecx
0008f 89 45 04 mov DWORD PTR delta$[rbp], eax
; 294 : if (delta >= 1)
00092 83 7d 04 01 cmp DWORD PTR delta$[rbp], 1
00096 7c 14 jl SHORT $LN3@glfwSplitB
; 295 : *green = *green + 1;
00098 48 8b 85 10 01
00 00 mov rax, QWORD PTR green$[rbp]
0009f 8b 00 mov eax, DWORD PTR [rax]
000a1 ff c0 inc eax
000a3 48 8b 8d 10 01
00 00 mov rcx, QWORD PTR green$[rbp]
000aa 89 01 mov DWORD PTR [rcx], eax
$LN3@glfwSplitB:
; 296 :
; 297 : if (delta == 2)
000ac 83 7d 04 02 cmp DWORD PTR delta$[rbp], 2
000b0 75 14 jne SHORT $LN4@glfwSplitB
; 298 : *red = *red + 1;
000b2 48 8b 85 08 01
00 00 mov rax, QWORD PTR red$[rbp]
000b9 8b 00 mov eax, DWORD PTR [rax]
000bb ff c0 inc eax
000bd 48 8b 8d 08 01
00 00 mov rcx, QWORD PTR red$[rbp]
000c4 89 01 mov DWORD PTR [rcx], eax
$LN4@glfwSplitB:
; 299 : }
000c6 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000cd 5f pop rdi
000ce 5d pop rbp
000cf c3 ret 0
_glfwSplitBPP ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwFreeGammaArrays
_TEXT SEGMENT
ramp$ = 224
_glfwFreeGammaArrays PROC ; COMDAT
; 213 : {
$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:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 214 : _glfw_free(ramp->red);
0001f 48 8b 85 e0 00
00 00 mov rax, QWORD PTR ramp$[rbp]
00026 48 8b 08 mov rcx, QWORD PTR [rax]
00029 e8 00 00 00 00 call _glfw_free
; 215 : _glfw_free(ramp->green);
0002e 48 8b 85 e0 00
00 00 mov rax, QWORD PTR ramp$[rbp]
00035 48 8b 48 08 mov rcx, QWORD PTR [rax+8]
00039 e8 00 00 00 00 call _glfw_free
; 216 : _glfw_free(ramp->blue);
0003e 48 8b 85 e0 00
00 00 mov rax, QWORD PTR ramp$[rbp]
00045 48 8b 48 10 mov rcx, QWORD PTR [rax+16]
00049 e8 00 00 00 00 call _glfw_free
; 217 :
; 218 : memset(ramp, 0, sizeof(GLFWgammaramp));
0004e 41 b8 20 00 00
00 mov r8d, 32 ; 00000020H
00054 33 d2 xor edx, edx
00056 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR ramp$[rbp]
0005d e8 00 00 00 00 call memset
; 219 : }
00062 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00069 5f pop rdi
0006a 5d pop rbp
0006b c3 ret 0
_glfwFreeGammaArrays ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwAllocGammaArrays
_TEXT SEGMENT
ramp$ = 224
size$ = 232
_glfwAllocGammaArrays PROC ; COMDAT
; 203 : {
$LN3:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00009 55 push rbp
0000a 57 push rdi
0000b 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00012 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00017 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001e e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 204 : ramp->red = _glfw_calloc(size, sizeof(unsigned short));
00023 8b 85 e8 00 00
00 mov eax, DWORD PTR size$[rbp]
00029 ba 02 00 00 00 mov edx, 2
0002e 8b c8 mov ecx, eax
00030 e8 00 00 00 00 call _glfw_calloc
00035 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR ramp$[rbp]
0003c 48 89 01 mov QWORD PTR [rcx], rax
; 205 : ramp->green = _glfw_calloc(size, sizeof(unsigned short));
0003f 8b 85 e8 00 00
00 mov eax, DWORD PTR size$[rbp]
00045 ba 02 00 00 00 mov edx, 2
0004a 8b c8 mov ecx, eax
0004c e8 00 00 00 00 call _glfw_calloc
00051 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR ramp$[rbp]
00058 48 89 41 08 mov QWORD PTR [rcx+8], rax
; 206 : ramp->blue = _glfw_calloc(size, sizeof(unsigned short));
0005c 8b 85 e8 00 00
00 mov eax, DWORD PTR size$[rbp]
00062 ba 02 00 00 00 mov edx, 2
00067 8b c8 mov ecx, eax
00069 e8 00 00 00 00 call _glfw_calloc
0006e 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR ramp$[rbp]
00075 48 89 41 10 mov QWORD PTR [rcx+16], rax
; 207 : ramp->size = size;
00079 48 8b 85 e0 00
00 00 mov rax, QWORD PTR ramp$[rbp]
00080 8b 8d e8 00 00
00 mov ecx, DWORD PTR size$[rbp]
00086 89 48 18 mov DWORD PTR [rax+24], ecx
; 208 : }
00089 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00090 5f pop rdi
00091 5d pop rbp
00092 c3 ret 0
_glfwAllocGammaArrays ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwFreeMonitor
_TEXT SEGMENT
monitor$ = 224
_glfwFreeMonitor PROC ; COMDAT
; 187 : {
$LN4:
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:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 188 : if (monitor == NULL)
0001f 48 83 bd e0 00
00 00 00 cmp QWORD PTR monitor$[rbp], 0
00027 75 02 jne SHORT $LN2@glfwFreeMo
; 189 : return;
00029 eb 56 jmp SHORT $LN1@glfwFreeMo
$LN2@glfwFreeMo:
; 190 :
; 191 : _glfw.platform.freeMonitor(monitor);
0002b 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR monitor$[rbp]
00032 ff 15 d0 00 00
00 call QWORD PTR _glfw+208
; 192 :
; 193 : _glfwFreeGammaArrays(&monitor->originalRamp);
00038 48 8b 85 e0 00
00 00 mov rax, QWORD PTR monitor$[rbp]
0003f 48 05 c0 00 00
00 add rax, 192 ; 000000c0H
00045 48 8b c8 mov rcx, rax
00048 e8 00 00 00 00 call _glfwFreeGammaArrays
; 194 : _glfwFreeGammaArrays(&monitor->currentRamp);
0004d 48 8b 85 e0 00
00 00 mov rax, QWORD PTR monitor$[rbp]
00054 48 05 e0 00 00
00 add rax, 224 ; 000000e0H
0005a 48 8b c8 mov rcx, rax
0005d e8 00 00 00 00 call _glfwFreeGammaArrays
; 195 :
; 196 : _glfw_free(monitor->modes);
00062 48 8b 85 e0 00
00 00 mov rax, QWORD PTR monitor$[rbp]
00069 48 8b 88 98 00
00 00 mov rcx, QWORD PTR [rax+152]
00070 e8 00 00 00 00 call _glfw_free
; 197 : _glfw_free(monitor);
00075 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR monitor$[rbp]
0007c e8 00 00 00 00 call _glfw_free
$LN1@glfwFreeMo:
; 198 : }
00081 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00088 5f pop rdi
00089 5d pop rbp
0008a c3 ret 0
_glfwFreeMonitor ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwAllocMonitor
_TEXT SEGMENT
monitor$ = 8
name$ = 256
widthMM$ = 264
heightMM$ = 272
_glfwAllocMonitor PROC ; COMDAT
; 174 : {
$LN3:
00000 44 89 44 24 18 mov DWORD PTR [rsp+24], r8d
00005 89 54 24 10 mov DWORD PTR [rsp+16], edx
00009 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000e 55 push rbp
0000f 57 push rdi
00010 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
00017 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001c 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00023 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 175 : _GLFWmonitor* monitor = _glfw_calloc(1, sizeof(_GLFWmonitor));
00028 ba f0 01 00 00 mov edx, 496 ; 000001f0H
0002d b9 01 00 00 00 mov ecx, 1
00032 e8 00 00 00 00 call _glfw_calloc
00037 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 176 : monitor->widthMM = widthMM;
0003b 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0003f 8b 8d 08 01 00
00 mov ecx, DWORD PTR widthMM$[rbp]
00045 89 88 88 00 00
00 mov DWORD PTR [rax+136], ecx
; 177 : monitor->heightMM = heightMM;
0004b 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0004f 8b 8d 10 01 00
00 mov ecx, DWORD PTR heightMM$[rbp]
00055 89 88 8c 00 00
00 mov DWORD PTR [rax+140], ecx
; 178 :
; 179 : strncpy(monitor->name, name, sizeof(monitor->name) - 1);
0005b 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0005f 41 b8 7f 00 00
00 mov r8d, 127 ; 0000007fH
00065 48 8b 95 00 01
00 00 mov rdx, QWORD PTR name$[rbp]
0006c 48 8b c8 mov rcx, rax
0006f ff 15 00 00 00
00 call QWORD PTR __imp_strncpy
; 180 :
; 181 : return monitor;
00075 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
; 182 : }
00079 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00080 5f pop rdi
00081 5d pop rbp
00082 c3 ret 0
_glfwAllocMonitor ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwCompareVideoModes
_TEXT SEGMENT
fm$ = 224
sm$ = 232
_glfwCompareVideoModes PROC ; COMDAT
; 276 : {
$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 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:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 277 : return compareVideoModes(fm, sm);
00024 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR sm$[rbp]
0002b 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR fm$[rbp]
00032 e8 00 00 00 00 call compareVideoModes
; 278 : }
00037 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
0003e 5f pop rdi
0003f 5d pop rbp
00040 c3 ret 0
_glfwCompareVideoModes ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwChooseVideoMode
_TEXT SEGMENT
i$ = 4
sizeDiff$ = 36
leastSizeDiff$ = 68
rateDiff$ = 100
leastRateDiff$ = 132
colorDiff$ = 164
leastColorDiff$ = 196
current$ = 232
closest$ = 264
monitor$ = 512
desired$ = 520
_glfwChooseVideoMode PROC ; COMDAT
; 225 : {
$LN15:
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 08 02
00 00 sub rsp, 520 ; 00000208H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 226 : int i;
; 227 : unsigned int sizeDiff, leastSizeDiff = UINT_MAX;
00024 c7 45 44 ff ff
ff ff mov DWORD PTR leastSizeDiff$[rbp], -1 ; ffffffffH
; 228 : unsigned int rateDiff, leastRateDiff = UINT_MAX;
0002b c7 85 84 00 00
00 ff ff ff ff mov DWORD PTR leastRateDiff$[rbp], -1 ; ffffffffH
; 229 : unsigned int colorDiff, leastColorDiff = UINT_MAX;
00035 c7 85 c4 00 00
00 ff ff ff ff mov DWORD PTR leastColorDiff$[rbp], -1 ; ffffffffH
; 230 : const GLFWvidmode* current;
; 231 : const GLFWvidmode* closest = NULL;
0003f 48 c7 85 08 01
00 00 00 00 00
00 mov QWORD PTR closest$[rbp], 0
; 232 :
; 233 : if (!refreshVideoModes(monitor))
0004a 48 8b 8d 00 02
00 00 mov rcx, QWORD PTR monitor$[rbp]
00051 e8 00 00 00 00 call refreshVideoModes
00056 85 c0 test eax, eax
00058 75 07 jne SHORT $LN5@glfwChoose
; 234 : return NULL;
0005a 33 c0 xor eax, eax
0005c e9 21 02 00 00 jmp $LN1@glfwChoose
$LN5@glfwChoose:
; 235 :
; 236 : for (i = 0; i < monitor->modeCount; i++)
00061 c7 45 04 00 00
00 00 mov DWORD PTR i$[rbp], 0
00068 eb 08 jmp SHORT $LN4@glfwChoose
$LN2@glfwChoose:
0006a 8b 45 04 mov eax, DWORD PTR i$[rbp]
0006d ff c0 inc eax
0006f 89 45 04 mov DWORD PTR i$[rbp], eax
$LN4@glfwChoose:
00072 48 8b 85 00 02
00 00 mov rax, QWORD PTR monitor$[rbp]
00079 8b 80 a0 00 00
00 mov eax, DWORD PTR [rax+160]
0007f 39 45 04 cmp DWORD PTR i$[rbp], eax
00082 0f 8d f3 01 00
00 jge $LN3@glfwChoose
; 237 : {
; 238 : current = monitor->modes + i;
00088 48 63 45 04 movsxd rax, DWORD PTR i$[rbp]
0008c 48 6b c0 18 imul rax, rax, 24
00090 48 8b 8d 00 02
00 00 mov rcx, QWORD PTR monitor$[rbp]
00097 48 03 81 98 00
00 00 add rax, QWORD PTR [rcx+152]
0009e 48 89 85 e8 00
00 00 mov QWORD PTR current$[rbp], rax
; 239 :
; 240 : colorDiff = 0;
000a5 c7 85 a4 00 00
00 00 00 00 00 mov DWORD PTR colorDiff$[rbp], 0
; 241 :
; 242 : if (desired->redBits != GLFW_DONT_CARE)
000af 48 8b 85 08 02
00 00 mov rax, QWORD PTR desired$[rbp]
000b6 83 78 08 ff cmp DWORD PTR [rax+8], -1
000ba 74 2d je SHORT $LN6@glfwChoose
; 243 : colorDiff += abs(current->redBits - desired->redBits);
000bc 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
000c3 48 8b 8d 08 02
00 00 mov rcx, QWORD PTR desired$[rbp]
000ca 8b 49 08 mov ecx, DWORD PTR [rcx+8]
000cd 8b 40 08 mov eax, DWORD PTR [rax+8]
000d0 2b c1 sub eax, ecx
000d2 8b c8 mov ecx, eax
000d4 e8 00 00 00 00 call abs
000d9 8b 8d a4 00 00
00 mov ecx, DWORD PTR colorDiff$[rbp]
000df 03 c8 add ecx, eax
000e1 8b c1 mov eax, ecx
000e3 89 85 a4 00 00
00 mov DWORD PTR colorDiff$[rbp], eax
$LN6@glfwChoose:
; 244 : if (desired->greenBits != GLFW_DONT_CARE)
000e9 48 8b 85 08 02
00 00 mov rax, QWORD PTR desired$[rbp]
000f0 83 78 0c ff cmp DWORD PTR [rax+12], -1
000f4 74 2d je SHORT $LN7@glfwChoose
; 245 : colorDiff += abs(current->greenBits - desired->greenBits);
000f6 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
000fd 48 8b 8d 08 02
00 00 mov rcx, QWORD PTR desired$[rbp]
00104 8b 49 0c mov ecx, DWORD PTR [rcx+12]
00107 8b 40 0c mov eax, DWORD PTR [rax+12]
0010a 2b c1 sub eax, ecx
0010c 8b c8 mov ecx, eax
0010e e8 00 00 00 00 call abs
00113 8b 8d a4 00 00
00 mov ecx, DWORD PTR colorDiff$[rbp]
00119 03 c8 add ecx, eax
0011b 8b c1 mov eax, ecx
0011d 89 85 a4 00 00
00 mov DWORD PTR colorDiff$[rbp], eax
$LN7@glfwChoose:
; 246 : if (desired->blueBits != GLFW_DONT_CARE)
00123 48 8b 85 08 02
00 00 mov rax, QWORD PTR desired$[rbp]
0012a 83 78 10 ff cmp DWORD PTR [rax+16], -1
0012e 74 2d je SHORT $LN8@glfwChoose
; 247 : colorDiff += abs(current->blueBits - desired->blueBits);
00130 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
00137 48 8b 8d 08 02
00 00 mov rcx, QWORD PTR desired$[rbp]
0013e 8b 49 10 mov ecx, DWORD PTR [rcx+16]
00141 8b 40 10 mov eax, DWORD PTR [rax+16]
00144 2b c1 sub eax, ecx
00146 8b c8 mov ecx, eax
00148 e8 00 00 00 00 call abs
0014d 8b 8d a4 00 00
00 mov ecx, DWORD PTR colorDiff$[rbp]
00153 03 c8 add ecx, eax
00155 8b c1 mov eax, ecx
00157 89 85 a4 00 00
00 mov DWORD PTR colorDiff$[rbp], eax
$LN8@glfwChoose:
; 248 :
; 249 : sizeDiff = abs((current->width - desired->width) *
0015d 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
00164 48 8b 8d 08 02
00 00 mov rcx, QWORD PTR desired$[rbp]
0016b 8b 09 mov ecx, DWORD PTR [rcx]
0016d 8b 00 mov eax, DWORD PTR [rax]
0016f 2b c1 sub eax, ecx
00171 48 8b 8d e8 00
00 00 mov rcx, QWORD PTR current$[rbp]
00178 48 8b 95 08 02
00 00 mov rdx, QWORD PTR desired$[rbp]
0017f 8b 12 mov edx, DWORD PTR [rdx]
00181 8b 09 mov ecx, DWORD PTR [rcx]
00183 2b ca sub ecx, edx
00185 0f af c1 imul eax, ecx
00188 48 8b 8d e8 00
00 00 mov rcx, QWORD PTR current$[rbp]
0018f 48 8b 95 08 02
00 00 mov rdx, QWORD PTR desired$[rbp]
00196 8b 52 04 mov edx, DWORD PTR [rdx+4]
00199 8b 49 04 mov ecx, DWORD PTR [rcx+4]
0019c 2b ca sub ecx, edx
0019e 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR current$[rbp]
001a5 4c 8b 85 08 02
00 00 mov r8, QWORD PTR desired$[rbp]
001ac 45 8b 40 04 mov r8d, DWORD PTR [r8+4]
001b0 8b 52 04 mov edx, DWORD PTR [rdx+4]
001b3 41 2b d0 sub edx, r8d
001b6 0f af ca imul ecx, edx
001b9 03 c1 add eax, ecx
001bb 8b c8 mov ecx, eax
001bd e8 00 00 00 00 call abs
001c2 89 45 24 mov DWORD PTR sizeDiff$[rbp], eax
; 250 : (current->width - desired->width) +
; 251 : (current->height - desired->height) *
; 252 : (current->height - desired->height));
; 253 :
; 254 : if (desired->refreshRate != GLFW_DONT_CARE)
001c5 48 8b 85 08 02
00 00 mov rax, QWORD PTR desired$[rbp]
001cc 83 78 14 ff cmp DWORD PTR [rax+20], -1
001d0 74 22 je SHORT $LN9@glfwChoose
; 255 : rateDiff = abs(current->refreshRate - desired->refreshRate);
001d2 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
001d9 48 8b 8d 08 02
00 00 mov rcx, QWORD PTR desired$[rbp]
001e0 8b 49 14 mov ecx, DWORD PTR [rcx+20]
001e3 8b 40 14 mov eax, DWORD PTR [rax+20]
001e6 2b c1 sub eax, ecx
001e8 8b c8 mov ecx, eax
001ea e8 00 00 00 00 call abs
001ef 89 45 64 mov DWORD PTR rateDiff$[rbp], eax
001f2 eb 14 jmp SHORT $LN10@glfwChoose
$LN9@glfwChoose:
; 256 : else
; 257 : rateDiff = UINT_MAX - current->refreshRate;
001f4 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
001fb b9 ff ff ff ff mov ecx, -1 ; ffffffffH
00200 2b 48 14 sub ecx, DWORD PTR [rax+20]
00203 8b c1 mov eax, ecx
00205 89 45 64 mov DWORD PTR rateDiff$[rbp], eax
$LN10@glfwChoose:
; 258 :
; 259 : if ((colorDiff < leastColorDiff) ||
; 260 : (colorDiff == leastColorDiff && sizeDiff < leastSizeDiff) ||
00208 8b 85 c4 00 00
00 mov eax, DWORD PTR leastColorDiff$[rbp]
0020e 39 85 a4 00 00
00 cmp DWORD PTR colorDiff$[rbp], eax
00214 72 37 jb SHORT $LN12@glfwChoose
00216 8b 85 c4 00 00
00 mov eax, DWORD PTR leastColorDiff$[rbp]
0021c 39 85 a4 00 00
00 cmp DWORD PTR colorDiff$[rbp], eax
00222 75 08 jne SHORT $LN13@glfwChoose
00224 8b 45 44 mov eax, DWORD PTR leastSizeDiff$[rbp]
00227 39 45 24 cmp DWORD PTR sizeDiff$[rbp], eax
0022a 72 21 jb SHORT $LN12@glfwChoose
$LN13@glfwChoose:
0022c 8b 85 c4 00 00
00 mov eax, DWORD PTR leastColorDiff$[rbp]
00232 39 85 a4 00 00
00 cmp DWORD PTR colorDiff$[rbp], eax
00238 75 3c jne SHORT $LN11@glfwChoose
0023a 8b 45 44 mov eax, DWORD PTR leastSizeDiff$[rbp]
0023d 39 45 24 cmp DWORD PTR sizeDiff$[rbp], eax
00240 75 34 jne SHORT $LN11@glfwChoose
00242 8b 85 84 00 00
00 mov eax, DWORD PTR leastRateDiff$[rbp]
00248 39 45 64 cmp DWORD PTR rateDiff$[rbp], eax
0024b 73 29 jae SHORT $LN11@glfwChoose
$LN12@glfwChoose:
; 261 : (colorDiff == leastColorDiff && sizeDiff == leastSizeDiff && rateDiff < leastRateDiff))
; 262 : {
; 263 : closest = current;
0024d 48 8b 85 e8 00
00 00 mov rax, QWORD PTR current$[rbp]
00254 48 89 85 08 01
00 00 mov QWORD PTR closest$[rbp], rax
; 264 : leastSizeDiff = sizeDiff;
0025b 8b 45 24 mov eax, DWORD PTR sizeDiff$[rbp]
0025e 89 45 44 mov DWORD PTR leastSizeDiff$[rbp], eax
; 265 : leastRateDiff = rateDiff;
00261 8b 45 64 mov eax, DWORD PTR rateDiff$[rbp]
00264 89 85 84 00 00
00 mov DWORD PTR leastRateDiff$[rbp], eax
; 266 : leastColorDiff = colorDiff;
0026a 8b 85 a4 00 00
00 mov eax, DWORD PTR colorDiff$[rbp]
00270 89 85 c4 00 00
00 mov DWORD PTR leastColorDiff$[rbp], eax
$LN11@glfwChoose:
; 267 : }
; 268 : }
00276 e9 ef fd ff ff jmp $LN2@glfwChoose
$LN3@glfwChoose:
; 269 :
; 270 : return closest;
0027b 48 8b 85 08 01
00 00 mov rax, QWORD PTR closest$[rbp]
$LN1@glfwChoose:
; 271 : }
00282 48 8d a5 e8 01
00 00 lea rsp, QWORD PTR [rbp+488]
00289 5f pop rdi
0028a 5d pop rbp
0028b c3 ret 0
_glfwChooseVideoMode ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwInputMonitorWindow
_TEXT SEGMENT
monitor$ = 224
window$ = 232
_glfwInputMonitorWindow PROC ; COMDAT
; 161 : {
$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:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 162 : assert(monitor != NULL);
00024 48 83 bd e0 00
00 00 00 cmp QWORD PTR monitor$[rbp], 0
0002c 75 1c jne SHORT $LN3@glfwInputM
0002e 41 b8 a2 00 00
00 mov r8d, 162 ; 000000a2H
00034 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0003b 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00042 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00048 33 c0 xor eax, eax
$LN3@glfwInputM:
; 163 : monitor->window = window;
0004a 48 8b 85 e0 00
00 00 mov rax, QWORD PTR monitor$[rbp]
00051 48 8b 8d e8 00
00 00 mov rcx, QWORD PTR window$[rbp]
00058 48 89 88 90 00
00 00 mov QWORD PTR [rax+144], rcx
; 164 : }
0005f 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00066 5f pop rdi
00067 5d pop rbp
00068 c3 ret 0
_glfwInputMonitorWindow ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT _glfwInputMonitor
_TEXT SEGMENT
i$7 = 4
window$8 = 40
width$9 = 68
height$10 = 100
xoff$11 = 132
yoff$12 = 164
tv177 = 376
__$ArrayPad$ = 384
monitor$ = 432
action$ = 440
placement$ = 448
_glfwInputMonitor PROC ; COMDAT
; 98 : {
$LN21:
00000 44 89 44 24 18 mov DWORD PTR [rsp+24], r8d
00005 89 54 24 10 mov DWORD PTR [rsp+16], edx
00009 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000e 55 push rbp
0000f 57 push rdi
00010 48 81 ec d8 01
00 00 sub rsp, 472 ; 000001d8H
00017 48 8d 6c 24 40 lea rbp, QWORD PTR [rsp+64]
0001c 48 8d 7c 24 40 lea rdi, QWORD PTR [rsp+64]
00021 b9 36 00 00 00 mov ecx, 54 ; 00000036H
00026 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
0002b f3 ab rep stosd
0002d 48 8b 8c 24 f8
01 00 00 mov rcx, QWORD PTR [rsp+504]
00035 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
0003c 48 33 c5 xor rax, rbp
0003f 48 89 85 80 01
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
00046 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0004d e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 99 : assert(monitor != NULL);
00052 48 83 bd b0 01
00 00 00 cmp QWORD PTR monitor$[rbp], 0
0005a 75 1c jne SHORT $LN18@glfwInputM
0005c 41 b8 63 00 00
00 mov r8d, 99 ; 00000063H
00062 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00069 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00070 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00076 33 c0 xor eax, eax
$LN18@glfwInputM:
; 100 : assert(action == GLFW_CONNECTED || action == GLFW_DISCONNECTED);
00078 81 bd b8 01 00
00 01 00 04 00 cmp DWORD PTR action$[rbp], 262145 ; 00040001H
00082 74 28 je SHORT $LN19@glfwInputM
00084 81 bd b8 01 00
00 02 00 04 00 cmp DWORD PTR action$[rbp], 262146 ; 00040002H
0008e 74 1c je SHORT $LN19@glfwInputM
00090 41 b8 64 00 00
00 mov r8d, 100 ; 00000064H
00096 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0009d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1HA@LOLNABBE@?$AAa?$AAc?$AAt?$AAi?$AAo?$AAn?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AAG?$AAL?$AAF?$AAW?$AA_@
000a4 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000aa 33 c0 xor eax, eax
$LN19@glfwInputM:
; 101 : assert(placement == _GLFW_INSERT_FIRST || placement == _GLFW_INSERT_LAST);
000ac 83 bd c0 01 00
00 00 cmp DWORD PTR placement$[rbp], 0
000b3 74 25 je SHORT $LN20@glfwInputM
000b5 83 bd c0 01 00
00 01 cmp DWORD PTR placement$[rbp], 1
000bc 74 1c je SHORT $LN20@glfwInputM
000be 41 b8 65 00 00
00 mov r8d, 101 ; 00000065H
000c4 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
000cb 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1IE@BENHIHAJ@?$AAp?$AAl?$AAa?$AAc?$AAe?$AAm?$AAe?$AAn?$AAt?$AA?5?$AA?$DN?$AA?$DN?$AA?5?$AA_?$AAG@
000d2 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000d8 33 c0 xor eax, eax
$LN20@glfwInputM:
; 102 :
; 103 : if (action == GLFW_CONNECTED)
000da 81 bd b8 01 00
00 01 00 04 00 cmp DWORD PTR action$[rbp], 262145 ; 00040001H
000e4 0f 85 9f 00 00
00 jne $LN8@glfwInputM
; 104 : {
; 105 : _glfw.monitorCount++;
000ea 8b 05 88 07 00
00 mov eax, DWORD PTR _glfw+1928
000f0 ff c0 inc eax
000f2 89 05 88 07 00
00 mov DWORD PTR _glfw+1928, eax
; 106 : _glfw.monitors =
000f8 48 63 05 88 07
00 00 movsxd rax, DWORD PTR _glfw+1928
000ff 48 c1 e0 03 shl rax, 3
00103 48 8b d0 mov rdx, rax
00106 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
0010d e8 00 00 00 00 call _glfw_realloc
00112 48 89 05 80 07
00 00 mov QWORD PTR _glfw+1920, rax
; 107 : _glfw_realloc(_glfw.monitors,
; 108 : sizeof(_GLFWmonitor*) * _glfw.monitorCount);
; 109 :
; 110 : if (placement == _GLFW_INSERT_FIRST)
00119 83 bd c0 01 00
00 00 cmp DWORD PTR placement$[rbp], 0
00120 75 46 jne SHORT $LN10@glfwInputM
; 111 : {
; 112 : memmove(_glfw.monitors + 1,
00122 48 63 05 88 07
00 00 movsxd rax, DWORD PTR _glfw+1928
00129 48 8d 04 c5 f8
ff ff ff lea rax, QWORD PTR [rax*8-8]
00131 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
00138 48 83 c1 08 add rcx, 8
0013c 4c 8b c0 mov r8, rax
0013f 48 8b 15 80 07
00 00 mov rdx, QWORD PTR _glfw+1920
00146 e8 00 00 00 00 call memmove
; 113 : _glfw.monitors,
; 114 : ((size_t) _glfw.monitorCount - 1) * sizeof(_GLFWmonitor*));
; 115 : _glfw.monitors[0] = monitor;
0014b b8 08 00 00 00 mov eax, 8
00150 48 6b c0 00 imul rax, rax, 0
00154 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
0015b 48 8b 95 b0 01
00 00 mov rdx, QWORD PTR monitor$[rbp]
00162 48 89 14 01 mov QWORD PTR [rcx+rax], rdx
; 116 : }
00166 eb 1c jmp SHORT $LN11@glfwInputM
$LN10@glfwInputM:
; 117 : else
; 118 : _glfw.monitors[_glfw.monitorCount - 1] = monitor;
00168 8b 05 88 07 00
00 mov eax, DWORD PTR _glfw+1928
0016e ff c8 dec eax
00170 48 98 cdqe
00172 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
00179 48 8b 95 b0 01
00 00 mov rdx, QWORD PTR monitor$[rbp]
00180 48 89 14 c1 mov QWORD PTR [rcx+rax*8], rdx
$LN11@glfwInputM:
; 119 : }
00184 e9 54 01 00 00 jmp $LN9@glfwInputM
$LN8@glfwInputM:
; 120 : else if (action == GLFW_DISCONNECTED)
00189 81 bd b8 01 00
00 02 00 04 00 cmp DWORD PTR action$[rbp], 262146 ; 00040002H
00193 0f 85 44 01 00
00 jne $LN12@glfwInputM
; 121 : {
; 122 : int i;
; 123 : _GLFWwindow* window;
; 124 :
; 125 : for (window = _glfw.windowListHead; window; window = window->next)
00199 48 8b 05 78 07
00 00 mov rax, QWORD PTR _glfw+1912
001a0 48 89 45 28 mov QWORD PTR window$8[rbp], rax
001a4 eb 0b jmp SHORT $LN4@glfwInputM
$LN2@glfwInputM:
001a6 48 8b 45 28 mov rax, QWORD PTR window$8[rbp]
001aa 48 8b 00 mov rax, QWORD PTR [rax]
001ad 48 89 45 28 mov QWORD PTR window$8[rbp], rax
$LN4@glfwInputM:
001b1 48 83 7d 28 00 cmp QWORD PTR window$8[rbp], 0
001b6 0f 84 8b 00 00
00 je $LN3@glfwInputM
; 126 : {
; 127 : if (window->monitor == monitor)
001bc 48 8b 45 28 mov rax, QWORD PTR window$8[rbp]
001c0 48 8b 8d b0 01
00 00 mov rcx, QWORD PTR monitor$[rbp]
001c7 48 39 48 50 cmp QWORD PTR [rax+80], rcx
001cb 75 75 jne SHORT $LN13@glfwInputM
; 128 : {
; 129 : int width, height, xoff, yoff;
; 130 : _glfw.platform.getWindowSize(window, &width, &height);
001cd 4c 8d 45 64 lea r8, QWORD PTR height$10[rbp]
001d1 48 8d 55 44 lea rdx, QWORD PTR width$9[rbp]
001d5 48 8b 4d 28 mov rcx, QWORD PTR window$8[rbp]
001d9 ff 15 40 01 00
00 call QWORD PTR _glfw+320
; 131 : _glfw.platform.setWindowMonitor(window, NULL, 0, 0, width, height, 0);
001df c7 44 24 30 00
00 00 00 mov DWORD PTR [rsp+48], 0
001e7 8b 45 64 mov eax, DWORD PTR height$10[rbp]
001ea 89 44 24 28 mov DWORD PTR [rsp+40], eax
001ee 8b 45 44 mov eax, DWORD PTR width$9[rbp]
001f1 89 44 24 20 mov DWORD PTR [rsp+32], eax
001f5 45 33 c9 xor r9d, r9d
001f8 45 33 c0 xor r8d, r8d
001fb 33 d2 xor edx, edx
001fd 48 8b 4d 28 mov rcx, QWORD PTR window$8[rbp]
00201 ff 15 b0 01 00
00 call QWORD PTR _glfw+432
; 132 : _glfw.platform.getWindowFrameSize(window, &xoff, &yoff, NULL, NULL);
00207 48 c7 44 24 20
00 00 00 00 mov QWORD PTR [rsp+32], 0
00210 45 33 c9 xor r9d, r9d
00213 4c 8d 85 a4 00
00 00 lea r8, QWORD PTR yoff$12[rbp]
0021a 48 8d 95 84 00
00 00 lea rdx, QWORD PTR xoff$11[rbp]
00221 48 8b 4d 28 mov rcx, QWORD PTR window$8[rbp]
00225 ff 15 68 01 00
00 call QWORD PTR _glfw+360
; 133 : _glfw.platform.setWindowPos(window, xoff, yoff);
0022b 44 8b 85 a4 00
00 00 mov r8d, DWORD PTR yoff$12[rbp]
00232 8b 95 84 00 00
00 mov edx, DWORD PTR xoff$11[rbp]
00238 48 8b 4d 28 mov rcx, QWORD PTR window$8[rbp]
0023c ff 15 38 01 00
00 call QWORD PTR _glfw+312
$LN13@glfwInputM:
; 134 : }
; 135 : }
00242 e9 5f ff ff ff jmp $LN2@glfwInputM
$LN3@glfwInputM:
; 136 :
; 137 : for (i = 0; i < _glfw.monitorCount; i++)
00247 c7 45 04 00 00
00 00 mov DWORD PTR i$7[rbp], 0
0024e eb 08 jmp SHORT $LN7@glfwInputM
$LN5@glfwInputM:
00250 8b 45 04 mov eax, DWORD PTR i$7[rbp]
00253 ff c0 inc eax
00255 89 45 04 mov DWORD PTR i$7[rbp], eax
$LN7@glfwInputM:
00258 8b 05 88 07 00
00 mov eax, DWORD PTR _glfw+1928
0025e 39 45 04 cmp DWORD PTR i$7[rbp], eax
00261 7d 7a jge SHORT $LN6@glfwInputM
; 138 : {
; 139 : if (_glfw.monitors[i] == monitor)
00263 48 63 45 04 movsxd rax, DWORD PTR i$7[rbp]
00267 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
0026e 48 8b 95 b0 01
00 00 mov rdx, QWORD PTR monitor$[rbp]
00275 48 39 14 c1 cmp QWORD PTR [rcx+rax*8], rdx
00279 75 5d jne SHORT $LN14@glfwInputM
; 140 : {
; 141 : _glfw.monitorCount--;
0027b 8b 05 88 07 00
00 mov eax, DWORD PTR _glfw+1928
00281 ff c8 dec eax
00283 89 05 88 07 00
00 mov DWORD PTR _glfw+1928, eax
; 142 : memmove(_glfw.monitors + i,
00289 48 63 05 88 07
00 00 movsxd rax, DWORD PTR _glfw+1928
00290 48 63 4d 04 movsxd rcx, DWORD PTR i$7[rbp]
00294 48 2b c1 sub rax, rcx
00297 48 c1 e0 03 shl rax, 3
0029b 48 63 4d 04 movsxd rcx, DWORD PTR i$7[rbp]
0029f 48 8b 15 80 07
00 00 mov rdx, QWORD PTR _glfw+1920
002a6 48 8d 4c ca 08 lea rcx, QWORD PTR [rdx+rcx*8+8]
002ab 48 63 55 04 movsxd rdx, DWORD PTR i$7[rbp]
002af 4c 8b 05 80 07
00 00 mov r8, QWORD PTR _glfw+1920
002b6 49 8d 14 d0 lea rdx, QWORD PTR [r8+rdx*8]
002ba 48 89 95 78 01
00 00 mov QWORD PTR tv177[rbp], rdx
002c1 4c 8b c0 mov r8, rax
002c4 48 8b d1 mov rdx, rcx
002c7 48 8b 85 78 01
00 00 mov rax, QWORD PTR tv177[rbp]
002ce 48 8b c8 mov rcx, rax
002d1 e8 00 00 00 00 call memmove
; 143 : _glfw.monitors + i + 1,
; 144 : ((size_t) _glfw.monitorCount - i) * sizeof(_GLFWmonitor*));
; 145 : break;
002d6 eb 05 jmp SHORT $LN6@glfwInputM
$LN14@glfwInputM:
; 146 : }
; 147 : }
002d8 e9 73 ff ff ff jmp $LN5@glfwInputM
$LN6@glfwInputM:
$LN12@glfwInputM:
$LN9@glfwInputM:
; 148 : }
; 149 :
; 150 : if (_glfw.callbacks.monitor)
002dd 48 83 3d 68 1b
00 00 00 cmp QWORD PTR _glfw+7016, 0
002e5 74 13 je SHORT $LN15@glfwInputM
; 151 : _glfw.callbacks.monitor((GLFWmonitor*) monitor, action);
002e7 8b 95 b8 01 00
00 mov edx, DWORD PTR action$[rbp]
002ed 48 8b 8d b0 01
00 00 mov rcx, QWORD PTR monitor$[rbp]
002f4 ff 15 68 1b 00
00 call QWORD PTR _glfw+7016
$LN15@glfwInputM:
; 152 :
; 153 : if (action == GLFW_DISCONNECTED)
002fa 81 bd b8 01 00
00 02 00 04 00 cmp DWORD PTR action$[rbp], 262146 ; 00040002H
00304 75 0c jne SHORT $LN16@glfwInputM
; 154 : _glfwFreeMonitor(monitor);
00306 48 8b 8d b0 01
00 00 mov rcx, QWORD PTR monitor$[rbp]
0030d e8 00 00 00 00 call _glfwFreeMonitor
$LN16@glfwInputM:
; 155 : }
00312 48 8d 4d c0 lea rcx, QWORD PTR [rbp-64]
00316 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:_glfwInputMonitor$rtcFrameData
0031d e8 00 00 00 00 call _RTC_CheckStackVars
00322 48 8b 8d 80 01
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
00329 48 33 cd xor rcx, rbp
0032c e8 00 00 00 00 call __security_check_cookie
00331 48 8d a5 98 01
00 00 lea rsp, QWORD PTR [rbp+408]
00338 5f pop rdi
00339 5d pop rbp
0033a c3 ret 0
_glfwInputMonitor ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwSetGammaRamp
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
ramp$ = 264
glfwSetGammaRamp PROC ; COMDAT
; 521 : {
$LN13:
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 08 01
00 00 sub rsp, 264 ; 00000108H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 522 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00024 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
0002b 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 523 : assert(monitor != NULL);
0002f 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00034 75 1c jne SHORT $LN7@glfwSetGam
00036 41 b8 0b 02 00
00 mov r8d, 523 ; 0000020bH
0003c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00043 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004a ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00050 33 c0 xor eax, eax
$LN7@glfwSetGam:
; 524 : assert(ramp != NULL);
00052 48 83 bd 08 01
00 00 00 cmp QWORD PTR ramp$[rbp], 0
0005a 75 1c jne SHORT $LN8@glfwSetGam
0005c 41 b8 0c 02 00
00 mov r8d, 524 ; 0000020cH
00062 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00069 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BK@FGBDIGLE@?$AAr?$AAa?$AAm?$AAp?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00070 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00076 33 c0 xor eax, eax
$LN8@glfwSetGam:
; 525 : assert(ramp->size > 0);
00078 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
0007f 83 78 18 00 cmp DWORD PTR [rax+24], 0
00083 77 1c ja SHORT $LN9@glfwSetGam
00085 41 b8 0d 02 00
00 mov r8d, 525 ; 0000020dH
0008b 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00092 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BO@NOADOJIK@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAs?$AAi?$AAz?$AAe?$AA?5?$AA?$DO?$AA?5?$AA0@
00099 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0009f 33 c0 xor eax, eax
$LN9@glfwSetGam:
; 526 : assert(ramp->red != NULL);
000a1 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
000a8 48 83 38 00 cmp QWORD PTR [rax], 0
000ac 75 1c jne SHORT $LN10@glfwSetGam
000ae 41 b8 0e 02 00
00 mov r8d, 526 ; 0000020eH
000b4 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
000bb 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CE@ECNENFHH@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAr?$AAe?$AAd?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU@
000c2 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000c8 33 c0 xor eax, eax
$LN10@glfwSetGam:
; 527 : assert(ramp->green != NULL);
000ca 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
000d1 48 83 78 08 00 cmp QWORD PTR [rax+8], 0
000d6 75 1c jne SHORT $LN11@glfwSetGam
000d8 41 b8 0f 02 00
00 mov r8d, 527 ; 0000020fH
000de 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
000e5 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CI@LANLGDBO@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAg?$AAr?$AAe?$AAe?$AAn?$AA?5?$AA?$CB?$AA?$DN?$AA?5@
000ec ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000f2 33 c0 xor eax, eax
$LN11@glfwSetGam:
; 528 : assert(ramp->blue != NULL);
000f4 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
000fb 48 83 78 10 00 cmp QWORD PTR [rax+16], 0
00100 75 1c jne SHORT $LN12@glfwSetGam
00102 41 b8 10 02 00
00 mov r8d, 528 ; 00000210H
00108 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0010f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CG@BMBEMINL@?$AAr?$AAa?$AAm?$AAp?$AA?9?$AA?$DO?$AAb?$AAl?$AAu?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN@
00116 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0011c 33 c0 xor eax, eax
$LN12@glfwSetGam:
; 529 :
; 530 : _GLFW_REQUIRE_INIT();
0011e 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00125 75 0e jne SHORT $LN2@glfwSetGam
00127 33 d2 xor edx, edx
00129 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0012e e8 00 00 00 00 call _glfwInputError
00133 eb 66 jmp SHORT $LN1@glfwSetGam
$LN2@glfwSetGam:
; 531 :
; 532 : if (ramp->size <= 0)
00135 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
0013c 83 78 18 00 cmp DWORD PTR [rax+24], 0
00140 77 1e ja SHORT $LN3@glfwSetGam
; 533 : {
; 534 : _glfwInputError(GLFW_INVALID_VALUE,
00142 48 8b 85 08 01
00 00 mov rax, QWORD PTR ramp$[rbp]
00149 44 8b 40 18 mov r8d, DWORD PTR [rax+24]
0014d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@OAABODH@Invalid?5gamma?5ramp?5size?5?$CFi@
00154 b9 04 00 01 00 mov ecx, 65540 ; 00010004H
00159 e8 00 00 00 00 call _glfwInputError
; 535 : "Invalid gamma ramp size %i",
; 536 : ramp->size);
; 537 : return;
0015e eb 3b jmp SHORT $LN1@glfwSetGam
$LN3@glfwSetGam:
; 538 : }
; 539 :
; 540 : if (!monitor->originalRamp.size)
00160 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
00164 83 b8 d8 00 00
00 00 cmp DWORD PTR [rax+216], 0
0016b 75 1d jne SHORT $LN4@glfwSetGam
; 541 : {
; 542 : if (!_glfw.platform.getGammaRamp(monitor, &monitor->originalRamp))
0016d 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
00171 48 05 c0 00 00
00 add rax, 192 ; 000000c0H
00177 48 8b d0 mov rdx, rax
0017a 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
0017e ff 15 00 01 00
00 call QWORD PTR _glfw+256
00184 85 c0 test eax, eax
00186 75 02 jne SHORT $LN5@glfwSetGam
; 543 : return;
00188 eb 11 jmp SHORT $LN1@glfwSetGam
$LN5@glfwSetGam:
$LN4@glfwSetGam:
; 544 : }
; 545 :
; 546 : _glfw.platform.setGammaRamp(monitor, ramp);
0018a 48 8b 95 08 01
00 00 mov rdx, QWORD PTR ramp$[rbp]
00191 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
00195 ff 15 08 01 00
00 call QWORD PTR _glfw+264
$LN1@glfwSetGam:
; 547 : }
0019b 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
001a2 5f pop rdi
001a3 5d pop rbp
001a4 c3 ret 0
glfwSetGammaRamp ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetGammaRamp
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
glfwGetGammaRamp PROC ; COMDAT
; 507 : {
$LN6:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 508 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
0001f 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00026 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 509 : assert(monitor != NULL);
0002a 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
0002f 75 1c jne SHORT $LN5@glfwGetGam
00031 41 b8 fd 01 00
00 mov r8d, 509 ; 000001fdH
00037 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0003e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00045 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0004b 33 c0 xor eax, eax
$LN5@glfwGetGam:
; 510 :
; 511 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0004d 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00054 75 10 jne SHORT $LN2@glfwGetGam
00056 33 d2 xor edx, edx
00058 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0005d e8 00 00 00 00 call _glfwInputError
00062 33 c0 xor eax, eax
00064 eb 3b jmp SHORT $LN1@glfwGetGam
$LN2@glfwGetGam:
; 512 :
; 513 : _glfwFreeGammaArrays(&monitor->currentRamp);
00066 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0006a 48 05 e0 00 00
00 add rax, 224 ; 000000e0H
00070 48 8b c8 mov rcx, rax
00073 e8 00 00 00 00 call _glfwFreeGammaArrays
; 514 : if (!_glfw.platform.getGammaRamp(monitor, &monitor->currentRamp))
00078 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0007c 48 05 e0 00 00
00 add rax, 224 ; 000000e0H
00082 48 8b d0 mov rdx, rax
00085 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
00089 ff 15 00 01 00
00 call QWORD PTR _glfw+256
0008f 85 c0 test eax, eax
00091 75 04 jne SHORT $LN3@glfwGetGam
; 515 : return NULL;
00093 33 c0 xor eax, eax
00095 eb 0a jmp SHORT $LN1@glfwGetGam
$LN3@glfwGetGam:
; 516 :
; 517 : return &monitor->currentRamp;
00097 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0009b 48 05 e0 00 00
00 add rax, 224 ; 000000e0H
$LN1@glfwGetGam:
; 518 : }
000a1 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000a8 5f pop rdi
000a9 5d pop rbp
000aa c3 ret 0
glfwGetGammaRamp ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwSetGamma
_TEXT SEGMENT
i$ = 4
values$ = 40
ramp$ = 72
original$ = 136
value$4 = 164
__$ArrayPad$ = 376
handle$ = 416
gamma$ = 424
glfwSetGamma PROC ; COMDAT
; 460 : {
$LN13:
00000 f3 0f 11 4c 24
10 movss DWORD PTR [rsp+16], xmm1
00006 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000b 55 push rbp
0000c 57 push rdi
0000d 48 81 ec a8 01
00 00 sub rsp, 424 ; 000001a8H
00014 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00019 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
0001e b9 32 00 00 00 mov ecx, 50 ; 00000032H
00023 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00028 f3 ab rep stosd
0002a 48 8b 8c 24 c8
01 00 00 mov rcx, QWORD PTR [rsp+456]
00032 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00039 48 33 c5 xor rax, rbp
0003c 48 89 85 78 01
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
00043 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0004a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 461 : unsigned int i;
; 462 : unsigned short* values;
; 463 : GLFWgammaramp ramp;
; 464 : const GLFWgammaramp* original;
; 465 : assert(handle != NULL);
0004f 48 83 bd a0 01
00 00 00 cmp QWORD PTR handle$[rbp], 0
00057 75 1c jne SHORT $LN10@glfwSetGam
00059 41 b8 d1 01 00
00 mov r8d, 465 ; 000001d1H
0005f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00066 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BO@IDEJILBK@?$AAh?$AAa?$AAn?$AAd?$AAl?$AAe?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0006d ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00073 33 c0 xor eax, eax
$LN10@glfwSetGam:
; 466 : assert(gamma > 0.f);
00075 f3 0f 10 85 a8
01 00 00 movss xmm0, DWORD PTR gamma$[rbp]
0007d 0f 2f 05 00 00
00 00 comiss xmm0, DWORD PTR __real@00000000
00084 77 1c ja SHORT $LN11@glfwSetGam
00086 41 b8 d2 01 00
00 mov r8d, 466 ; 000001d2H
0008c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00093 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BI@CDMODPEI@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DO?$AA?5?$AA0?$AA?4?$AAf@
0009a ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000a0 33 c0 xor eax, eax
$LN11@glfwSetGam:
; 467 : assert(gamma <= FLT_MAX);
000a2 f3 0f 10 05 00
00 00 00 movss xmm0, DWORD PTR __real@7f7fffff
000aa 0f 2f 85 a8 01
00 00 comiss xmm0, DWORD PTR gamma$[rbp]
000b1 73 1c jae SHORT $LN12@glfwSetGam
000b3 41 b8 d3 01 00
00 mov r8d, 467 ; 000001d3H
000b9 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
000c0 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CC@OBLOCDMG@?$AAg?$AAa?$AAm?$AAm?$AAa?$AA?5?$AA?$DM?$AA?$DN?$AA?5?$AAF?$AAL?$AAT?$AA_?$AAM?$AAA@
000c7 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
000cd 33 c0 xor eax, eax
$LN12@glfwSetGam:
; 468 :
; 469 : _GLFW_REQUIRE_INIT();
000cf 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
000d6 75 11 jne SHORT $LN5@glfwSetGam
000d8 33 d2 xor edx, edx
000da b9 01 00 01 00 mov ecx, 65537 ; 00010001H
000df e8 00 00 00 00 call _glfwInputError
000e4 e9 89 01 00 00 jmp $LN1@glfwSetGam
$LN5@glfwSetGam:
; 470 :
; 471 : if (gamma != gamma || gamma <= 0.f || gamma > FLT_MAX)
000e9 f3 0f 10 85 a8
01 00 00 movss xmm0, DWORD PTR gamma$[rbp]
000f1 0f 2e 85 a8 01
00 00 ucomiss xmm0, DWORD PTR gamma$[rbp]
000f8 7a 1f jp SHORT $LN7@glfwSetGam
000fa 75 1d jne SHORT $LN7@glfwSetGam
000fc 0f 57 c0 xorps xmm0, xmm0
000ff 0f 2f 85 a8 01
00 00 comiss xmm0, DWORD PTR gamma$[rbp]
00106 73 11 jae SHORT $LN7@glfwSetGam
00108 f3 0f 10 85 a8
01 00 00 movss xmm0, DWORD PTR gamma$[rbp]
00110 0f 2f 05 00 00
00 00 comiss xmm0, DWORD PTR __real@7f7fffff
00117 76 26 jbe SHORT $LN6@glfwSetGam
$LN7@glfwSetGam:
; 472 : {
; 473 : _glfwInputError(GLFW_INVALID_VALUE, "Invalid gamma value %f", gamma);
00119 f3 0f 5a 85 a8
01 00 00 cvtss2sd xmm0, DWORD PTR gamma$[rbp]
00121 0f 28 d0 movaps xmm2, xmm0
00124 66 49 0f 7e d0 movq r8, xmm2
00129 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@BAPIEFAH@Invalid?5gamma?5value?5?$CFf@
00130 b9 04 00 01 00 mov ecx, 65540 ; 00010004H
00135 e8 00 00 00 00 call _glfwInputError
; 474 : return;
0013a e9 33 01 00 00 jmp $LN1@glfwSetGam
$LN6@glfwSetGam:
; 475 : }
; 476 :
; 477 : original = glfwGetGammaRamp(handle);
0013f 48 8b 8d a0 01
00 00 mov rcx, QWORD PTR handle$[rbp]
00146 e8 00 00 00 00 call glfwGetGammaRamp
0014b 48 89 85 88 00
00 00 mov QWORD PTR original$[rbp], rax
; 478 : if (!original)
00152 48 83 bd 88 00
00 00 00 cmp QWORD PTR original$[rbp], 0
0015a 75 05 jne SHORT $LN8@glfwSetGam
; 479 : return;
0015c e9 11 01 00 00 jmp $LN1@glfwSetGam
$LN8@glfwSetGam:
; 480 :
; 481 : values = _glfw_calloc(original->size, sizeof(unsigned short));
00161 48 8b 85 88 00
00 00 mov rax, QWORD PTR original$[rbp]
00168 8b 40 18 mov eax, DWORD PTR [rax+24]
0016b ba 02 00 00 00 mov edx, 2
00170 8b c8 mov ecx, eax
00172 e8 00 00 00 00 call _glfw_calloc
00177 48 89 45 28 mov QWORD PTR values$[rbp], rax
; 482 :
; 483 : for (i = 0; i < original->size; i++)
0017b c7 45 04 00 00
00 00 mov DWORD PTR i$[rbp], 0
00182 eb 08 jmp SHORT $LN4@glfwSetGam
$LN2@glfwSetGam:
00184 8b 45 04 mov eax, DWORD PTR i$[rbp]
00187 ff c0 inc eax
00189 89 45 04 mov DWORD PTR i$[rbp], eax
$LN4@glfwSetGam:
0018c 48 8b 85 88 00
00 00 mov rax, QWORD PTR original$[rbp]
00193 8b 40 18 mov eax, DWORD PTR [rax+24]
00196 39 45 04 cmp DWORD PTR i$[rbp], eax
00199 0f 83 95 00 00
00 jae $LN3@glfwSetGam
; 484 : {
; 485 : float value;
; 486 :
; 487 : // Calculate intensity
; 488 : value = i / (float) (original->size - 1);
0019f 8b 45 04 mov eax, DWORD PTR i$[rbp]
001a2 f3 48 0f 2a c0 cvtsi2ss xmm0, rax
001a7 48 8b 85 88 00
00 00 mov rax, QWORD PTR original$[rbp]
001ae 8b 40 18 mov eax, DWORD PTR [rax+24]
001b1 ff c8 dec eax
001b3 8b c0 mov eax, eax
001b5 f3 48 0f 2a c8 cvtsi2ss xmm1, rax
001ba f3 0f 5e c1 divss xmm0, xmm1
001be f3 0f 11 85 a4
00 00 00 movss DWORD PTR value$4[rbp], xmm0
; 489 : // Apply gamma curve
; 490 : value = powf(value, 1.f / gamma) * 65535.f + 0.5f;
001c6 f3 0f 10 05 00
00 00 00 movss xmm0, DWORD PTR __real@3f800000
001ce f3 0f 5e 85 a8
01 00 00 divss xmm0, DWORD PTR gamma$[rbp]
001d6 0f 28 c8 movaps xmm1, xmm0
001d9 f3 0f 10 85 a4
00 00 00 movss xmm0, DWORD PTR value$4[rbp]
001e1 ff 15 00 00 00
00 call QWORD PTR __imp_powf
001e7 f3 0f 59 05 00
00 00 00 mulss xmm0, DWORD PTR __real@477fff00
001ef f3 0f 58 05 00
00 00 00 addss xmm0, DWORD PTR __real@3f000000
001f7 f3 0f 11 85 a4
00 00 00 movss DWORD PTR value$4[rbp], xmm0
; 491 : // Clamp to value range
; 492 : value = _glfw_fminf(value, 65535.f);
001ff f3 0f 10 0d 00
00 00 00 movss xmm1, DWORD PTR __real@477fff00
00207 f3 0f 10 85 a4
00 00 00 movss xmm0, DWORD PTR value$4[rbp]
0020f e8 00 00 00 00 call _glfw_fminf
00214 f3 0f 11 85 a4
00 00 00 movss DWORD PTR value$4[rbp], xmm0
; 493 :
; 494 : values[i] = (unsigned short) value;
0021c f3 0f 2c 85 a4
00 00 00 cvttss2si eax, DWORD PTR value$4[rbp]
00224 8b 4d 04 mov ecx, DWORD PTR i$[rbp]
00227 48 8b 55 28 mov rdx, QWORD PTR values$[rbp]
0022b 66 89 04 4a mov WORD PTR [rdx+rcx*2], ax
; 495 : }
0022f e9 50 ff ff ff jmp $LN2@glfwSetGam
$LN3@glfwSetGam:
; 496 :
; 497 : ramp.red = values;
00234 48 8b 45 28 mov rax, QWORD PTR values$[rbp]
00238 48 89 45 48 mov QWORD PTR ramp$[rbp], rax
; 498 : ramp.green = values;
0023c 48 8b 45 28 mov rax, QWORD PTR values$[rbp]
00240 48 89 45 50 mov QWORD PTR ramp$[rbp+8], rax
; 499 : ramp.blue = values;
00244 48 8b 45 28 mov rax, QWORD PTR values$[rbp]
00248 48 89 45 58 mov QWORD PTR ramp$[rbp+16], rax
; 500 : ramp.size = original->size;
0024c 48 8b 85 88 00
00 00 mov rax, QWORD PTR original$[rbp]
00253 8b 40 18 mov eax, DWORD PTR [rax+24]
00256 89 45 60 mov DWORD PTR ramp$[rbp+24], eax
; 501 :
; 502 : glfwSetGammaRamp(handle, &ramp);
00259 48 8d 55 48 lea rdx, QWORD PTR ramp$[rbp]
0025d 48 8b 8d a0 01
00 00 mov rcx, QWORD PTR handle$[rbp]
00264 e8 00 00 00 00 call glfwSetGammaRamp
; 503 : _glfw_free(values);
00269 48 8b 4d 28 mov rcx, QWORD PTR values$[rbp]
0026d e8 00 00 00 00 call _glfw_free
$LN1@glfwSetGam:
; 504 : }
00272 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
00276 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:glfwSetGamma$rtcFrameData
0027d e8 00 00 00 00 call _RTC_CheckStackVars
00282 48 8b 8d 78 01
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
00289 48 33 cd xor rcx, rbp
0028c e8 00 00 00 00 call __security_check_cookie
00291 48 8d a5 88 01
00 00 lea rsp, QWORD PTR [rbp+392]
00298 5f pop rdi
00299 5d pop rbp
0029a c3 ret 0
glfwSetGamma ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetVideoMode
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
glfwGetVideoMode PROC ; COMDAT
; 449 : {
$LN5:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 450 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
0001f 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00026 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 451 : assert(monitor != NULL);
0002a 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
0002f 75 1c jne SHORT $LN4@glfwGetVid
00031 41 b8 c3 01 00
00 mov r8d, 451 ; 000001c3H
00037 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0003e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00045 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0004b 33 c0 xor eax, eax
$LN4@glfwGetVid:
; 452 :
; 453 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0004d 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00054 75 10 jne SHORT $LN2@glfwGetVid
00056 33 d2 xor edx, edx
00058 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0005d e8 00 00 00 00 call _glfwInputError
00062 33 c0 xor eax, eax
00064 eb 21 jmp SHORT $LN1@glfwGetVid
$LN2@glfwGetVid:
; 454 :
; 455 : _glfw.platform.getVideoMode(monitor, &monitor->currentMode);
00066 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0006a 48 05 a4 00 00
00 add rax, 164 ; 000000a4H
00070 48 8b d0 mov rdx, rax
00073 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
00077 ff 15 f8 00 00
00 call QWORD PTR _glfw+248
; 456 : return &monitor->currentMode;
0007d 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
00081 48 05 a4 00 00
00 add rax, 164 ; 000000a4H
$LN1@glfwGetVid:
; 457 : }
00087 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
0008e 5f pop rdi
0008f 5d pop rbp
00090 c3 ret 0
glfwGetVideoMode ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetVideoModes
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
count$ = 264
glfwGetVideoModes PROC ; COMDAT
; 432 : {
$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 08 01
00 00 sub rsp, 264 ; 00000108H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 433 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00024 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
0002b 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 434 : assert(monitor != NULL);
0002f 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00034 75 1c jne SHORT $LN5@glfwGetVid
00036 41 b8 b2 01 00
00 mov r8d, 434 ; 000001b2H
0003c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00043 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004a ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00050 33 c0 xor eax, eax
$LN5@glfwGetVid:
; 435 : assert(count != NULL);
00052 48 83 bd 08 01
00 00 00 cmp QWORD PTR count$[rbp], 0
0005a 75 1c jne SHORT $LN6@glfwGetVid
0005c 41 b8 b3 01 00
00 mov r8d, 435 ; 000001b3H
00062 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00069 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BM@HDJLENFO@?$AAc?$AAo?$AAu?$AAn?$AAt?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00070 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00076 33 c0 xor eax, eax
$LN6@glfwGetVid:
; 436 :
; 437 : *count = 0;
00078 48 8b 85 08 01
00 00 mov rax, QWORD PTR count$[rbp]
0007f c7 00 00 00 00
00 mov DWORD PTR [rax], 0
; 438 :
; 439 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
00085 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
0008c 75 10 jne SHORT $LN2@glfwGetVid
0008e 33 d2 xor edx, edx
00090 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00095 e8 00 00 00 00 call _glfwInputError
0009a 33 c0 xor eax, eax
0009c eb 2f jmp SHORT $LN1@glfwGetVid
$LN2@glfwGetVid:
; 440 :
; 441 : if (!refreshVideoModes(monitor))
0009e 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000a2 e8 00 00 00 00 call refreshVideoModes
000a7 85 c0 test eax, eax
000a9 75 04 jne SHORT $LN3@glfwGetVid
; 442 : return NULL;
000ab 33 c0 xor eax, eax
000ad eb 1e jmp SHORT $LN1@glfwGetVid
$LN3@glfwGetVid:
; 443 :
; 444 : *count = monitor->modeCount;
000af 48 8b 85 08 01
00 00 mov rax, QWORD PTR count$[rbp]
000b6 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000ba 8b 89 a0 00 00
00 mov ecx, DWORD PTR [rcx+160]
000c0 89 08 mov DWORD PTR [rax], ecx
; 445 : return monitor->modes;
000c2 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
000c6 48 8b 80 98 00
00 00 mov rax, QWORD PTR [rax+152]
$LN1@glfwGetVid:
; 446 : }
000cd 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000d4 5f pop rdi
000d5 5d pop rbp
000d6 c3 ret 0
glfwGetVideoModes ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwSetMonitorCallback
_TEXT SEGMENT
t$1 = 8
cbfun$ = 256
glfwSetMonitorCallback PROC ; COMDAT
; 425 : {
$LN4:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 426 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0001f 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00026 75 10 jne SHORT $LN2@glfwSetMon
00028 33 d2 xor edx, edx
0002a b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0002f e8 00 00 00 00 call _glfwInputError
00034 33 c0 xor eax, eax
00036 eb 2b jmp SHORT $LN1@glfwSetMon
$LN2@glfwSetMon:
; 427 : _GLFW_SWAP(GLFWmonitorfun, _glfw.callbacks.monitor, cbfun);
00038 48 8b 05 68 1b
00 00 mov rax, QWORD PTR _glfw+7016
0003f 48 89 45 08 mov QWORD PTR t$1[rbp], rax
00043 48 8b 85 00 01
00 00 mov rax, QWORD PTR cbfun$[rbp]
0004a 48 89 05 68 1b
00 00 mov QWORD PTR _glfw+7016, rax
00051 48 8b 45 08 mov rax, QWORD PTR t$1[rbp]
00055 48 89 85 00 01
00 00 mov QWORD PTR cbfun$[rbp], rax
; 428 : return cbfun;
0005c 48 8b 85 00 01
00 00 mov rax, QWORD PTR cbfun$[rbp]
$LN1@glfwSetMon:
; 429 : }
00063 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
0006a 5f pop rdi
0006b 5d pop rbp
0006c c3 ret 0
glfwSetMonitorCallback ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorUserPointer
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
glfwGetMonitorUserPointer PROC ; COMDAT
; 416 : {
$LN5:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 417 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
0001f 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00026 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 418 : assert(monitor != NULL);
0002a 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
0002f 75 1c jne SHORT $LN4@glfwGetMon
00031 41 b8 a2 01 00
00 mov r8d, 418 ; 000001a2H
00037 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0003e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00045 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0004b 33 c0 xor eax, eax
$LN4@glfwGetMon:
; 419 :
; 420 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0004d 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00054 75 10 jne SHORT $LN2@glfwGetMon
00056 33 d2 xor edx, edx
00058 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0005d e8 00 00 00 00 call _glfwInputError
00062 33 c0 xor eax, eax
00064 eb 0b jmp SHORT $LN1@glfwGetMon
$LN2@glfwGetMon:
; 421 : return monitor->userPointer;
00066 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0006a 48 8b 80 80 00
00 00 mov rax, QWORD PTR [rax+128]
$LN1@glfwGetMon:
; 422 : }
00071 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00078 5f pop rdi
00079 5d pop rbp
0007a c3 ret 0
glfwGetMonitorUserPointer ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwSetMonitorUserPointer
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
pointer$ = 264
glfwSetMonitorUserPointer PROC ; COMDAT
; 407 : {
$LN5:
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 08 01
00 00 sub rsp, 264 ; 00000108H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 408 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00024 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
0002b 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 409 : assert(monitor != NULL);
0002f 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00034 75 1c jne SHORT $LN4@glfwSetMon
00036 41 b8 99 01 00
00 mov r8d, 409 ; 00000199H
0003c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00043 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004a ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00050 33 c0 xor eax, eax
$LN4@glfwSetMon:
; 410 :
; 411 : _GLFW_REQUIRE_INIT();
00052 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00059 75 0e jne SHORT $LN2@glfwSetMon
0005b 33 d2 xor edx, edx
0005d b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00062 e8 00 00 00 00 call _glfwInputError
00067 eb 12 jmp SHORT $LN1@glfwSetMon
$LN2@glfwSetMon:
; 412 : monitor->userPointer = pointer;
00069 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
0006d 48 8b 8d 08 01
00 00 mov rcx, QWORD PTR pointer$[rbp]
00074 48 89 88 80 00
00 00 mov QWORD PTR [rax+128], rcx
$LN1@glfwSetMon:
; 413 : }
0007b 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00082 5f pop rdi
00083 5d pop rbp
00084 c3 ret 0
glfwSetMonitorUserPointer ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorName
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
glfwGetMonitorName PROC ; COMDAT
; 398 : {
$LN5:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 399 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
0001f 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00026 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 400 : assert(monitor != NULL);
0002a 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
0002f 75 1c jne SHORT $LN4@glfwGetMon
00031 41 b8 90 01 00
00 mov r8d, 400 ; 00000190H
00037 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0003e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00045 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0004b 33 c0 xor eax, eax
$LN4@glfwGetMon:
; 401 :
; 402 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0004d 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00054 75 10 jne SHORT $LN2@glfwGetMon
00056 33 d2 xor edx, edx
00058 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0005d e8 00 00 00 00 call _glfwInputError
00062 33 c0 xor eax, eax
00064 eb 04 jmp SHORT $LN1@glfwGetMon
$LN2@glfwGetMon:
; 403 : return monitor->name;
00066 48 8b 45 08 mov rax, QWORD PTR monitor$[rbp]
$LN1@glfwGetMon:
; 404 : }
0006a 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00071 5f pop rdi
00072 5d pop rbp
00073 c3 ret 0
glfwGetMonitorName ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorContentScale
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
xscale$ = 264
yscale$ = 272
glfwGetMonitorContentScale PROC ; COMDAT
; 384 : {
$LN7:
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 08 01
00 00 sub rsp, 264 ; 00000108H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 385 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00029 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00030 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 386 : assert(monitor != NULL);
00034 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00039 75 1c jne SHORT $LN6@glfwGetMon
0003b 41 b8 82 01 00
00 mov r8d, 386 ; 00000182H
00041 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00048 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004f ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00055 33 c0 xor eax, eax
$LN6@glfwGetMon:
; 387 :
; 388 : if (xscale)
00057 48 83 bd 08 01
00 00 00 cmp QWORD PTR xscale$[rbp], 0
0005f 74 0e je SHORT $LN2@glfwGetMon
; 389 : *xscale = 0.f;
00061 48 8b 85 08 01
00 00 mov rax, QWORD PTR xscale$[rbp]
00068 0f 57 c0 xorps xmm0, xmm0
0006b f3 0f 11 00 movss DWORD PTR [rax], xmm0
$LN2@glfwGetMon:
; 390 : if (yscale)
0006f 48 83 bd 10 01
00 00 00 cmp QWORD PTR yscale$[rbp], 0
00077 74 0e je SHORT $LN3@glfwGetMon
; 391 : *yscale = 0.f;
00079 48 8b 85 10 01
00 00 mov rax, QWORD PTR yscale$[rbp]
00080 0f 57 c0 xorps xmm0, xmm0
00083 f3 0f 11 00 movss DWORD PTR [rax], xmm0
$LN3@glfwGetMon:
; 392 :
; 393 : _GLFW_REQUIRE_INIT();
00087 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
0008e 75 0e jne SHORT $LN4@glfwGetMon
00090 33 d2 xor edx, edx
00092 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00097 e8 00 00 00 00 call _glfwInputError
0009c eb 18 jmp SHORT $LN1@glfwGetMon
$LN4@glfwGetMon:
; 394 : _glfw.platform.getMonitorContentScale(monitor, xscale, yscale);
0009e 4c 8b 85 10 01
00 00 mov r8, QWORD PTR yscale$[rbp]
000a5 48 8b 95 08 01
00 00 mov rdx, QWORD PTR xscale$[rbp]
000ac 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000b0 ff 15 e0 00 00
00 call QWORD PTR _glfw+224
$LN1@glfwGetMon:
; 395 : }
000b6 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000bd 5f pop rdi
000be 5d pop rbp
000bf c3 ret 0
glfwGetMonitorContentScale ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorPhysicalSize
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
widthMM$ = 264
heightMM$ = 272
glfwGetMonitorPhysicalSize PROC ; COMDAT
; 365 : {
$LN9:
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 08 01
00 00 sub rsp, 264 ; 00000108H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 366 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00029 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00030 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 367 : assert(monitor != NULL);
00034 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00039 75 1c jne SHORT $LN8@glfwGetMon
0003b 41 b8 6f 01 00
00 mov r8d, 367 ; 0000016fH
00041 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00048 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004f ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00055 33 c0 xor eax, eax
$LN8@glfwGetMon:
; 368 :
; 369 : if (widthMM)
00057 48 83 bd 08 01
00 00 00 cmp QWORD PTR widthMM$[rbp], 0
0005f 74 0d je SHORT $LN2@glfwGetMon
; 370 : *widthMM = 0;
00061 48 8b 85 08 01
00 00 mov rax, QWORD PTR widthMM$[rbp]
00068 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN2@glfwGetMon:
; 371 : if (heightMM)
0006e 48 83 bd 10 01
00 00 00 cmp QWORD PTR heightMM$[rbp], 0
00076 74 0d je SHORT $LN3@glfwGetMon
; 372 : *heightMM = 0;
00078 48 8b 85 10 01
00 00 mov rax, QWORD PTR heightMM$[rbp]
0007f c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN3@glfwGetMon:
; 373 :
; 374 : _GLFW_REQUIRE_INIT();
00085 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
0008c 75 0e jne SHORT $LN4@glfwGetMon
0008e 33 d2 xor edx, edx
00090 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00095 e8 00 00 00 00 call _glfwInputError
0009a eb 3a jmp SHORT $LN1@glfwGetMon
$LN4@glfwGetMon:
; 375 :
; 376 : if (widthMM)
0009c 48 83 bd 08 01
00 00 00 cmp QWORD PTR widthMM$[rbp], 0
000a4 74 13 je SHORT $LN5@glfwGetMon
; 377 : *widthMM = monitor->widthMM;
000a6 48 8b 85 08 01
00 00 mov rax, QWORD PTR widthMM$[rbp]
000ad 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000b1 8b 89 88 00 00
00 mov ecx, DWORD PTR [rcx+136]
000b7 89 08 mov DWORD PTR [rax], ecx
$LN5@glfwGetMon:
; 378 : if (heightMM)
000b9 48 83 bd 10 01
00 00 00 cmp QWORD PTR heightMM$[rbp], 0
000c1 74 13 je SHORT $LN6@glfwGetMon
; 379 : *heightMM = monitor->heightMM;
000c3 48 8b 85 10 01
00 00 mov rax, QWORD PTR heightMM$[rbp]
000ca 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000ce 8b 89 8c 00 00
00 mov ecx, DWORD PTR [rcx+140]
000d4 89 08 mov DWORD PTR [rax], ecx
$LN6@glfwGetMon:
$LN1@glfwGetMon:
; 380 : }
000d6 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000dd 5f pop rdi
000de 5d pop rbp
000df c3 ret 0
glfwGetMonitorPhysicalSize ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorWorkarea
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
xpos$ = 264
ypos$ = 272
width$ = 280
height$ = 288
glfwGetMonitorWorkarea PROC ; COMDAT
; 346 : {
$LN9:
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 57 push rdi
00016 48 81 ec 18 01
00 00 sub rsp, 280 ; 00000118H
0001d 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48]
00022 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00029 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 347 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
0002e 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00035 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 348 : assert(monitor != NULL);
00039 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
0003e 75 1c jne SHORT $LN8@glfwGetMon
00040 41 b8 5c 01 00
00 mov r8d, 348 ; 0000015cH
00046 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
0004d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
00054 ff 15 00 00 00
00 call QWORD PTR __imp__wassert
0005a 33 c0 xor eax, eax
$LN8@glfwGetMon:
; 349 :
; 350 : if (xpos)
0005c 48 83 bd 08 01
00 00 00 cmp QWORD PTR xpos$[rbp], 0
00064 74 0d je SHORT $LN2@glfwGetMon
; 351 : *xpos = 0;
00066 48 8b 85 08 01
00 00 mov rax, QWORD PTR xpos$[rbp]
0006d c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN2@glfwGetMon:
; 352 : if (ypos)
00073 48 83 bd 10 01
00 00 00 cmp QWORD PTR ypos$[rbp], 0
0007b 74 0d je SHORT $LN3@glfwGetMon
; 353 : *ypos = 0;
0007d 48 8b 85 10 01
00 00 mov rax, QWORD PTR ypos$[rbp]
00084 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN3@glfwGetMon:
; 354 : if (width)
0008a 48 83 bd 18 01
00 00 00 cmp QWORD PTR width$[rbp], 0
00092 74 0d je SHORT $LN4@glfwGetMon
; 355 : *width = 0;
00094 48 8b 85 18 01
00 00 mov rax, QWORD PTR width$[rbp]
0009b c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN4@glfwGetMon:
; 356 : if (height)
000a1 48 83 bd 20 01
00 00 00 cmp QWORD PTR height$[rbp], 0
000a9 74 0d je SHORT $LN5@glfwGetMon
; 357 : *height = 0;
000ab 48 8b 85 20 01
00 00 mov rax, QWORD PTR height$[rbp]
000b2 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN5@glfwGetMon:
; 358 :
; 359 : _GLFW_REQUIRE_INIT();
000b8 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
000bf 75 0e jne SHORT $LN6@glfwGetMon
000c1 33 d2 xor edx, edx
000c3 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
000c8 e8 00 00 00 00 call _glfwInputError
000cd eb 2b jmp SHORT $LN1@glfwGetMon
$LN6@glfwGetMon:
; 360 :
; 361 : _glfw.platform.getMonitorWorkarea(monitor, xpos, ypos, width, height);
000cf 48 8b 85 20 01
00 00 mov rax, QWORD PTR height$[rbp]
000d6 48 89 44 24 20 mov QWORD PTR [rsp+32], rax
000db 4c 8b 8d 18 01
00 00 mov r9, QWORD PTR width$[rbp]
000e2 4c 8b 85 10 01
00 00 mov r8, QWORD PTR ypos$[rbp]
000e9 48 8b 95 08 01
00 00 mov rdx, QWORD PTR xpos$[rbp]
000f0 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000f4 ff 15 e8 00 00
00 call QWORD PTR _glfw+232
$LN1@glfwGetMon:
; 362 : }
000fa 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00101 5f pop rdi
00102 5d pop rbp
00103 c3 ret 0
glfwGetMonitorWorkarea ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitorPos
_TEXT SEGMENT
monitor$ = 8
handle$ = 256
xpos$ = 264
ypos$ = 272
glfwGetMonitorPos PROC ; COMDAT
; 329 : {
$LN7:
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 08 01
00 00 sub rsp, 264 ; 00000108H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 330 : _GLFWmonitor* monitor = (_GLFWmonitor*) handle;
00029 48 8b 85 00 01
00 00 mov rax, QWORD PTR handle$[rbp]
00030 48 89 45 08 mov QWORD PTR monitor$[rbp], rax
; 331 : assert(monitor != NULL);
00034 48 83 7d 08 00 cmp QWORD PTR monitor$[rbp], 0
00039 75 1c jne SHORT $LN6@glfwGetMon
0003b 41 b8 4b 01 00
00 mov r8d, 331 ; 0000014bH
00041 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00048 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1CA@JFACLLMO@?$AAm?$AAo?$AAn?$AAi?$AAt?$AAo?$AAr?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0004f ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00055 33 c0 xor eax, eax
$LN6@glfwGetMon:
; 332 :
; 333 : if (xpos)
00057 48 83 bd 08 01
00 00 00 cmp QWORD PTR xpos$[rbp], 0
0005f 74 0d je SHORT $LN2@glfwGetMon
; 334 : *xpos = 0;
00061 48 8b 85 08 01
00 00 mov rax, QWORD PTR xpos$[rbp]
00068 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN2@glfwGetMon:
; 335 : if (ypos)
0006e 48 83 bd 10 01
00 00 00 cmp QWORD PTR ypos$[rbp], 0
00076 74 0d je SHORT $LN3@glfwGetMon
; 336 : *ypos = 0;
00078 48 8b 85 10 01
00 00 mov rax, QWORD PTR ypos$[rbp]
0007f c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN3@glfwGetMon:
; 337 :
; 338 : _GLFW_REQUIRE_INIT();
00085 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
0008c 75 0e jne SHORT $LN4@glfwGetMon
0008e 33 d2 xor edx, edx
00090 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00095 e8 00 00 00 00 call _glfwInputError
0009a eb 18 jmp SHORT $LN1@glfwGetMon
$LN4@glfwGetMon:
; 339 :
; 340 : _glfw.platform.getMonitorPos(monitor, xpos, ypos);
0009c 4c 8b 85 10 01
00 00 mov r8, QWORD PTR ypos$[rbp]
000a3 48 8b 95 08 01
00 00 mov rdx, QWORD PTR xpos$[rbp]
000aa 48 8b 4d 08 mov rcx, QWORD PTR monitor$[rbp]
000ae ff 15 d8 00 00
00 call QWORD PTR _glfw+216
$LN1@glfwGetMon:
; 341 : }
000b4 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000bb 5f pop rdi
000bc 5d pop rbp
000bd c3 ret 0
glfwGetMonitorPos ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetPrimaryMonitor
_TEXT SEGMENT
glfwGetPrimaryMonitor PROC ; COMDAT
; 319 : {
$LN5:
00000 40 55 push rbp
00002 57 push rdi
00003 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__DFDE76EA_monitor@c
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 320 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
0001b 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00022 75 10 jne SHORT $LN2@glfwGetPri
00024 33 d2 xor edx, edx
00026 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
0002b e8 00 00 00 00 call _glfwInputError
00030 33 c0 xor eax, eax
00032 eb 21 jmp SHORT $LN1@glfwGetPri
$LN2@glfwGetPri:
; 321 :
; 322 : if (!_glfw.monitorCount)
00034 83 3d 88 07 00
00 00 cmp DWORD PTR _glfw+1928, 0
0003b 75 04 jne SHORT $LN3@glfwGetPri
; 323 : return NULL;
0003d 33 c0 xor eax, eax
0003f eb 14 jmp SHORT $LN1@glfwGetPri
$LN3@glfwGetPri:
; 324 :
; 325 : return (GLFWmonitor*) _glfw.monitors[0];
00041 b8 08 00 00 00 mov eax, 8
00046 48 6b c0 00 imul rax, rax, 0
0004a 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
00051 48 8b 04 01 mov rax, QWORD PTR [rcx+rax]
$LN1@glfwGetPri:
; 326 : }
00055 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
0005c 5f pop rdi
0005d 5d pop rbp
0005e c3 ret 0
glfwGetPrimaryMonitor ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\monitor.c
; COMDAT glfwGetMonitors
_TEXT SEGMENT
count$ = 224
glfwGetMonitors PROC ; COMDAT
; 307 : {
$LN5:
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:__DFDE76EA_monitor@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 308 : assert(count != NULL);
0001f 48 83 bd e0 00
00 00 00 cmp QWORD PTR count$[rbp], 0
00027 75 1c jne SHORT $LN4@glfwGetMon
00029 41 b8 34 01 00
00 mov r8d, 308 ; 00000134H
0002f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_1LM@BGDBJOMH@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@
00036 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_1BM@HDJLENFO@?$AAc?$AAo?$AAu?$AAn?$AAt?$AA?5?$AA?$CB?$AA?$DN?$AA?5?$AAN?$AAU?$AAL?$AAL@
0003d ff 15 00 00 00
00 call QWORD PTR __imp__wassert
00043 33 c0 xor eax, eax
$LN4@glfwGetMon:
; 309 :
; 310 : *count = 0;
00045 48 8b 85 e0 00
00 00 mov rax, QWORD PTR count$[rbp]
0004c c7 00 00 00 00
00 mov DWORD PTR [rax], 0
; 311 :
; 312 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
00052 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00059 75 10 jne SHORT $LN2@glfwGetMon
0005b 33 d2 xor edx, edx
0005d b9 01 00 01 00 mov ecx, 65537 ; 00010001H
00062 e8 00 00 00 00 call _glfwInputError
00067 33 c0 xor eax, eax
00069 eb 16 jmp SHORT $LN1@glfwGetMon
$LN2@glfwGetMon:
; 313 :
; 314 : *count = _glfw.monitorCount;
0006b 48 8b 85 e0 00
00 00 mov rax, QWORD PTR count$[rbp]
00072 8b 0d 88 07 00
00 mov ecx, DWORD PTR _glfw+1928
00078 89 08 mov DWORD PTR [rax], ecx
; 315 : return (GLFWmonitor**) _glfw.monitors;
0007a 48 8b 05 80 07
00 00 mov rax, QWORD PTR _glfw+1920
$LN1@glfwGetMon:
; 316 : }
00081 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00088 5f pop rdi
00089 5d pop rbp
0008a c3 ret 0
glfwGetMonitors ENDP
_TEXT ENDS
END