daily update on 20240226 by nitload youmu
This commit is contained in:
@@ -0,0 +1,802 @@
|
||||
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
|
||||
|
||||
include listing.inc
|
||||
|
||||
INCLUDELIB MSVCRTD
|
||||
INCLUDELIB OLDNAMES
|
||||
|
||||
EXTRN _glfwConnectWin32:PROC
|
||||
msvcjmc SEGMENT
|
||||
__9C03CD75_concurrencysal@h DB 01H
|
||||
__CA64BAF1_sal@h DB 01H
|
||||
__95655E73_vadefs@h DB 01H
|
||||
__1D560A45_vcruntime@h DB 01H
|
||||
__1B0272D9_corecrt@h DB 01H
|
||||
__13F5961F_stddef@h DB 01H
|
||||
__ED683015_stdint@h DB 01H
|
||||
__89F75FCD_ssgc_internal@h DB 01H
|
||||
__A5E73FD0_glfw3@h DB 01H
|
||||
__1D45B1A5_glfw_null_platform@h DB 01H
|
||||
__74484FB3_corecrt_wctype@h DB 01H
|
||||
__CBE172F9_wctype@h DB 01H
|
||||
__0ED14FEE_winpackagefamily@h DB 01H
|
||||
__F92EF742_winapifamily@h DB 01H
|
||||
__22E515EB_sdkddkver@h DB 01H
|
||||
__F214EFBF_excpt@h DB 01H
|
||||
__D9B78EDA_stdarg@h DB 01H
|
||||
__29F49F40_specstrings_undef@h DB 01H
|
||||
__D0F42932_specstrings_strict@h DB 01H
|
||||
__F00405FD_sdv_driverspecs@h DB 01H
|
||||
__173E09CA_driverspecs@h DB 01H
|
||||
__9A452361_specstrings@h DB 01H
|
||||
__1EC467ED_ctype@h DB 01H
|
||||
__98517906_kernelspecs@h DB 01H
|
||||
__D3497022_basetsd@h DB 01H
|
||||
__61CC25A1_errno@h DB 01H
|
||||
__7061C667_vcruntime_string@h DB 01H
|
||||
__E4C945B4_corecrt_memcpy_s@h DB 01H
|
||||
__8EAFF484_corecrt_memory@h DB 01H
|
||||
__6490AEC5_corecrt_wstring@h DB 01H
|
||||
__E8295E1E_string@h DB 01H
|
||||
__7FCB5136_guiddef@h DB 01H
|
||||
__FF8A9E11_pshpack4@h DB 01H
|
||||
__D5438902_poppack@h DB 01H
|
||||
__FB07E2A3_pshpack2@h DB 01H
|
||||
__F6906775_pshpack8@h DB 01H
|
||||
__F9415CFA_pshpack1@h DB 01H
|
||||
__E58C6F1C_apiset@h DB 01H
|
||||
__A5C52262_ktmtypes@h DB 01H
|
||||
__FBBA8F9D_winnt@h DB 01H
|
||||
__A32D3D2C_minwindef@h DB 01H
|
||||
__7D798299_windef@h DB 01H
|
||||
__9AE108E9_apisetcconv@h DB 01H
|
||||
__9CE53D2C_minwinbase@h DB 01H
|
||||
__5D0AA210_apiquery2@h DB 01H
|
||||
__4DD4E726_processenv@h DB 01H
|
||||
__3575CC96_fileapi@h DB 01H
|
||||
__8EA220E6_fileapifromapp@h DB 01H
|
||||
__BF9B31FE_debugapi@h DB 01H
|
||||
__C3AFE134_utilapiset@h DB 01H
|
||||
__76F69E51_handleapi@h DB 01H
|
||||
__7E63D784_errhandlingapi@h DB 01H
|
||||
__FFA7003C_fibersapi@h DB 01H
|
||||
__8971CECF_namedpipeapi@h DB 01H
|
||||
__46C9D8A6_profileapi@h DB 01H
|
||||
__98D4F0A3_heapapi@h DB 01H
|
||||
__50EF2A88_ioapiset@h DB 01H
|
||||
__92EA1464_synchapi@h DB 01H
|
||||
__A53D8AED_interlockedapi@h DB 01H
|
||||
__B506CAAF_processthreadsapi@h DB 01H
|
||||
__FF735694_sysinfoapi@h DB 01H
|
||||
__29589789_memoryapi@h DB 01H
|
||||
__E9C7A663_enclaveapi@h DB 01H
|
||||
__D035F9F7_threadpoollegacyapiset@h DB 01H
|
||||
__C899130C_threadpoolapiset@h DB 01H
|
||||
__E0441EE7_jobapi@h DB 01H
|
||||
__CEF86838_jobapi2@h DB 01H
|
||||
__35AC6B9A_wow64apiset@h DB 01H
|
||||
__C8AE41A5_libloaderapi@h DB 01H
|
||||
__CC9E232D_securitybaseapi@h DB 01H
|
||||
__C9D0C9B8_namespaceapi@h DB 01H
|
||||
__30FF9CAD_systemtopologyapi@h DB 01H
|
||||
__4D358795_processtopologyapi@h DB 01H
|
||||
__40446D10_securityappcontainer@h DB 01H
|
||||
__3A952EDF_realtimeapiset@h DB 01H
|
||||
__F4865F4B_winerror@h DB 01H
|
||||
__53C1BD93_timezoneapi@h DB 01H
|
||||
__1FFBEDBF_winbase@h DB 01H
|
||||
__43D3FA34_wingdi@h DB 01H
|
||||
__D24A7391_tvout@h DB 01H
|
||||
__7713A6C8_winuser@h DB 01H
|
||||
__0B345F71_datetimeapi@h DB 01H
|
||||
__9AC6960C_winnls@h DB 01H
|
||||
__973A40A8_stringapiset@h DB 01H
|
||||
__CC46FEE2_wincontypes@h DB 01H
|
||||
__97D70BE1_consoleapi@h DB 01H
|
||||
__27EC5E18_consoleapi2@h DB 01H
|
||||
__262E342F_consoleapi3@h DB 01H
|
||||
__641DCD70_wincon@h DB 01H
|
||||
__5A96C7A7_verrsrc@h DB 01H
|
||||
__B69C6FF2_winver@h DB 01H
|
||||
__7AEB8C37_reason@h DB 01H
|
||||
__59F1A8A9_winreg@h DB 01H
|
||||
__EE0E2B7F_wnnc@h DB 01H
|
||||
__DCDB7054_winnetwk@h DB 01H
|
||||
__81DDEDE3_stralign@h DB 01H
|
||||
__2134D1B4_winsvc@h DB 01H
|
||||
__11C07376_mcx@h DB 01H
|
||||
__577CE3E7_ime_cmodes@h DB 01H
|
||||
__1E72C31E_imm@h DB 01H
|
||||
__E15BF856_windows@h DB 01H
|
||||
__DF8704F0_rpcdcep@h DB 01H
|
||||
__5C6CA7BB_rpcdce@h DB 01H
|
||||
__853533C4_rpcnsi@h DB 01H
|
||||
__2D2406C3_rpcnterr@h DB 01H
|
||||
__64521D71_rpcasync@h DB 01H
|
||||
__AADCBA08_rpc@h DB 01H
|
||||
__1FE431C9_rpcnsip@h DB 01H
|
||||
__2B741F2D_rpcsal@h DB 01H
|
||||
__92623256_rpcndr@h DB 01H
|
||||
__45DED006_corecrt_malloc@h DB 01H
|
||||
__FD6DBD68_corecrt_search@h DB 01H
|
||||
__E2E33A61_corecrt_wstdlib@h DB 01H
|
||||
__531E1E2A_limits@h DB 01H
|
||||
__6E5ACABA_stdlib@h DB 01H
|
||||
__9C18532E_wtypesbase@h DB 01H
|
||||
__30B1AFDA_unknwnbase@h DB 01H
|
||||
__328C1996_objidlbase@h DB 01H
|
||||
__C4E06B6A_cguid@h DB 01H
|
||||
__434718C5_combaseapi@h DB 01H
|
||||
__EA2E1D6D_wtypes@h DB 01H
|
||||
__DE6FDEF1_unknwn@h DB 01H
|
||||
__CCE0BACC_objidl@h DB 01H
|
||||
__8C7011E5_oaidl@h DB 01H
|
||||
__2E0B7863_propidlbase@h DB 01H
|
||||
__BF4CF2EC_coml2api@h DB 01H
|
||||
__6D897344_oleidl@h DB 01H
|
||||
__1129FC2C_servprov@h DB 01H
|
||||
__757952E4_msxml@h DB 01H
|
||||
__B1191D53_urlmon@h DB 01H
|
||||
__404D1A47_propidl@h DB 01H
|
||||
__A1C63593_objbase@h DB 01H
|
||||
__9F7C87B7_dinput@h DB 01H
|
||||
__B468A3D3_xinput@h DB 01H
|
||||
__AD768F06_dbt@h DB 01H
|
||||
__D83367F8_glfw_win32_platform@h DB 01H
|
||||
__53CB9229_glfw_null_joystick@h DB 01H
|
||||
__96BD4474_glfw_win32_joystick@h DB 01H
|
||||
__7D74CEA8_glfw_win32_thread@h DB 01H
|
||||
__C7421531_glfw_win32_time@h DB 01H
|
||||
__43B1F397_glfw_platform@h DB 01H
|
||||
__A547227D_glfw_internal@h DB 01H
|
||||
__D95A9D8C_platform@c DB 01H
|
||||
msvcjmc ENDS
|
||||
CONST SEGMENT
|
||||
supportedPlatforms DD 060001H
|
||||
ORG $+4
|
||||
DQ FLAT:_glfwConnectWin32
|
||||
CONST ENDS
|
||||
PUBLIC glfwGetVersionString
|
||||
PUBLIC glfwGetPlatform
|
||||
PUBLIC glfwPlatformSupported
|
||||
PUBLIC _glfwSelectPlatform
|
||||
PUBLIC __JustMyCode_Default
|
||||
PUBLIC ??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@ ; `string'
|
||||
PUBLIC ??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@ ; `string'
|
||||
PUBLIC ??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@ ; `string'
|
||||
PUBLIC ??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@ ; `string'
|
||||
PUBLIC ??_C@_0CI@FAEOHBNC@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@ ; `string'
|
||||
EXTRN _glfwConnectNull:PROC
|
||||
EXTRN _glfwInputError:PROC
|
||||
EXTRN _RTC_InitBase:PROC
|
||||
EXTRN _RTC_Shutdown:PROC
|
||||
EXTRN __CheckForDebuggerJustMyCode:PROC
|
||||
EXTRN _glfw:BYTE
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$glfwGetVersionString DD imagerel $LN3
|
||||
DD imagerel $LN3+44
|
||||
DD imagerel $unwind$glfwGetVersionString
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$glfwGetPlatform DD imagerel $LN4
|
||||
DD imagerel $LN4+68
|
||||
DD imagerel $unwind$glfwGetPlatform
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$glfwPlatformSupported DD imagerel $LN9
|
||||
DD imagerel $LN9+220
|
||||
DD imagerel $unwind$glfwPlatformSupported
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$_glfwSelectPlatform DD imagerel $LN18
|
||||
DD imagerel $LN18+544
|
||||
DD imagerel $unwind$_glfwSelectPlatform
|
||||
pdata ENDS
|
||||
; COMDAT rtc$TMZ
|
||||
rtc$TMZ SEGMENT
|
||||
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
|
||||
rtc$TMZ ENDS
|
||||
; COMDAT rtc$IMZ
|
||||
rtc$IMZ SEGMENT
|
||||
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
|
||||
rtc$IMZ ENDS
|
||||
; COMDAT ??_C@_0CI@FAEOHBNC@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@
|
||||
CONST SEGMENT
|
||||
??_C@_0CI@FAEOHBNC@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@ DB '3.4.0 Win3'
|
||||
DB '2 WGL Null EGL OSMesa VisualC', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@
|
||||
CONST SEGMENT
|
||||
??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@ DB 'The requeste'
|
||||
DB 'd platform is not supported', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@
|
||||
CONST SEGMENT
|
||||
??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@ DB 'Failed to de'
|
||||
DB 'tect any supported platform', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@
|
||||
CONST SEGMENT
|
||||
??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@ DB 'This binary '
|
||||
DB 'only supports the Null platform', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
|
||||
CONST SEGMENT
|
||||
??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@ DB 'Invalid platform'
|
||||
DB ' ID 0x%08X', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$_glfwSelectPlatform DD 025051701H
|
||||
DD 01122317H
|
||||
DD 0700b0025H
|
||||
DD 0500aH
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$glfwPlatformSupported DD 025051201H
|
||||
DD 010d2312H
|
||||
DD 070060025H
|
||||
DD 05005H
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$glfwGetPlatform DD 025050f01H
|
||||
DD 010a230fH
|
||||
DD 07003001dH
|
||||
DD 05002H
|
||||
xdata ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$glfwGetVersionString DD 025050f01H
|
||||
DD 010a230fH
|
||||
DD 07003001dH
|
||||
DD 05002H
|
||||
xdata ENDS
|
||||
; Function compile flags: /Odt
|
||||
; COMDAT __JustMyCode_Default
|
||||
_TEXT SEGMENT
|
||||
__JustMyCode_Default PROC ; COMDAT
|
||||
00000 c2 00 00 ret 0
|
||||
__JustMyCode_Default ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Odtp /RTCsu /ZI
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
|
||||
; COMDAT _glfwSelectPlatform
|
||||
_TEXT SEGMENT
|
||||
count$ = 8
|
||||
i$ = 40
|
||||
tv153 = 248
|
||||
tv151 = 248
|
||||
tv82 = 248
|
||||
desiredID$ = 288
|
||||
platform$ = 296
|
||||
_glfwSelectPlatform PROC ; COMDAT
|
||||
|
||||
; 61 : {
|
||||
|
||||
$LN18:
|
||||
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
||||
00005 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
|
||||
00009 55 push rbp
|
||||
0000a 57 push rdi
|
||||
0000b 48 81 ec 28 01
|
||||
00 00 sub rsp, 296 ; 00000128H
|
||||
00012 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
||||
00017 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:__D95A9D8C_platform@c
|
||||
0001e e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 62 : const size_t count = sizeof(supportedPlatforms) / sizeof(supportedPlatforms[0]);
|
||||
|
||||
00023 48 c7 45 08 01
|
||||
00 00 00 mov QWORD PTR count$[rbp], 1
|
||||
|
||||
; 63 : size_t i;
|
||||
; 64 :
|
||||
; 65 : if (desiredID != GLFW_ANY_PLATFORM &&
|
||||
; 66 : desiredID != GLFW_PLATFORM_WIN32 &&
|
||||
; 67 : desiredID != GLFW_PLATFORM_COCOA &&
|
||||
; 68 : desiredID != GLFW_PLATFORM_WAYLAND &&
|
||||
; 69 : desiredID != GLFW_PLATFORM_X11 &&
|
||||
|
||||
0002b 81 bd 20 01 00
|
||||
00 00 00 06 00 cmp DWORD PTR desiredID$[rbp], 393216 ; 00060000H
|
||||
00035 74 5b je SHORT $LN8@glfwSelect
|
||||
00037 81 bd 20 01 00
|
||||
00 01 00 06 00 cmp DWORD PTR desiredID$[rbp], 393217 ; 00060001H
|
||||
00041 74 4f je SHORT $LN8@glfwSelect
|
||||
00043 81 bd 20 01 00
|
||||
00 02 00 06 00 cmp DWORD PTR desiredID$[rbp], 393218 ; 00060002H
|
||||
0004d 74 43 je SHORT $LN8@glfwSelect
|
||||
0004f 81 bd 20 01 00
|
||||
00 03 00 06 00 cmp DWORD PTR desiredID$[rbp], 393219 ; 00060003H
|
||||
00059 74 37 je SHORT $LN8@glfwSelect
|
||||
0005b 81 bd 20 01 00
|
||||
00 04 00 06 00 cmp DWORD PTR desiredID$[rbp], 393220 ; 00060004H
|
||||
00065 74 2b je SHORT $LN8@glfwSelect
|
||||
00067 81 bd 20 01 00
|
||||
00 05 00 06 00 cmp DWORD PTR desiredID$[rbp], 393221 ; 00060005H
|
||||
00071 74 1f je SHORT $LN8@glfwSelect
|
||||
|
||||
; 70 : desiredID != GLFW_PLATFORM_NULL)
|
||||
; 71 : {
|
||||
; 72 : _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", desiredID);
|
||||
|
||||
00073 44 8b 85 20 01
|
||||
00 00 mov r8d, DWORD PTR desiredID$[rbp]
|
||||
0007a 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
|
||||
00081 b9 03 00 01 00 mov ecx, 65539 ; 00010003H
|
||||
00086 e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 73 : return GLFW_FALSE;
|
||||
|
||||
0008b 33 c0 xor eax, eax
|
||||
0008d e9 84 01 00 00 jmp $LN1@glfwSelect
|
||||
$LN8@glfwSelect:
|
||||
|
||||
; 74 : }
|
||||
; 75 :
|
||||
; 76 : // Only allow the Null platform if specifically requested
|
||||
; 77 : if (desiredID == GLFW_PLATFORM_NULL)
|
||||
|
||||
00092 81 bd 20 01 00
|
||||
00 05 00 06 00 cmp DWORD PTR desiredID$[rbp], 393221 ; 00060005H
|
||||
0009c 75 19 jne SHORT $LN9@glfwSelect
|
||||
|
||||
; 78 : return _glfwConnectNull(desiredID, platform);
|
||||
|
||||
0009e 48 8b 95 28 01
|
||||
00 00 mov rdx, QWORD PTR platform$[rbp]
|
||||
000a5 8b 8d 20 01 00
|
||||
00 mov ecx, DWORD PTR desiredID$[rbp]
|
||||
000ab e8 00 00 00 00 call _glfwConnectNull
|
||||
000b0 e9 61 01 00 00 jmp $LN1@glfwSelect
|
||||
000b5 eb 1f jmp SHORT $LN10@glfwSelect
|
||||
$LN9@glfwSelect:
|
||||
|
||||
; 79 : else if (count == 0)
|
||||
|
||||
000b7 48 83 7d 08 00 cmp QWORD PTR count$[rbp], 0
|
||||
000bc 75 18 jne SHORT $LN11@glfwSelect
|
||||
|
||||
; 80 : {
|
||||
; 81 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "This binary only supports the Null platform");
|
||||
|
||||
000be 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@
|
||||
000c5 b9 0e 00 01 00 mov ecx, 65550 ; 0001000eH
|
||||
000ca e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 82 : return GLFW_FALSE;
|
||||
|
||||
000cf 33 c0 xor eax, eax
|
||||
000d1 e9 40 01 00 00 jmp $LN1@glfwSelect
|
||||
$LN11@glfwSelect:
|
||||
$LN10@glfwSelect:
|
||||
|
||||
; 83 : }
|
||||
; 84 :
|
||||
; 85 : if (desiredID == GLFW_ANY_PLATFORM)
|
||||
|
||||
000d6 81 bd 20 01 00
|
||||
00 00 00 06 00 cmp DWORD PTR desiredID$[rbp], 393216 ; 00060000H
|
||||
000e0 0f 85 b7 00 00
|
||||
00 jne $LN12@glfwSelect
|
||||
|
||||
; 86 : {
|
||||
; 87 : // If there is exactly one platform available for auto-selection, let it emit the
|
||||
; 88 : // error on failure as the platform-specific error description may be more helpful
|
||||
; 89 : if (count == 1)
|
||||
|
||||
000e6 48 83 7d 08 01 cmp QWORD PTR count$[rbp], 1
|
||||
000eb 75 42 jne SHORT $LN14@glfwSelect
|
||||
|
||||
; 90 : return supportedPlatforms[0].connect(supportedPlatforms[0].ID, platform);
|
||||
|
||||
000ed b8 10 00 00 00 mov eax, 16
|
||||
000f2 48 6b c0 00 imul rax, rax, 0
|
||||
000f6 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:supportedPlatforms
|
||||
000fd ba 10 00 00 00 mov edx, 16
|
||||
00102 48 6b d2 00 imul rdx, rdx, 0
|
||||
00106 48 89 95 f8 00
|
||||
00 00 mov QWORD PTR tv82[rbp], rdx
|
||||
0010d 4c 8d 05 00 00
|
||||
00 00 lea r8, OFFSET FLAT:supportedPlatforms
|
||||
00114 48 8b 95 28 01
|
||||
00 00 mov rdx, QWORD PTR platform$[rbp]
|
||||
0011b 8b 0c 01 mov ecx, DWORD PTR [rcx+rax]
|
||||
0011e 48 8b 85 f8 00
|
||||
00 00 mov rax, QWORD PTR tv82[rbp]
|
||||
00125 41 ff 54 00 08 call QWORD PTR [r8+rax+8]
|
||||
0012a e9 e7 00 00 00 jmp $LN1@glfwSelect
|
||||
$LN14@glfwSelect:
|
||||
|
||||
; 91 :
|
||||
; 92 : for (i = 0; i < count; i++)
|
||||
|
||||
0012f 48 c7 45 28 00
|
||||
00 00 00 mov QWORD PTR i$[rbp], 0
|
||||
00137 eb 0b jmp SHORT $LN4@glfwSelect
|
||||
$LN2@glfwSelect:
|
||||
00139 48 8b 45 28 mov rax, QWORD PTR i$[rbp]
|
||||
0013d 48 ff c0 inc rax
|
||||
00140 48 89 45 28 mov QWORD PTR i$[rbp], rax
|
||||
$LN4@glfwSelect:
|
||||
00144 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
|
||||
00148 48 39 45 28 cmp QWORD PTR i$[rbp], rax
|
||||
0014c 73 3c jae SHORT $LN3@glfwSelect
|
||||
|
||||
; 93 : {
|
||||
; 94 : if (supportedPlatforms[i].connect(desiredID, platform))
|
||||
|
||||
0014e 48 6b 45 28 10 imul rax, QWORD PTR i$[rbp], 16
|
||||
00153 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:supportedPlatforms
|
||||
0015a 48 89 8d f8 00
|
||||
00 00 mov QWORD PTR tv151[rbp], rcx
|
||||
00161 48 8b 95 28 01
|
||||
00 00 mov rdx, QWORD PTR platform$[rbp]
|
||||
00168 8b 8d 20 01 00
|
||||
00 mov ecx, DWORD PTR desiredID$[rbp]
|
||||
0016e 4c 8b 85 f8 00
|
||||
00 00 mov r8, QWORD PTR tv151[rbp]
|
||||
00175 41 ff 54 00 08 call QWORD PTR [r8+rax+8]
|
||||
0017a 85 c0 test eax, eax
|
||||
0017c 74 0a je SHORT $LN15@glfwSelect
|
||||
|
||||
; 95 : return GLFW_TRUE;
|
||||
|
||||
0017e b8 01 00 00 00 mov eax, 1
|
||||
00183 e9 8e 00 00 00 jmp $LN1@glfwSelect
|
||||
$LN15@glfwSelect:
|
||||
|
||||
; 96 : }
|
||||
|
||||
00188 eb af jmp SHORT $LN2@glfwSelect
|
||||
$LN3@glfwSelect:
|
||||
|
||||
; 97 :
|
||||
; 98 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "Failed to detect any supported platform");
|
||||
|
||||
0018a 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@
|
||||
00191 b9 0e 00 01 00 mov ecx, 65550 ; 0001000eH
|
||||
00196 e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 99 : }
|
||||
|
||||
0019b eb 77 jmp SHORT $LN13@glfwSelect
|
||||
$LN12@glfwSelect:
|
||||
|
||||
; 100 : else
|
||||
; 101 : {
|
||||
; 102 : for (i = 0; i < count; i++)
|
||||
|
||||
0019d 48 c7 45 28 00
|
||||
00 00 00 mov QWORD PTR i$[rbp], 0
|
||||
001a5 eb 0b jmp SHORT $LN7@glfwSelect
|
||||
$LN5@glfwSelect:
|
||||
001a7 48 8b 45 28 mov rax, QWORD PTR i$[rbp]
|
||||
001ab 48 ff c0 inc rax
|
||||
001ae 48 89 45 28 mov QWORD PTR i$[rbp], rax
|
||||
$LN7@glfwSelect:
|
||||
001b2 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
|
||||
001b6 48 39 45 28 cmp QWORD PTR i$[rbp], rax
|
||||
001ba 73 47 jae SHORT $LN6@glfwSelect
|
||||
|
||||
; 103 : {
|
||||
; 104 : if (supportedPlatforms[i].ID == desiredID)
|
||||
|
||||
001bc 48 6b 45 28 10 imul rax, QWORD PTR i$[rbp], 16
|
||||
001c1 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:supportedPlatforms
|
||||
001c8 8b 95 20 01 00
|
||||
00 mov edx, DWORD PTR desiredID$[rbp]
|
||||
001ce 39 14 01 cmp DWORD PTR [rcx+rax], edx
|
||||
001d1 75 2e jne SHORT $LN16@glfwSelect
|
||||
|
||||
; 105 : return supportedPlatforms[i].connect(desiredID, platform);
|
||||
|
||||
001d3 48 6b 45 28 10 imul rax, QWORD PTR i$[rbp], 16
|
||||
001d8 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:supportedPlatforms
|
||||
001df 48 89 8d f8 00
|
||||
00 00 mov QWORD PTR tv153[rbp], rcx
|
||||
001e6 48 8b 95 28 01
|
||||
00 00 mov rdx, QWORD PTR platform$[rbp]
|
||||
001ed 8b 8d 20 01 00
|
||||
00 mov ecx, DWORD PTR desiredID$[rbp]
|
||||
001f3 4c 8b 85 f8 00
|
||||
00 00 mov r8, QWORD PTR tv153[rbp]
|
||||
001fa 41 ff 54 00 08 call QWORD PTR [r8+rax+8]
|
||||
001ff eb 15 jmp SHORT $LN1@glfwSelect
|
||||
$LN16@glfwSelect:
|
||||
|
||||
; 106 : }
|
||||
|
||||
00201 eb a4 jmp SHORT $LN5@glfwSelect
|
||||
$LN6@glfwSelect:
|
||||
|
||||
; 107 :
|
||||
; 108 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "The requested platform is not supported");
|
||||
|
||||
00203 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@
|
||||
0020a b9 0e 00 01 00 mov ecx, 65550 ; 0001000eH
|
||||
0020f e8 00 00 00 00 call _glfwInputError
|
||||
$LN13@glfwSelect:
|
||||
|
||||
; 109 : }
|
||||
; 110 :
|
||||
; 111 : return GLFW_FALSE;
|
||||
|
||||
00214 33 c0 xor eax, eax
|
||||
$LN1@glfwSelect:
|
||||
|
||||
; 112 : }
|
||||
|
||||
00216 48 8d a5 08 01
|
||||
00 00 lea rsp, QWORD PTR [rbp+264]
|
||||
0021d 5f pop rdi
|
||||
0021e 5d pop rbp
|
||||
0021f c3 ret 0
|
||||
_glfwSelectPlatform ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Odtp /RTCsu /ZI
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
|
||||
; COMDAT glfwPlatformSupported
|
||||
_TEXT SEGMENT
|
||||
count$ = 8
|
||||
i$ = 40
|
||||
platformID$ = 288
|
||||
glfwPlatformSupported PROC ; COMDAT
|
||||
|
||||
; 125 : {
|
||||
|
||||
$LN9:
|
||||
00000 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
|
||||
00004 55 push rbp
|
||||
00005 57 push rdi
|
||||
00006 48 81 ec 28 01
|
||||
00 00 sub rsp, 296 ; 00000128H
|
||||
0000d 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
||||
00012 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:__D95A9D8C_platform@c
|
||||
00019 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 126 : const size_t count = sizeof(supportedPlatforms) / sizeof(supportedPlatforms[0]);
|
||||
|
||||
0001e 48 c7 45 08 01
|
||||
00 00 00 mov QWORD PTR count$[rbp], 1
|
||||
|
||||
; 127 : size_t i;
|
||||
; 128 :
|
||||
; 129 : if (platformID != GLFW_PLATFORM_WIN32 &&
|
||||
; 130 : platformID != GLFW_PLATFORM_COCOA &&
|
||||
; 131 : platformID != GLFW_PLATFORM_WAYLAND &&
|
||||
; 132 : platformID != GLFW_PLATFORM_X11 &&
|
||||
|
||||
00026 81 bd 20 01 00
|
||||
00 01 00 06 00 cmp DWORD PTR platformID$[rbp], 393217 ; 00060001H
|
||||
00030 74 4c je SHORT $LN5@glfwPlatfo
|
||||
00032 81 bd 20 01 00
|
||||
00 02 00 06 00 cmp DWORD PTR platformID$[rbp], 393218 ; 00060002H
|
||||
0003c 74 40 je SHORT $LN5@glfwPlatfo
|
||||
0003e 81 bd 20 01 00
|
||||
00 03 00 06 00 cmp DWORD PTR platformID$[rbp], 393219 ; 00060003H
|
||||
00048 74 34 je SHORT $LN5@glfwPlatfo
|
||||
0004a 81 bd 20 01 00
|
||||
00 04 00 06 00 cmp DWORD PTR platformID$[rbp], 393220 ; 00060004H
|
||||
00054 74 28 je SHORT $LN5@glfwPlatfo
|
||||
00056 81 bd 20 01 00
|
||||
00 05 00 06 00 cmp DWORD PTR platformID$[rbp], 393221 ; 00060005H
|
||||
00060 74 1c je SHORT $LN5@glfwPlatfo
|
||||
|
||||
; 133 : platformID != GLFW_PLATFORM_NULL)
|
||||
; 134 : {
|
||||
; 135 : _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", platformID);
|
||||
|
||||
00062 44 8b 85 20 01
|
||||
00 00 mov r8d, DWORD PTR platformID$[rbp]
|
||||
00069 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
|
||||
00070 b9 03 00 01 00 mov ecx, 65539 ; 00010003H
|
||||
00075 e8 00 00 00 00 call _glfwInputError
|
||||
|
||||
; 136 : return GLFW_FALSE;
|
||||
|
||||
0007a 33 c0 xor eax, eax
|
||||
0007c eb 54 jmp SHORT $LN1@glfwPlatfo
|
||||
$LN5@glfwPlatfo:
|
||||
|
||||
; 137 : }
|
||||
; 138 :
|
||||
; 139 : if (platformID == GLFW_PLATFORM_NULL)
|
||||
|
||||
0007e 81 bd 20 01 00
|
||||
00 05 00 06 00 cmp DWORD PTR platformID$[rbp], 393221 ; 00060005H
|
||||
00088 75 07 jne SHORT $LN6@glfwPlatfo
|
||||
|
||||
; 140 : return GLFW_TRUE;
|
||||
|
||||
0008a b8 01 00 00 00 mov eax, 1
|
||||
0008f eb 41 jmp SHORT $LN1@glfwPlatfo
|
||||
$LN6@glfwPlatfo:
|
||||
|
||||
; 141 :
|
||||
; 142 : for (i = 0; i < count; i++)
|
||||
|
||||
00091 48 c7 45 28 00
|
||||
00 00 00 mov QWORD PTR i$[rbp], 0
|
||||
00099 eb 0b jmp SHORT $LN4@glfwPlatfo
|
||||
$LN2@glfwPlatfo:
|
||||
0009b 48 8b 45 28 mov rax, QWORD PTR i$[rbp]
|
||||
0009f 48 ff c0 inc rax
|
||||
000a2 48 89 45 28 mov QWORD PTR i$[rbp], rax
|
||||
$LN4@glfwPlatfo:
|
||||
000a6 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
|
||||
000aa 48 39 45 28 cmp QWORD PTR i$[rbp], rax
|
||||
000ae 73 20 jae SHORT $LN3@glfwPlatfo
|
||||
|
||||
; 143 : {
|
||||
; 144 : if (platformID == supportedPlatforms[i].ID)
|
||||
|
||||
000b0 48 6b 45 28 10 imul rax, QWORD PTR i$[rbp], 16
|
||||
000b5 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:supportedPlatforms
|
||||
000bc 8b 04 01 mov eax, DWORD PTR [rcx+rax]
|
||||
000bf 39 85 20 01 00
|
||||
00 cmp DWORD PTR platformID$[rbp], eax
|
||||
000c5 75 07 jne SHORT $LN7@glfwPlatfo
|
||||
|
||||
; 145 : return GLFW_TRUE;
|
||||
|
||||
000c7 b8 01 00 00 00 mov eax, 1
|
||||
000cc eb 04 jmp SHORT $LN1@glfwPlatfo
|
||||
$LN7@glfwPlatfo:
|
||||
|
||||
; 146 : }
|
||||
|
||||
000ce eb cb jmp SHORT $LN2@glfwPlatfo
|
||||
$LN3@glfwPlatfo:
|
||||
|
||||
; 147 :
|
||||
; 148 : return GLFW_FALSE;
|
||||
|
||||
000d0 33 c0 xor eax, eax
|
||||
$LN1@glfwPlatfo:
|
||||
|
||||
; 149 : }
|
||||
|
||||
000d2 48 8d a5 08 01
|
||||
00 00 lea rsp, QWORD PTR [rbp+264]
|
||||
000d9 5f pop rdi
|
||||
000da 5d pop rbp
|
||||
000db c3 ret 0
|
||||
glfwPlatformSupported ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Odtp /RTCsu /ZI
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
|
||||
; COMDAT glfwGetPlatform
|
||||
_TEXT SEGMENT
|
||||
glfwGetPlatform PROC ; COMDAT
|
||||
|
||||
; 119 : {
|
||||
|
||||
$LN4:
|
||||
00000 40 55 push rbp
|
||||
00002 57 push rdi
|
||||
00003 48 81 ec e8 00
|
||||
00 00 sub rsp, 232 ; 000000e8H
|
||||
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
||||
0000f 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:__D95A9D8C_platform@c
|
||||
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 120 : _GLFW_REQUIRE_INIT_OR_RETURN(0);
|
||||
|
||||
0001b 83 3d 00 00 00
|
||||
00 00 cmp DWORD PTR _glfw, 0
|
||||
00022 75 10 jne SHORT $LN2@glfwGetPla
|
||||
00024 33 d2 xor edx, edx
|
||||
00026 b9 01 00 01 00 mov ecx, 65537 ; 00010001H
|
||||
0002b e8 00 00 00 00 call _glfwInputError
|
||||
00030 33 c0 xor eax, eax
|
||||
00032 eb 06 jmp SHORT $LN1@glfwGetPla
|
||||
$LN2@glfwGetPla:
|
||||
|
||||
; 121 : return _glfw.platform.platformID;
|
||||
|
||||
00034 8b 05 28 00 00
|
||||
00 mov eax, DWORD PTR _glfw+40
|
||||
$LN1@glfwGetPla:
|
||||
|
||||
; 122 : }
|
||||
|
||||
0003a 48 8d a5 c8 00
|
||||
00 00 lea rsp, QWORD PTR [rbp+200]
|
||||
00041 5f pop rdi
|
||||
00042 5d pop rbp
|
||||
00043 c3 ret 0
|
||||
glfwGetPlatform ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Odtp /RTCsu /ZI
|
||||
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
|
||||
; COMDAT glfwGetVersionString
|
||||
_TEXT SEGMENT
|
||||
glfwGetVersionString PROC ; COMDAT
|
||||
|
||||
; 152 : {
|
||||
|
||||
$LN3:
|
||||
00000 40 55 push rbp
|
||||
00002 57 push rdi
|
||||
00003 48 81 ec e8 00
|
||||
00 00 sub rsp, 232 ; 000000e8H
|
||||
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
||||
0000f 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:__D95A9D8C_platform@c
|
||||
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 153 : return _GLFW_MAKE_VERSION(GLFW_VERSION_MAJOR,
|
||||
|
||||
0001b 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:??_C@_0CI@FAEOHBNC@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@
|
||||
|
||||
; 154 : GLFW_VERSION_MINOR,
|
||||
; 155 : GLFW_VERSION_REVISION)
|
||||
; 156 : #if defined(_GLFW_WIN32)
|
||||
; 157 : " Win32 WGL"
|
||||
; 158 : #endif
|
||||
; 159 : #if defined(_GLFW_COCOA)
|
||||
; 160 : " Cocoa NSGL"
|
||||
; 161 : #endif
|
||||
; 162 : #if defined(_GLFW_WAYLAND)
|
||||
; 163 : " Wayland"
|
||||
; 164 : #endif
|
||||
; 165 : #if defined(_GLFW_X11)
|
||||
; 166 : " X11 GLX"
|
||||
; 167 : #endif
|
||||
; 168 : " Null"
|
||||
; 169 : " EGL"
|
||||
; 170 : " OSMesa"
|
||||
; 171 : #if defined(__MINGW64_VERSION_MAJOR)
|
||||
; 172 : " MinGW-w64"
|
||||
; 173 : #elif defined(__MINGW32__)
|
||||
; 174 : " MinGW"
|
||||
; 175 : #elif defined(_MSC_VER)
|
||||
; 176 : " VisualC"
|
||||
; 177 : #endif
|
||||
; 178 : #if defined(_GLFW_USE_HYBRID_HPG) || defined(_GLFW_USE_OPTIMUS_HPG)
|
||||
; 179 : " hybrid-GPU"
|
||||
; 180 : #endif
|
||||
; 181 : #if defined(_POSIX_MONOTONIC_CLOCK)
|
||||
; 182 : " monotonic"
|
||||
; 183 : #endif
|
||||
; 184 : #if defined(_GLFW_BUILD_DLL)
|
||||
; 185 : #if defined(_WIN32)
|
||||
; 186 : " DLL"
|
||||
; 187 : #elif defined(__APPLE__)
|
||||
; 188 : " dynamic"
|
||||
; 189 : #else
|
||||
; 190 : " shared"
|
||||
; 191 : #endif
|
||||
; 192 : #endif
|
||||
; 193 : ;
|
||||
; 194 : }
|
||||
|
||||
00022 48 8d a5 c8 00
|
||||
00 00 lea rsp, QWORD PTR [rbp+200]
|
||||
00029 5f pop rdi
|
||||
0002a 5d pop rbp
|
||||
0002b c3 ret 0
|
||||
glfwGetVersionString ENDP
|
||||
_TEXT ENDS
|
||||
END
|
||||
Reference in New Issue
Block a user