Files
stgsharp/实验/contexttest/StgSharpC/x64/Release/win32_init.cod
T

3959 lines
134 KiB
Plaintext

; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
include listing.inc
INCLUDELIB OLDNAMES
PUBLIC ??_C@_0CM@IALNOPFK@Win32?3?5Failed?5to?5retrieve?5own?5m@ ; `string'
PUBLIC ??_C@_0L@GMPLCCII@user32?4dll@ ; `string'
PUBLIC ??_C@_0CB@HHJIGJHK@Win32?3?5Failed?5to?5load?5user32?4dl@ ; `string'
PUBLIC ??_C@_0BD@ENICNPLM@SetProcessDPIAware@ ; `string'
PUBLIC ??_C@_0BM@OCGPLDNC@ChangeWindowMessageFilterEx@ ; `string'
PUBLIC ??_C@_0BK@NKEDGNNN@EnableNonClientDpiScaling@ ; `string'
PUBLIC ??_C@_0BO@LHMLBOLK@SetProcessDpiAwarenessContext@ ; `string'
PUBLIC ??_C@_0BA@LGGPEDOH@GetDpiForWindow@ ; `string'
PUBLIC ??_C@_0BJ@MBAAGFCG@AdjustWindowRectExForDpi@ ; `string'
PUBLIC ??_C@_0BH@HPKNFNCE@GetSystemMetricsForDpi@ ; `string'
PUBLIC ??_C@_0M@ONOEDIJO@dinput8?4dll@ ; `string'
PUBLIC ??_C@_0BD@IJCCAMHG@DirectInput8Create@ ; `string'
PUBLIC ??_C@_0O@LNFLKCMF@xinput1_4?4dll@ ; `string'
PUBLIC ??_C@_0O@KAFOJCHN@xinput1_3?4dll@ ; `string'
PUBLIC ??_C@_0BA@GHGALGFD@xinput9_1_0?4dll@ ; `string'
PUBLIC ??_C@_0O@GLACEBNI@xinput1_2?4dll@ ; `string'
PUBLIC ??_C@_0O@ONJGDDHG@xinput1_1?4dll@ ; `string'
PUBLIC ??_C@_0BG@ELBNFOBA@XInputGetCapabilities@ ; `string'
PUBLIC ??_C@_0P@FCCEJHCC@XInputGetState@ ; `string'
PUBLIC ??_C@_0L@FACOJKPJ@dwmapi?4dll@ ; `string'
PUBLIC ??_C@_0BI@KJPLJBHH@DwmIsCompositionEnabled@ ; `string'
PUBLIC ??_C@_08PEMNBIMD@DwmFlush@ ; `string'
PUBLIC ??_C@_0BK@HMMKMEOH@DwmEnableBlurBehindWindow@ ; `string'
PUBLIC ??_C@_0BI@LDADLCB@DwmGetColorizationColor@ ; `string'
PUBLIC ??_C@_0L@DMFDIJCG@shcore?4dll@ ; `string'
PUBLIC ??_C@_0BH@DGFLCCMF@SetProcessDpiAwareness@ ; `string'
PUBLIC ??_C@_0BB@MAMHPNNC@GetDpiForMonitor@ ; `string'
PUBLIC ??_C@_09FLKFJBLM@ntdll?4dll@ ; `string'
PUBLIC ??_C@_0BF@LOGLPPDD@RtlVerifyVersionInfo@ ; `string'
PUBLIC ??_C@_1BK@OPNBOCAD@?$AAG?$AAL?$AAF?$AAW?$AA3?$AA?5?$AAH?$AAe?$AAl?$AAp?$AAe?$AAr@ ; `string'
PUBLIC ??_C@_0CO@CNHHHABN@Win32?3?5Failed?5to?5register?5helpe@ ; `string'
PUBLIC ??_C@_1CI@MPNNJFCJ@?$AAG?$AAL?$AAF?$AAW?$AA?5?$AAm?$AAe?$AAs?$AAs?$AAa?$AAg?$AAe?$AA?5?$AAw?$AAi@ ; `string'
PUBLIC ??_C@_0CG@LDJIJKNI@Win32?3?5Failed?5to?5create?5helper?5@ ; `string'
PUBLIC ??_C@_0CL@JEJIBJNG@Win32?3?5Failed?5to?5convert?5string@ ; `string'
PUBLIC ??_C@_0CJ@EFIFNOJC@Win32?3?5Failed?5to?5convert?5string@ ; `string'
PUBLIC ??_C@_11LOCGONAA@@ ; `string'
PUBLIC ??_C@_06DJHOIPC@?$CFs?3?5?$CFs@ ; `string'
EXTRN __imp_DefWindowProcW:PROC
EXTRN __imp_MapVirtualKeyW:PROC
EXTRN __imp_DestroyWindow:PROC
EXTRN __imp_WideCharToMultiByte:PROC
EXTRN __imp_CreateWindowExW:PROC
EXTRN __imp_VerSetConditionMask:PROC
EXTRN __imp_UnregisterClassW:PROC
EXTRN __imp_RegisterClassExW:PROC
EXTRN __imp_ShowWindow:PROC
EXTRN __imp_RegisterDeviceNotificationW:PROC
EXTRN __imp_DispatchMessageW:PROC
EXTRN __imp_PeekMessageW:PROC
EXTRN __imp_FormatMessageW:PROC
EXTRN __imp_MultiByteToWideChar:PROC
EXTRN __imp_TranslateMessage:PROC
EXTRN __imp_ToUnicode:PROC
EXTRN __imp_GetModuleHandleExW:PROC
EXTRN __imp_UnregisterDeviceNotification:PROC
; COMDAT ??_C@_06DJHOIPC@?$CFs?3?5?$CFs@
CONST SEGMENT
??_C@_06DJHOIPC@?$CFs?3?5?$CFs@ DB '%s: %s', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_11LOCGONAA@@
CONST SEGMENT
??_C@_11LOCGONAA@@ DB 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@EFIFNOJC@Win32?3?5Failed?5to?5convert?5string@
CONST SEGMENT
??_C@_0CJ@EFIFNOJC@Win32?3?5Failed?5to?5convert?5string@ DB 'Win32: Faile'
DB 'd to convert string to UTF-8', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CL@JEJIBJNG@Win32?3?5Failed?5to?5convert?5string@
CONST SEGMENT
??_C@_0CL@JEJIBJNG@Win32?3?5Failed?5to?5convert?5string@ DB 'Win32: Faile'
DB 'd to convert string from UTF-8', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@LDJIJKNI@Win32?3?5Failed?5to?5create?5helper?5@
CONST SEGMENT
??_C@_0CG@LDJIJKNI@Win32?3?5Failed?5to?5create?5helper?5@ DB 'Win32: Fail'
DB 'ed to create helper window', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CI@MPNNJFCJ@?$AAG?$AAL?$AAF?$AAW?$AA?5?$AAm?$AAe?$AAs?$AAs?$AAa?$AAg?$AAe?$AA?5?$AAw?$AAi@
CONST SEGMENT
??_C@_1CI@MPNNJFCJ@?$AAG?$AAL?$AAF?$AAW?$AA?5?$AAm?$AAe?$AAs?$AAs?$AAa?$AAg?$AAe?$AA?5?$AAw?$AAi@ DB 'G'
DB 00H, 'L', 00H, 'F', 00H, 'W', 00H, ' ', 00H, 'm', 00H, 'e', 00H
DB 's', 00H, 's', 00H, 'a', 00H, 'g', 00H, 'e', 00H, ' ', 00H, 'w'
DB 00H, 'i', 00H, 'n', 00H, 'd', 00H, 'o', 00H, 'w', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CO@CNHHHABN@Win32?3?5Failed?5to?5register?5helpe@
CONST SEGMENT
??_C@_0CO@CNHHHABN@Win32?3?5Failed?5to?5register?5helpe@ DB 'Win32: Faile'
DB 'd to register helper window class', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1BK@OPNBOCAD@?$AAG?$AAL?$AAF?$AAW?$AA3?$AA?5?$AAH?$AAe?$AAl?$AAp?$AAe?$AAr@
CONST SEGMENT
??_C@_1BK@OPNBOCAD@?$AAG?$AAL?$AAF?$AAW?$AA3?$AA?5?$AAH?$AAe?$AAl?$AAp?$AAe?$AAr@ DB 'G'
DB 00H, 'L', 00H, 'F', 00H, 'W', 00H, '3', 00H, ' ', 00H, 'H', 00H
DB 'e', 00H, 'l', 00H, 'p', 00H, 'e', 00H, 'r', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BF@LOGLPPDD@RtlVerifyVersionInfo@
CONST SEGMENT
??_C@_0BF@LOGLPPDD@RtlVerifyVersionInfo@ DB 'RtlVerifyVersionInfo', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_09FLKFJBLM@ntdll?4dll@
CONST SEGMENT
??_C@_09FLKFJBLM@ntdll?4dll@ DB 'ntdll.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BB@MAMHPNNC@GetDpiForMonitor@
CONST SEGMENT
??_C@_0BB@MAMHPNNC@GetDpiForMonitor@ DB 'GetDpiForMonitor', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@DGFLCCMF@SetProcessDpiAwareness@
CONST SEGMENT
??_C@_0BH@DGFLCCMF@SetProcessDpiAwareness@ DB 'SetProcessDpiAwareness', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@DMFDIJCG@shcore?4dll@
CONST SEGMENT
??_C@_0L@DMFDIJCG@shcore?4dll@ DB 'shcore.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@LDADLCB@DwmGetColorizationColor@
CONST SEGMENT
??_C@_0BI@LDADLCB@DwmGetColorizationColor@ DB 'DwmGetColorizationColor', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@HMMKMEOH@DwmEnableBlurBehindWindow@
CONST SEGMENT
??_C@_0BK@HMMKMEOH@DwmEnableBlurBehindWindow@ DB 'DwmEnableBlurBehindWind'
DB 'ow', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_08PEMNBIMD@DwmFlush@
CONST SEGMENT
??_C@_08PEMNBIMD@DwmFlush@ DB 'DwmFlush', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BI@KJPLJBHH@DwmIsCompositionEnabled@
CONST SEGMENT
??_C@_0BI@KJPLJBHH@DwmIsCompositionEnabled@ DB 'DwmIsCompositionEnabled', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@FACOJKPJ@dwmapi?4dll@
CONST SEGMENT
??_C@_0L@FACOJKPJ@dwmapi?4dll@ DB 'dwmapi.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0P@FCCEJHCC@XInputGetState@
CONST SEGMENT
??_C@_0P@FCCEJHCC@XInputGetState@ DB 'XInputGetState', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BG@ELBNFOBA@XInputGetCapabilities@
CONST SEGMENT
??_C@_0BG@ELBNFOBA@XInputGetCapabilities@ DB 'XInputGetCapabilities', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@ONJGDDHG@xinput1_1?4dll@
CONST SEGMENT
??_C@_0O@ONJGDDHG@xinput1_1?4dll@ DB 'xinput1_1.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@GLACEBNI@xinput1_2?4dll@
CONST SEGMENT
??_C@_0O@GLACEBNI@xinput1_2?4dll@ DB 'xinput1_2.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@GHGALGFD@xinput9_1_0?4dll@
CONST SEGMENT
??_C@_0BA@GHGALGFD@xinput9_1_0?4dll@ DB 'xinput9_1_0.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@KAFOJCHN@xinput1_3?4dll@
CONST SEGMENT
??_C@_0O@KAFOJCHN@xinput1_3?4dll@ DB 'xinput1_3.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@LNFLKCMF@xinput1_4?4dll@
CONST SEGMENT
??_C@_0O@LNFLKCMF@xinput1_4?4dll@ DB 'xinput1_4.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@IJCCAMHG@DirectInput8Create@
CONST SEGMENT
??_C@_0BD@IJCCAMHG@DirectInput8Create@ DB 'DirectInput8Create', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0M@ONOEDIJO@dinput8?4dll@
CONST SEGMENT
??_C@_0M@ONOEDIJO@dinput8?4dll@ DB 'dinput8.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BH@HPKNFNCE@GetSystemMetricsForDpi@
CONST SEGMENT
??_C@_0BH@HPKNFNCE@GetSystemMetricsForDpi@ DB 'GetSystemMetricsForDpi', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@MBAAGFCG@AdjustWindowRectExForDpi@
CONST SEGMENT
??_C@_0BJ@MBAAGFCG@AdjustWindowRectExForDpi@ DB 'AdjustWindowRectExForDpi'
DB 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BA@LGGPEDOH@GetDpiForWindow@
CONST SEGMENT
??_C@_0BA@LGGPEDOH@GetDpiForWindow@ DB 'GetDpiForWindow', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BO@LHMLBOLK@SetProcessDpiAwarenessContext@
CONST SEGMENT
??_C@_0BO@LHMLBOLK@SetProcessDpiAwarenessContext@ DB 'SetProcessDpiAwaren'
DB 'essContext', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@NKEDGNNN@EnableNonClientDpiScaling@
CONST SEGMENT
??_C@_0BK@NKEDGNNN@EnableNonClientDpiScaling@ DB 'EnableNonClientDpiScali'
DB 'ng', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@OCGPLDNC@ChangeWindowMessageFilterEx@
CONST SEGMENT
??_C@_0BM@OCGPLDNC@ChangeWindowMessageFilterEx@ DB 'ChangeWindowMessageFi'
DB 'lterEx', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BD@ENICNPLM@SetProcessDPIAware@
CONST SEGMENT
??_C@_0BD@ENICNPLM@SetProcessDPIAware@ DB 'SetProcessDPIAware', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@HHJIGJHK@Win32?3?5Failed?5to?5load?5user32?4dl@
CONST SEGMENT
??_C@_0CB@HHJIGJHK@Win32?3?5Failed?5to?5load?5user32?4dl@ DB 'Win32: Fail'
DB 'ed to load user32.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0L@GMPLCCII@user32?4dll@
CONST SEGMENT
??_C@_0L@GMPLCCII@user32?4dll@ DB 'user32.dll', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@IALNOPFK@Win32?3?5Failed?5to?5retrieve?5own?5m@
CONST SEGMENT
??_C@_0CM@IALNOPFK@Win32?3?5Failed?5to?5retrieve?5own?5m@ DB 'Win32: Fail'
DB 'ed to retrieve own module handle', 00H ; `string'
_glfw_GUID_DEVINTERFACE_HID DD 04d1e55b2H
DW 0f16fH
DW 011cfH
DB 088H
DB 0cbH
DB 00H
DB 011H
DB 011H
DB 00H
DB 00H
DB 030H
PUBLIC _glfwTerminateWin32
PUBLIC _glfwInitWin32
PUBLIC _glfwIsWindows10BuildOrGreaterWin32
PUBLIC _glfwUpdateKeyNamesWin32
PUBLIC _glfwCreateUTF8FromWideStringWin32
PUBLIC _glfwCreateWideStringFromUTF8Win32
PUBLIC _glfwIsWindowsVersionOrGreaterWin32
PUBLIC _glfwInputErrorWin32
PUBLIC _glfwConnectWin32
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwTerminateWin32 DD imagerel $LN50
DD imagerel $LN50+367
DD imagerel $unwind$_glfwTerminateWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwInitWin32 DD imagerel $LN31
DD imagerel $LN31+610
DD imagerel $unwind$_glfwInitWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwIsWindows10BuildOrGreaterWin32 DD imagerel $LN4
DD imagerel $LN4+164
DD imagerel $unwind$_glfwIsWindows10BuildOrGreaterWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwUpdateKeyNamesWin32 DD imagerel $LN22
DD imagerel $LN22+520
DD imagerel $unwind$_glfwUpdateKeyNamesWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwCreateUTF8FromWideStringWin32 DD imagerel $LN21
DD imagerel $LN21+271
DD imagerel $unwind$_glfwCreateUTF8FromWideStringWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwCreateWideStringFromUTF8Win32 DD imagerel $LN22
DD imagerel $LN22+132
DD imagerel $unwind$_glfwCreateWideStringFromUTF8Win32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$_glfwCreateWideStringFromUTF8Win32 DD imagerel $LN22+132
DD imagerel $LN22+190
DD imagerel $chain$0$_glfwCreateWideStringFromUTF8Win32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$1$_glfwCreateWideStringFromUTF8Win32 DD imagerel $LN22+190
DD imagerel $LN22+300
DD imagerel $chain$1$_glfwCreateWideStringFromUTF8Win32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$createHelperWindow DD imagerel createHelperWindow
DD imagerel createHelperWindow+538
DD imagerel $unwind$createHelperWindow
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$helperWindowProc DD imagerel helperWindowProc
DD imagerel helperWindowProc+148
DD imagerel $unwind$helperWindowProc
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$1$helperWindowProc DD imagerel helperWindowProc+148
DD imagerel helperWindowProc+382
DD imagerel $chain$1$helperWindowProc
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$2$helperWindowProc DD imagerel helperWindowProc+382
DD imagerel helperWindowProc+433
DD imagerel $chain$2$helperWindowProc
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$createKeyTables DD imagerel createKeyTables
DD imagerel createKeyTables+757
DD imagerel $unwind$createKeyTables
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$freeLibraries DD imagerel freeLibraries
DD imagerel freeLibraries+122
DD imagerel $unwind$freeLibraries
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$loadLibraries DD imagerel loadLibraries
DD imagerel loadLibraries+113
DD imagerel $unwind$loadLibraries
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$loadLibraries DD imagerel loadLibraries+113
DD imagerel loadLibraries+532
DD imagerel $chain$0$loadLibraries
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$1$loadLibraries DD imagerel loadLibraries+532
DD imagerel loadLibraries+769
DD imagerel $chain$1$loadLibraries
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwIsWindowsVersionOrGreaterWin32 DD imagerel $LN4
DD imagerel $LN4+198
DD imagerel $unwind$_glfwIsWindowsVersionOrGreaterWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwInputErrorWin32 DD imagerel $LN4
DD imagerel $LN4+262
DD imagerel $unwind$_glfwInputErrorWin32
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwConnectWin32 DD imagerel $LN5
DD imagerel $LN5+1037
DD imagerel $unwind$_glfwConnectWin32
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwConnectWin32 DD 031101H
DD 0480111H
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwInputErrorWin32 DD 072419H
DD 018f6412H
DD 018e3412H
DD 018a0112H
DD 0700bH
DD imagerel __GSHandlerCheck
DD 0c40H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwIsWindowsVersionOrGreaterWin32 DD 031b19H
DD 02a0109H
DD 03002H
DD imagerel __GSHandlerCheck
DD 0140H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$1$loadLibraries DD 021H
DD imagerel loadLibraries
DD imagerel loadLibraries+113
DD imagerel $unwind$loadLibraries
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$0$loadLibraries DD 020521H
DD 0a3405H
DD imagerel loadLibraries
DD imagerel loadLibraries+113
DD imagerel $unwind$loadLibraries
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$loadLibraries DD 010401H
DD 0a204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$freeLibraries DD 010401H
DD 04204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$createKeyTables DD 040a01H
DD 06340aH
DD 07006320aH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$2$helperWindowProc DD 021H
DD imagerel helperWindowProc
DD imagerel helperWindowProc+148
DD imagerel $unwind$helperWindowProc
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$1$helperWindowProc DD 041721H
DD 013f417H
DD 0143408H
DD imagerel helperWindowProc
DD imagerel helperWindowProc+148
DD imagerel $unwind$helperWindowProc
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$helperWindowProc DD 061f19H
DD 015010dH
DD 07004e006H
DD 050026003H
DD imagerel __GSHandlerCheck
DD 080H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$createHelperWindow DD 04d719H
DD 02234d7H
DD 023010aH
DD imagerel __GSHandlerCheck
DD 0100H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$1$_glfwCreateWideStringFromUTF8Win32 DD 021H
DD imagerel $LN22
DD imagerel $LN22+132
DD imagerel $unwind$_glfwCreateWideStringFromUTF8Win32
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$0$_glfwCreateWideStringFromUTF8Win32 DD 020521H
DD 086405H
DD imagerel $LN22
DD imagerel $LN22+132
DD imagerel $unwind$_glfwCreateWideStringFromUTF8Win32
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwCreateWideStringFromUTF8Win32 DD 060f01H
DD 0a540fH
DD 09340fH
DD 0700b520fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwCreateUTF8FromWideStringWin32 DD 087401H
DD 0a3474H
DD 0c640fH
DD 0b540fH
DD 0700b720fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwUpdateKeyNamesWin32 DD 0d6419H
DD 03a7464H
DD 03d641cH
DD 03c541cH
DD 03b341cH
DD 036011cH
DD 0e013f015H
DD 0c011H
DD imagerel __GSHandlerCheck
DD 01a0H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwIsWindows10BuildOrGreaterWin32 DD 031b19H
DD 02a0109H
DD 03002H
DD imagerel __GSHandlerCheck
DD 0140H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwInitWin32 DD 031b19H
DD 0220109H
DD 03002H
DD imagerel __GSHandlerCheck
DD 0100H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwTerminateWin32 DD 010401H
DD 04204H
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwConnectWin32
_TEXT SEGMENT
win32$ = 0
platformID$ = 592
platform$ = 600
_glfwConnectWin32 PROC ; COMDAT
; 599 : {
$LN5:
00000 40 55 push rbp
00002 48 8d ac 24 c0
fe ff ff lea rbp, QWORD PTR [rsp-320]
0000a 48 81 ec 40 02
00 00 sub rsp, 576 ; 00000240H
; 600 : const _GLFWplatform win32 =
00011 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwInitWin32
00018 c7 04 24 01 00
06 00 mov DWORD PTR win32$[rsp], 393217 ; 00060001H
0001f 48 89 44 24 08 mov QWORD PTR win32$[rsp+8], rax
00024 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwTerminateWin32
0002b 48 89 44 24 10 mov QWORD PTR win32$[rsp+16], rax
00030 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetCursorPosWin32
00037 48 89 44 24 18 mov QWORD PTR win32$[rsp+24], rax
0003c 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetCursorPosWin32
00043 48 89 44 24 20 mov QWORD PTR win32$[rsp+32], rax
00048 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetCursorModeWin32
0004f 48 89 44 24 28 mov QWORD PTR win32$[rsp+40], rax
00054 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetRawMouseMotionWin32
0005b 48 89 44 24 30 mov QWORD PTR win32$[rsp+48], rax
00060 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwRawMouseMotionSupportedWin32
00067 48 89 44 24 38 mov QWORD PTR win32$[rsp+56], rax
0006c 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwCreateCursorWin32
00073 48 89 44 24 40 mov QWORD PTR win32$[rsp+64], rax
00078 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwCreateStandardCursorWin32
0007f 48 89 44 24 48 mov QWORD PTR win32$[rsp+72], rax
00084 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwDestroyCursorWin32
0008b 48 89 44 24 50 mov QWORD PTR win32$[rsp+80], rax
00090 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetCursorWin32
00097 48 89 44 24 58 mov QWORD PTR win32$[rsp+88], rax
0009c 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetScancodeNameWin32
000a3 48 89 44 24 60 mov QWORD PTR win32$[rsp+96], rax
000a8 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetKeyScancodeWin32
000af 48 89 44 24 68 mov QWORD PTR win32$[rsp+104], rax
000b4 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetClipboardStringWin32
000bb 48 89 44 24 70 mov QWORD PTR win32$[rsp+112], rax
000c0 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetClipboardStringWin32
000c7 48 89 44 24 78 mov QWORD PTR win32$[rsp+120], rax
000cc 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwInitJoysticksWin32
000d3 48 89 45 80 mov QWORD PTR win32$[rbp-128], rax
000d7 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwTerminateJoysticksWin32
000de 48 89 45 88 mov QWORD PTR win32$[rbp-120], rax
000e2 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwPollJoystickWin32
000e9 48 89 45 90 mov QWORD PTR win32$[rbp-112], rax
000ed 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetMappingNameWin32
000f4 48 89 45 98 mov QWORD PTR win32$[rbp-104], rax
000f8 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwUpdateGamepadGUIDWin32
000ff 48 89 45 a0 mov QWORD PTR win32$[rbp-96], rax
00103 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwFreeMonitorWin32
0010a 48 89 45 a8 mov QWORD PTR win32$[rbp-88], rax
0010e 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetMonitorPosWin32
00115 48 89 45 b0 mov QWORD PTR win32$[rbp-80], rax
00119 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetMonitorContentScaleWin32
00120 48 89 45 b8 mov QWORD PTR win32$[rbp-72], rax
00124 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetMonitorWorkareaWin32
0012b 48 89 45 c0 mov QWORD PTR win32$[rbp-64], rax
0012f 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetVideoModesWin32
00136 48 89 45 c8 mov QWORD PTR win32$[rbp-56], rax
0013a 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetVideoModeWin32
00141 48 89 45 d0 mov QWORD PTR win32$[rbp-48], rax
00145 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetGammaRampWin32
0014c 48 89 45 d8 mov QWORD PTR win32$[rbp-40], rax
00150 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetGammaRampWin32
00157 48 89 45 e0 mov QWORD PTR win32$[rbp-32], rax
0015b 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwCreateWindowWin32
00162 48 89 45 e8 mov QWORD PTR win32$[rbp-24], rax
00166 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwDestroyWindowWin32
0016d 48 89 45 f0 mov QWORD PTR win32$[rbp-16], rax
00171 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowTitleWin32
00178 48 89 45 f8 mov QWORD PTR win32$[rbp-8], rax
0017c 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowIconWin32
00183 48 89 45 00 mov QWORD PTR win32$[rbp], rax
00187 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetWindowPosWin32
0018e 48 89 45 08 mov QWORD PTR win32$[rbp+8], rax
00192 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowPosWin32
00199 48 89 45 10 mov QWORD PTR win32$[rbp+16], rax
0019d 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetWindowSizeWin32
001a4 48 89 45 18 mov QWORD PTR win32$[rbp+24], rax
001a8 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowSizeWin32
001af 48 89 45 20 mov QWORD PTR win32$[rbp+32], rax
001b3 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowSizeLimitsWin32
001ba 48 89 45 28 mov QWORD PTR win32$[rbp+40], rax
001be 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowAspectRatioWin32
001c5 48 89 45 30 mov QWORD PTR win32$[rbp+48], rax
001c9 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetFramebufferSizeWin32
001d0 48 89 45 38 mov QWORD PTR win32$[rbp+56], rax
001d4 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetWindowFrameSizeWin32
001db 48 89 45 40 mov QWORD PTR win32$[rbp+64], rax
001df 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetWindowContentScaleWin32
; 601 : {
; 602 : GLFW_PLATFORM_WIN32,
; 603 : _glfwInitWin32,
; 604 : _glfwTerminateWin32,
; 605 : _glfwGetCursorPosWin32,
; 606 : _glfwSetCursorPosWin32,
; 607 : _glfwSetCursorModeWin32,
; 608 : _glfwSetRawMouseMotionWin32,
; 609 : _glfwRawMouseMotionSupportedWin32,
; 610 : _glfwCreateCursorWin32,
; 611 : _glfwCreateStandardCursorWin32,
; 612 : _glfwDestroyCursorWin32,
; 613 : _glfwSetCursorWin32,
; 614 : _glfwGetScancodeNameWin32,
; 615 : _glfwGetKeyScancodeWin32,
; 616 : _glfwSetClipboardStringWin32,
; 617 : _glfwGetClipboardStringWin32,
; 618 : _glfwInitJoysticksWin32,
; 619 : _glfwTerminateJoysticksWin32,
; 620 : _glfwPollJoystickWin32,
; 621 : _glfwGetMappingNameWin32,
; 622 : _glfwUpdateGamepadGUIDWin32,
; 623 : _glfwFreeMonitorWin32,
; 624 : _glfwGetMonitorPosWin32,
; 625 : _glfwGetMonitorContentScaleWin32,
; 626 : _glfwGetMonitorWorkareaWin32,
; 627 : _glfwGetVideoModesWin32,
; 628 : _glfwGetVideoModeWin32,
; 629 : _glfwGetGammaRampWin32,
; 630 : _glfwSetGammaRampWin32,
; 631 : _glfwCreateWindowWin32,
; 632 : _glfwDestroyWindowWin32,
; 633 : _glfwSetWindowTitleWin32,
; 634 : _glfwSetWindowIconWin32,
; 635 : _glfwGetWindowPosWin32,
; 636 : _glfwSetWindowPosWin32,
; 637 : _glfwGetWindowSizeWin32,
; 638 : _glfwSetWindowSizeWin32,
; 639 : _glfwSetWindowSizeLimitsWin32,
; 640 : _glfwSetWindowAspectRatioWin32,
; 641 : _glfwGetFramebufferSizeWin32,
; 642 : _glfwGetWindowFrameSizeWin32,
; 643 : _glfwGetWindowContentScaleWin32,
; 644 : _glfwIconifyWindowWin32,
; 645 : _glfwRestoreWindowWin32,
; 646 : _glfwMaximizeWindowWin32,
; 647 : _glfwShowWindowWin32,
; 648 : _glfwHideWindowWin32,
; 649 : _glfwRequestWindowAttentionWin32,
; 650 : _glfwFocusWindowWin32,
; 651 : _glfwSetWindowMonitorWin32,
; 652 : _glfwWindowFocusedWin32,
; 653 : _glfwWindowIconifiedWin32,
; 654 : _glfwWindowVisibleWin32,
; 655 : _glfwWindowMaximizedWin32,
; 656 : _glfwWindowHoveredWin32,
; 657 : _glfwFramebufferTransparentWin32,
; 658 : _glfwGetWindowOpacityWin32,
; 659 : _glfwSetWindowResizableWin32,
; 660 : _glfwSetWindowDecoratedWin32,
; 661 : _glfwSetWindowFloatingWin32,
; 662 : _glfwSetWindowOpacityWin32,
; 663 : _glfwSetWindowMousePassthroughWin32,
; 664 : _glfwPollEventsWin32,
; 665 : _glfwWaitEventsWin32,
; 666 : _glfwWaitEventsTimeoutWin32,
; 667 : _glfwPostEmptyEventWin32,
; 668 : _glfwGetEGLPlatformWin32,
; 669 : _glfwGetEGLNativeDisplayWin32,
; 670 : _glfwGetEGLNativeWindowWin32,
; 671 : _glfwGetRequiredInstanceExtensionsWin32,
; 672 : _glfwGetPhysicalDevicePresentationSupportWin32,
; 673 : _glfwCreateWindowSurfaceWin32,
; 674 : };
; 675 :
; 676 : *platform = win32;
001e6 b9 04 00 00 00 mov ecx, 4
001eb 48 89 45 48 mov QWORD PTR win32$[rbp+72], rax
001ef 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwIconifyWindowWin32
001f6 48 89 45 50 mov QWORD PTR win32$[rbp+80], rax
001fa 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwRestoreWindowWin32
00201 48 89 45 58 mov QWORD PTR win32$[rbp+88], rax
00205 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwMaximizeWindowWin32
0020c 48 89 45 60 mov QWORD PTR win32$[rbp+96], rax
00210 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwShowWindowWin32
00217 48 89 45 68 mov QWORD PTR win32$[rbp+104], rax
0021b 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwHideWindowWin32
00222 48 89 45 70 mov QWORD PTR win32$[rbp+112], rax
00226 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwRequestWindowAttentionWin32
0022d 48 89 45 78 mov QWORD PTR win32$[rbp+120], rax
00231 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwFocusWindowWin32
00238 48 89 85 80 00
00 00 mov QWORD PTR win32$[rbp+128], rax
0023f 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowMonitorWin32
00246 48 89 85 88 00
00 00 mov QWORD PTR win32$[rbp+136], rax
0024d 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWindowFocusedWin32
00254 48 89 85 90 00
00 00 mov QWORD PTR win32$[rbp+144], rax
0025b 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWindowIconifiedWin32
00262 48 89 85 98 00
00 00 mov QWORD PTR win32$[rbp+152], rax
00269 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWindowVisibleWin32
00270 48 89 85 a0 00
00 00 mov QWORD PTR win32$[rbp+160], rax
00277 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWindowMaximizedWin32
0027e 48 89 85 a8 00
00 00 mov QWORD PTR win32$[rbp+168], rax
00285 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWindowHoveredWin32
0028c 48 89 85 b0 00
00 00 mov QWORD PTR win32$[rbp+176], rax
00293 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwFramebufferTransparentWin32
0029a 48 89 85 b8 00
00 00 mov QWORD PTR win32$[rbp+184], rax
002a1 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetWindowOpacityWin32
002a8 48 89 85 c0 00
00 00 mov QWORD PTR win32$[rbp+192], rax
002af 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowResizableWin32
002b6 48 89 85 c8 00
00 00 mov QWORD PTR win32$[rbp+200], rax
002bd 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowDecoratedWin32
002c4 48 89 85 d0 00
00 00 mov QWORD PTR win32$[rbp+208], rax
002cb 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowFloatingWin32
002d2 48 89 85 d8 00
00 00 mov QWORD PTR win32$[rbp+216], rax
002d9 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowOpacityWin32
002e0 48 89 85 e0 00
00 00 mov QWORD PTR win32$[rbp+224], rax
002e7 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwSetWindowMousePassthroughWin32
002ee 48 89 85 e8 00
00 00 mov QWORD PTR win32$[rbp+232], rax
002f5 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwPollEventsWin32
002fc 48 89 85 f0 00
00 00 mov QWORD PTR win32$[rbp+240], rax
00303 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWaitEventsWin32
0030a 48 89 85 f8 00
00 00 mov QWORD PTR win32$[rbp+248], rax
00311 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwWaitEventsTimeoutWin32
00318 48 89 85 00 01
00 00 mov QWORD PTR win32$[rbp+256], rax
0031f 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwPostEmptyEventWin32
00326 48 89 85 08 01
00 00 mov QWORD PTR win32$[rbp+264], rax
0032d 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetEGLPlatformWin32
00334 48 89 85 10 01
00 00 mov QWORD PTR win32$[rbp+272], rax
0033b 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetEGLNativeDisplayWin32
00342 48 89 85 18 01
00 00 mov QWORD PTR win32$[rbp+280], rax
00349 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetEGLNativeWindowWin32
00350 48 89 85 20 01
00 00 mov QWORD PTR win32$[rbp+288], rax
00357 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetRequiredInstanceExtensionsWin32
0035e 48 89 85 28 01
00 00 mov QWORD PTR win32$[rbp+296], rax
00365 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwGetPhysicalDevicePresentationSupportWin32
0036c 48 89 85 30 01
00 00 mov QWORD PTR win32$[rbp+304], rax
00373 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwCreateWindowSurfaceWin32
0037a 48 89 85 38 01
00 00 mov QWORD PTR win32$[rbp+312], rax
00381 48 8d 04 24 lea rax, QWORD PTR win32$[rsp]
00385 66 66 66 0f 1f
84 00 00 00 00
00 npad 11
$LL3@glfwConnec:
00390 48 8d 92 80 00
00 00 lea rdx, QWORD PTR [rdx+128]
00397 0f 10 00 movups xmm0, XMMWORD PTR [rax]
0039a 0f 10 48 10 movups xmm1, XMMWORD PTR [rax+16]
0039e 48 8d 80 80 00
00 00 lea rax, QWORD PTR [rax+128]
003a5 0f 11 42 80 movups XMMWORD PTR [rdx-128], xmm0
003a9 0f 10 40 a0 movups xmm0, XMMWORD PTR [rax-96]
003ad 0f 11 4a 90 movups XMMWORD PTR [rdx-112], xmm1
003b1 0f 10 48 b0 movups xmm1, XMMWORD PTR [rax-80]
003b5 0f 11 42 a0 movups XMMWORD PTR [rdx-96], xmm0
003b9 0f 10 40 c0 movups xmm0, XMMWORD PTR [rax-64]
003bd 0f 11 4a b0 movups XMMWORD PTR [rdx-80], xmm1
003c1 0f 10 48 d0 movups xmm1, XMMWORD PTR [rax-48]
003c5 0f 11 42 c0 movups XMMWORD PTR [rdx-64], xmm0
003c9 0f 10 40 e0 movups xmm0, XMMWORD PTR [rax-32]
003cd 0f 11 4a d0 movups XMMWORD PTR [rdx-48], xmm1
003d1 0f 10 48 f0 movups xmm1, XMMWORD PTR [rax-16]
003d5 0f 11 42 e0 movups XMMWORD PTR [rdx-32], xmm0
003d9 0f 11 4a f0 movups XMMWORD PTR [rdx-16], xmm1
003dd 48 83 e9 01 sub rcx, 1
003e1 75 ad jne SHORT $LL3@glfwConnec
003e3 0f 10 00 movups xmm0, XMMWORD PTR [rax]
003e6 0f 10 48 10 movups xmm1, XMMWORD PTR [rax+16]
003ea 0f 11 02 movups XMMWORD PTR [rdx], xmm0
003ed 0f 10 40 20 movups xmm0, XMMWORD PTR [rax+32]
003f1 0f 11 4a 10 movups XMMWORD PTR [rdx+16], xmm1
003f5 0f 10 48 30 movups xmm1, XMMWORD PTR [rax+48]
; 677 : return GLFW_TRUE;
003f9 8d 41 01 lea eax, QWORD PTR [rcx+1]
003fc 0f 11 42 20 movups XMMWORD PTR [rdx+32], xmm0
00400 0f 11 4a 30 movups XMMWORD PTR [rdx+48], xmm1
; 678 : }
00404 48 81 c4 40 02
00 00 add rsp, 576 ; 00000240H
0040b 5d pop rbp
0040c c3 ret 0
_glfwConnectWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwInputErrorWin32
_TEXT SEGMENT
message$ = 64
buffer$ = 1088
__$ArrayPad$ = 3136
error$ = 3168
description$ = 3176
_glfwInputErrorWin32 PROC ; COMDAT
; 493 : {
$LN4:
00000 48 89 5c 24 18 mov QWORD PTR [rsp+24], rbx
00005 48 89 74 24 20 mov QWORD PTR [rsp+32], rsi
0000a 57 push rdi
0000b 48 81 ec 50 0c
00 00 sub rsp, 3152 ; 00000c50H
00012 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00019 48 33 c4 xor rax, rsp
0001c 48 89 84 24 40
0c 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
00024 48 8b da mov rbx, rdx
00027 8b f9 mov edi, ecx
; 494 : WCHAR buffer[_GLFW_MESSAGE_SIZE] = L"";
00029 33 f6 xor esi, esi
0002b 48 8d 8c 24 42
04 00 00 lea rcx, QWORD PTR buffer$[rsp+2]
00033 33 d2 xor edx, edx
00035 66 89 b4 24 40
04 00 00 mov WORD PTR buffer$[rsp], si
0003d 41 b8 fe 07 00
00 mov r8d, 2046 ; 000007feH
00043 e8 00 00 00 00 call memset
; 495 : char message[_GLFW_MESSAGE_SIZE] = "";
00048 33 d2 xor edx, edx
0004a 40 88 74 24 40 mov BYTE PTR message$[rsp], sil
0004f 41 b8 ff 03 00
00 mov r8d, 1023 ; 000003ffH
00055 48 8d 4c 24 41 lea rcx, QWORD PTR message$[rsp+1]
0005a e8 00 00 00 00 call memset
; 496 :
; 497 : FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM |
0005f ff 15 00 00 00
00 call QWORD PTR __imp_GetLastError
00065 48 89 74 24 30 mov QWORD PTR [rsp+48], rsi
0006a 33 d2 xor edx, edx
0006c 44 0f b7 c0 movzx r8d, ax
00070 41 b9 00 04 00
00 mov r9d, 1024 ; 00000400H
00076 48 8d 84 24 40
04 00 00 lea rax, QWORD PTR buffer$[rsp]
0007e c7 44 24 28 00
04 00 00 mov DWORD PTR [rsp+40], 1024 ; 00000400H
00086 b9 ff 12 00 00 mov ecx, 4863 ; 000012ffH
0008b 48 89 44 24 20 mov QWORD PTR [rsp+32], rax
00090 ff 15 00 00 00
00 call QWORD PTR __imp_FormatMessageW
; 498 : FORMAT_MESSAGE_IGNORE_INSERTS |
; 499 : FORMAT_MESSAGE_MAX_WIDTH_MASK,
; 500 : NULL,
; 501 : GetLastError() & 0xffff,
; 502 : MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
; 503 : buffer,
; 504 : sizeof(buffer) / sizeof(WCHAR),
; 505 : NULL);
; 506 : WideCharToMultiByte(CP_UTF8, 0, buffer, -1, message, sizeof(message), NULL, NULL);
00096 48 89 74 24 38 mov QWORD PTR [rsp+56], rsi
0009b 48 8d 44 24 40 lea rax, QWORD PTR message$[rsp]
000a0 48 89 74 24 30 mov QWORD PTR [rsp+48], rsi
000a5 44 8d 4e ff lea r9d, QWORD PTR [rsi-1]
000a9 c7 44 24 28 00
04 00 00 mov DWORD PTR [rsp+40], 1024 ; 00000400H
000b1 4c 8d 84 24 40
04 00 00 lea r8, QWORD PTR buffer$[rsp]
000b9 33 d2 xor edx, edx
000bb 48 89 44 24 20 mov QWORD PTR [rsp+32], rax
000c0 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
000c5 ff 15 00 00 00
00 call QWORD PTR __imp_WideCharToMultiByte
; 507 :
; 508 : _glfwInputError(error, "%s: %s", description, message);
000cb 4c 8d 4c 24 40 lea r9, QWORD PTR message$[rsp]
000d0 4c 8b c3 mov r8, rbx
000d3 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_06DJHOIPC@?$CFs?3?5?$CFs@
000da 8b cf mov ecx, edi
000dc e8 00 00 00 00 call _glfwInputError
; 509 : }
000e1 48 8b 8c 24 40
0c 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
000e9 48 33 cc xor rcx, rsp
000ec e8 00 00 00 00 call __security_check_cookie
000f1 4c 8d 9c 24 50
0c 00 00 lea r11, QWORD PTR [rsp+3152]
000f9 49 8b 5b 20 mov rbx, QWORD PTR [r11+32]
000fd 49 8b 73 28 mov rsi, QWORD PTR [r11+40]
00101 49 8b e3 mov rsp, r11
00104 5f pop rdi
00105 c3 ret 0
_glfwInputErrorWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwIsWindowsVersionOrGreaterWin32
_TEXT SEGMENT
osvi$ = 32
__$ArrayPad$ = 320
major$dead$ = 352
minor$ = 360
sp$dead$ = 368
_glfwIsWindowsVersionOrGreaterWin32 PROC ; COMDAT
; 571 : {
$LN4:
00000 40 53 push rbx
00002 48 81 ec 50 01
00 00 sub rsp, 336 ; 00000150H
00009 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00010 48 33 c4 xor rax, rsp
00013 48 89 84 24 40
01 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
; 572 : OSVERSIONINFOEXW osvi = { sizeof(osvi), major, minor, 0, 0, {0}, sp };
0001b 0f b7 c2 movzx eax, dx
0001e 48 8d 4c 24 36 lea rcx, QWORD PTR osvi$[rsp+22]
00023 33 db xor ebx, ebx
00025 89 44 24 28 mov DWORD PTR osvi$[rsp+8], eax
00029 33 d2 xor edx, edx
0002b 48 89 5c 24 2c mov QWORD PTR osvi$[rsp+12], rbx
00030 41 b8 fe 00 00
00 mov r8d, 254 ; 000000feH
00036 66 89 5c 24 34 mov WORD PTR osvi$[rsp+20], bx
0003b c7 44 24 20 1c
01 00 00 mov DWORD PTR osvi$[rsp], 284 ; 0000011cH
00043 c7 44 24 24 06
00 00 00 mov DWORD PTR osvi$[rsp+4], 6
0004b e8 00 00 00 00 call memset
00050 33 c0 xor eax, eax
00052 66 89 9c 24 34
01 00 00 mov WORD PTR osvi$[rsp+276], bx
; 573 : DWORD mask = VER_MAJORVERSION | VER_MINORVERSION | VER_SERVICEPACKMAJOR;
; 574 : ULONGLONG cond = VerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL);
0005a 41 b0 03 mov r8b, 3
0005d 89 84 24 36 01
00 00 mov DWORD PTR osvi$[rsp+278], eax
00064 8d 53 02 lea edx, QWORD PTR [rbx+2]
00067 66 89 84 24 3a
01 00 00 mov WORD PTR osvi$[rsp+282], ax
0006f 33 c9 xor ecx, ecx
00071 ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 575 : cond = VerSetConditionMask(cond, VER_MINORVERSION, VER_GREATER_EQUAL);
00077 41 b0 03 mov r8b, 3
0007a 8d 53 01 lea edx, QWORD PTR [rbx+1]
0007d 48 8b c8 mov rcx, rax
00080 ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 576 : cond = VerSetConditionMask(cond, VER_SERVICEPACKMAJOR, VER_GREATER_EQUAL);
00086 41 b0 03 mov r8b, 3
00089 8d 53 20 lea edx, QWORD PTR [rbx+32]
0008c 48 8b c8 mov rcx, rax
0008f ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 577 : // HACK: Use RtlVerifyVersionInfo instead of VerifyVersionInfoW as the
; 578 : // latter lies unless the user knew to embed a non-default manifest
; 579 : // announcing support for Windows 10 via supportedOS GUID
; 580 : return RtlVerifyVersionInfo(&osvi, mask, cond) == 0;
00095 4c 8b c0 mov r8, rax
00098 8d 53 23 lea edx, QWORD PTR [rbx+35]
0009b 48 8d 4c 24 20 lea rcx, QWORD PTR osvi$[rsp]
000a0 ff 15 20 2a 00
00 call QWORD PTR _glfw+10784
000a6 85 c0 test eax, eax
000a8 0f 94 c3 sete bl
000ab 8b c3 mov eax, ebx
; 581 : }
000ad 48 8b 8c 24 40
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
000b5 48 33 cc xor rcx, rsp
000b8 e8 00 00 00 00 call __security_check_cookie
000bd 48 81 c4 50 01
00 00 add rsp, 336 ; 00000150H
000c4 5b pop rbx
000c5 c3 ret 0
_glfwIsWindowsVersionOrGreaterWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT loadLibraries
_TEXT SEGMENT
names$1 = 32
loadLibraries PROC ; COMDAT
; 69 : {
00000 48 83 ec 58 sub rsp, 88 ; 00000058H
; 70 : if (!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS |
00004 4c 8d 05 78 1b
00 00 lea r8, OFFSET FLAT:_glfw+7032
0000b b9 06 00 00 00 mov ecx, 6
00010 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:_glfw
00017 ff 15 00 00 00
00 call QWORD PTR __imp_GetModuleHandleExW
0001d 85 c0 test eax, eax
0001f 75 18 jne SHORT $LN5@loadLibrar
; 71 : GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
; 72 : (const WCHAR*)&_glfw,
; 73 : (HMODULE*)&_glfw.win32.instance))
; 74 : {
; 75 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
00021 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CM@IALNOPFK@Win32?3?5Failed?5to?5retrieve?5own?5m@
00028 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
0002d e8 00 00 00 00 call _glfwInputErrorWin32
; 76 : "Win32: Failed to retrieve own module handle");
; 77 : return GLFW_FALSE;
00032 33 c0 xor eax, eax
; 167 : }
00034 48 83 c4 58 add rsp, 88 ; 00000058H
00038 c3 ret 0
$LN5@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 39 : return LoadLibraryA(path);
00039 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0L@GMPLCCII@user32?4dll@
00040 ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 80 : _glfw.win32.user32.instance = _glfwPlatformLoadModule("user32.dll");
00046 48 89 05 98 29
00 00 mov QWORD PTR _glfw+10648, rax
0004d 48 85 c0 test rax, rax
; 81 : if (!_glfw.win32.user32.instance)
00050 75 18 jne SHORT $LN6@loadLibrar
; 82 : {
; 83 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
00052 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CB@HHJIGJHK@Win32?3?5Failed?5to?5load?5user32?4dl@
00059 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
0005e e8 00 00 00 00 call _glfwInputErrorWin32
; 84 : "Win32: Failed to load user32.dll");
; 85 : return GLFW_FALSE;
00063 33 c0 xor eax, eax
; 167 : }
00065 48 83 c4 58 add rsp, 88 ; 00000058H
00069 c3 ret 0
$LN6@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
0006a 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BD@ENICNPLM@SetProcessDPIAware@
00071 48 89 5c 24 50 mov QWORD PTR [rsp+80], rbx
00076 48 8b c8 mov rcx, rax
00079 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
0007f 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
00086 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BM@OCGPLDNC@ChangeWindowMessageFilterEx@
0008d 48 89 05 a0 29
00 00 mov QWORD PTR _glfw+10656, rax
00094 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
0009a 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
000a1 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BK@NKEDGNNN@EnableNonClientDpiScaling@
000a8 48 89 05 a8 29
00 00 mov QWORD PTR _glfw+10664, rax
000af ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
000b5 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
000bc 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BO@LHMLBOLK@SetProcessDpiAwarenessContext@
000c3 48 89 05 b0 29
00 00 mov QWORD PTR _glfw+10672, rax
000ca ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
000d0 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
000d7 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BA@LGGPEDOH@GetDpiForWindow@
000de 48 89 05 b8 29
00 00 mov QWORD PTR _glfw+10680, rax
000e5 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
000eb 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
000f2 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@MBAAGFCG@AdjustWindowRectExForDpi@
000f9 48 89 05 c0 29
00 00 mov QWORD PTR _glfw+10688, rax
00100 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
00106 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
0010d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@HPKNFNCE@GetSystemMetricsForDpi@
00114 48 89 05 c8 29
00 00 mov QWORD PTR _glfw+10696, rax
0011b ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
; 39 : return LoadLibraryA(path);
00121 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0M@ONOEDIJO@dinput8?4dll@
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
00128 48 89 05 d0 29
00 00 mov QWORD PTR _glfw+10704, rax
; 39 : return LoadLibraryA(path);
0012f ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 103 : _glfw.win32.dinput8.instance = _glfwPlatformLoadModule("dinput8.dll");
00135 48 89 05 68 29
00 00 mov QWORD PTR _glfw+10600, rax
0013c 48 85 c0 test rax, rax
; 104 : if (_glfw.win32.dinput8.instance)
0013f 74 17 je SHORT $LN7@loadLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
00141 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BD@IJCCAMHG@DirectInput8Create@
00148 48 8b c8 mov rcx, rax
0014b ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
00151 48 89 05 70 29
00 00 mov QWORD PTR _glfw+10608, rax
$LN7@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 112 : const char* names[] =
00158 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0O@KAFOJCHN@xinput1_3?4dll@
0015f 33 db xor ebx, ebx
00161 48 89 4c 24 28 mov QWORD PTR names$1[rsp+8], rcx
00166 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:??_C@_0O@LNFLKCMF@xinput1_4?4dll@
0016d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0BA@GHGALGFD@xinput9_1_0?4dll@
00174 48 89 44 24 20 mov QWORD PTR names$1[rsp], rax
00179 48 89 4c 24 30 mov QWORD PTR names$1[rsp+16], rcx
0017e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0O@GLACEBNI@xinput1_2?4dll@
00185 48 89 4c 24 38 mov QWORD PTR names$1[rsp+24], rcx
0018a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0O@ONJGDDHG@xinput1_1?4dll@
00191 48 89 4c 24 40 mov QWORD PTR names$1[rsp+32], rcx
00196 48 89 5c 24 48 mov QWORD PTR names$1[rsp+40], rbx
0019b 0f 1f 44 00 00 npad 5
$LL4@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 39 : return LoadLibraryA(path);
001a0 48 8b c8 mov rcx, rax
001a3 ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 124 : _glfw.win32.xinput.instance = _glfwPlatformLoadModule(names[i]);
001a9 48 89 05 80 29
00 00 mov QWORD PTR _glfw+10624, rax
001b0 48 85 c0 test rax, rax
; 125 : if (_glfw.win32.xinput.instance)
001b3 75 0f jne SHORT $LN60@loadLibrar
; 113 : {
; 114 : "xinput1_4.dll",
; 115 : "xinput1_3.dll",
; 116 : "xinput9_1_0.dll",
; 117 : "xinput1_2.dll",
; 118 : "xinput1_1.dll",
; 119 : NULL
; 120 : };
; 121 :
; 122 : for (i = 0; names[i]; i++)
001b5 48 8b 44 dc 28 mov rax, QWORD PTR names$1[rsp+rbx*8+8]
001ba 48 ff c3 inc rbx
001bd 48 85 c0 test rax, rax
001c0 75 de jne SHORT $LL4@loadLibrar
; 125 : if (_glfw.win32.xinput.instance)
001c2 eb 32 jmp SHORT $LN3@loadLibrar
$LN60@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
001c4 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BG@ELBNFOBA@XInputGetCapabilities@
001cb 48 8b c8 mov rcx, rax
001ce ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
001d4 48 8b 0d 80 29
00 00 mov rcx, QWORD PTR _glfw+10624
001db 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0P@FCCEJHCC@XInputGetState@
001e2 48 89 05 88 29
00 00 mov QWORD PTR _glfw+10632, rax
001e9 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
001ef 48 89 05 90 29
00 00 mov QWORD PTR _glfw+10640, rax
$LN3@loadLibrar:
; 39 : return LoadLibraryA(path);
001f6 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0L@FACOJKPJ@dwmapi?4dll@
001fd ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 137 : _glfw.win32.dwmapi.instance = _glfwPlatformLoadModule("dwmapi.dll");
00203 48 8b 5c 24 50 mov rbx, QWORD PTR [rsp+80]
00208 48 89 05 d8 29
00 00 mov QWORD PTR _glfw+10712, rax
0020f 48 85 c0 test rax, rax
; 138 : if (_glfw.win32.dwmapi.instance)
00212 74 68 je SHORT $LN9@loadLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
00214 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BI@KJPLJBHH@DwmIsCompositionEnabled@
0021b 48 8b c8 mov rcx, rax
0021e ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
00224 48 8b 0d d8 29
00 00 mov rcx, QWORD PTR _glfw+10712
0022b 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_08PEMNBIMD@DwmFlush@
00232 48 89 05 e0 29
00 00 mov QWORD PTR _glfw+10720, rax
00239 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
0023f 48 8b 0d d8 29
00 00 mov rcx, QWORD PTR _glfw+10712
00246 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BK@HMMKMEOH@DwmEnableBlurBehindWindow@
0024d 48 89 05 e8 29
00 00 mov QWORD PTR _glfw+10728, rax
00254 ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
0025a 48 8b 0d d8 29
00 00 mov rcx, QWORD PTR _glfw+10712
00261 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BI@LDADLCB@DwmGetColorizationColor@
00268 48 89 05 f0 29
00 00 mov QWORD PTR _glfw+10736, rax
0026f ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
00275 48 89 05 f8 29
00 00 mov QWORD PTR _glfw+10744, rax
$LN9@loadLibrar:
; 39 : return LoadLibraryA(path);
0027c 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_0L@DMFDIJCG@shcore?4dll@
00283 ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 150 : _glfw.win32.shcore.instance = _glfwPlatformLoadModule("shcore.dll");
00289 48 89 05 00 2a
00 00 mov QWORD PTR _glfw+10752, rax
00290 48 85 c0 test rax, rax
; 151 : if (_glfw.win32.shcore.instance)
00293 74 32 je SHORT $LN10@loadLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
00295 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@DGFLCCMF@SetProcessDpiAwareness@
0029c 48 8b c8 mov rcx, rax
0029f ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
002a5 48 8b 0d 00 2a
00 00 mov rcx, QWORD PTR _glfw+10752
002ac 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BB@MAMHPNNC@GetDpiForMonitor@
002b3 48 89 05 08 2a
00 00 mov QWORD PTR _glfw+10760, rax
002ba ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
002c0 48 89 05 10 2a
00 00 mov QWORD PTR _glfw+10768, rax
$LN10@loadLibrar:
; 39 : return LoadLibraryA(path);
002c7 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:??_C@_09FLKFJBLM@ntdll?4dll@
002ce ff 15 00 00 00
00 call QWORD PTR __imp_LoadLibraryA
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 159 : _glfw.win32.ntdll.instance = _glfwPlatformLoadModule("ntdll.dll");
002d4 48 89 05 18 2a
00 00 mov QWORD PTR _glfw+10776, rax
002db 48 85 c0 test rax, rax
; 160 : if (_glfw.win32.ntdll.instance)
002de 74 17 je SHORT $LN11@loadLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
002e0 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BF@LOGLPPDD@RtlVerifyVersionInfo@
002e7 48 8b c8 mov rcx, rax
002ea ff 15 00 00 00
00 call QWORD PTR __imp_GetProcAddress
002f0 48 89 05 20 2a
00 00 mov QWORD PTR _glfw+10784, rax
$LN11@loadLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 166 : return GLFW_TRUE;
002f7 b8 01 00 00 00 mov eax, 1
; 167 : }
002fc 48 83 c4 58 add rsp, 88 ; 00000058H
00300 c3 ret 0
loadLibraries ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT freeLibraries
_TEXT SEGMENT
freeLibraries PROC ; COMDAT
; 172 : {
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
; 173 : if (_glfw.win32.xinput.instance)
00004 48 8b 0d 80 29
00 00 mov rcx, QWORD PTR _glfw+10624
0000b 48 85 c9 test rcx, rcx
0000e 74 06 je SHORT $LN9@freeLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00010 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN9@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 176 : if (_glfw.win32.dinput8.instance)
00016 48 8b 0d 68 29
00 00 mov rcx, QWORD PTR _glfw+10600
0001d 48 85 c9 test rcx, rcx
00020 74 06 je SHORT $LN11@freeLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00022 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN11@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 179 : if (_glfw.win32.user32.instance)
00028 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
0002f 48 85 c9 test rcx, rcx
00032 74 06 je SHORT $LN13@freeLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00034 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN13@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 182 : if (_glfw.win32.dwmapi.instance)
0003a 48 8b 0d d8 29
00 00 mov rcx, QWORD PTR _glfw+10712
00041 48 85 c9 test rcx, rcx
00044 74 06 je SHORT $LN15@freeLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00046 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN15@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 185 : if (_glfw.win32.shcore.instance)
0004c 48 8b 0d 00 2a
00 00 mov rcx, QWORD PTR _glfw+10752
00053 48 85 c9 test rcx, rcx
00056 74 06 je SHORT $LN17@freeLibrar
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00058 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN17@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 188 : if (_glfw.win32.ntdll.instance)
0005e 48 8b 0d 18 2a
00 00 mov rcx, QWORD PTR _glfw+10776
00065 48 85 c9 test rcx, rcx
00068 74 0b je SHORT $LN19@freeLibrar
; 190 : }
0006a 48 83 c4 28 add rsp, 40 ; 00000028H
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
0006e 48 ff 25 00 00
00 00 rex_jmp QWORD PTR __imp_FreeLibrary
$LN19@freeLibrar:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 190 : }
00075 48 83 c4 28 add rsp, 40 ; 00000028H
00079 c3 ret 0
freeLibraries ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT createKeyTables
_TEXT SEGMENT
createKeyTables PROC ; COMDAT
; 195 : {
00000 48 89 5c 24 08 mov QWORD PTR [rsp+8], rbx
00005 57 push rdi
00006 48 83 ec 20 sub rsp, 32 ; 00000020H
; 196 : int scancode;
; 197 :
; 198 : memset(_glfw.win32.keycodes, -1, sizeof(_glfw.win32.keycodes));
0000a 48 8d 1d a8 1b
00 00 lea rbx, OFFSET FLAT:_glfw+7080
00011 ba ff ff ff ff mov edx, -1
00016 48 8b cb mov rcx, rbx
00019 41 b8 00 04 00
00 mov r8d, 1024 ; 00000400H
0001f e8 00 00 00 00 call memset
; 199 : memset(_glfw.win32.scancodes, -1, sizeof(_glfw.win32.scancodes));
00024 48 8d 3d a8 1f
00 00 lea rdi, OFFSET FLAT:_glfw+8104
0002b ba ff ff ff ff mov edx, -1
00030 48 8b cf mov rcx, rdi
00033 41 b8 ba 02 00
00 mov r8d, 698 ; 000002baH
00039 e8 00 00 00 00 call memset
; 200 :
; 201 : _glfw.win32.keycodes[0x00B] = GLFW_KEY_0;
; 202 : _glfw.win32.keycodes[0x002] = GLFW_KEY_1;
; 203 : _glfw.win32.keycodes[0x003] = GLFW_KEY_2;
; 204 : _glfw.win32.keycodes[0x004] = GLFW_KEY_3;
; 205 : _glfw.win32.keycodes[0x005] = GLFW_KEY_4;
; 206 : _glfw.win32.keycodes[0x006] = GLFW_KEY_5;
; 207 : _glfw.win32.keycodes[0x007] = GLFW_KEY_6;
; 208 : _glfw.win32.keycodes[0x008] = GLFW_KEY_7;
; 209 : _glfw.win32.keycodes[0x009] = GLFW_KEY_8;
; 210 : _glfw.win32.keycodes[0x00A] = GLFW_KEY_9;
; 211 : _glfw.win32.keycodes[0x01E] = GLFW_KEY_A;
; 212 : _glfw.win32.keycodes[0x030] = GLFW_KEY_B;
; 213 : _glfw.win32.keycodes[0x02E] = GLFW_KEY_C;
; 214 : _glfw.win32.keycodes[0x020] = GLFW_KEY_D;
; 215 : _glfw.win32.keycodes[0x012] = GLFW_KEY_E;
; 216 : _glfw.win32.keycodes[0x021] = GLFW_KEY_F;
; 217 : _glfw.win32.keycodes[0x022] = GLFW_KEY_G;
; 218 : _glfw.win32.keycodes[0x023] = GLFW_KEY_H;
; 219 : _glfw.win32.keycodes[0x017] = GLFW_KEY_I;
; 220 : _glfw.win32.keycodes[0x024] = GLFW_KEY_J;
; 221 : _glfw.win32.keycodes[0x025] = GLFW_KEY_K;
; 222 : _glfw.win32.keycodes[0x026] = GLFW_KEY_L;
; 223 : _glfw.win32.keycodes[0x032] = GLFW_KEY_M;
; 224 : _glfw.win32.keycodes[0x031] = GLFW_KEY_N;
; 225 : _glfw.win32.keycodes[0x018] = GLFW_KEY_O;
; 226 : _glfw.win32.keycodes[0x019] = GLFW_KEY_P;
; 227 : _glfw.win32.keycodes[0x010] = GLFW_KEY_Q;
; 228 : _glfw.win32.keycodes[0x013] = GLFW_KEY_R;
; 229 : _glfw.win32.keycodes[0x01F] = GLFW_KEY_S;
; 230 : _glfw.win32.keycodes[0x014] = GLFW_KEY_T;
; 231 : _glfw.win32.keycodes[0x016] = GLFW_KEY_U;
; 232 : _glfw.win32.keycodes[0x02F] = GLFW_KEY_V;
; 233 : _glfw.win32.keycodes[0x011] = GLFW_KEY_W;
; 234 : _glfw.win32.keycodes[0x02D] = GLFW_KEY_X;
; 235 : _glfw.win32.keycodes[0x015] = GLFW_KEY_Y;
; 236 : _glfw.win32.keycodes[0x02C] = GLFW_KEY_Z;
; 237 :
; 238 : _glfw.win32.keycodes[0x028] = GLFW_KEY_APOSTROPHE;
; 239 : _glfw.win32.keycodes[0x02B] = GLFW_KEY_BACKSLASH;
; 240 : _glfw.win32.keycodes[0x033] = GLFW_KEY_COMMA;
; 241 : _glfw.win32.keycodes[0x00D] = GLFW_KEY_EQUAL;
; 242 : _glfw.win32.keycodes[0x029] = GLFW_KEY_GRAVE_ACCENT;
; 243 : _glfw.win32.keycodes[0x01A] = GLFW_KEY_LEFT_BRACKET;
; 244 : _glfw.win32.keycodes[0x00C] = GLFW_KEY_MINUS;
; 245 : _glfw.win32.keycodes[0x034] = GLFW_KEY_PERIOD;
; 246 : _glfw.win32.keycodes[0x01B] = GLFW_KEY_RIGHT_BRACKET;
; 247 : _glfw.win32.keycodes[0x027] = GLFW_KEY_SEMICOLON;
; 248 : _glfw.win32.keycodes[0x035] = GLFW_KEY_SLASH;
; 249 : _glfw.win32.keycodes[0x056] = GLFW_KEY_WORLD_2;
; 250 :
; 251 : _glfw.win32.keycodes[0x00E] = GLFW_KEY_BACKSPACE;
; 252 : _glfw.win32.keycodes[0x153] = GLFW_KEY_DELETE;
; 253 : _glfw.win32.keycodes[0x14F] = GLFW_KEY_END;
; 254 : _glfw.win32.keycodes[0x01C] = GLFW_KEY_ENTER;
; 255 : _glfw.win32.keycodes[0x001] = GLFW_KEY_ESCAPE;
; 256 : _glfw.win32.keycodes[0x147] = GLFW_KEY_HOME;
; 257 : _glfw.win32.keycodes[0x152] = GLFW_KEY_INSERT;
; 258 : _glfw.win32.keycodes[0x15D] = GLFW_KEY_MENU;
; 259 : _glfw.win32.keycodes[0x151] = GLFW_KEY_PAGE_DOWN;
; 260 : _glfw.win32.keycodes[0x149] = GLFW_KEY_PAGE_UP;
; 261 : _glfw.win32.keycodes[0x045] = GLFW_KEY_PAUSE;
; 262 : _glfw.win32.keycodes[0x039] = GLFW_KEY_SPACE;
; 263 : _glfw.win32.keycodes[0x00F] = GLFW_KEY_TAB;
; 264 : _glfw.win32.keycodes[0x03A] = GLFW_KEY_CAPS_LOCK;
; 265 : _glfw.win32.keycodes[0x145] = GLFW_KEY_NUM_LOCK;
; 266 : _glfw.win32.keycodes[0x046] = GLFW_KEY_SCROLL_LOCK;
; 267 : _glfw.win32.keycodes[0x03B] = GLFW_KEY_F1;
; 268 : _glfw.win32.keycodes[0x03C] = GLFW_KEY_F2;
0003e 66 0f 6f 05 00
00 00 00 movdqa xmm0, XMMWORD PTR __xmm@012a0129012801270126012501240123
00046 b8 55 00 00 00 mov eax, 85 ; 00000055H
0004b 66 89 05 d4 1b
00 00 mov WORD PTR _glfw+7124, ax
00052 b8 0d 01 00 00 mov eax, 269 ; 0000010dH
00057 66 89 05 46 1e
00 00 mov WORD PTR _glfw+7750, ax
0005e b8 00 01 00 00 mov eax, 256 ; 00000100H
00063 66 89 05 aa 1b
00 00 mov WORD PTR _glfw+7082, ax
0006a b8 0c 01 00 00 mov eax, 268 ; 0000010cH
0006f 66 89 05 36 1e
00 00 mov WORD PTR _glfw+7734, ax
00076 b8 1a 01 00 00 mov eax, 282 ; 0000011aH
0007b 66 89 05 32 1e
00 00 mov WORD PTR _glfw+7730, ax
00082 b8 22 01 00 00 mov eax, 290 ; 00000122H
00087 66 89 05 1e 1c
00 00 mov WORD PTR _glfw+7198, ax
; 269 : _glfw.win32.keycodes[0x03D] = GLFW_KEY_F3;
; 270 : _glfw.win32.keycodes[0x03E] = GLFW_KEY_F4;
; 271 : _glfw.win32.keycodes[0x03F] = GLFW_KEY_F5;
; 272 : _glfw.win32.keycodes[0x040] = GLFW_KEY_F6;
; 273 : _glfw.win32.keycodes[0x041] = GLFW_KEY_F7;
; 274 : _glfw.win32.keycodes[0x042] = GLFW_KEY_F8;
; 275 : _glfw.win32.keycodes[0x043] = GLFW_KEY_F9;
; 276 : _glfw.win32.keycodes[0x044] = GLFW_KEY_F10;
0008e b8 2b 01 00 00 mov eax, 299 ; 0000012bH
00093 66 89 05 30 1c
00 00 mov WORD PTR _glfw+7216, ax
; 277 : _glfw.win32.keycodes[0x057] = GLFW_KEY_F11;
; 278 : _glfw.win32.keycodes[0x058] = GLFW_KEY_F12;
; 279 : _glfw.win32.keycodes[0x064] = GLFW_KEY_F13;
; 280 : _glfw.win32.keycodes[0x065] = GLFW_KEY_F14;
; 281 : _glfw.win32.keycodes[0x066] = GLFW_KEY_F15;
; 282 : _glfw.win32.keycodes[0x067] = GLFW_KEY_F16;
; 283 : _glfw.win32.keycodes[0x068] = GLFW_KEY_F17;
; 284 : _glfw.win32.keycodes[0x069] = GLFW_KEY_F18;
; 285 : _glfw.win32.keycodes[0x06A] = GLFW_KEY_F19;
; 286 : _glfw.win32.keycodes[0x06B] = GLFW_KEY_F20;
; 287 : _glfw.win32.keycodes[0x06C] = GLFW_KEY_F21;
; 288 : _glfw.win32.keycodes[0x06D] = GLFW_KEY_F22;
; 289 : _glfw.win32.keycodes[0x06E] = GLFW_KEY_F23;
0009a b8 38 01 00 00 mov eax, 312 ; 00000138H
0009f 66 89 05 84 1c
00 00 mov WORD PTR _glfw+7300, ax
; 290 : _glfw.win32.keycodes[0x076] = GLFW_KEY_F24;
000a6 b8 39 01 00 00 mov eax, 313 ; 00000139H
000ab 66 89 05 94 1c
00 00 mov WORD PTR _glfw+7316, ax
; 291 : _glfw.win32.keycodes[0x038] = GLFW_KEY_LEFT_ALT;
; 292 : _glfw.win32.keycodes[0x01D] = GLFW_KEY_LEFT_CONTROL;
000b2 b8 55 01 00 00 mov eax, 341 ; 00000155H
000b7 66 89 05 e2 1b
00 00 mov WORD PTR _glfw+7138, ax
; 293 : _glfw.win32.keycodes[0x02A] = GLFW_KEY_LEFT_SHIFT;
; 294 : _glfw.win32.keycodes[0x15B] = GLFW_KEY_LEFT_SUPER;
000be b8 57 01 00 00 mov eax, 343 ; 00000157H
000c3 66 89 05 5e 1e
00 00 mov WORD PTR _glfw+7774, ax
; 295 : _glfw.win32.keycodes[0x137] = GLFW_KEY_PRINT_SCREEN;
; 296 : _glfw.win32.keycodes[0x138] = GLFW_KEY_RIGHT_ALT;
; 297 : _glfw.win32.keycodes[0x11D] = GLFW_KEY_RIGHT_CONTROL;
; 298 : _glfw.win32.keycodes[0x036] = GLFW_KEY_RIGHT_SHIFT;
000ca b8 58 01 00 00 mov eax, 344 ; 00000158H
000cf 66 89 05 14 1c
00 00 mov WORD PTR _glfw+7188, ax
; 299 : _glfw.win32.keycodes[0x15C] = GLFW_KEY_RIGHT_SUPER;
; 300 : _glfw.win32.keycodes[0x150] = GLFW_KEY_DOWN;
; 301 : _glfw.win32.keycodes[0x14B] = GLFW_KEY_LEFT;
000d6 b8 07 01 00 00 mov eax, 263 ; 00000107H
000db 66 89 05 3e 1e
00 00 mov WORD PTR _glfw+7742, ax
; 302 : _glfw.win32.keycodes[0x14D] = GLFW_KEY_RIGHT;
000e2 b8 06 01 00 00 mov eax, 262 ; 00000106H
000e7 66 0f 7f 05 20
1c 00 00 movdqa XMMWORD PTR _glfw+7200, xmm0
000ef 66 0f 6f 05 00
00 00 00 movdqa xmm0, XMMWORD PTR __xmm@013501340133013201310130012f012e
000f7 66 89 05 42 1e
00 00 mov WORD PTR _glfw+7746, ax
000fe c7 05 bc 1b 00
00 39 00 30 00 mov DWORD PTR _glfw+7100, 3145785 ; 00300039H
00108 c7 05 ac 1b 00
00 31 00 32 00 mov DWORD PTR _glfw+7084, 3276849 ; 00320031H
00112 c7 05 b0 1b 00
00 33 00 34 00 mov DWORD PTR _glfw+7088, 3407923 ; 00340033H
0011c c7 05 b4 1b 00
00 35 00 36 00 mov DWORD PTR _glfw+7092, 3538997 ; 00360035H
00126 c7 05 b8 1b 00
00 37 00 38 00 mov DWORD PTR _glfw+7096, 3670071 ; 00380037H
00130 c7 05 e4 1b 00
00 41 00 53 00 mov DWORD PTR _glfw+7140, 5439553 ; 00530041H
0013a c7 05 08 1c 00
00 42 00 4e 00 mov DWORD PTR _glfw+7176, 5111874 ; 004e0042H
00144 c7 05 04 1c 00
00 43 00 56 00 mov DWORD PTR _glfw+7172, 5636163 ; 00560043H
0014e c7 05 e8 1b 00
00 44 00 46 00 mov DWORD PTR _glfw+7144, 4587588 ; 00460044H
00158 c7 05 cc 1b 00
00 45 00 52 00 mov DWORD PTR _glfw+7116, 5374021 ; 00520045H
00162 c7 05 ec 1b 00
00 47 00 48 00 mov DWORD PTR _glfw+7148, 4718663 ; 00480047H
0016c c7 05 d6 1b 00
00 49 00 4f 00 mov DWORD PTR _glfw+7126, 5177417 ; 004f0049H
00176 c7 05 f0 1b 00
00 4a 00 4b 00 mov DWORD PTR _glfw+7152, 4915274 ; 004b004aH
00180 c7 05 f4 1b 00
00 4c 00 3b 00 mov DWORD PTR _glfw+7156, 3866700 ; 003b004cH
0018a c7 05 0c 1c 00
00 4d 00 2c 00 mov DWORD PTR _glfw+7180, 2883661 ; 002c004dH
00194 c7 05 da 1b 00
00 50 00 5b 00 mov DWORD PTR _glfw+7130, 5963856 ; 005b0050H
0019e c7 05 c8 1b 00
00 51 00 57 00 mov DWORD PTR _glfw+7112, 5701713 ; 00570051H
001a8 c7 05 d0 1b 00
00 54 00 59 00 mov DWORD PTR _glfw+7120, 5832788 ; 00590054H
001b2 c7 05 00 1c 00
00 5a 00 58 00 mov DWORD PTR _glfw+7168, 5767258 ; 0058005aH
001bc c7 05 f8 1b 00
00 27 00 60 00 mov DWORD PTR _glfw+7160, 6291495 ; 00600027H
001c6 c7 05 fc 1b 00
00 54 01 5c 00 mov DWORD PTR _glfw+7164, 6029652 ; 005c0154H
001d0 c7 05 c0 1b 00
00 2d 00 3d 00 mov DWORD PTR _glfw+7104, 3997741 ; 003d002dH
001da c7 05 10 1c 00
00 2e 00 2f 00 mov DWORD PTR _glfw+7184, 3080238 ; 002f002eH
001e4 c7 05 de 1b 00
00 5d 00 01 01 mov DWORD PTR _glfw+7134, 16842845 ; 0101005dH
001ee c7 05 54 1c 00
00 a2 00 2c 01 mov DWORD PTR _glfw+7252, 19660962 ; 012c00a2H
001f8 c7 05 c4 1b 00
00 03 01 02 01 mov DWORD PTR _glfw+7108, 16908547 ; 01020103H
00202 c7 05 4c 1e 00
00 04 01 05 01 mov DWORD PTR _glfw+7756, 17105156 ; 01050104H
0020c c7 05 60 1e 00
00 5b 01 5c 01 mov DWORD PTR _glfw+7776, 22806875 ; 015c015bH
00216 c7 05 48 1e 00
00 08 01 0b 01 mov DWORD PTR _glfw+7752, 17498376 ; 010b0108H
; 303 : _glfw.win32.keycodes[0x148] = GLFW_KEY_UP;
00220 c7 05 38 1e 00
00 09 01 0a 01 mov DWORD PTR _glfw+7736, 17432841 ; 010a0109H
0022a c7 05 32 1c 00
00 1c 01 19 01 mov DWORD PTR _glfw+7218, 18415900 ; 0119011cH
00234 c7 05 1a 1c 00
00 20 00 18 01 mov DWORD PTR _glfw+7194, 18350112 ; 01180020H
0023e c7 05 58 1c 00
00 2d 01 50 01 mov DWORD PTR _glfw+7256, 22020397 ; 0150012dH
00248 66 0f 7f 05 70
1c 00 00 movdqa XMMWORD PTR _glfw+7280, xmm0
00250 c7 05 80 1c 00
00 36 01 37 01 mov DWORD PTR _glfw+7296, 20382006 ; 01370136H
; 318 : _glfw.win32.keycodes[0x11C] = GLFW_KEY_KP_ENTER;
; 319 : _glfw.win32.keycodes[0x059] = GLFW_KEY_KP_EQUAL;
; 320 : _glfw.win32.keycodes[0x037] = GLFW_KEY_KP_MULTIPLY;
0025a c7 05 16 1c 00
00 4c 01 56 01 mov DWORD PTR _glfw+7190, 22413644 ; 0156014cH
00264 c7 05 16 1e 00
00 1b 01 5a 01 mov DWORD PTR _glfw+7702, 22675739 ; 015a011bH
0026e c7 05 e0 1d 00
00 4f 01 59 01 mov DWORD PTR _glfw+7648, 22610255 ; 0159014fH
00278 c7 05 4a 1c 00
00 43 01 40 01 mov DWORD PTR _glfw+7242, 20971843 ; 01400143H
00282 c7 05 46 1c 00
00 41 01 42 01 mov DWORD PTR _glfw+7238, 21102913 ; 01420141H
; 304 :
; 305 : _glfw.win32.keycodes[0x052] = GLFW_KEY_KP_0;
; 306 : _glfw.win32.keycodes[0x04F] = GLFW_KEY_KP_1;
; 307 : _glfw.win32.keycodes[0x050] = GLFW_KEY_KP_2;
; 308 : _glfw.win32.keycodes[0x051] = GLFW_KEY_KP_3;
; 309 : _glfw.win32.keycodes[0x04B] = GLFW_KEY_KP_4;
0028c b8 4a 01 00 00 mov eax, 330 ; 0000014aH
00291 c7 05 3e 1c 00
00 44 01 45 01 mov DWORD PTR _glfw+7230, 21299524 ; 01450144H
; 310 : _glfw.win32.keycodes[0x04C] = GLFW_KEY_KP_5;
; 311 : _glfw.win32.keycodes[0x04D] = GLFW_KEY_KP_6;
; 312 : _glfw.win32.keycodes[0x047] = GLFW_KEY_KP_7;
; 313 : _glfw.win32.keycodes[0x048] = GLFW_KEY_KP_8;
; 314 : _glfw.win32.keycodes[0x049] = GLFW_KEY_KP_9;
; 315 : _glfw.win32.keycodes[0x04E] = GLFW_KEY_KP_ADD;
; 316 : _glfw.win32.keycodes[0x053] = GLFW_KEY_KP_DECIMAL;
0029b 66 89 05 4e 1c
00 00 mov WORD PTR _glfw+7246, ax
; 317 : _glfw.win32.keycodes[0x135] = GLFW_KEY_KP_DIVIDE;
002a2 b8 4b 01 00 00 mov eax, 331 ; 0000014bH
002a7 66 89 05 12 1e
00 00 mov WORD PTR _glfw+7698, ax
; 321 : _glfw.win32.keycodes[0x04A] = GLFW_KEY_KP_SUBTRACT;
; 322 :
; 323 : for (scancode = 0; scancode < 512; scancode++)
002ae 33 c0 xor eax, eax
002b0 c7 05 42 1c 00
00 46 01 4e 01 mov DWORD PTR _glfw+7234, 21889350 ; 014e0146H
002ba c7 05 36 1c 00
00 47 01 48 01 mov DWORD PTR _glfw+7222, 21496135 ; 01480147H
002c4 c7 05 3a 1c 00
00 49 01 4d 01 mov DWORD PTR _glfw+7226, 21823817 ; 014d0149H
002ce 66 90 npad 2
$LL4@createKeyT:
; 324 : {
; 325 : if (_glfw.win32.keycodes[scancode] > 0)
002d0 48 0f bf 0b movsx rcx, WORD PTR [rbx]
002d4 66 85 c9 test cx, cx
002d7 7e 04 jle SHORT $LN2@createKeyT
; 326 : _glfw.win32.scancodes[_glfw.win32.keycodes[scancode]] = scancode;
002d9 66 89 04 4f mov WORD PTR [rdi+rcx*2], ax
$LN2@createKeyT:
; 321 : _glfw.win32.keycodes[0x04A] = GLFW_KEY_KP_SUBTRACT;
; 322 :
; 323 : for (scancode = 0; scancode < 512; scancode++)
002dd ff c0 inc eax
002df 48 83 c3 02 add rbx, 2
002e3 3d 00 02 00 00 cmp eax, 512 ; 00000200H
002e8 7c e6 jl SHORT $LL4@createKeyT
; 327 : }
; 328 : }
002ea 48 8b 5c 24 30 mov rbx, QWORD PTR [rsp+48]
002ef 48 83 c4 20 add rsp, 32 ; 00000020H
002f3 5f pop rdi
002f4 c3 ret 0
createKeyTables ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_joystick.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT helperWindowProc
_TEXT SEGMENT
state$1 = 32
xis$2 = 112
__$ArrayPad$ = 128
hWnd$ = 208
uMsg$ = 216
wParam$ = 224
lParam$ = 232
helperWindowProc PROC ; COMDAT
; 333 : {
00000 40 55 push rbp
00002 56 push rsi
00003 57 push rdi
00004 41 56 push r14
00006 48 81 ec a8 00
00 00 sub rsp, 168 ; 000000a8H
0000d 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00014 48 33 c4 xor rax, rsp
00017 48 89 84 24 80
00 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
0001f 49 8b f9 mov rdi, r9
00022 49 8b f0 mov rsi, r8
00025 8b ea mov ebp, edx
00027 4c 8b f1 mov r14, rcx
; 334 : switch (uMsg)
0002a 83 fa 7e cmp edx, 126 ; 0000007eH
0002d 0f 84 4b 01 00
00 je $LN4@helperWind
00033 81 fa 19 02 00
00 cmp edx, 537 ; 00000219H
00039 0f 85 44 01 00
00 jne $LN15@helperWind
; 338 : break;
; 339 :
; 340 : case WM_DEVICECHANGE:
; 341 : {
; 342 : if (!_glfw.joysticksInitialized)
0003f 83 3d 8c 07 00
00 00 cmp DWORD PTR _glfw+1932, 0
00046 0f 84 37 01 00
00 je $LN15@helperWind
; 343 : break;
; 344 :
; 345 : if (wParam == DBT_DEVICEARRIVAL)
0004c 49 81 f8 00 80
00 00 cmp r8, 32768 ; 00008000H
00053 75 1e jne SHORT $LN7@helperWind
; 346 : {
; 347 : DEV_BROADCAST_HDR* dbh = (DEV_BROADCAST_HDR*)lParam;
; 348 : if (dbh && dbh->dbch_devicetype == DBT_DEVTYP_DEVICEINTERFACE)
00055 4d 85 c9 test r9, r9
00058 0f 84 25 01 00
00 je $LN15@helperWind
0005e 41 83 79 04 05 cmp DWORD PTR [r9+4], 5
00063 0f 85 1a 01 00
00 jne $LN15@helperWind
; 349 : _glfwDetectJoystickConnectionWin32();
00069 e8 00 00 00 00 call _glfwDetectJoystickConnectionWin32
; 350 : }
0006e e9 10 01 00 00 jmp $LN15@helperWind
$LN7@helperWind:
; 351 : else if (wParam == DBT_DEVICEREMOVECOMPLETE)
00073 48 81 fe 04 80
00 00 cmp rsi, 32772 ; 00008004H
0007a 0f 85 03 01 00
00 jne $LN15@helperWind
; 352 : {
; 353 : DEV_BROADCAST_HDR* dbh = (DEV_BROADCAST_HDR*)lParam;
; 354 : if (dbh && dbh->dbch_devicetype == DBT_DEVTYP_DEVICEINTERFACE)
00080 48 85 ff test rdi, rdi
00083 0f 84 fa 00 00
00 je $LN15@helperWind
00089 41 83 79 04 05 cmp DWORD PTR [r9+4], 5
0008e 0f 85 ef 00 00
00 jne $LN15@helperWind
00094 48 89 9c 24 a0
00 00 00 mov QWORD PTR [rsp+160], rbx
0009c 48 8d 1d 90 08
00 00 lea rbx, OFFSET FLAT:_glfw+2192
000a3 4c 89 bc 24 98
00 00 00 mov QWORD PTR [rsp+152], r15
000ab 4c 8d 3d 70 19
00 00 lea r15, OFFSET FLAT:_glfw+6512
$LL16@helperWind:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_joystick.c
; 565 : if (js->connected)
000b2 83 bb 04 ff ff
ff 00 cmp DWORD PTR [rbx-252], 0
000b9 0f 84 9d 00 00
00 je $LN14@helperWind
; 608 : if (js->win32.device)
000bf 48 8b 0b mov rcx, QWORD PTR [rbx]
000c2 48 85 c9 test rcx, rcx
000c5 74 74 je SHORT $LN28@helperWind
000c7 0f 57 c0 xorps xmm0, xmm0
; 609 : {
; 610 : int i, ai = 0, bi = 0, pi = 0;
; 611 : HRESULT result;
; 612 : DIJOYSTATE state = {0};
000ca 0f 11 44 24 20 movups XMMWORD PTR state$1[rsp], xmm0
000cf 0f 11 44 24 30 movups XMMWORD PTR state$1[rsp+16], xmm0
000d4 0f 11 44 24 40 movups XMMWORD PTR state$1[rsp+32], xmm0
000d9 0f 11 44 24 50 movups XMMWORD PTR state$1[rsp+48], xmm0
000de 0f 11 44 24 60 movups XMMWORD PTR state$1[rsp+64], xmm0
; 613 :
; 614 : IDirectInputDevice8_Poll(js->win32.device);
000e3 48 8b 01 mov rax, QWORD PTR [rcx]
000e6 ff 90 c8 00 00
00 call QWORD PTR [rax+200]
; 615 : result = IDirectInputDevice8_GetDeviceState(js->win32.device,
000ec 48 8b 0b mov rcx, QWORD PTR [rbx]
000ef 4c 8d 44 24 20 lea r8, QWORD PTR state$1[rsp]
000f4 ba 50 00 00 00 mov edx, 80 ; 00000050H
000f9 48 8b 01 mov rax, QWORD PTR [rcx]
000fc ff 50 48 call QWORD PTR [rax+72]
; 616 : sizeof(state),
; 617 : &state);
; 618 : if (result == DIERR_NOTACQUIRED || result == DIERR_INPUTLOST)
000ff 3d 0c 00 07 80 cmp eax, -2147024884 ; ffffffff8007000cH
00104 74 07 je SHORT $LN31@helperWind
00106 3d 1e 00 07 80 cmp eax, -2147024866 ; ffffffff8007001eH
0010b 75 28 jne SHORT $LN30@helperWind
$LN31@helperWind:
; 619 : {
; 620 : IDirectInputDevice8_Acquire(js->win32.device);
0010d 48 8b 0b mov rcx, QWORD PTR [rbx]
00110 48 8b 01 mov rax, QWORD PTR [rcx]
00113 ff 50 38 call QWORD PTR [rax+56]
; 621 : IDirectInputDevice8_Poll(js->win32.device);
00116 48 8b 0b mov rcx, QWORD PTR [rbx]
00119 48 8b 01 mov rax, QWORD PTR [rcx]
0011c ff 90 c8 00 00
00 call QWORD PTR [rax+200]
; 622 : result = IDirectInputDevice8_GetDeviceState(js->win32.device,
00122 48 8b 0b mov rcx, QWORD PTR [rbx]
00125 4c 8d 44 24 20 lea r8, QWORD PTR state$1[rsp]
0012a ba 50 00 00 00 mov edx, 80 ; 00000050H
0012f 48 8b 01 mov rax, QWORD PTR [rcx]
00132 ff 50 48 call QWORD PTR [rax+72]
$LN30@helperWind:
; 623 : sizeof(state),
; 624 : &state);
; 625 : }
; 626 :
; 627 : if (FAILED(result))
00135 85 c0 test eax, eax
00137 79 23 jns SHORT $LN14@helperWind
; 628 : {
; 629 : closeJoystick(js);
; 630 : return GLFW_FALSE;
00139 eb 15 jmp SHORT $LN89@helperWind
$LN28@helperWind:
; 631 : }
; 632 :
; 633 : if (mode == _GLFW_POLL_PRESENCE)
; 634 : return GLFW_TRUE;
; 635 :
; 636 : for (i = 0; i < js->win32.objectCount; i++)
; 637 : {
; 638 : const void* data = (char*) &state + js->win32.objects[i].offset;
; 639 :
; 640 : switch (js->win32.objects[i].type)
; 641 : {
; 642 : case _GLFW_TYPE_AXIS:
; 643 : case _GLFW_TYPE_SLIDER:
; 644 : {
; 645 : const float value = (*((LONG*) data) + 0.5f) / 32767.5f;
; 646 : _glfwInputJoystickAxis(js, ai, value);
; 647 : ai++;
; 648 : break;
; 649 : }
; 650 :
; 651 : case _GLFW_TYPE_BUTTON:
; 652 : {
; 653 : const char value = (*((BYTE*) data) & 0x80) != 0;
; 654 : _glfwInputJoystickButton(js, bi, value);
; 655 : bi++;
; 656 : break;
; 657 : }
; 658 :
; 659 : case _GLFW_TYPE_POV:
; 660 : {
; 661 : const int states[9] =
; 662 : {
; 663 : GLFW_HAT_UP,
; 664 : GLFW_HAT_RIGHT_UP,
; 665 : GLFW_HAT_RIGHT,
; 666 : GLFW_HAT_RIGHT_DOWN,
; 667 : GLFW_HAT_DOWN,
; 668 : GLFW_HAT_LEFT_DOWN,
; 669 : GLFW_HAT_LEFT,
; 670 : GLFW_HAT_LEFT_UP,
; 671 : GLFW_HAT_CENTERED
; 672 : };
; 673 :
; 674 : // Screams of horror are appropriate at this point
; 675 : int stateIndex = LOWORD(*(DWORD*) data) / (45 * DI_DEGREES);
; 676 : if (stateIndex < 0 || stateIndex > 8)
; 677 : stateIndex = 8;
; 678 :
; 679 : _glfwInputJoystickHat(js, pi, states[stateIndex]);
; 680 : pi++;
; 681 : break;
; 682 : }
; 683 : }
; 684 : }
; 685 : }
; 686 : else
; 687 : {
; 688 : int i, dpad = 0;
; 689 : DWORD result;
; 690 : XINPUT_STATE xis;
; 691 : const WORD buttons[10] =
; 692 : {
; 693 : XINPUT_GAMEPAD_A,
; 694 : XINPUT_GAMEPAD_B,
; 695 : XINPUT_GAMEPAD_X,
; 696 : XINPUT_GAMEPAD_Y,
; 697 : XINPUT_GAMEPAD_LEFT_SHOULDER,
; 698 : XINPUT_GAMEPAD_RIGHT_SHOULDER,
; 699 : XINPUT_GAMEPAD_BACK,
; 700 : XINPUT_GAMEPAD_START,
; 701 : XINPUT_GAMEPAD_LEFT_THUMB,
; 702 : XINPUT_GAMEPAD_RIGHT_THUMB
; 703 : };
; 704 :
; 705 : result = XInputGetState(js->win32.index, &xis);
0013b 8b 4b 08 mov ecx, DWORD PTR [rbx+8]
0013e 48 8d 54 24 70 lea rdx, QWORD PTR xis$2[rsp]
00143 ff 15 90 29 00
00 call QWORD PTR _glfw+10640
; 706 : if (result != ERROR_SUCCESS)
00149 3d 8f 04 00 00 cmp eax, 1167 ; 0000048fH
0014e 75 0c jne SHORT $LN14@helperWind
$LN89@helperWind:
; 562 : for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
00150 48 8d 8b 00 ff
ff ff lea rcx, QWORD PTR [rbx-256]
00157 e8 00 00 00 00 call closeJoystick
$LN14@helperWind:
0015c 48 81 c3 20 01
00 00 add rbx, 288 ; 00000120H
00163 49 3b df cmp rbx, r15
00166 0f 8e 46 ff ff
ff jle $LL16@helperWind
0016c 4c 8b bc 24 98
00 00 00 mov r15, QWORD PTR [rsp+152]
00174 48 8b 9c 24 a0
00 00 00 mov rbx, QWORD PTR [rsp+160]
0017c eb 05 jmp SHORT $LN15@helperWind
$LN4@helperWind:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 337 : _glfwPollMonitorsWin32();
0017e e8 00 00 00 00 call _glfwPollMonitorsWin32
$LN15@helperWind:
; 355 : _glfwDetectJoystickDisconnectionWin32();
; 356 : }
; 357 :
; 358 : break;
; 359 : }
; 360 : }
; 361 :
; 362 : return DefWindowProcW(hWnd, uMsg, wParam, lParam);
00183 4c 8b cf mov r9, rdi
00186 4c 8b c6 mov r8, rsi
00189 8b d5 mov edx, ebp
0018b 49 8b ce mov rcx, r14
0018e ff 15 00 00 00
00 call QWORD PTR __imp_DefWindowProcW
; 363 : }
00194 48 8b 8c 24 80
00 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
0019c 48 33 cc xor rcx, rsp
0019f e8 00 00 00 00 call __security_check_cookie
001a4 48 81 c4 a8 00
00 00 add rsp, 168 ; 000000a8H
001ab 41 5e pop r14
001ad 5f pop rdi
001ae 5e pop rsi
001af 5d pop rbp
001b0 c3 ret 0
helperWindowProc ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT createHelperWindow
_TEXT SEGMENT
wc$ = 96
dbi$1 = 176
msg$ = 208
__$ArrayPad$ = 256
createHelperWindow PROC ; COMDAT
; 368 : {
00000 4c 8b dc mov r11, rsp
00003 48 81 ec 18 01
00 00 sub rsp, 280 ; 00000118H
0000a 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00011 48 33 c4 xor rax, rsp
00014 48 89 84 24 00
01 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
; 369 : MSG msg;
; 370 : WNDCLASSEXW wc = { sizeof(wc) };
0001c 33 c0 xor eax, eax
0001e c7 44 24 60 50
00 00 00 mov DWORD PTR wc$[rsp], 80 ; 00000050H
00026 0f 57 c0 xorps xmm0, xmm0
; 371 :
; 372 : wc.style = CS_OWNDC;
; 373 : wc.lpfnWndProc = (WNDPROC)helperWindowProc;
; 374 : wc.hInstance = _glfw.win32.instance;
; 375 : wc.lpszClassName = L"GLFW3 Helper";
; 376 :
; 377 : _glfw.win32.helperWindowClass = RegisterClassExW(&wc);
00029 48 8d 4c 24 60 lea rcx, QWORD PTR wc$[rsp]
0002e 0f 11 44 24 64 movups XMMWORD PTR wc$[rsp+4], xmm0
00033 0f 11 44 24 74 movups XMMWORD PTR wc$[rsp+20], xmm0
00038 0f 11 84 24 84
00 00 00 movups XMMWORD PTR wc$[rsp+36], xmm0
00040 0f 11 84 24 94
00 00 00 movups XMMWORD PTR wc$[rsp+52], xmm0
00048 49 89 43 8c mov QWORD PTR [r11-116], rax
0004c 41 89 43 94 mov DWORD PTR [r11-108], eax
00050 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:helperWindowProc
00057 48 89 44 24 68 mov QWORD PTR wc$[rsp+8], rax
0005c 48 8b 05 78 1b
00 00 mov rax, QWORD PTR _glfw+7032
00063 48 89 44 24 78 mov QWORD PTR wc$[rsp+24], rax
00068 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:??_C@_1BK@OPNBOCAD@?$AAG?$AAL?$AAF?$AAW?$AA3?$AA?5?$AAH?$AAe?$AAl?$AAp?$AAe?$AAr@
0006f c7 44 24 64 20
00 00 00 mov DWORD PTR wc$[rsp+4], 32 ; 00000020H
00077 49 89 43 88 mov QWORD PTR [r11-120], rax
0007b ff 15 00 00 00
00 call QWORD PTR __imp_RegisterClassExW
00081 66 89 05 88 1b
00 00 mov WORD PTR _glfw+7048, ax
00088 66 85 c0 test ax, ax
; 378 : if (!_glfw.win32.helperWindowClass)
0008b 75 2b jne SHORT $LN4@createHelp
; 379 : {
; 380 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
0008d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CO@CNHHHABN@Win32?3?5Failed?5to?5register?5helpe@
00094 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
00099 e8 00 00 00 00 call _glfwInputErrorWin32
; 381 : "Win32: Failed to register helper window class");
; 382 : return GLFW_FALSE;
0009e 33 c0 xor eax, eax
; 427 : }
000a0 48 8b 8c 24 00
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
000a8 48 33 cc xor rcx, rsp
000ab e8 00 00 00 00 call __security_check_cookie
000b0 48 81 c4 18 01
00 00 add rsp, 280 ; 00000118H
000b7 c3 ret 0
$LN4@createHelp:
; 383 : }
; 384 :
; 385 : _glfw.win32.helperWindowHandle =
000b8 0f b7 d0 movzx edx, ax
000bb 4c 8d 05 00 00
00 00 lea r8, OFFSET FLAT:??_C@_1CI@MPNNJFCJ@?$AAG?$AAL?$AAF?$AAW?$AA?5?$AAm?$AAe?$AAs?$AAs?$AAa?$AAg?$AAe?$AA?5?$AAw?$AAi@
000c2 48 8b 05 78 1b
00 00 mov rax, QWORD PTR _glfw+7032
000c9 41 b9 00 00 00
06 mov r9d, 100663296 ; 06000000H
000cf 48 89 9c 24 10
01 00 00 mov QWORD PTR [rsp+272], rbx
000d7 b9 00 03 00 00 mov ecx, 768 ; 00000300H
000dc 33 db xor ebx, ebx
000de 48 89 5c 24 58 mov QWORD PTR [rsp+88], rbx
000e3 48 89 44 24 50 mov QWORD PTR [rsp+80], rax
000e8 48 89 5c 24 48 mov QWORD PTR [rsp+72], rbx
000ed 48 89 5c 24 40 mov QWORD PTR [rsp+64], rbx
000f2 c7 44 24 38 01
00 00 00 mov DWORD PTR [rsp+56], 1
000fa c7 44 24 30 01
00 00 00 mov DWORD PTR [rsp+48], 1
00102 89 5c 24 28 mov DWORD PTR [rsp+40], ebx
00106 89 5c 24 20 mov DWORD PTR [rsp+32], ebx
0010a ff 15 00 00 00
00 call QWORD PTR __imp_CreateWindowExW
00110 48 89 05 80 1b
00 00 mov QWORD PTR _glfw+7040, rax
00117 48 85 c0 test rax, rax
; 386 : CreateWindowExW(WS_EX_OVERLAPPEDWINDOW,
; 387 : MAKEINTATOM(_glfw.win32.helperWindowClass),
; 388 : L"GLFW message window",
; 389 : WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
; 390 : 0, 0, 1, 1,
; 391 : NULL, NULL,
; 392 : _glfw.win32.instance,
; 393 : NULL);
; 394 :
; 395 : if (!_glfw.win32.helperWindowHandle)
0011a 75 18 jne SHORT $LN5@createHelp
; 396 : {
; 397 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
0011c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CG@LDJIJKNI@Win32?3?5Failed?5to?5create?5helper?5@
00123 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
00128 e8 00 00 00 00 call _glfwInputErrorWin32
; 398 : "Win32: Failed to create helper window");
; 399 : return GLFW_FALSE;
0012d 33 c0 xor eax, eax
0012f e9 c6 00 00 00 jmp $LN14@createHelp
$LN5@createHelp:
; 400 : }
; 401 :
; 402 : // HACK: The command to the first ShowWindow call is ignored if the parent
; 403 : // process passed along a STARTUPINFO, so clear that with a no-op call
; 404 : ShowWindow(_glfw.win32.helperWindowHandle, SW_HIDE);
00134 33 d2 xor edx, edx
00136 48 8b c8 mov rcx, rax
00139 ff 15 00 00 00
00 call QWORD PTR __imp_ShowWindow
; 405 :
; 406 : // Register for HID device notifications
; 407 : {
; 408 : DEV_BROADCAST_DEVICEINTERFACE_W dbi;
; 409 : ZeroMemory(&dbi, sizeof(dbi));
; 410 : dbi.dbcc_size = sizeof(dbi);
; 411 : dbi.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
; 412 : dbi.dbcc_classguid = GUID_DEVINTERFACE_HID;
0013f 0f 10 05 00 00
00 00 movups xmm0, XMMWORD PTR _glfw_GUID_DEVINTERFACE_HID
; 413 :
; 414 : _glfw.win32.deviceNotificationHandle =
00146 48 8b 0d 80 1b
00 00 mov rcx, QWORD PTR _glfw+7040
0014d 48 8d 94 24 b0
00 00 00 lea rdx, QWORD PTR dbi$1[rsp]
00155 45 33 c0 xor r8d, r8d
00158 48 c7 84 24 b4
00 00 00 05 00
00 00 mov QWORD PTR dbi$1[rsp+4], 5
00164 0f 11 84 24 bc
00 00 00 movups XMMWORD PTR dbi$1[rsp+12], xmm0
0016c 89 9c 24 cc 00
00 00 mov DWORD PTR dbi$1[rsp+28], ebx
00173 c7 84 24 b0 00
00 00 20 00 00
00 mov DWORD PTR dbi$1[rsp], 32 ; 00000020H
0017e ff 15 00 00 00
00 call QWORD PTR __imp_RegisterDeviceNotificationW
; 415 : RegisterDeviceNotificationW(_glfw.win32.helperWindowHandle,
; 416 : (DEV_BROADCAST_HDR*)&dbi,
; 417 : DEVICE_NOTIFY_WINDOW_HANDLE);
; 418 : }
; 419 :
; 420 : while (PeekMessageW(&msg, _glfw.win32.helperWindowHandle, 0, 0, PM_REMOVE))
00184 48 8b 15 80 1b
00 00 mov rdx, QWORD PTR _glfw+7040
0018b 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$[rsp]
00193 45 33 c9 xor r9d, r9d
00196 48 89 05 90 1b
00 00 mov QWORD PTR _glfw+7056, rax
0019d 45 33 c0 xor r8d, r8d
001a0 c7 44 24 20 01
00 00 00 mov DWORD PTR [rsp+32], 1
001a8 ff 15 00 00 00
00 call QWORD PTR __imp_PeekMessageW
001ae 85 c0 test eax, eax
001b0 74 43 je SHORT $LN3@createHelp
$LL2@createHelp:
; 421 : {
; 422 : TranslateMessage(&msg);
001b2 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$[rsp]
001ba ff 15 00 00 00
00 call QWORD PTR __imp_TranslateMessage
; 423 : DispatchMessageW(&msg);
001c0 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$[rsp]
001c8 ff 15 00 00 00
00 call QWORD PTR __imp_DispatchMessageW
001ce 48 8b 15 80 1b
00 00 mov rdx, QWORD PTR _glfw+7040
001d5 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$[rsp]
001dd 45 33 c9 xor r9d, r9d
001e0 c7 44 24 20 01
00 00 00 mov DWORD PTR [rsp+32], 1
001e8 45 33 c0 xor r8d, r8d
001eb ff 15 00 00 00
00 call QWORD PTR __imp_PeekMessageW
001f1 85 c0 test eax, eax
001f3 75 bd jne SHORT $LL2@createHelp
$LN3@createHelp:
; 424 : }
; 425 :
; 426 : return GLFW_TRUE;
001f5 b8 01 00 00 00 mov eax, 1
$LN14@createHelp:
001fa 48 8b 9c 24 10
01 00 00 mov rbx, QWORD PTR [rsp+272]
; 427 : }
00202 48 8b 8c 24 00
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
0020a 48 33 cc xor rcx, rsp
0020d e8 00 00 00 00 call __security_check_cookie
00212 48 81 c4 18 01
00 00 add rsp, 280 ; 00000118H
00219 c3 ret 0
createHelperWindow ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwCreateWideStringFromUTF8Win32
_TEXT SEGMENT
source$ = 64
_glfwCreateWideStringFromUTF8Win32 PROC ; COMDAT
; 437 : {
$LN22:
00000 48 89 5c 24 10 mov QWORD PTR [rsp+16], rbx
00005 48 89 6c 24 18 mov QWORD PTR [rsp+24], rbp
0000a 57 push rdi
0000b 48 83 ec 30 sub rsp, 48 ; 00000030H
; 438 : WCHAR* target;
; 439 : int count;
; 440 :
; 441 : count = MultiByteToWideChar(CP_UTF8, 0, source, -1, NULL, 0);
0000f 33 db xor ebx, ebx
00011 48 8b e9 mov rbp, rcx
00014 4c 8b c1 mov r8, rcx
00017 89 5c 24 28 mov DWORD PTR [rsp+40], ebx
0001b 33 d2 xor edx, edx
0001d 48 89 5c 24 20 mov QWORD PTR [rsp+32], rbx
00022 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
00027 44 8d 4b ff lea r9d, QWORD PTR [rbx-1]
0002b ff 15 00 00 00
00 call QWORD PTR __imp_MultiByteToWideChar
00031 48 63 f8 movsxd rdi, eax
; 442 : if (!count)
00034 85 c0 test eax, eax
00036 75 23 jne SHORT $LN2@glfwCreate
; 443 : {
; 444 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
00038 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CL@JEJIBJNG@Win32?3?5Failed?5to?5convert?5string@
0003f b9 08 00 01 00 mov ecx, 65544 ; 00010008H
00044 e8 00 00 00 00 call _glfwInputErrorWin32
; 445 : "Win32: Failed to convert string from UTF-8");
; 446 : return NULL;
00049 33 c0 xor eax, eax
; 457 : }
; 458 :
; 459 : return target;
; 460 : }
0004b 48 8b 5c 24 48 mov rbx, QWORD PTR [rsp+72]
00050 48 8b 6c 24 50 mov rbp, QWORD PTR [rsp+80]
00055 48 83 c4 30 add rsp, 48 ; 00000030H
00059 5f pop rdi
0005a c3 ret 0
$LN2@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 277 : if (count > SIZE_MAX / size)
0005b 48 b9 ff ff ff
ff ff ff ff 7f mov rcx, 9223372036854775807 ; 7fffffffffffffffH
00065 48 3b f9 cmp rdi, rcx
00068 76 13 jbe SHORT $LN8@glfwCreate
; 278 : {
; 279 : _glfwInputError(GLFW_INVALID_VALUE, "Allocation size overflow");
0006a 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@
00071 b9 04 00 01 00 mov ecx, 65540 ; 00010004H
00076 e8 00 00 00 00 call _glfwInputError
; 280 : return NULL;
0007b eb 41 jmp SHORT $LN7@glfwCreate
$LN8@glfwCreate:
; 281 : }
; 282 :
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
0007d 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
00084 48 89 74 24 40 mov QWORD PTR [rsp+64], rsi
00089 48 8d 34 3f lea rsi, QWORD PTR [rdi+rdi]
0008d 48 8b ce mov rcx, rsi
00090 ff 15 08 00 00
00 call QWORD PTR _glfw+8
; 284 : if (block)
00096 48 85 c0 test rax, rax
00099 74 12 je SHORT $LN9@glfwCreate
; 285 : return memset(block, 0, count * size);
0009b 4c 8b c6 mov r8, rsi
0009e 33 d2 xor edx, edx
000a0 48 8b c8 mov rcx, rax
000a3 e8 00 00 00 00 call memset
000a8 48 8b d8 mov rbx, rax
000ab eb 0c jmp SHORT $LN20@glfwCreate
$LN9@glfwCreate:
; 286 : else
; 287 : {
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
000ad 33 d2 xor edx, edx
000af b9 05 00 01 00 mov ecx, 65541 ; 00010005H
000b4 e8 00 00 00 00 call _glfwInputError
$LN20@glfwCreate:
000b9 48 8b 74 24 40 mov rsi, QWORD PTR [rsp+64]
$LN7@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 451 : if (!MultiByteToWideChar(CP_UTF8, 0, source, -1, target, count))
000be 89 7c 24 28 mov DWORD PTR [rsp+40], edi
000c2 41 b9 ff ff ff
ff mov r9d, -1
000c8 4c 8b c5 mov r8, rbp
000cb 48 89 5c 24 20 mov QWORD PTR [rsp+32], rbx
000d0 33 d2 xor edx, edx
000d2 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
000d7 ff 15 00 00 00
00 call QWORD PTR __imp_MultiByteToWideChar
000dd 85 c0 test eax, eax
000df 75 38 jne SHORT $LN3@glfwCreate
; 452 : {
; 453 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
000e1 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CL@JEJIBJNG@Win32?3?5Failed?5to?5convert?5string@
000e8 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
000ed e8 00 00 00 00 call _glfwInputErrorWin32
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 320 : if (block)
000f2 48 85 db test rbx, rbx
000f5 74 10 je SHORT $LN13@glfwCreate
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
000f7 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
000fe 48 8b cb mov rcx, rbx
00101 ff 15 18 00 00
00 call QWORD PTR _glfw+24
$LN13@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 456 : return NULL;
00107 33 c0 xor eax, eax
; 457 : }
; 458 :
; 459 : return target;
; 460 : }
00109 48 8b 5c 24 48 mov rbx, QWORD PTR [rsp+72]
0010e 48 8b 6c 24 50 mov rbp, QWORD PTR [rsp+80]
00113 48 83 c4 30 add rsp, 48 ; 00000030H
00117 5f pop rdi
00118 c3 ret 0
$LN3@glfwCreate:
00119 48 8b 6c 24 50 mov rbp, QWORD PTR [rsp+80]
0011e 48 8b c3 mov rax, rbx
00121 48 8b 5c 24 48 mov rbx, QWORD PTR [rsp+72]
00126 48 83 c4 30 add rsp, 48 ; 00000030H
0012a 5f pop rdi
0012b c3 ret 0
_glfwCreateWideStringFromUTF8Win32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwCreateUTF8FromWideStringWin32
_TEXT SEGMENT
source$ = 80
_glfwCreateUTF8FromWideStringWin32 PROC ; COMDAT
; 465 : {
$LN21:
00000 48 89 6c 24 10 mov QWORD PTR [rsp+16], rbp
00005 48 89 74 24 18 mov QWORD PTR [rsp+24], rsi
0000a 57 push rdi
0000b 48 83 ec 40 sub rsp, 64 ; 00000040H
; 466 : char* target;
; 467 : int size;
; 468 :
; 469 : size = WideCharToMultiByte(CP_UTF8, 0, source, -1, NULL, 0, NULL, NULL);
0000f 33 ed xor ebp, ebp
00011 48 8b f1 mov rsi, rcx
00014 48 89 6c 24 38 mov QWORD PTR [rsp+56], rbp
00019 4c 8b c1 mov r8, rcx
0001c 48 89 6c 24 30 mov QWORD PTR [rsp+48], rbp
00021 33 d2 xor edx, edx
00023 89 6c 24 28 mov DWORD PTR [rsp+40], ebp
00027 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
0002c 44 8d 4d ff lea r9d, QWORD PTR [rbp-1]
00030 48 89 6c 24 20 mov QWORD PTR [rsp+32], rbp
00035 ff 15 00 00 00
00 call QWORD PTR __imp_WideCharToMultiByte
0003b 48 63 f8 movsxd rdi, eax
; 470 : if (!size)
0003e 85 c0 test eax, eax
00040 75 23 jne SHORT $LN2@glfwCreate
; 471 : {
; 472 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
00042 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@EFIFNOJC@Win32?3?5Failed?5to?5convert?5string@
00049 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
0004e e8 00 00 00 00 call _glfwInputErrorWin32
; 473 : "Win32: Failed to convert string to UTF-8");
; 474 : return NULL;
00053 33 c0 xor eax, eax
; 488 : }
00055 48 8b 6c 24 58 mov rbp, QWORD PTR [rsp+88]
0005a 48 8b 74 24 60 mov rsi, QWORD PTR [rsp+96]
0005f 48 83 c4 40 add rsp, 64 ; 00000040H
00063 5f pop rdi
00064 c3 ret 0
$LN2@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
00065 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
0006c 48 8b cf mov rcx, rdi
0006f 48 89 5c 24 50 mov QWORD PTR [rsp+80], rbx
00074 ff 15 08 00 00
00 call QWORD PTR _glfw+8
; 284 : if (block)
0007a 48 85 c0 test rax, rax
0007d 74 12 je SHORT $LN9@glfwCreate
; 285 : return memset(block, 0, count * size);
0007f 4c 8b c7 mov r8, rdi
00082 33 d2 xor edx, edx
00084 48 8b c8 mov rcx, rax
00087 e8 00 00 00 00 call memset
0008c 48 8b d8 mov rbx, rax
0008f eb 0f jmp SHORT $LN7@glfwCreate
$LN9@glfwCreate:
; 286 : else
; 287 : {
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
00091 33 d2 xor edx, edx
00093 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
00098 e8 00 00 00 00 call _glfwInputError
; 289 : return NULL;
0009d 48 8b dd mov rbx, rbp
$LN7@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 479 : if (!WideCharToMultiByte(CP_UTF8, 0, source, -1, target, size, NULL, NULL))
000a0 48 89 6c 24 38 mov QWORD PTR [rsp+56], rbp
000a5 41 b9 ff ff ff
ff mov r9d, -1
000ab 48 89 6c 24 30 mov QWORD PTR [rsp+48], rbp
000b0 4c 8b c6 mov r8, rsi
000b3 89 7c 24 28 mov DWORD PTR [rsp+40], edi
000b7 33 d2 xor edx, edx
000b9 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
000be 48 89 5c 24 20 mov QWORD PTR [rsp+32], rbx
000c3 ff 15 00 00 00
00 call QWORD PTR __imp_WideCharToMultiByte
000c9 85 c0 test eax, eax
000cb 75 2a jne SHORT $LN3@glfwCreate
; 480 : {
; 481 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
000cd 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@EFIFNOJC@Win32?3?5Failed?5to?5convert?5string@
000d4 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
000d9 e8 00 00 00 00 call _glfwInputErrorWin32
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 320 : if (block)
000de 48 85 db test rbx, rbx
000e1 74 10 je SHORT $LN13@glfwCreate
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
000e3 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
000ea 48 8b cb mov rcx, rbx
000ed ff 15 18 00 00
00 call QWORD PTR _glfw+24
$LN13@glfwCreate:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 484 : return NULL;
000f3 33 c0 xor eax, eax
000f5 eb 03 jmp SHORT $LN19@glfwCreate
$LN3@glfwCreate:
; 485 : }
; 486 :
; 487 : return target;
000f7 48 8b c3 mov rax, rbx
$LN19@glfwCreate:
000fa 48 8b 5c 24 50 mov rbx, QWORD PTR [rsp+80]
; 488 : }
000ff 48 8b 6c 24 58 mov rbp, QWORD PTR [rsp+88]
00104 48 8b 74 24 60 mov rsi, QWORD PTR [rsp+96]
00109 48 83 c4 40 add rsp, 64 ; 00000040H
0010d 5f pop rdi
0010e c3 ret 0
_glfwCreateUTF8FromWideStringWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwUpdateKeyNamesWin32
_TEXT SEGMENT
vks$1 = 64
chars$2 = 128
state$ = 160
__$ArrayPad$ = 416
_glfwUpdateKeyNamesWin32 PROC ; COMDAT
; 514 : {
$LN22:
00000 48 89 5c 24 10 mov QWORD PTR [rsp+16], rbx
00005 48 89 6c 24 18 mov QWORD PTR [rsp+24], rbp
0000a 48 89 74 24 20 mov QWORD PTR [rsp+32], rsi
0000f 41 54 push r12
00011 41 56 push r14
00013 41 57 push r15
00015 48 81 ec b0 01
00 00 sub rsp, 432 ; 000001b0H
0001c 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00023 48 33 c4 xor rax, rsp
00026 48 89 84 24 a0
01 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
; 515 : int key;
; 516 : BYTE state[256] = { 0 };
0002e 33 d2 xor edx, edx
00030 48 8d 8c 24 a0
00 00 00 lea rcx, QWORD PTR state$[rsp]
00038 41 b8 00 01 00
00 mov r8d, 256 ; 00000100H
0003e e8 00 00 00 00 call memset
; 517 :
; 518 : memset(_glfw.win32.keynames, 0, sizeof(_glfw.win32.keynames));
00043 33 d2 xor edx, edx
00045 48 8d 0d 62 22
00 00 lea rcx, OFFSET FLAT:_glfw+8802
0004c 41 b8 d1 06 00
00 mov r8d, 1745 ; 000006d1H
00052 e8 00 00 00 00 call memset
00057 4c 8d 74 24 40 lea r14, QWORD PTR vks$1[rsp]
0005c 48 89 bc 24 d0
01 00 00 mov QWORD PTR [rsp+464], rdi
00064 49 81 ee 80 04
00 00 sub r14, 1152 ; 00000480H
0006b 48 8d 2d e8 1f
00 00 lea rbp, OFFSET FLAT:_glfw+8168
00072 45 33 e4 xor r12d, r12d
00075 4c 8d 3d 02 23
00 00 lea r15, OFFSET FLAT:_glfw+8962
0007c bb 20 00 00 00 mov ebx, 32 ; 00000020H
$LL4@glfwUpdate:
; 521 : {
; 522 : UINT vk;
; 523 : int scancode, length;
; 524 : WCHAR chars[16];
; 525 :
; 526 : scancode = _glfw.win32.scancodes[key];
00081 0f bf 75 00 movsx esi, WORD PTR [rbp]
; 527 : if (scancode == -1)
00085 83 fe ff cmp esi, -1
00088 0f 84 2a 01 00
00 je $LN2@glfwUpdate
; 528 : continue;
; 529 :
; 530 : if (key >= GLFW_KEY_KP_0 && key <= GLFW_KEY_KP_ADD)
0008e 81 fb 40 01 00
00 cmp ebx, 320 ; 00000140H
00094 0f 82 85 00 00
00 jb $LN6@glfwUpdate
0009a 81 fb 4e 01 00
00 cmp ebx, 334 ; 0000014eH
000a0 77 7d ja SHORT $LN6@glfwUpdate
; 531 : {
; 532 : const UINT vks[] = {
000a2 c7 44 24 40 60
00 00 00 mov DWORD PTR vks$1[rsp], 96 ; 00000060H
000aa c7 44 24 44 61
00 00 00 mov DWORD PTR vks$1[rsp+4], 97 ; 00000061H
000b2 c7 44 24 48 62
00 00 00 mov DWORD PTR vks$1[rsp+8], 98 ; 00000062H
000ba c7 44 24 4c 63
00 00 00 mov DWORD PTR vks$1[rsp+12], 99 ; 00000063H
000c2 c7 44 24 50 64
00 00 00 mov DWORD PTR vks$1[rsp+16], 100 ; 00000064H
000ca c7 44 24 54 65
00 00 00 mov DWORD PTR vks$1[rsp+20], 101 ; 00000065H
000d2 c7 44 24 58 66
00 00 00 mov DWORD PTR vks$1[rsp+24], 102 ; 00000066H
000da c7 44 24 5c 67
00 00 00 mov DWORD PTR vks$1[rsp+28], 103 ; 00000067H
000e2 c7 44 24 60 68
00 00 00 mov DWORD PTR vks$1[rsp+32], 104 ; 00000068H
000ea c7 44 24 64 69
00 00 00 mov DWORD PTR vks$1[rsp+36], 105 ; 00000069H
000f2 c7 44 24 68 6e
00 00 00 mov DWORD PTR vks$1[rsp+40], 110 ; 0000006eH
000fa c7 44 24 6c 6f
00 00 00 mov DWORD PTR vks$1[rsp+44], 111 ; 0000006fH
00102 c7 44 24 70 6a
00 00 00 mov DWORD PTR vks$1[rsp+48], 106 ; 0000006aH
0010a c7 44 24 74 6d
00 00 00 mov DWORD PTR vks$1[rsp+52], 109 ; 0000006dH
00112 c7 44 24 78 6b
00 00 00 mov DWORD PTR vks$1[rsp+56], 107 ; 0000006bH
; 533 : VK_NUMPAD0, VK_NUMPAD1, VK_NUMPAD2, VK_NUMPAD3,
; 534 : VK_NUMPAD4, VK_NUMPAD5, VK_NUMPAD6, VK_NUMPAD7,
; 535 : VK_NUMPAD8, VK_NUMPAD9, VK_DECIMAL, VK_DIVIDE,
; 536 : VK_MULTIPLY, VK_SUBTRACT, VK_ADD
; 537 : };
; 538 :
; 539 : vk = vks[key - GLFW_KEY_KP_0];
0011a 41 8b 3e mov edi, DWORD PTR [r14]
; 540 : }
0011d eb 0f jmp SHORT $LN7@glfwUpdate
$LN6@glfwUpdate:
; 541 : else
; 542 : vk = MapVirtualKeyW(scancode, MAPVK_VSC_TO_VK);
0011f ba 01 00 00 00 mov edx, 1
00124 8b ce mov ecx, esi
00126 ff 15 00 00 00
00 call QWORD PTR __imp_MapVirtualKeyW
0012c 8b f8 mov edi, eax
$LN7@glfwUpdate:
; 543 :
; 544 : length = ToUnicode(vk, scancode, state,
0012e 44 89 64 24 28 mov DWORD PTR [rsp+40], r12d
00133 4c 8d 8c 24 80
00 00 00 lea r9, QWORD PTR chars$2[rsp]
0013b 4c 8d 84 24 a0
00 00 00 lea r8, QWORD PTR state$[rsp]
00143 c7 44 24 20 10
00 00 00 mov DWORD PTR [rsp+32], 16
0014b 8b d6 mov edx, esi
0014d 8b cf mov ecx, edi
0014f ff 15 00 00 00
00 call QWORD PTR __imp_ToUnicode
; 545 : chars, sizeof(chars) / sizeof(WCHAR),
; 546 : 0);
; 547 :
; 548 : if (length == -1)
00155 83 f8 ff cmp eax, -1
00158 75 27 jne SHORT $LN8@glfwUpdate
; 549 : {
; 550 : // This is a dead key, so we need a second simulated key press
; 551 : // to make it output its own character (usually a diacritic)
; 552 : length = ToUnicode(vk, scancode, state,
0015a 44 89 64 24 28 mov DWORD PTR [rsp+40], r12d
0015f 4c 8d 8c 24 80
00 00 00 lea r9, QWORD PTR chars$2[rsp]
00167 4c 8d 84 24 a0
00 00 00 lea r8, QWORD PTR state$[rsp]
0016f c7 44 24 20 10
00 00 00 mov DWORD PTR [rsp+32], 16
00177 8b d6 mov edx, esi
00179 8b cf mov ecx, edi
0017b ff 15 00 00 00
00 call QWORD PTR __imp_ToUnicode
$LN8@glfwUpdate:
; 553 : chars, sizeof(chars) / sizeof(WCHAR),
; 554 : 0);
; 555 : }
; 556 :
; 557 : if (length < 1)
00181 83 f8 01 cmp eax, 1
00184 7c 32 jl SHORT $LN2@glfwUpdate
; 558 : continue;
; 559 :
; 560 : WideCharToMultiByte(CP_UTF8, 0, chars, 1,
00186 4c 89 64 24 38 mov QWORD PTR [rsp+56], r12
0018b 4c 8d 84 24 80
00 00 00 lea r8, QWORD PTR chars$2[rsp]
00193 4c 89 64 24 30 mov QWORD PTR [rsp+48], r12
00198 41 b9 01 00 00
00 mov r9d, 1
0019e c7 44 24 28 05
00 00 00 mov DWORD PTR [rsp+40], 5
001a6 33 d2 xor edx, edx
001a8 b9 e9 fd 00 00 mov ecx, 65001 ; 0000fde9H
001ad 4c 89 7c 24 20 mov QWORD PTR [rsp+32], r15
001b2 ff 15 00 00 00
00 call QWORD PTR __imp_WideCharToMultiByte
$LN2@glfwUpdate:
; 519 :
; 520 : for (key = GLFW_KEY_SPACE; key <= GLFW_KEY_LAST; key++)
001b8 ff c3 inc ebx
001ba 49 83 c7 05 add r15, 5
001be 49 83 c6 04 add r14, 4
001c2 48 83 c5 02 add rbp, 2
001c6 81 fb 5c 01 00
00 cmp ebx, 348 ; 0000015cH
001cc 0f 8e af fe ff
ff jle $LL4@glfwUpdate
001d2 48 8b bc 24 d0
01 00 00 mov rdi, QWORD PTR [rsp+464]
; 561 : _glfw.win32.keynames[key],
; 562 : sizeof(_glfw.win32.keynames[key]),
; 563 : NULL, NULL);
; 564 : }
; 565 : }
001da 48 8b 8c 24 a0
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
001e2 48 33 cc xor rcx, rsp
001e5 e8 00 00 00 00 call __security_check_cookie
001ea 4c 8d 9c 24 b0
01 00 00 lea r11, QWORD PTR [rsp+432]
001f2 49 8b 5b 28 mov rbx, QWORD PTR [r11+40]
001f6 49 8b 6b 30 mov rbp, QWORD PTR [r11+48]
001fa 49 8b 73 38 mov rsi, QWORD PTR [r11+56]
001fe 49 8b e3 mov rsp, r11
00201 41 5f pop r15
00203 41 5e pop r14
00205 41 5c pop r12
00207 c3 ret 0
_glfwUpdateKeyNamesWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwIsWindows10BuildOrGreaterWin32
_TEXT SEGMENT
osvi$ = 32
__$ArrayPad$ = 320
build$ = 352
_glfwIsWindows10BuildOrGreaterWin32 PROC ; COMDAT
; 586 : {
$LN4:
00000 40 53 push rbx
00002 48 81 ec 50 01
00 00 sub rsp, 336 ; 00000150H
00009 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00010 48 33 c4 xor rax, rsp
00013 48 89 84 24 40
01 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
; 587 : OSVERSIONINFOEXW osvi = { sizeof(osvi), 10, 0, build };
0001b 0f b7 c1 movzx eax, cx
0001e 33 d2 xor edx, edx
00020 48 8d 4c 24 30 lea rcx, QWORD PTR osvi$[rsp+16]
00025 89 44 24 2c mov DWORD PTR osvi$[rsp+12], eax
00029 41 b8 0c 01 00
00 mov r8d, 268 ; 0000010cH
0002f c7 44 24 20 1c
01 00 00 mov DWORD PTR osvi$[rsp], 284 ; 0000011cH
00037 48 c7 44 24 24
0a 00 00 00 mov QWORD PTR osvi$[rsp+4], 10
00040 33 db xor ebx, ebx
00042 e8 00 00 00 00 call memset
; 588 : DWORD mask = VER_MAJORVERSION | VER_MINORVERSION | VER_BUILDNUMBER;
; 589 : ULONGLONG cond = VerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL);
00047 41 b0 03 mov r8b, 3
0004a 8d 53 02 lea edx, QWORD PTR [rbx+2]
0004d 33 c9 xor ecx, ecx
0004f ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 590 : cond = VerSetConditionMask(cond, VER_MINORVERSION, VER_GREATER_EQUAL);
00055 41 b0 03 mov r8b, 3
00058 8d 53 01 lea edx, QWORD PTR [rbx+1]
0005b 48 8b c8 mov rcx, rax
0005e ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 591 : cond = VerSetConditionMask(cond, VER_BUILDNUMBER, VER_GREATER_EQUAL);
00064 41 b0 03 mov r8b, 3
00067 8d 53 04 lea edx, QWORD PTR [rbx+4]
0006a 48 8b c8 mov rcx, rax
0006d ff 15 00 00 00
00 call QWORD PTR __imp_VerSetConditionMask
; 592 : // HACK: Use RtlVerifyVersionInfo instead of VerifyVersionInfoW as the
; 593 : // latter lies unless the user knew to embed a non-default manifest
; 594 : // announcing support for Windows 10 via supportedOS GUID
; 595 : return RtlVerifyVersionInfo(&osvi, mask, cond) == 0;
00073 4c 8b c0 mov r8, rax
00076 8d 53 07 lea edx, QWORD PTR [rbx+7]
00079 48 8d 4c 24 20 lea rcx, QWORD PTR osvi$[rsp]
0007e ff 15 20 2a 00
00 call QWORD PTR _glfw+10784
00084 85 c0 test eax, eax
00086 0f 94 c3 sete bl
00089 8b c3 mov eax, ebx
; 596 : }
0008b 48 8b 8c 24 40
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
00093 48 33 cc xor rcx, rsp
00096 e8 00 00 00 00 call __security_check_cookie
0009b 48 81 c4 50 01
00 00 add rsp, 336 ; 00000150H
000a2 5b pop rbx
000a3 c3 ret 0
_glfwIsWindows10BuildOrGreaterWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwInitWin32
_TEXT SEGMENT
wc$1 = 96
dbi$2 = 176
msg$3 = 208
__$ArrayPad$ = 256
_glfwInitWin32 PROC ; COMDAT
; 681 : {
$LN31:
00000 40 53 push rbx
00002 48 81 ec 10 01
00 00 sub rsp, 272 ; 00000110H
00009 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00010 48 33 c4 xor rax, rsp
00013 48 89 84 24 00
01 00 00 mov QWORD PTR __$ArrayPad$[rsp], rax
; 682 : if (!loadLibraries())
0001b e8 00 00 00 00 call loadLibraries
00020 85 c0 test eax, eax
00022 0f 84 e0 00 00
00 je $LN20@glfwInitWi
; 683 : return GLFW_FALSE;
; 684 :
; 685 : createKeyTables();
00028 e8 00 00 00 00 call createKeyTables
; 686 : _glfwUpdateKeyNamesWin32();
0002d e8 00 00 00 00 call _glfwUpdateKeyNamesWin32
; 687 :
; 688 : if (_glfwIsWindows10Version1703OrGreaterWin32())
00032 b9 d7 3a 00 00 mov ecx, 15063 ; 00003ad7H
00037 e8 00 00 00 00 call _glfwIsWindows10BuildOrGreaterWin32
0003c 85 c0 test eax, eax
0003e 74 0f je SHORT $LN3@glfwInitWi
; 689 : SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
00040 48 c7 c1 fc ff
ff ff mov rcx, -4
00047 ff 15 b8 29 00
00 call QWORD PTR _glfw+10680
0004d eb 2c jmp SHORT $LN7@glfwInitWi
$LN3@glfwInitWi:
; 690 : else if (IsWindows8Point1OrGreater())
0004f ba 03 00 00 00 mov edx, 3
00054 e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32
00059 85 c0 test eax, eax
0005b 74 0d je SHORT $LN5@glfwInitWi
; 691 : SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE);
0005d b9 02 00 00 00 mov ecx, 2
00062 ff 15 08 2a 00
00 call QWORD PTR _glfw+10760
00068 eb 11 jmp SHORT $LN7@glfwInitWi
$LN5@glfwInitWi:
; 692 : else if (IsWindowsVistaOrGreater())
0006a 33 d2 xor edx, edx
0006c e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32
00071 85 c0 test eax, eax
00073 74 06 je SHORT $LN7@glfwInitWi
; 693 : SetProcessDPIAware();
00075 ff 15 a0 29 00
00 call QWORD PTR _glfw+10656
$LN7@glfwInitWi:
; 370 : WNDCLASSEXW wc = { sizeof(wc) };
0007b 33 c0 xor eax, eax
0007d c7 44 24 60 50
00 00 00 mov DWORD PTR wc$1[rsp], 80 ; 00000050H
00085 48 89 84 24 a4
00 00 00 mov QWORD PTR wc$1[rsp+68], rax
; 376 :
; 377 : _glfw.win32.helperWindowClass = RegisterClassExW(&wc);
0008d 48 8d 4c 24 60 lea rcx, QWORD PTR wc$1[rsp]
00092 0f 57 c0 xorps xmm0, xmm0
; 370 : WNDCLASSEXW wc = { sizeof(wc) };
00095 89 84 24 ac 00
00 00 mov DWORD PTR wc$1[rsp+76], eax
0009c 0f 11 44 24 64 movups XMMWORD PTR wc$1[rsp+4], xmm0
; 371 :
; 372 : wc.style = CS_OWNDC;
; 373 : wc.lpfnWndProc = (WNDPROC)helperWindowProc;
000a1 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:helperWindowProc
000a8 c7 44 24 64 20
00 00 00 mov DWORD PTR wc$1[rsp+4], 32 ; 00000020H
000b0 48 89 44 24 68 mov QWORD PTR wc$1[rsp+8], rax
; 374 : wc.hInstance = _glfw.win32.instance;
000b5 48 8b 05 78 1b
00 00 mov rax, QWORD PTR _glfw+7032
000bc 0f 11 44 24 74 movups XMMWORD PTR wc$1[rsp+20], xmm0
000c1 48 89 44 24 78 mov QWORD PTR wc$1[rsp+24], rax
; 375 : wc.lpszClassName = L"GLFW3 Helper";
000c6 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:??_C@_1BK@OPNBOCAD@?$AAG?$AAL?$AAF?$AAW?$AA3?$AA?5?$AAH?$AAe?$AAl?$AAp?$AAe?$AAr@
000cd 0f 11 84 24 94
00 00 00 movups XMMWORD PTR wc$1[rsp+52], xmm0
000d5 48 89 84 24 a0
00 00 00 mov QWORD PTR wc$1[rsp+64], rax
000dd 0f 11 84 24 84
00 00 00 movups XMMWORD PTR wc$1[rsp+36], xmm0
; 376 :
; 377 : _glfw.win32.helperWindowClass = RegisterClassExW(&wc);
000e5 ff 15 00 00 00
00 call QWORD PTR __imp_RegisterClassExW
000eb 66 89 05 88 1b
00 00 mov WORD PTR _glfw+7048, ax
000f2 66 85 c0 test ax, ax
; 378 : if (!_glfw.win32.helperWindowClass)
000f5 75 2c jne SHORT $LN13@glfwInitWi
; 379 : {
; 380 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
000f7 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CO@CNHHHABN@Win32?3?5Failed?5to?5register?5helpe@
$LN29@glfwInitWi:
; 694 :
; 695 : if (!createHelperWindow())
; 696 : return GLFW_FALSE;
000fe b9 08 00 01 00 mov ecx, 65544 ; 00010008H
00103 e8 00 00 00 00 call _glfwInputErrorWin32
$LN20@glfwInitWi:
00108 33 c0 xor eax, eax
$LN1@glfwInitWi:
; 700 : }
0010a 48 8b 8c 24 00
01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rsp]
00112 48 33 cc xor rcx, rsp
00115 e8 00 00 00 00 call __security_check_cookie
0011a 48 81 c4 10 01
00 00 add rsp, 272 ; 00000110H
00121 5b pop rbx
00122 c3 ret 0
$LN13@glfwInitWi:
; 385 : _glfw.win32.helperWindowHandle =
00123 33 db xor ebx, ebx
00125 0f b7 d0 movzx edx, ax
00128 48 8b 05 78 1b
00 00 mov rax, QWORD PTR _glfw+7032
0012f 4c 8d 05 00 00
00 00 lea r8, OFFSET FLAT:??_C@_1CI@MPNNJFCJ@?$AAG?$AAL?$AAF?$AAW?$AA?5?$AAm?$AAe?$AAs?$AAs?$AAa?$AAg?$AAe?$AA?5?$AAw?$AAi@
00136 48 89 5c 24 58 mov QWORD PTR [rsp+88], rbx
0013b 41 b9 00 00 00
06 mov r9d, 100663296 ; 06000000H
00141 48 89 44 24 50 mov QWORD PTR [rsp+80], rax
00146 b9 00 03 00 00 mov ecx, 768 ; 00000300H
0014b 48 89 5c 24 48 mov QWORD PTR [rsp+72], rbx
00150 48 89 5c 24 40 mov QWORD PTR [rsp+64], rbx
00155 c7 44 24 38 01
00 00 00 mov DWORD PTR [rsp+56], 1
0015d c7 44 24 30 01
00 00 00 mov DWORD PTR [rsp+48], 1
00165 89 5c 24 28 mov DWORD PTR [rsp+40], ebx
00169 89 5c 24 20 mov DWORD PTR [rsp+32], ebx
0016d ff 15 00 00 00
00 call QWORD PTR __imp_CreateWindowExW
00173 48 89 05 80 1b
00 00 mov QWORD PTR _glfw+7040, rax
0017a 48 85 c0 test rax, rax
; 386 : CreateWindowExW(WS_EX_OVERLAPPEDWINDOW,
; 387 : MAKEINTATOM(_glfw.win32.helperWindowClass),
; 388 : L"GLFW message window",
; 389 : WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
; 390 : 0, 0, 1, 1,
; 391 : NULL, NULL,
; 392 : _glfw.win32.instance,
; 393 : NULL);
; 394 :
; 395 : if (!_glfw.win32.helperWindowHandle)
0017d 75 0c jne SHORT $LN14@glfwInitWi
; 396 : {
; 397 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
0017f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CG@LDJIJKNI@Win32?3?5Failed?5to?5create?5helper?5@
; 398 : "Win32: Failed to create helper window");
; 399 : return GLFW_FALSE;
00186 e9 73 ff ff ff jmp $LN29@glfwInitWi
$LN14@glfwInitWi:
; 400 : }
; 401 :
; 402 : // HACK: The command to the first ShowWindow call is ignored if the parent
; 403 : // process passed along a STARTUPINFO, so clear that with a no-op call
; 404 : ShowWindow(_glfw.win32.helperWindowHandle, SW_HIDE);
0018b 33 d2 xor edx, edx
0018d 48 8b c8 mov rcx, rax
00190 ff 15 00 00 00
00 call QWORD PTR __imp_ShowWindow
; 405 :
; 406 : // Register for HID device notifications
; 407 : {
; 408 : DEV_BROADCAST_DEVICEINTERFACE_W dbi;
; 409 : ZeroMemory(&dbi, sizeof(dbi));
; 410 : dbi.dbcc_size = sizeof(dbi);
; 411 : dbi.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
; 412 : dbi.dbcc_classguid = GUID_DEVINTERFACE_HID;
00196 0f 10 05 00 00
00 00 movups xmm0, XMMWORD PTR _glfw_GUID_DEVINTERFACE_HID
; 413 :
; 414 : _glfw.win32.deviceNotificationHandle =
0019d 48 8b 0d 80 1b
00 00 mov rcx, QWORD PTR _glfw+7040
001a4 48 8d 94 24 b0
00 00 00 lea rdx, QWORD PTR dbi$2[rsp]
001ac 45 33 c0 xor r8d, r8d
001af 48 c7 84 24 b4
00 00 00 05 00
00 00 mov QWORD PTR dbi$2[rsp+4], 5
001bb 0f 11 84 24 bc
00 00 00 movups XMMWORD PTR dbi$2[rsp+12], xmm0
001c3 89 9c 24 cc 00
00 00 mov DWORD PTR dbi$2[rsp+28], ebx
001ca c7 84 24 b0 00
00 00 20 00 00
00 mov DWORD PTR dbi$2[rsp], 32 ; 00000020H
001d5 ff 15 00 00 00
00 call QWORD PTR __imp_RegisterDeviceNotificationW
; 415 : RegisterDeviceNotificationW(_glfw.win32.helperWindowHandle,
; 416 : (DEV_BROADCAST_HDR*)&dbi,
; 417 : DEVICE_NOTIFY_WINDOW_HANDLE);
; 418 : }
; 419 :
; 420 : while (PeekMessageW(&msg, _glfw.win32.helperWindowHandle, 0, 0, PM_REMOVE))
001db 48 8b 15 80 1b
00 00 mov rdx, QWORD PTR _glfw+7040
001e2 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$3[rsp]
001ea 45 33 c9 xor r9d, r9d
001ed 48 89 05 90 1b
00 00 mov QWORD PTR _glfw+7056, rax
001f4 45 33 c0 xor r8d, r8d
001f7 c7 44 24 20 01
00 00 00 mov DWORD PTR [rsp+32], 1
001ff ff 15 00 00 00
00 call QWORD PTR __imp_PeekMessageW
00205 85 c0 test eax, eax
00207 74 4a je SHORT $LN8@glfwInitWi
00209 0f 1f 80 00 00
00 00 npad 7
$LL11@glfwInitWi:
; 421 : {
; 422 : TranslateMessage(&msg);
00210 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$3[rsp]
00218 ff 15 00 00 00
00 call QWORD PTR __imp_TranslateMessage
; 423 : DispatchMessageW(&msg);
0021e 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$3[rsp]
00226 ff 15 00 00 00
00 call QWORD PTR __imp_DispatchMessageW
0022c 48 8b 15 80 1b
00 00 mov rdx, QWORD PTR _glfw+7040
00233 48 8d 8c 24 d0
00 00 00 lea rcx, QWORD PTR msg$3[rsp]
0023b 45 33 c9 xor r9d, r9d
0023e c7 44 24 20 01
00 00 00 mov DWORD PTR [rsp+32], 1
00246 45 33 c0 xor r8d, r8d
00249 ff 15 00 00 00
00 call QWORD PTR __imp_PeekMessageW
0024f 85 c0 test eax, eax
00251 75 bd jne SHORT $LL11@glfwInitWi
$LN8@glfwInitWi:
; 697 :
; 698 : _glfwPollMonitorsWin32();
00253 e8 00 00 00 00 call _glfwPollMonitorsWin32
; 699 : return GLFW_TRUE;
00258 b8 01 00 00 00 mov eax, 1
0025d e9 a8 fe ff ff jmp $LN1@glfwInitWi
_glfwInitWin32 ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\wgl_context.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\egl_context.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\egl_context.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\osmesa_context.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\osmesa_context.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; COMDAT _glfwTerminateWin32
_TEXT SEGMENT
_glfwTerminateWin32 PROC ; COMDAT
; 703 : {
$LN50:
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
; 704 : if (_glfw.win32.deviceNotificationHandle)
00004 48 8b 0d 90 1b
00 00 mov rcx, QWORD PTR _glfw+7056
0000b 48 85 c9 test rcx, rcx
0000e 74 06 je SHORT $LN2@glfwTermin
; 705 : UnregisterDeviceNotification(_glfw.win32.deviceNotificationHandle);
00010 ff 15 00 00 00
00 call QWORD PTR __imp_UnregisterDeviceNotification
$LN2@glfwTermin:
; 706 :
; 707 : if (_glfw.win32.helperWindowHandle)
00016 48 8b 0d 80 1b
00 00 mov rcx, QWORD PTR _glfw+7040
0001d 48 85 c9 test rcx, rcx
00020 74 06 je SHORT $LN3@glfwTermin
; 708 : DestroyWindow(_glfw.win32.helperWindowHandle);
00022 ff 15 00 00 00
00 call QWORD PTR __imp_DestroyWindow
$LN3@glfwTermin:
; 709 : if (_glfw.win32.helperWindowClass)
00028 0f b7 05 88 1b
00 00 movzx eax, WORD PTR _glfw+7048
0002f 66 85 c0 test ax, ax
00032 74 0f je SHORT $LN4@glfwTermin
; 710 : UnregisterClassW(MAKEINTATOM(_glfw.win32.helperWindowClass), _glfw.win32.instance);
00034 48 8b 15 78 1b
00 00 mov rdx, QWORD PTR _glfw+7032
0003b 8b c8 mov ecx, eax
0003d ff 15 00 00 00
00 call QWORD PTR __imp_UnregisterClassW
$LN4@glfwTermin:
; 711 : if (_glfw.win32.mainWindowClass)
00043 0f b7 05 8a 1b
00 00 movzx eax, WORD PTR _glfw+7050
0004a 66 85 c0 test ax, ax
0004d 74 0f je SHORT $LN5@glfwTermin
; 712 : UnregisterClassW(MAKEINTATOM(_glfw.win32.mainWindowClass), _glfw.win32.instance);
0004f 48 8b 15 78 1b
00 00 mov rdx, QWORD PTR _glfw+7032
00056 8b c8 mov ecx, eax
00058 ff 15 00 00 00
00 call QWORD PTR __imp_UnregisterClassW
$LN5@glfwTermin:
; 713 :
; 714 : _glfw_free(_glfw.win32.clipboardString);
0005e 48 8b 0d a0 1b
00 00 mov rcx, QWORD PTR _glfw+7072
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 320 : if (block)
00065 48 85 c9 test rcx, rcx
00068 74 0d je SHORT $LN8@glfwTermin
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
0006a 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
00071 ff 15 18 00 00
00 call QWORD PTR _glfw+24
$LN8@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 715 : _glfw_free(_glfw.win32.rawInput);
00077 48 8b 0d 58 29
00 00 mov rcx, QWORD PTR _glfw+10584
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\init.c
; 320 : if (block)
0007e 48 85 c9 test rcx, rcx
00081 74 0d je SHORT $LN11@glfwTermin
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
00083 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
0008a ff 15 18 00 00
00 call QWORD PTR _glfw+24
$LN11@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\wgl_context.c
; 512 : if (_glfw.wgl.instance)
00090 48 8b 0d 90 2c
00 00 mov rcx, QWORD PTR _glfw+11408
00097 48 85 c9 test rcx, rcx
0009a 74 06 je SHORT $LN16@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
0009c ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN16@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\egl_context.c
; 544 : if (_glfw.egl.display)
000a2 48 8b 0d f8 19
00 00 mov rcx, QWORD PTR _glfw+6648
000a9 48 85 c9 test rcx, rcx
000ac 74 11 je SHORT $LN19@glfwTermin
; 545 : {
; 546 : eglTerminate(_glfw.egl.display);
000ae ff 15 78 1a 00
00 call QWORD PTR _glfw+6776
; 547 : _glfw.egl.display = EGL_NO_DISPLAY;
000b4 48 c7 05 f8 19
00 00 00 00 00
00 mov QWORD PTR _glfw+6648, 0
$LN19@glfwTermin:
; 548 : }
; 549 :
; 550 : if (_glfw.egl.handle)
000bf 48 8b 0d 48 1a
00 00 mov rcx, QWORD PTR _glfw+6728
000c6 48 85 c9 test rcx, rcx
000c9 74 11 je SHORT $LN20@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
000cb ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\egl_context.c
; 553 : _glfw.egl.handle = NULL;
000d1 48 c7 05 48 1a
00 00 00 00 00
00 mov QWORD PTR _glfw+6728, 0
$LN20@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\osmesa_context.c
; 186 : if (_glfw.osmesa.handle)
000dc 48 8b 0d e0 1a
00 00 mov rcx, QWORD PTR _glfw+6880
000e3 48 85 c9 test rcx, rcx
000e6 74 11 je SHORT $LN25@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
000e8 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\osmesa_context.c
; 189 : _glfw.osmesa.handle = NULL;
000ee 48 c7 05 e0 1a
00 00 00 00 00
00 mov QWORD PTR _glfw+6880, 0
$LN25@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 173 : if (_glfw.win32.xinput.instance)
000f9 48 8b 0d 80 29
00 00 mov rcx, QWORD PTR _glfw+10624
00100 48 85 c9 test rcx, rcx
00103 74 06 je SHORT $LN37@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00105 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN37@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 176 : if (_glfw.win32.dinput8.instance)
0010b 48 8b 0d 68 29
00 00 mov rcx, QWORD PTR _glfw+10600
00112 48 85 c9 test rcx, rcx
00115 74 06 je SHORT $LN39@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00117 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN39@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 179 : if (_glfw.win32.user32.instance)
0011d 48 8b 0d 98 29
00 00 mov rcx, QWORD PTR _glfw+10648
00124 48 85 c9 test rcx, rcx
00127 74 06 je SHORT $LN41@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00129 ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN41@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 182 : if (_glfw.win32.dwmapi.instance)
0012f 48 8b 0d d8 29
00 00 mov rcx, QWORD PTR _glfw+10712
00136 48 85 c9 test rcx, rcx
00139 74 06 je SHORT $LN43@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
0013b ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN43@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 185 : if (_glfw.win32.shcore.instance)
00141 48 8b 0d 00 2a
00 00 mov rcx, QWORD PTR _glfw+10752
00148 48 85 c9 test rcx, rcx
0014b 74 06 je SHORT $LN45@glfwTermin
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
0014d ff 15 00 00 00
00 call QWORD PTR __imp_FreeLibrary
$LN45@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 188 : if (_glfw.win32.ntdll.instance)
00153 48 8b 0d 18 2a
00 00 mov rcx, QWORD PTR _glfw+10776
0015a 48 85 c9 test rcx, rcx
0015d 74 0b je SHORT $LN47@glfwTermin
; 722 : }
0015f 48 83 c4 28 add rsp, 40 ; 00000028H
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_module.c
; 44 : FreeLibrary((HMODULE)module);
00163 48 ff 25 00 00
00 00 rex_jmp QWORD PTR __imp_FreeLibrary
$LN47@glfwTermin:
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\win32_init.c
; 722 : }
0016a 48 83 c4 28 add rsp, 40 ; 00000028H
0016e c3 ret 0
_glfwTerminateWin32 ENDP
_TEXT ENDS
END