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

3701 lines
99 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC _glfw
_BSS SEGMENT
_glfw DB 02d28H DUP (?)
_BSS ENDS
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
__44420885_corecrt_stdio_config@h DB 01H
__AB601D8D_corecrt_wstdio@h DB 01H
__C1EC35D3_stdio@h DB 01H
__19139D6C_assert@h DB 01H
__8D6B5D77_init@c DB 01H
msvcjmc ENDS
PUBLIC glfwInit
PUBLIC glfwTerminate
PUBLIC glfwInitHint
PUBLIC glfwInitAllocator
PUBLIC glfwGetVersion
PUBLIC glfwGetError
PUBLIC glfwSetErrorCallback
PUBLIC _glfwInputError
PUBLIC _glfwEncodeUTF8
PUBLIC _glfwParseUriList
PUBLIC _glfw_strdup
PUBLIC _glfw_min
PUBLIC _glfw_max
PUBLIC _glfw_fminf
PUBLIC _glfw_fmaxf
PUBLIC _glfw_calloc
PUBLIC _glfw_realloc
PUBLIC _glfw_free
PUBLIC __local_stdio_printf_options
PUBLIC vsnprintf
PUBLIC glfwInitVulkanLoader
PUBLIC __JustMyCode_Default
PUBLIC ??_C@_07CAIJGPF@file?3?1?1@ ; `string'
PUBLIC ??_C@_02PCIJFNDE@?$AN?6@ ; `string'
PUBLIC ??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@ ; `string'
PUBLIC ??_C@_0CE@BEELAIPG@The?5GLFW?5library?5is?5not?5initial@ ; `string'
PUBLIC ??_C@_0BM@PKHPFLOM@There?5is?5no?5current?5context@ ; `string'
PUBLIC ??_C@_0CE@KDBKFLEE@Invalid?5argument?5for?5enum?5param@ ; `string'
PUBLIC ??_C@_0BM@BADCNPOM@Invalid?5value?5for?5parameter@ ; `string'
PUBLIC ??_C@_0O@NALGGDJF@Out?5of?5memory@ ; `string'
PUBLIC ??_C@_0CB@HAFFDHLH@The?5requested?5API?5is?5unavailabl@ ; `string'
PUBLIC ??_C@_0CJ@KOFEFGNB@The?5requested?5API?5version?5is?5un@ ; `string'
PUBLIC ??_C@_0CD@HJEBEGLD@A?5platform?9specific?5error?5occur@ ; `string'
PUBLIC ??_C@_0CE@PCLEMLLO@The?5requested?5format?5is?5unavail@ ; `string'
PUBLIC ??_C@_0CE@OJFJMLEI@The?5specified?5window?5has?5no?5con@ ; `string'
PUBLIC ??_C@_0CK@NHHHNGID@The?5specified?5cursor?5shape?5is?5u@ ; `string'
PUBLIC ??_C@_0DO@OLPMIGEJ@The?5requested?5feature?5cannot?5be@ ; `string'
PUBLIC ??_C@_0EF@PCMNMHKP@The?5requested?5feature?5has?5not?5y@ ; `string'
PUBLIC ??_C@_0CG@DAAALEIC@The?5requested?5platform?5is?5unava@ ; `string'
PUBLIC ??_C@_0BK@PMMAHJAK@ERROR?3?5UNKNOWN?5GLFW?5ERROR@ ; `string'
PUBLIC ??_C@_0BJ@HDECIKCI@Invalid?5init?5hint?50x?$CF08X@ ; `string'
PUBLIC ??_C@_0BO@NOJEGBJM@Missing?5function?5in?5allocator@ ; `string'
EXTRN __report_rangecheckfailure:PROC
EXTRN glfwDefaultWindowHints:PROC
EXTRN glfwDestroyWindow:PROC
EXTRN glfwDestroyCursor:PROC
EXTRN memset:PROC
EXTRN strcpy:PROC
EXTRN strlen:PROC
EXTRN __imp_strncmp:PROC
EXTRN __imp_strtok:PROC
EXTRN __imp_free:PROC
EXTRN __imp_malloc:PROC
EXTRN __imp_realloc:PROC
EXTRN __imp_strtol:PROC
EXTRN _glfwPlatformInitTimer:PROC
EXTRN _glfwPlatformGetTimerValue:PROC
EXTRN _glfwPlatformCreateTls:PROC
EXTRN _glfwPlatformDestroyTls:PROC
EXTRN _glfwPlatformGetTls:PROC
EXTRN _glfwPlatformSetTls:PROC
EXTRN _glfwPlatformCreateMutex:PROC
EXTRN _glfwPlatformDestroyMutex:PROC
EXTRN _glfwPlatformLockMutex:PROC
EXTRN _glfwPlatformUnlockMutex:PROC
EXTRN _glfwSelectPlatform:PROC
EXTRN _glfwFreeMonitor:PROC
EXTRN _glfwInitGamepadMappings:PROC
EXTRN _glfwTerminateVulkan:PROC
EXTRN __imp___stdio_common_vsprintf:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN __security_cookie:QWORD
EXTRN _fltused:DWORD
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
_BSS SEGMENT
_glfwMainThreadError DB 0410H DUP (?)
_glfwErrorCallback DQ 01H DUP (?)
_glfwInitAllocator DB 020H DUP (?)
_BSS ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwInit DD imagerel $LN9
DD imagerel $LN9+350
DD imagerel $unwind$glfwInit
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwTerminate DD imagerel $LN4
DD imagerel $LN4+53
DD imagerel $unwind$glfwTerminate
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwInitHint DD imagerel $LN13
DD imagerel $LN13+281
DD imagerel $unwind$glfwInitHint
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwInitAllocator DD imagerel $LN7
DD imagerel $LN7+159
DD imagerel $unwind$glfwInitAllocator
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetVersion DD imagerel $LN6
DD imagerel $LN6+120
DD imagerel $unwind$glfwGetVersion
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetError DD imagerel $LN8
DD imagerel $LN8+175
DD imagerel $unwind$glfwGetError
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwSetErrorCallback DD imagerel $LN3
DD imagerel $LN3+84
DD imagerel $unwind$glfwSetErrorCallback
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwInputError DD imagerel $LN39
DD imagerel $LN39+900
DD imagerel $unwind$_glfwInputError
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwEncodeUTF8 DD imagerel $LN10
DD imagerel $LN10+564
DD imagerel $unwind$_glfwEncodeUTF8
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwParseUriList DD imagerel $LN14
DD imagerel $LN14+635
DD imagerel $unwind$_glfwParseUriList
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_strdup DD imagerel $LN3
DD imagerel $LN3+101
DD imagerel $unwind$_glfw_strdup
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_min DD imagerel $LN5
DD imagerel $LN5+90
DD imagerel $unwind$_glfw_min
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_max DD imagerel $LN5
DD imagerel $LN5+90
DD imagerel $unwind$_glfw_max
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_fminf DD imagerel $LN11
DD imagerel $LN11+147
DD imagerel $unwind$_glfw_fminf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_fmaxf DD imagerel $LN11
DD imagerel $LN11+147
DD imagerel $unwind$_glfw_fmaxf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_calloc DD imagerel $LN8
DD imagerel $LN8+215
DD imagerel $unwind$_glfw_calloc
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_realloc DD imagerel $LN9
DD imagerel $LN9+175
DD imagerel $unwind$_glfw_realloc
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfw_free DD imagerel $LN4
DD imagerel $LN4+71
DD imagerel $unwind$_glfw_free
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+44
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$vsnprintf DD imagerel $LN5
DD imagerel $LN5+155
DD imagerel $unwind$vsnprintf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$defaultAllocate DD imagerel defaultAllocate
DD imagerel defaultAllocate+59
DD imagerel $unwind$defaultAllocate
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$defaultDeallocate DD imagerel defaultDeallocate
DD imagerel defaultDeallocate+59
DD imagerel $unwind$defaultDeallocate
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$defaultReallocate DD imagerel defaultReallocate
DD imagerel defaultReallocate+71
DD imagerel $unwind$defaultReallocate
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$terminate DD imagerel terminate
DD imagerel terminate+394
DD imagerel $unwind$terminate
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwInitVulkanLoader DD imagerel $LN3
DD imagerel $LN3+55
DD imagerel $unwind$glfwInitVulkanLoader
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@_0BO@NOJEGBJM@Missing?5function?5in?5allocator@
CONST SEGMENT
??_C@_0BO@NOJEGBJM@Missing?5function?5in?5allocator@ DB 'Missing function'
DB ' in allocator', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@HDECIKCI@Invalid?5init?5hint?50x?$CF08X@
CONST SEGMENT
??_C@_0BJ@HDECIKCI@Invalid?5init?5hint?50x?$CF08X@ DB 'Invalid init hint '
DB '0x%08X', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BK@PMMAHJAK@ERROR?3?5UNKNOWN?5GLFW?5ERROR@
CONST SEGMENT
??_C@_0BK@PMMAHJAK@ERROR?3?5UNKNOWN?5GLFW?5ERROR@ DB 'ERROR: UNKNOWN GLFW'
DB ' ERROR', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CG@DAAALEIC@The?5requested?5platform?5is?5unava@
CONST SEGMENT
??_C@_0CG@DAAALEIC@The?5requested?5platform?5is?5unava@ DB 'The requested'
DB ' platform is unavailable', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0EF@PCMNMHKP@The?5requested?5feature?5has?5not?5y@
CONST SEGMENT
??_C@_0EF@PCMNMHKP@The?5requested?5feature?5has?5not?5y@ DB 'The requeste'
DB 'd feature has not yet been implemented for this platform', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0DO@OLPMIGEJ@The?5requested?5feature?5cannot?5be@
CONST SEGMENT
??_C@_0DO@OLPMIGEJ@The?5requested?5feature?5cannot?5be@ DB 'The requested'
DB ' feature cannot be implemented for this platform', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CK@NHHHNGID@The?5specified?5cursor?5shape?5is?5u@
CONST SEGMENT
??_C@_0CK@NHHHNGID@The?5specified?5cursor?5shape?5is?5u@ DB 'The specifie'
DB 'd cursor shape is unavailable', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@OJFJMLEI@The?5specified?5window?5has?5no?5con@
CONST SEGMENT
??_C@_0CE@OJFJMLEI@The?5specified?5window?5has?5no?5con@ DB 'The specifie'
DB 'd window has no context', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@PCLEMLLO@The?5requested?5format?5is?5unavail@
CONST SEGMENT
??_C@_0CE@PCLEMLLO@The?5requested?5format?5is?5unavail@ DB 'The requested'
DB ' format is unavailable', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CD@HJEBEGLD@A?5platform?9specific?5error?5occur@
CONST SEGMENT
??_C@_0CD@HJEBEGLD@A?5platform?9specific?5error?5occur@ DB 'A platform-sp'
DB 'ecific error occurred', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CJ@KOFEFGNB@The?5requested?5API?5version?5is?5un@
CONST SEGMENT
??_C@_0CJ@KOFEFGNB@The?5requested?5API?5version?5is?5un@ DB 'The requeste'
DB 'd API version is unavailable', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CB@HAFFDHLH@The?5requested?5API?5is?5unavailabl@
CONST SEGMENT
??_C@_0CB@HAFFDHLH@The?5requested?5API?5is?5unavailabl@ DB 'The requested'
DB ' API is unavailable', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0O@NALGGDJF@Out?5of?5memory@
CONST SEGMENT
??_C@_0O@NALGGDJF@Out?5of?5memory@ DB 'Out of memory', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@BADCNPOM@Invalid?5value?5for?5parameter@
CONST SEGMENT
??_C@_0BM@BADCNPOM@Invalid?5value?5for?5parameter@ DB 'Invalid value for '
DB 'parameter', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@KDBKFLEE@Invalid?5argument?5for?5enum?5param@
CONST SEGMENT
??_C@_0CE@KDBKFLEE@Invalid?5argument?5for?5enum?5param@ DB 'Invalid argum'
DB 'ent for enum parameter', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BM@PKHPFLOM@There?5is?5no?5current?5context@
CONST SEGMENT
??_C@_0BM@PKHPFLOM@There?5is?5no?5current?5context@ DB 'There is no curre'
DB 'nt context', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CE@BEELAIPG@The?5GLFW?5library?5is?5not?5initial@
CONST SEGMENT
??_C@_0CE@BEELAIPG@The?5GLFW?5library?5is?5not?5initial@ DB 'The GLFW lib'
DB 'rary is not initialized', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@
CONST SEGMENT
??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@ DB 'Allocation size overfl'
DB 'ow', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_02PCIJFNDE@?$AN?6@
CONST SEGMENT
??_C@_02PCIJFNDE@?$AN?6@ DB 0dH, 0aH, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_07CAIJGPF@file?3?1?1@
CONST SEGMENT
??_C@_07CAIJGPF@file?3?1?1@ DB 'file://', 00H ; `string'
CONST ENDS
_DATA SEGMENT
_glfwInitHints DD 01H
DD 037001H
DD 060000H
ORG $+4
DQ 0000000000000000H
DD 01H
DD 01H
DD 01H
DD 038001H
_DATA ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwInitVulkanLoader DD 025051301H
DD 010e2313H
DD 07007001dH
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$terminate DD 025050f01H
DD 010a230fH
DD 070030029H
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$defaultReallocate DD 025051d01H
DD 0118231dH
DD 07011001dH
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$defaultDeallocate DD 025051801H
DD 01132318H
DD 0700c001dH
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$defaultAllocate DD 025051801H
DD 01132318H
DD 0700c001dH
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$vsnprintf DD 035052201H
DD 011d3322H
DD 070160023H
DD 05015H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 025050f01H
DD 010a230fH
DD 07003001dH
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_free DD 025051301H
DD 010e2313H
DD 07007001dH
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_realloc DD 025051801H
DD 01132318H
DD 0700c0021H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_calloc DD 025051801H
DD 01132318H
DD 0700c0021H
DD 0500bH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_fmaxf DD 035051a01H
DD 0115331aH
DD 0700e001fH
DD 0500dH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_fminf DD 035051a01H
DD 0115331aH
DD 0700e001fH
DD 0500dH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_max DD 025051601H
DD 01112316H
DD 0700a001fH
DD 05009H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_min DD 025051601H
DD 01112316H
DD 0700a001fH
DD 05009H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfw_strdup DD 025051301H
DD 010e2313H
DD 070070025H
DD 05006H
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DW 03bH
DW 0262H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwParseUriList DD 025054219H
DD 01132318H
DD 0700c0031H
DD 0500bH
DD imagerel __GSHandlerCheck
DD 0178H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
_glfwParseUriList$rtcName$0 DB 064H
DB 069H
DB 067H
DB 069H
DB 074H
DB 073H
DB 00H
ORG $+9
_glfwParseUriList$rtcVarDesc DD 0a4H
DD 03H
DQ FLAT:_glfwParseUriList$rtcName$0
ORG $+48
_glfwParseUriList$rtcFrameData DD 01H
DD 00H
DQ FLAT:_glfwParseUriList$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwEncodeUTF8 DD 025051701H
DD 01122317H
DD 0700b0021H
DD 0500aH
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DW 043H
DW 036bH
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwInputError DD 025054a19H
DD 011c2321H
DD 0701500ddH
DD 05014H
DD imagerel __GSHandlerCheck
DD 06d8H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
_glfwInputError$rtcName$0 DB 064H
DB 065H
DB 073H
DB 063H
DB 072H
DB 069H
DB 070H
DB 074H
DB 069H
DB 06fH
DB 06eH
DB 00H
_glfwInputError$rtcName$1 DB 076H
DB 06cH
DB 00H
ORG $+1
_glfwInputError$rtcVarDesc DD 0468H
DD 08H
DQ FLAT:_glfwInputError$rtcName$1
DD 050H
DD 0400H
DQ FLAT:_glfwInputError$rtcName$0
ORG $+96
_glfwInputError$rtcFrameData DD 02H
DD 00H
DQ FLAT:_glfwInputError$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwSetErrorCallback DD 025051301H
DD 010e2313H
DD 070070021H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetError DD 025051301H
DD 010e2313H
DD 070070025H
DD 05006H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetVersion DD 025051d01H
DD 0118231dH
DD 07011001dH
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwInitAllocator DD 025061401H
DD 010f2314H
DD 07008001cH
DD 050066007H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwInitHint DD 025051601H
DD 01112316H
DD 0700a001fH
DD 05009H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwTerminate DD 025050f01H
DD 010a230fH
DD 07003001dH
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwInit DD 025061001H
DD 010b2310H
DD 07004001cH
DD 050026003H
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\init.c
; COMDAT glfwInitVulkanLoader
_TEXT SEGMENT
loader$ = 224
glfwInitVulkanLoader PROC ; COMDAT
; 507 : {
$LN3:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 508 : _glfwInitHints.vulkanLoader = loader;
0001f 48 8b 85 e0 00
00 00 mov rax, QWORD PTR loader$[rbp]
00026 48 89 05 10 00
00 00 mov QWORD PTR _glfwInitHints+16, rax
; 509 : }
0002d 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00034 5f pop rdi
00035 5d pop rbp
00036 c3 ret 0
glfwInitVulkanLoader ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT terminate
_TEXT SEGMENT
i$ = 4
monitor$1 = 40
error$2 = 72
terminate PROC ; COMDAT
; 93 : {
00000 40 55 push rbp
00002 57 push rdi
00003 48 81 ec 48 01
00 00 sub rsp, 328 ; 00000148H
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 94 : int i;
; 95 :
; 96 : memset(&_glfw.callbacks, 0, sizeof(_glfw.callbacks));
0001b 41 b8 10 00 00
00 mov r8d, 16
00021 33 d2 xor edx, edx
00023 48 8d 0d 68 1b
00 00 lea rcx, OFFSET FLAT:_glfw+7016
0002a e8 00 00 00 00 call memset
$LN2@terminate:
; 97 :
; 98 : while (_glfw.windowListHead)
0002f 48 83 3d 78 07
00 00 00 cmp QWORD PTR _glfw+1912, 0
00037 74 0e je SHORT $LN3@terminate
; 99 : glfwDestroyWindow((GLFWwindow*)_glfw.windowListHead);
00039 48 8b 0d 78 07
00 00 mov rcx, QWORD PTR _glfw+1912
00040 e8 00 00 00 00 call glfwDestroyWindow
00045 eb e8 jmp SHORT $LN2@terminate
$LN3@terminate:
$LN4@terminate:
; 100 :
; 101 : while (_glfw.cursorListHead)
00047 48 83 3d 70 07
00 00 00 cmp QWORD PTR _glfw+1904, 0
0004f 74 0e je SHORT $LN5@terminate
; 102 : glfwDestroyCursor((GLFWcursor*)_glfw.cursorListHead);
00051 48 8b 0d 70 07
00 00 mov rcx, QWORD PTR _glfw+1904
00058 e8 00 00 00 00 call glfwDestroyCursor
0005d eb e8 jmp SHORT $LN4@terminate
$LN5@terminate:
; 103 :
; 104 : for (i = 0; i < _glfw.monitorCount; i++)
0005f c7 45 04 00 00
00 00 mov DWORD PTR i$[rbp], 0
00066 eb 08 jmp SHORT $LN8@terminate
$LN6@terminate:
00068 8b 45 04 mov eax, DWORD PTR i$[rbp]
0006b ff c0 inc eax
0006d 89 45 04 mov DWORD PTR i$[rbp], eax
$LN8@terminate:
00070 8b 05 88 07 00
00 mov eax, DWORD PTR _glfw+1928
00076 39 45 04 cmp DWORD PTR i$[rbp], eax
00079 7d 42 jge SHORT $LN7@terminate
; 105 : {
; 106 : _GLFWmonitor* monitor = _glfw.monitors[i];
0007b 48 63 45 04 movsxd rax, DWORD PTR i$[rbp]
0007f 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
00086 48 8b 04 c1 mov rax, QWORD PTR [rcx+rax*8]
0008a 48 89 45 28 mov QWORD PTR monitor$1[rbp], rax
; 107 : if (monitor->originalRamp.size)
0008e 48 8b 45 28 mov rax, QWORD PTR monitor$1[rbp]
00092 83 b8 d8 00 00
00 00 cmp DWORD PTR [rax+216], 0
00099 74 17 je SHORT $LN11@terminate
; 108 : _glfw.platform.setGammaRamp(monitor, &monitor->originalRamp);
0009b 48 8b 45 28 mov rax, QWORD PTR monitor$1[rbp]
0009f 48 05 c0 00 00
00 add rax, 192 ; 000000c0H
000a5 48 8b d0 mov rdx, rax
000a8 48 8b 4d 28 mov rcx, QWORD PTR monitor$1[rbp]
000ac ff 15 08 01 00
00 call QWORD PTR _glfw+264
$LN11@terminate:
; 109 : _glfwFreeMonitor(monitor);
000b2 48 8b 4d 28 mov rcx, QWORD PTR monitor$1[rbp]
000b6 e8 00 00 00 00 call _glfwFreeMonitor
; 110 : }
000bb eb ab jmp SHORT $LN6@terminate
$LN7@terminate:
; 111 :
; 112 : _glfw_free(_glfw.monitors);
000bd 48 8b 0d 80 07
00 00 mov rcx, QWORD PTR _glfw+1920
000c4 e8 00 00 00 00 call _glfw_free
; 113 : _glfw.monitors = NULL;
000c9 48 c7 05 80 07
00 00 00 00 00
00 mov QWORD PTR _glfw+1920, 0
; 114 : _glfw.monitorCount = 0;
000d4 c7 05 88 07 00
00 00 00 00 00 mov DWORD PTR _glfw+1928, 0
; 115 :
; 116 : _glfw_free(_glfw.mappings);
000de 48 8b 0d 90 19
00 00 mov rcx, QWORD PTR _glfw+6544
000e5 e8 00 00 00 00 call _glfw_free
; 117 : _glfw.mappings = NULL;
000ea 48 c7 05 90 19
00 00 00 00 00
00 mov QWORD PTR _glfw+6544, 0
; 118 : _glfw.mappingCount = 0;
000f5 c7 05 98 19 00
00 00 00 00 00 mov DWORD PTR _glfw+6552, 0
; 119 :
; 120 : _glfwTerminateVulkan();
000ff e8 00 00 00 00 call _glfwTerminateVulkan
; 121 : _glfw.platform.terminateJoysticks();
00104 ff 15 b0 00 00
00 call QWORD PTR _glfw+176
; 122 : _glfw.platform.terminate();
0010a ff 15 38 00 00
00 call QWORD PTR _glfw+56
; 123 :
; 124 : _glfw.initialized = GLFW_FALSE;
00110 c7 05 00 00 00
00 00 00 00 00 mov DWORD PTR _glfw, 0
$LN9@terminate:
; 125 :
; 126 : while (_glfw.errorListHead)
0011a 48 83 3d 68 07
00 00 00 cmp QWORD PTR _glfw+1896, 0
00122 74 24 je SHORT $LN10@terminate
; 127 : {
; 128 : _GLFWerror* error = _glfw.errorListHead;
00124 48 8b 05 68 07
00 00 mov rax, QWORD PTR _glfw+1896
0012b 48 89 45 48 mov QWORD PTR error$2[rbp], rax
; 129 : _glfw.errorListHead = error->next;
0012f 48 8b 45 48 mov rax, QWORD PTR error$2[rbp]
00133 48 8b 00 mov rax, QWORD PTR [rax]
00136 48 89 05 68 07
00 00 mov QWORD PTR _glfw+1896, rax
; 130 : _glfw_free(error);
0013d 48 8b 4d 48 mov rcx, QWORD PTR error$2[rbp]
00141 e8 00 00 00 00 call _glfw_free
; 131 : }
00146 eb d2 jmp SHORT $LN9@terminate
$LN10@terminate:
; 132 :
; 133 : _glfwPlatformDestroyTls(&_glfw.contextSlot);
00148 48 8d 0d a4 19
00 00 lea rcx, OFFSET FLAT:_glfw+6564
0014f e8 00 00 00 00 call _glfwPlatformDestroyTls
; 134 : _glfwPlatformDestroyTls(&_glfw.errorSlot);
00154 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
0015b e8 00 00 00 00 call _glfwPlatformDestroyTls
; 135 : _glfwPlatformDestroyMutex(&_glfw.errorLock);
00160 48 8d 0d b0 19
00 00 lea rcx, OFFSET FLAT:_glfw+6576
00167 e8 00 00 00 00 call _glfwPlatformDestroyMutex
; 136 :
; 137 : memset(&_glfw, 0, sizeof(_glfw));
0016c 41 b8 28 2d 00
00 mov r8d, 11560 ; 00002d28H
00172 33 d2 xor edx, edx
00174 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:_glfw
0017b e8 00 00 00 00 call memset
; 138 : }
00180 48 8d a5 28 01
00 00 lea rsp, QWORD PTR [rbp+296]
00187 5f pop rdi
00188 5d pop rbp
00189 c3 ret 0
terminate ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT defaultReallocate
_TEXT SEGMENT
block$ = 224
size$ = 232
user$ = 240
defaultReallocate PROC ; COMDAT
; 86 : {
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 55 push rbp
00010 57 push rdi
00011 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 87 : return realloc(block, size);
00029 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR size$[rbp]
00030 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR block$[rbp]
00037 ff 15 00 00 00
00 call QWORD PTR __imp_realloc
; 88 : }
0003d 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00044 5f pop rdi
00045 5d pop rbp
00046 c3 ret 0
defaultReallocate ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT defaultDeallocate
_TEXT SEGMENT
block$ = 224
user$ = 232
defaultDeallocate PROC ; COMDAT
; 79 : {
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 80 : free(block);
00024 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR block$[rbp]
0002b ff 15 00 00 00
00 call QWORD PTR __imp_free
; 81 : }
00031 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00038 5f pop rdi
00039 5d pop rbp
0003a c3 ret 0
defaultDeallocate ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT defaultAllocate
_TEXT SEGMENT
size$ = 224
user$ = 232
defaultAllocate PROC ; COMDAT
; 72 : {
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 73 : return malloc(size);
00024 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR size$[rbp]
0002b ff 15 00 00 00
00 call QWORD PTR __imp_malloc
; 74 : }
00031 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00038 5f pop rdi
00039 5d pop rbp
0003a c3 ret 0
defaultAllocate ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h
; COMDAT vsnprintf
_TEXT SEGMENT
_Result$ = 4
tv74 = 212
_Buffer$ = 256
_BufferCount$ = 264
_Format$ = 272
_ArgList$ = 280
vsnprintf PROC ; COMDAT
; 1438 : {
$LN5:
00000 4c 89 4c 24 20 mov QWORD PTR [rsp+32], r9
00005 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
0000a 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000f 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00014 55 push rbp
00015 57 push rdi
00016 48 81 ec 18 01
00 00 sub rsp, 280 ; 00000118H
0001d 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48]
00022 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__C1EC35D3_stdio@h
00029 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 1439 : int const _Result = __stdio_common_vsprintf(
0002e e8 00 00 00 00 call __local_stdio_printf_options
00033 48 8b 00 mov rax, QWORD PTR [rax]
00036 48 83 c8 02 or rax, 2
0003a 48 8b 8d 18 01
00 00 mov rcx, QWORD PTR _ArgList$[rbp]
00041 48 89 4c 24 28 mov QWORD PTR [rsp+40], rcx
00046 48 c7 44 24 20
00 00 00 00 mov QWORD PTR [rsp+32], 0
0004f 4c 8b 8d 10 01
00 00 mov r9, QWORD PTR _Format$[rbp]
00056 4c 8b 85 08 01
00 00 mov r8, QWORD PTR _BufferCount$[rbp]
0005d 48 8b 95 00 01
00 00 mov rdx, QWORD PTR _Buffer$[rbp]
00064 48 8b c8 mov rcx, rax
00067 ff 15 00 00 00
00 call QWORD PTR __imp___stdio_common_vsprintf
0006d 89 45 04 mov DWORD PTR _Result$[rbp], eax
; 1440 : _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
; 1441 : _Buffer, _BufferCount, _Format, NULL, _ArgList);
; 1442 :
; 1443 : return _Result < 0 ? -1 : _Result;
00070 83 7d 04 00 cmp DWORD PTR _Result$[rbp], 0
00074 7d 0c jge SHORT $LN3@vsnprintf
00076 c7 85 d4 00 00
00 ff ff ff ff mov DWORD PTR tv74[rbp], -1
00080 eb 09 jmp SHORT $LN4@vsnprintf
$LN3@vsnprintf:
00082 8b 45 04 mov eax, DWORD PTR _Result$[rbp]
00085 89 85 d4 00 00
00 mov DWORD PTR tv74[rbp], eax
$LN4@vsnprintf:
0008b 8b 85 d4 00 00
00 mov eax, DWORD PTR tv74[rbp]
; 1444 : }
00091 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00098 5f pop rdi
00099 5d pop rbp
0009a c3 ret 0
vsnprintf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_options
_TEXT SEGMENT
__local_stdio_printf_options PROC ; COMDAT
; 90 : {
$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:__44420885_corecrt_stdio_config@h
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 91 : static unsigned __int64 _OptionsStorage;
; 92 : return &_OptionsStorage;
0001b 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:?_OptionsStorage@?1??__local_stdio_printf_options@@9@9 ; `__local_stdio_printf_options'::`2'::_OptionsStorage
; 93 : }
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
__local_stdio_printf_options ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_free
_TEXT SEGMENT
block$ = 224
_glfw_free PROC ; COMDAT
; 319 : {
$LN4:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 320 : if (block)
0001f 48 83 bd e0 00
00 00 00 cmp QWORD PTR block$[rbp], 0
00027 74 14 je SHORT $LN2@glfw_free
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
00029 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
00030 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR block$[rbp]
00037 ff 15 18 00 00
00 call QWORD PTR _glfw+24
$LN2@glfw_free:
; 322 : }
0003d 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00044 5f pop rdi
00045 5d pop rbp
00046 c3 ret 0
_glfw_free ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_realloc
_TEXT SEGMENT
resized$1 = 8
block$ = 256
size$ = 264
_glfw_realloc PROC ; COMDAT
; 297 : {
$LN9:
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 298 : if (block && size)
00024 48 83 bd 00 01
00 00 00 cmp QWORD PTR block$[rbp], 0
0002c 74 4a je SHORT $LN2@glfw_reall
0002e 48 83 bd 08 01
00 00 00 cmp QWORD PTR size$[rbp], 0
00036 74 40 je SHORT $LN2@glfw_reall
; 299 : {
; 300 : void* resized = _glfw.allocator.reallocate(block, size, _glfw.allocator.user);
00038 4c 8b 05 20 00
00 00 mov r8, QWORD PTR _glfw+32
0003f 48 8b 95 08 01
00 00 mov rdx, QWORD PTR size$[rbp]
00046 48 8b 8d 00 01
00 00 mov rcx, QWORD PTR block$[rbp]
0004d ff 15 10 00 00
00 call QWORD PTR _glfw+16
00053 48 89 45 08 mov QWORD PTR resized$1[rbp], rax
; 301 : if (resized)
00057 48 83 7d 08 00 cmp QWORD PTR resized$1[rbp], 0
0005c 74 08 je SHORT $LN4@glfw_reall
; 302 : return resized;
0005e 48 8b 45 08 mov rax, QWORD PTR resized$1[rbp]
00062 eb 41 jmp SHORT $LN1@glfw_reall
00064 eb 10 jmp SHORT $LN5@glfw_reall
$LN4@glfw_reall:
; 303 : else
; 304 : {
; 305 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
00066 33 d2 xor edx, edx
00068 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
0006d e8 00 00 00 00 call _glfwInputError
; 306 : return NULL;
00072 33 c0 xor eax, eax
00074 eb 2f jmp SHORT $LN1@glfw_reall
$LN5@glfw_reall:
; 307 : }
; 308 : }
00076 eb 2d jmp SHORT $LN3@glfw_reall
$LN2@glfw_reall:
; 309 : else if (block)
00078 48 83 bd 00 01
00 00 00 cmp QWORD PTR block$[rbp], 0
00080 74 12 je SHORT $LN6@glfw_reall
; 310 : {
; 311 : _glfw_free(block);
00082 48 8b 8d 00 01
00 00 mov rcx, QWORD PTR block$[rbp]
00089 e8 00 00 00 00 call _glfw_free
; 312 : return NULL;
0008e 33 c0 xor eax, eax
00090 eb 13 jmp SHORT $LN1@glfw_reall
; 313 : }
00092 eb 11 jmp SHORT $LN7@glfw_reall
$LN6@glfw_reall:
; 314 : else
; 315 : return _glfw_calloc(1, size);
00094 48 8b 95 08 01
00 00 mov rdx, QWORD PTR size$[rbp]
0009b b9 01 00 00 00 mov ecx, 1
000a0 e8 00 00 00 00 call _glfw_calloc
$LN7@glfw_reall:
$LN3@glfw_reall:
$LN1@glfw_reall:
; 316 : }
000a5 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000ac 5f pop rdi
000ad 5d pop rbp
000ae c3 ret 0
_glfw_realloc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_calloc
_TEXT SEGMENT
block$1 = 8
count$ = 256
size$ = 264
_glfw_calloc PROC ; COMDAT
; 272 : {
$LN8:
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 273 : if (count && size)
00024 48 83 bd 00 01
00 00 00 cmp QWORD PTR count$[rbp], 0
0002c 0f 84 99 00 00
00 je $LN2@glfw_callo
00032 48 83 bd 08 01
00 00 00 cmp QWORD PTR size$[rbp], 0
0003a 0f 84 8b 00 00
00 je $LN2@glfw_callo
; 274 : {
; 275 : void* block;
; 276 :
; 277 : if (count > SIZE_MAX / size)
00040 33 d2 xor edx, edx
00042 48 c7 c0 ff ff
ff ff mov rax, -1
00049 48 f7 b5 08 01
00 00 div QWORD PTR size$[rbp]
00050 48 39 85 00 01
00 00 cmp QWORD PTR count$[rbp], rax
00057 76 15 jbe SHORT $LN4@glfw_callo
; 278 : {
; 279 : _glfwInputError(GLFW_INVALID_VALUE, "Allocation size overflow");
00059 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@
00060 b9 04 00 01 00 mov ecx, 65540 ; 00010004H
00065 e8 00 00 00 00 call _glfwInputError
; 280 : return NULL;
0006a 33 c0 xor eax, eax
0006c eb 5f jmp SHORT $LN1@glfw_callo
$LN4@glfw_callo:
; 281 : }
; 282 :
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
0006e 48 8b 85 00 01
00 00 mov rax, QWORD PTR count$[rbp]
00075 48 0f af 85 08
01 00 00 imul rax, QWORD PTR size$[rbp]
0007d 48 8b 15 20 00
00 00 mov rdx, QWORD PTR _glfw+32
00084 48 8b c8 mov rcx, rax
00087 ff 15 08 00 00
00 call QWORD PTR _glfw+8
0008d 48 89 45 08 mov QWORD PTR block$1[rbp], rax
; 284 : if (block)
00091 48 83 7d 08 00 cmp QWORD PTR block$1[rbp], 0
00096 74 21 je SHORT $LN5@glfw_callo
; 285 : return memset(block, 0, count * size);
00098 48 8b 85 00 01
00 00 mov rax, QWORD PTR count$[rbp]
0009f 48 0f af 85 08
01 00 00 imul rax, QWORD PTR size$[rbp]
000a7 4c 8b c0 mov r8, rax
000aa 33 d2 xor edx, edx
000ac 48 8b 4d 08 mov rcx, QWORD PTR block$1[rbp]
000b0 e8 00 00 00 00 call memset
000b5 eb 16 jmp SHORT $LN1@glfw_callo
000b7 eb 10 jmp SHORT $LN6@glfw_callo
$LN5@glfw_callo:
; 286 : else
; 287 : {
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
000b9 33 d2 xor edx, edx
000bb b9 05 00 01 00 mov ecx, 65541 ; 00010005H
000c0 e8 00 00 00 00 call _glfwInputError
; 289 : return NULL;
000c5 33 c0 xor eax, eax
000c7 eb 04 jmp SHORT $LN1@glfw_callo
$LN6@glfw_callo:
; 290 : }
; 291 : }
000c9 eb 02 jmp SHORT $LN3@glfw_callo
$LN2@glfw_callo:
; 292 : else
; 293 : return NULL;
000cb 33 c0 xor eax, eax
$LN3@glfw_callo:
$LN1@glfw_callo:
; 294 : }
000cd 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
000d4 5f pop rdi
000d5 5d pop rbp
000d6 c3 ret 0
_glfw_calloc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_fmaxf
_TEXT SEGMENT
a$ = 224
b$ = 232
_glfw_fmaxf PROC ; COMDAT
; 260 : {
$LN11:
00000 f3 0f 11 4c 24
10 movss DWORD PTR [rsp+16], xmm1
00006 f3 0f 11 44 24
08 movss DWORD PTR [rsp+8], xmm0
0000c 55 push rbp
0000d 57 push rdi
0000e 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00015 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48]
0001a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00021 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 261 : if (a != a)
00026 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
0002e 0f 2e 85 e0 00
00 00 ucomiss xmm0, DWORD PTR a$[rbp]
00035 7a 02 jp SHORT $LN10@glfw_fmaxf
00037 74 0c je SHORT $LN2@glfw_fmaxf
$LN10@glfw_fmaxf:
; 262 : return b;
00039 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
00041 eb 46 jmp SHORT $LN1@glfw_fmaxf
00043 eb 44 jmp SHORT $LN3@glfw_fmaxf
$LN2@glfw_fmaxf:
; 263 : else if (b != b)
00045 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
0004d 0f 2e 85 e8 00
00 00 ucomiss xmm0, DWORD PTR b$[rbp]
00054 7a 02 jp SHORT $LN9@glfw_fmaxf
00056 74 0c je SHORT $LN4@glfw_fmaxf
$LN9@glfw_fmaxf:
; 264 : return a;
00058 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
00060 eb 27 jmp SHORT $LN1@glfw_fmaxf
00062 eb 25 jmp SHORT $LN5@glfw_fmaxf
$LN4@glfw_fmaxf:
; 265 : else if (a > b)
00064 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
0006c 0f 2f 85 e8 00
00 00 comiss xmm0, DWORD PTR b$[rbp]
00073 76 0c jbe SHORT $LN6@glfw_fmaxf
; 266 : return a;
00075 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
0007d eb 0a jmp SHORT $LN1@glfw_fmaxf
0007f eb 08 jmp SHORT $LN7@glfw_fmaxf
$LN6@glfw_fmaxf:
; 267 : else
; 268 : return b;
00081 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
$LN7@glfw_fmaxf:
$LN5@glfw_fmaxf:
$LN3@glfw_fmaxf:
$LN1@glfw_fmaxf:
; 269 : }
00089 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00090 5f pop rdi
00091 5d pop rbp
00092 c3 ret 0
_glfw_fmaxf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_fminf
_TEXT SEGMENT
a$ = 224
b$ = 232
_glfw_fminf PROC ; COMDAT
; 248 : {
$LN11:
00000 f3 0f 11 4c 24
10 movss DWORD PTR [rsp+16], xmm1
00006 f3 0f 11 44 24
08 movss DWORD PTR [rsp+8], xmm0
0000c 55 push rbp
0000d 57 push rdi
0000e 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00015 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48]
0001a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00021 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 249 : if (a != a)
00026 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
0002e 0f 2e 85 e0 00
00 00 ucomiss xmm0, DWORD PTR a$[rbp]
00035 7a 02 jp SHORT $LN10@glfw_fminf
00037 74 0c je SHORT $LN2@glfw_fminf
$LN10@glfw_fminf:
; 250 : return b;
00039 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
00041 eb 46 jmp SHORT $LN1@glfw_fminf
00043 eb 44 jmp SHORT $LN3@glfw_fminf
$LN2@glfw_fminf:
; 251 : else if (b != b)
00045 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
0004d 0f 2e 85 e8 00
00 00 ucomiss xmm0, DWORD PTR b$[rbp]
00054 7a 02 jp SHORT $LN9@glfw_fminf
00056 74 0c je SHORT $LN4@glfw_fminf
$LN9@glfw_fminf:
; 252 : return a;
00058 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
00060 eb 27 jmp SHORT $LN1@glfw_fminf
00062 eb 25 jmp SHORT $LN5@glfw_fminf
$LN4@glfw_fminf:
; 253 : else if (a < b)
00064 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
0006c 0f 2f 85 e0 00
00 00 comiss xmm0, DWORD PTR a$[rbp]
00073 76 0c jbe SHORT $LN6@glfw_fminf
; 254 : return a;
00075 f3 0f 10 85 e0
00 00 00 movss xmm0, DWORD PTR a$[rbp]
0007d eb 0a jmp SHORT $LN1@glfw_fminf
0007f eb 08 jmp SHORT $LN7@glfw_fminf
$LN6@glfw_fminf:
; 255 : else
; 256 : return b;
00081 f3 0f 10 85 e8
00 00 00 movss xmm0, DWORD PTR b$[rbp]
$LN7@glfw_fminf:
$LN5@glfw_fminf:
$LN3@glfw_fminf:
$LN1@glfw_fminf:
; 257 : }
00089 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00090 5f pop rdi
00091 5d pop rbp
00092 c3 ret 0
_glfw_fminf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_max
_TEXT SEGMENT
tv65 = 192
a$ = 240
b$ = 248
_glfw_max PROC ; COMDAT
; 243 : {
$LN5:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00008 55 push rbp
00009 57 push rdi
0000a 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00011 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00016 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001d e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 244 : return a > b ? a : b;
00022 8b 85 f8 00 00
00 mov eax, DWORD PTR b$[rbp]
00028 39 85 f0 00 00
00 cmp DWORD PTR a$[rbp], eax
0002e 7e 0e jle SHORT $LN3@glfw_max
00030 8b 85 f0 00 00
00 mov eax, DWORD PTR a$[rbp]
00036 89 85 c0 00 00
00 mov DWORD PTR tv65[rbp], eax
0003c eb 0c jmp SHORT $LN4@glfw_max
$LN3@glfw_max:
0003e 8b 85 f8 00 00
00 mov eax, DWORD PTR b$[rbp]
00044 89 85 c0 00 00
00 mov DWORD PTR tv65[rbp], eax
$LN4@glfw_max:
0004a 8b 85 c0 00 00
00 mov eax, DWORD PTR tv65[rbp]
; 245 : }
00050 48 8d a5 d8 00
00 00 lea rsp, QWORD PTR [rbp+216]
00057 5f pop rdi
00058 5d pop rbp
00059 c3 ret 0
_glfw_max ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_min
_TEXT SEGMENT
tv65 = 192
a$ = 240
b$ = 248
_glfw_min PROC ; COMDAT
; 238 : {
$LN5:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00008 55 push rbp
00009 57 push rdi
0000a 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00011 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00016 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001d e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 239 : return a < b ? a : b;
00022 8b 85 f8 00 00
00 mov eax, DWORD PTR b$[rbp]
00028 39 85 f0 00 00
00 cmp DWORD PTR a$[rbp], eax
0002e 7d 0e jge SHORT $LN3@glfw_min
00030 8b 85 f0 00 00
00 mov eax, DWORD PTR a$[rbp]
00036 89 85 c0 00 00
00 mov DWORD PTR tv65[rbp], eax
0003c eb 0c jmp SHORT $LN4@glfw_min
$LN3@glfw_min:
0003e 8b 85 f8 00 00
00 mov eax, DWORD PTR b$[rbp]
00044 89 85 c0 00 00
00 mov DWORD PTR tv65[rbp], eax
$LN4@glfw_min:
0004a 8b 85 c0 00 00
00 mov eax, DWORD PTR tv65[rbp]
; 240 : }
00050 48 8d a5 d8 00
00 00 lea rsp, QWORD PTR [rbp+216]
00057 5f pop rdi
00058 5d pop rbp
00059 c3 ret 0
_glfw_min ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfw_strdup
_TEXT SEGMENT
length$ = 8
result$ = 40
source$ = 288
_glfw_strdup PROC ; COMDAT
; 230 : {
$LN3:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 28 01
00 00 sub rsp, 296 ; 00000128H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 231 : const size_t length = strlen(source);
0001f 48 8b 8d 20 01
00 00 mov rcx, QWORD PTR source$[rbp]
00026 e8 00 00 00 00 call strlen
0002b 48 89 45 08 mov QWORD PTR length$[rbp], rax
; 232 : char* result = _glfw_calloc(length + 1, 1);
0002f 48 8b 45 08 mov rax, QWORD PTR length$[rbp]
00033 48 ff c0 inc rax
00036 ba 01 00 00 00 mov edx, 1
0003b 48 8b c8 mov rcx, rax
0003e e8 00 00 00 00 call _glfw_calloc
00043 48 89 45 28 mov QWORD PTR result$[rbp], rax
; 233 : strcpy(result, source);
00047 48 8b 95 20 01
00 00 mov rdx, QWORD PTR source$[rbp]
0004e 48 8b 4d 28 mov rcx, QWORD PTR result$[rbp]
00052 e8 00 00 00 00 call strcpy
; 234 : return result;
00057 48 8b 45 28 mov rax, QWORD PTR result$[rbp]
; 235 : }
0005b 48 8d a5 08 01
00 00 lea rsp, QWORD PTR [rbp+264]
00062 5f pop rdi
00063 5d pop rbp
00064 c3 ret 0
_glfw_strdup ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfwParseUriList
_TEXT SEGMENT
prefix$ = 8
paths$ = 40
line$ = 72
path$4 = 104
digits$5 = 132
__$ArrayPad$ = 344
text$ = 384
count$ = 392
_glfwParseUriList PROC ; COMDAT
; 180 : {
$LN14:
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec 88 01
00 00 sub rsp, 392 ; 00000188H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
0001d b9 2a 00 00 00 mov ecx, 42 ; 0000002aH
00022 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00027 f3 ab rep stosd
00029 48 8b 8c 24 a8
01 00 00 mov rcx, QWORD PTR [rsp+424]
00031 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00038 48 33 c5 xor rax, rbp
0003b 48 89 85 58 01
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
00042 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00049 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 181 : const char* prefix = "file://";
0004e 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:??_C@_07CAIJGPF@file?3?1?1@
00055 48 89 45 08 mov QWORD PTR prefix$[rbp], rax
; 182 : char** paths = NULL;
00059 48 c7 45 28 00
00 00 00 mov QWORD PTR paths$[rbp], 0
; 183 : char* line;
; 184 :
; 185 : *count = 0;
00061 48 8b 85 88 01
00 00 mov rax, QWORD PTR count$[rbp]
00068 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN13@glfwParseU:
$LN2@glfwParseU:
; 186 :
; 187 : while ((line = strtok(text, "\r\n")))
0006e 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_02PCIJFNDE@?$AN?6@
00075 48 8b 8d 80 01
00 00 mov rcx, QWORD PTR text$[rbp]
0007c ff 15 00 00 00
00 call QWORD PTR __imp_strtok
00082 48 89 45 48 mov QWORD PTR line$[rbp], rax
00086 48 83 7d 48 00 cmp QWORD PTR line$[rbp], 0
0008b 0f 84 b7 01 00
00 je $LN3@glfwParseU
; 188 : {
; 189 : char* path;
; 190 :
; 191 : text = NULL;
00091 48 c7 85 80 01
00 00 00 00 00
00 mov QWORD PTR text$[rbp], 0
; 192 :
; 193 : if (line[0] == '#')
0009c b8 01 00 00 00 mov eax, 1
000a1 48 6b c0 00 imul rax, rax, 0
000a5 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
000a9 0f be 04 01 movsx eax, BYTE PTR [rcx+rax]
000ad 83 f8 23 cmp eax, 35 ; 00000023H
000b0 75 02 jne SHORT $LN8@glfwParseU
; 194 : continue;
000b2 eb ba jmp SHORT $LN2@glfwParseU
$LN8@glfwParseU:
; 195 :
; 196 : if (strncmp(line, prefix, strlen(prefix)) == 0)
000b4 48 8b 4d 08 mov rcx, QWORD PTR prefix$[rbp]
000b8 e8 00 00 00 00 call strlen
000bd 4c 8b c0 mov r8, rax
000c0 48 8b 55 08 mov rdx, QWORD PTR prefix$[rbp]
000c4 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
000c8 ff 15 00 00 00
00 call QWORD PTR __imp_strncmp
000ce 85 c0 test eax, eax
000d0 75 30 jne SHORT $LN9@glfwParseU
; 197 : {
; 198 : line += strlen(prefix);
000d2 48 8b 4d 08 mov rcx, QWORD PTR prefix$[rbp]
000d6 e8 00 00 00 00 call strlen
000db 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
000df 48 03 c8 add rcx, rax
000e2 48 8b c1 mov rax, rcx
000e5 48 89 45 48 mov QWORD PTR line$[rbp], rax
$LN4@glfwParseU:
; 199 : // TODO: Validate hostname
; 200 : while (*line != '/')
000e9 48 8b 45 48 mov rax, QWORD PTR line$[rbp]
000ed 0f be 00 movsx eax, BYTE PTR [rax]
000f0 83 f8 2f cmp eax, 47 ; 0000002fH
000f3 74 0d je SHORT $LN5@glfwParseU
; 201 : line++;
000f5 48 8b 45 48 mov rax, QWORD PTR line$[rbp]
000f9 48 ff c0 inc rax
000fc 48 89 45 48 mov QWORD PTR line$[rbp], rax
00100 eb e7 jmp SHORT $LN4@glfwParseU
$LN5@glfwParseU:
$LN9@glfwParseU:
; 202 : }
; 203 :
; 204 : (*count)++;
00102 48 8b 85 88 01
00 00 mov rax, QWORD PTR count$[rbp]
00109 8b 00 mov eax, DWORD PTR [rax]
0010b ff c0 inc eax
0010d 48 8b 8d 88 01
00 00 mov rcx, QWORD PTR count$[rbp]
00114 89 01 mov DWORD PTR [rcx], eax
; 205 :
; 206 : path = _glfw_calloc(strlen(line) + 1, 1);
00116 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
0011a e8 00 00 00 00 call strlen
0011f 48 ff c0 inc rax
00122 ba 01 00 00 00 mov edx, 1
00127 48 8b c8 mov rcx, rax
0012a e8 00 00 00 00 call _glfw_calloc
0012f 48 89 45 68 mov QWORD PTR path$4[rbp], rax
; 207 : paths = _glfw_realloc(paths, *count * sizeof(char*));
00133 48 8b 85 88 01
00 00 mov rax, QWORD PTR count$[rbp]
0013a 48 63 00 movsxd rax, DWORD PTR [rax]
0013d 48 c1 e0 03 shl rax, 3
00141 48 8b d0 mov rdx, rax
00144 48 8b 4d 28 mov rcx, QWORD PTR paths$[rbp]
00148 e8 00 00 00 00 call _glfw_realloc
0014d 48 89 45 28 mov QWORD PTR paths$[rbp], rax
; 208 : paths[*count - 1] = path;
00151 48 8b 85 88 01
00 00 mov rax, QWORD PTR count$[rbp]
00158 8b 00 mov eax, DWORD PTR [rax]
0015a ff c8 dec eax
0015c 48 98 cdqe
0015e 48 8b 4d 28 mov rcx, QWORD PTR paths$[rbp]
00162 48 8b 55 68 mov rdx, QWORD PTR path$4[rbp]
00166 48 89 14 c1 mov QWORD PTR [rcx+rax*8], rdx
$LN6@glfwParseU:
; 209 :
; 210 : while (*line)
0016a 48 8b 45 48 mov rax, QWORD PTR line$[rbp]
0016e 0f be 00 movsx eax, BYTE PTR [rax]
00171 85 c0 test eax, eax
00173 0f 84 ca 00 00
00 je $LN7@glfwParseU
; 211 : {
; 212 : if (line[0] == '%' && line[1] && line[2])
00179 b8 01 00 00 00 mov eax, 1
0017e 48 6b c0 00 imul rax, rax, 0
00182 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
00186 0f be 04 01 movsx eax, BYTE PTR [rcx+rax]
0018a 83 f8 25 cmp eax, 37 ; 00000025H
0018d 0f 85 88 00 00
00 jne $LN10@glfwParseU
00193 b8 01 00 00 00 mov eax, 1
00198 48 6b c0 01 imul rax, rax, 1
0019c 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
001a0 0f be 04 01 movsx eax, BYTE PTR [rcx+rax]
001a4 85 c0 test eax, eax
001a6 74 73 je SHORT $LN10@glfwParseU
001a8 b8 01 00 00 00 mov eax, 1
001ad 48 6b c0 02 imul rax, rax, 2
001b1 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
001b5 0f be 04 01 movsx eax, BYTE PTR [rcx+rax]
001b9 85 c0 test eax, eax
001bb 74 5e je SHORT $LN10@glfwParseU
; 213 : {
; 214 : const char digits[3] = { line[1], line[2], '\0' };
001bd b8 01 00 00 00 mov eax, 1
001c2 48 6b c0 01 imul rax, rax, 1
001c6 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
001ca 0f b6 04 01 movzx eax, BYTE PTR [rcx+rax]
001ce 88 85 84 00 00
00 mov BYTE PTR digits$5[rbp], al
001d4 b8 01 00 00 00 mov eax, 1
001d9 48 6b c0 02 imul rax, rax, 2
001dd 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
001e1 0f b6 04 01 movzx eax, BYTE PTR [rcx+rax]
001e5 88 85 85 00 00
00 mov BYTE PTR digits$5[rbp+1], al
001eb c6 85 86 00 00
00 00 mov BYTE PTR digits$5[rbp+2], 0
; 215 : *path = (char)strtol(digits, NULL, 16);
001f2 41 b8 10 00 00
00 mov r8d, 16
001f8 33 d2 xor edx, edx
001fa 48 8d 8d 84 00
00 00 lea rcx, QWORD PTR digits$5[rbp]
00201 ff 15 00 00 00
00 call QWORD PTR __imp_strtol
00207 48 8b 4d 68 mov rcx, QWORD PTR path$4[rbp]
0020b 88 01 mov BYTE PTR [rcx], al
; 216 : line += 2;
0020d 48 8b 45 48 mov rax, QWORD PTR line$[rbp]
00211 48 83 c0 02 add rax, 2
00215 48 89 45 48 mov QWORD PTR line$[rbp], rax
; 217 : }
00219 eb 0d jmp SHORT $LN11@glfwParseU
$LN10@glfwParseU:
; 218 : else
; 219 : *path = *line;
0021b 48 8b 45 68 mov rax, QWORD PTR path$4[rbp]
0021f 48 8b 4d 48 mov rcx, QWORD PTR line$[rbp]
00223 0f b6 09 movzx ecx, BYTE PTR [rcx]
00226 88 08 mov BYTE PTR [rax], cl
$LN11@glfwParseU:
; 220 :
; 221 : path++;
00228 48 8b 45 68 mov rax, QWORD PTR path$4[rbp]
0022c 48 ff c0 inc rax
0022f 48 89 45 68 mov QWORD PTR path$4[rbp], rax
; 222 : line++;
00233 48 8b 45 48 mov rax, QWORD PTR line$[rbp]
00237 48 ff c0 inc rax
0023a 48 89 45 48 mov QWORD PTR line$[rbp], rax
; 223 : }
0023e e9 27 ff ff ff jmp $LN6@glfwParseU
$LN7@glfwParseU:
; 224 : }
00243 e9 26 fe ff ff jmp $LN13@glfwParseU
$LN3@glfwParseU:
; 225 :
; 226 : return paths;
00248 48 8b 45 28 mov rax, QWORD PTR paths$[rbp]
; 227 : }
0024c 48 8b f8 mov rdi, rax
0024f 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
00253 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:_glfwParseUriList$rtcFrameData
0025a e8 00 00 00 00 call _RTC_CheckStackVars
0025f 48 8b c7 mov rax, rdi
00262 48 8b 8d 58 01
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
00269 48 33 cd xor rcx, rbp
0026c e8 00 00 00 00 call __security_check_cookie
00271 48 8d a5 68 01
00 00 lea rsp, QWORD PTR [rbp+360]
00278 5f pop rdi
00279 5d pop rbp
0027a c3 ret 0
_glfwParseUriList ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfwEncodeUTF8
_TEXT SEGMENT
count$ = 8
s$ = 256
codepoint$ = 264
_glfwEncodeUTF8 PROC ; COMDAT
; 149 : {
$LN10:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00009 55 push rbp
0000a 57 push rdi
0000b 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
00012 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00017 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001e e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 150 : size_t count = 0;
00023 48 c7 45 08 00
00 00 00 mov QWORD PTR count$[rbp], 0
; 151 :
; 152 : if (codepoint < 0x80)
0002b 81 bd 08 01 00
00 80 00 00 00 cmp DWORD PTR codepoint$[rbp], 128 ; 00000080H
00035 73 2a jae SHORT $LN2@glfwEncode
; 153 : s[count++] = (char)codepoint;
00037 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
0003b 48 8b 8d 00 01
00 00 mov rcx, QWORD PTR s$[rbp]
00042 48 03 c8 add rcx, rax
00045 48 8b c1 mov rax, rcx
00048 0f b6 8d 08 01
00 00 movzx ecx, BYTE PTR codepoint$[rbp]
0004f 88 08 mov BYTE PTR [rax], cl
00051 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
00055 48 ff c0 inc rax
00058 48 89 45 08 mov QWORD PTR count$[rbp], rax
0005c e9 c5 01 00 00 jmp $LN3@glfwEncode
$LN2@glfwEncode:
; 154 : else if (codepoint < 0x800)
00061 81 bd 08 01 00
00 00 08 00 00 cmp DWORD PTR codepoint$[rbp], 2048 ; 00000800H
0006b 73 5c jae SHORT $LN4@glfwEncode
; 155 : {
; 156 : s[count++] = (codepoint >> 6) | 0xc0;
0006d 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
00073 c1 e8 06 shr eax, 6
00076 0d c0 00 00 00 or eax, 192 ; 000000c0H
0007b 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
0007f 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
00086 48 03 d1 add rdx, rcx
00089 48 8b ca mov rcx, rdx
0008c 88 01 mov BYTE PTR [rcx], al
0008e 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
00092 48 ff c0 inc rax
00095 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 157 : s[count++] = (codepoint & 0x3f) | 0x80;
00099 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
0009f 83 e0 3f and eax, 63 ; 0000003fH
000a2 0f ba e8 07 bts eax, 7
000a6 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
000aa 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
000b1 48 03 d1 add rdx, rcx
000b4 48 8b ca mov rcx, rdx
000b7 88 01 mov BYTE PTR [rcx], al
000b9 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
000bd 48 ff c0 inc rax
000c0 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 158 : }
000c4 e9 5d 01 00 00 jmp $LN5@glfwEncode
$LN4@glfwEncode:
; 159 : else if (codepoint < 0x10000)
000c9 81 bd 08 01 00
00 00 00 01 00 cmp DWORD PTR codepoint$[rbp], 65536 ; 00010000H
000d3 0f 83 8a 00 00
00 jae $LN6@glfwEncode
; 160 : {
; 161 : s[count++] = (codepoint >> 12) | 0xe0;
000d9 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
000df c1 e8 0c shr eax, 12
000e2 0d e0 00 00 00 or eax, 224 ; 000000e0H
000e7 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
000eb 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
000f2 48 03 d1 add rdx, rcx
000f5 48 8b ca mov rcx, rdx
000f8 88 01 mov BYTE PTR [rcx], al
000fa 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
000fe 48 ff c0 inc rax
00101 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 162 : s[count++] = ((codepoint >> 6) & 0x3f) | 0x80;
00105 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
0010b c1 e8 06 shr eax, 6
0010e 83 e0 3f and eax, 63 ; 0000003fH
00111 0f ba e8 07 bts eax, 7
00115 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
00119 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
00120 48 03 d1 add rdx, rcx
00123 48 8b ca mov rcx, rdx
00126 88 01 mov BYTE PTR [rcx], al
00128 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
0012c 48 ff c0 inc rax
0012f 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 163 : s[count++] = (codepoint & 0x3f) | 0x80;
00133 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
00139 83 e0 3f and eax, 63 ; 0000003fH
0013c 0f ba e8 07 bts eax, 7
00140 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
00144 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
0014b 48 03 d1 add rdx, rcx
0014e 48 8b ca mov rcx, rdx
00151 88 01 mov BYTE PTR [rcx], al
00153 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
00157 48 ff c0 inc rax
0015a 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 164 : }
0015e e9 c3 00 00 00 jmp $LN7@glfwEncode
$LN6@glfwEncode:
; 165 : else if (codepoint < 0x110000)
00163 81 bd 08 01 00
00 00 00 11 00 cmp DWORD PTR codepoint$[rbp], 1114112 ; 00110000H
0016d 0f 83 b3 00 00
00 jae $LN8@glfwEncode
; 166 : {
; 167 : s[count++] = (codepoint >> 18) | 0xf0;
00173 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
00179 c1 e8 12 shr eax, 18
0017c 0d f0 00 00 00 or eax, 240 ; 000000f0H
00181 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
00185 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
0018c 48 03 d1 add rdx, rcx
0018f 48 8b ca mov rcx, rdx
00192 88 01 mov BYTE PTR [rcx], al
00194 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
00198 48 ff c0 inc rax
0019b 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 168 : s[count++] = ((codepoint >> 12) & 0x3f) | 0x80;
0019f 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
001a5 c1 e8 0c shr eax, 12
001a8 83 e0 3f and eax, 63 ; 0000003fH
001ab 0f ba e8 07 bts eax, 7
001af 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
001b3 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
001ba 48 03 d1 add rdx, rcx
001bd 48 8b ca mov rcx, rdx
001c0 88 01 mov BYTE PTR [rcx], al
001c2 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
001c6 48 ff c0 inc rax
001c9 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 169 : s[count++] = ((codepoint >> 6) & 0x3f) | 0x80;
001cd 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
001d3 c1 e8 06 shr eax, 6
001d6 83 e0 3f and eax, 63 ; 0000003fH
001d9 0f ba e8 07 bts eax, 7
001dd 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
001e1 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
001e8 48 03 d1 add rdx, rcx
001eb 48 8b ca mov rcx, rdx
001ee 88 01 mov BYTE PTR [rcx], al
001f0 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
001f4 48 ff c0 inc rax
001f7 48 89 45 08 mov QWORD PTR count$[rbp], rax
; 170 : s[count++] = (codepoint & 0x3f) | 0x80;
001fb 8b 85 08 01 00
00 mov eax, DWORD PTR codepoint$[rbp]
00201 83 e0 3f and eax, 63 ; 0000003fH
00204 0f ba e8 07 bts eax, 7
00208 48 8b 4d 08 mov rcx, QWORD PTR count$[rbp]
0020c 48 8b 95 00 01
00 00 mov rdx, QWORD PTR s$[rbp]
00213 48 03 d1 add rdx, rcx
00216 48 8b ca mov rcx, rdx
00219 88 01 mov BYTE PTR [rcx], al
0021b 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
0021f 48 ff c0 inc rax
00222 48 89 45 08 mov QWORD PTR count$[rbp], rax
$LN8@glfwEncode:
$LN7@glfwEncode:
$LN5@glfwEncode:
$LN3@glfwEncode:
; 171 : }
; 172 :
; 173 : return count;
00226 48 8b 45 08 mov rax, QWORD PTR count$[rbp]
; 174 : }
0022a 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00231 5f pop rdi
00232 5d pop rbp
00233 c3 ret 0
_glfwEncodeUTF8 ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT _glfwInputError
_TEXT SEGMENT
error$ = 8
description$ = 48
vl$5 = 1096
$T6 = 1704
__$ArrayPad$ = 1720
code$ = 1760
format$ = 1768
_glfwInputError PROC ; COMDAT
; 332 : {
$LN39:
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00009 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
0000e 4c 89 4c 24 20 mov QWORD PTR [rsp+32], r9
00013 55 push rbp
00014 57 push rdi
00015 48 81 ec e8 06
00 00 sub rsp, 1768 ; 000006e8H
0001c 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00021 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
00026 b9 22 01 00 00 mov ecx, 290 ; 00000122H
0002b b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00030 f3 ab rep stosd
00032 8b 8c 24 08 07
00 00 mov ecx, DWORD PTR [rsp+1800]
00039 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00040 48 33 c5 xor rax, rbp
00043 48 89 85 b8 06
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
0004a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00051 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 333 : _GLFWerror* error;
; 334 : char description[_GLFW_MESSAGE_SIZE];
; 335 :
; 336 : if (format)
00056 48 83 bd e8 06
00 00 00 cmp QWORD PTR format$[rbp], 0
0005e 74 6d je SHORT $LN2@glfwInputE
; 337 : {
; 338 : va_list vl;
; 339 :
; 340 : va_start(vl, format);
00060 48 8d 85 f0 06
00 00 lea rax, QWORD PTR format$[rbp+8]
00067 48 89 85 48 04
00 00 mov QWORD PTR vl$5[rbp], rax
; 341 : vsnprintf(description, sizeof(description), format, vl);
0006e 4c 8b 8d 48 04
00 00 mov r9, QWORD PTR vl$5[rbp]
00075 4c 8b 85 e8 06
00 00 mov r8, QWORD PTR format$[rbp]
0007c ba 00 04 00 00 mov edx, 1024 ; 00000400H
00081 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00085 e8 00 00 00 00 call vsnprintf
; 342 : va_end(vl);
0008a 48 c7 85 48 04
00 00 00 00 00
00 mov QWORD PTR vl$5[rbp], 0
; 343 :
; 344 : description[sizeof(description) - 1] = '\0';
00095 b8 01 00 00 00 mov eax, 1
0009a 48 69 c0 ff 03
00 00 imul rax, rax, 1023 ; 000003ffH
000a1 48 89 85 a8 06
00 00 mov QWORD PTR $T6[rbp], rax
000a8 48 81 bd a8 06
00 00 00 04 00
00 cmp QWORD PTR $T6[rbp], 1024 ; 00000400H
000b3 73 02 jae SHORT $LN37@glfwInputE
000b5 eb 05 jmp SHORT $LN38@glfwInputE
$LN37@glfwInputE:
000b7 e8 00 00 00 00 call __report_rangecheckfailure
$LN38@glfwInputE:
000bc 48 8b 85 a8 06
00 00 mov rax, QWORD PTR $T6[rbp]
000c3 c6 44 05 30 00 mov BYTE PTR description$[rbp+rax], 0
; 345 : }
000c8 e9 d2 01 00 00 jmp $LN3@glfwInputE
$LN2@glfwInputE:
; 346 : else
; 347 : {
; 348 : if (code == GLFW_NOT_INITIALIZED)
000cd 81 bd e0 06 00
00 01 00 01 00 cmp DWORD PTR code$[rbp], 65537 ; 00010001H
000d7 75 15 jne SHORT $LN4@glfwInputE
; 349 : strcpy(description, "The GLFW library is not initialized");
000d9 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CE@BEELAIPG@The?5GLFW?5library?5is?5not?5initial@
000e0 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
000e4 e8 00 00 00 00 call strcpy
000e9 e9 b1 01 00 00 jmp $LN5@glfwInputE
$LN4@glfwInputE:
; 350 : else if (code == GLFW_NO_CURRENT_CONTEXT)
000ee 81 bd e0 06 00
00 02 00 01 00 cmp DWORD PTR code$[rbp], 65538 ; 00010002H
000f8 75 15 jne SHORT $LN6@glfwInputE
; 351 : strcpy(description, "There is no current context");
000fa 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BM@PKHPFLOM@There?5is?5no?5current?5context@
00101 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00105 e8 00 00 00 00 call strcpy
0010a e9 90 01 00 00 jmp $LN7@glfwInputE
$LN6@glfwInputE:
; 352 : else if (code == GLFW_INVALID_ENUM)
0010f 81 bd e0 06 00
00 03 00 01 00 cmp DWORD PTR code$[rbp], 65539 ; 00010003H
00119 75 15 jne SHORT $LN8@glfwInputE
; 353 : strcpy(description, "Invalid argument for enum parameter");
0011b 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CE@KDBKFLEE@Invalid?5argument?5for?5enum?5param@
00122 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00126 e8 00 00 00 00 call strcpy
0012b e9 6f 01 00 00 jmp $LN9@glfwInputE
$LN8@glfwInputE:
; 354 : else if (code == GLFW_INVALID_VALUE)
00130 81 bd e0 06 00
00 04 00 01 00 cmp DWORD PTR code$[rbp], 65540 ; 00010004H
0013a 75 15 jne SHORT $LN10@glfwInputE
; 355 : strcpy(description, "Invalid value for parameter");
0013c 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BM@BADCNPOM@Invalid?5value?5for?5parameter@
00143 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00147 e8 00 00 00 00 call strcpy
0014c e9 4e 01 00 00 jmp $LN11@glfwInputE
$LN10@glfwInputE:
; 356 : else if (code == GLFW_OUT_OF_MEMORY)
00151 81 bd e0 06 00
00 05 00 01 00 cmp DWORD PTR code$[rbp], 65541 ; 00010005H
0015b 75 15 jne SHORT $LN12@glfwInputE
; 357 : strcpy(description, "Out of memory");
0015d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0O@NALGGDJF@Out?5of?5memory@
00164 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00168 e8 00 00 00 00 call strcpy
0016d e9 2d 01 00 00 jmp $LN13@glfwInputE
$LN12@glfwInputE:
; 358 : else if (code == GLFW_API_UNAVAILABLE)
00172 81 bd e0 06 00
00 06 00 01 00 cmp DWORD PTR code$[rbp], 65542 ; 00010006H
0017c 75 15 jne SHORT $LN14@glfwInputE
; 359 : strcpy(description, "The requested API is unavailable");
0017e 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CB@HAFFDHLH@The?5requested?5API?5is?5unavailabl@
00185 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00189 e8 00 00 00 00 call strcpy
0018e e9 0c 01 00 00 jmp $LN15@glfwInputE
$LN14@glfwInputE:
; 360 : else if (code == GLFW_VERSION_UNAVAILABLE)
00193 81 bd e0 06 00
00 07 00 01 00 cmp DWORD PTR code$[rbp], 65543 ; 00010007H
0019d 75 15 jne SHORT $LN16@glfwInputE
; 361 : strcpy(description, "The requested API version is unavailable");
0019f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@KOFEFGNB@The?5requested?5API?5version?5is?5un@
001a6 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
001aa e8 00 00 00 00 call strcpy
001af e9 eb 00 00 00 jmp $LN17@glfwInputE
$LN16@glfwInputE:
; 362 : else if (code == GLFW_PLATFORM_ERROR)
001b4 81 bd e0 06 00
00 08 00 01 00 cmp DWORD PTR code$[rbp], 65544 ; 00010008H
001be 75 15 jne SHORT $LN18@glfwInputE
; 363 : strcpy(description, "A platform-specific error occurred");
001c0 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CD@HJEBEGLD@A?5platform?9specific?5error?5occur@
001c7 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
001cb e8 00 00 00 00 call strcpy
001d0 e9 ca 00 00 00 jmp $LN19@glfwInputE
$LN18@glfwInputE:
; 364 : else if (code == GLFW_FORMAT_UNAVAILABLE)
001d5 81 bd e0 06 00
00 09 00 01 00 cmp DWORD PTR code$[rbp], 65545 ; 00010009H
001df 75 15 jne SHORT $LN20@glfwInputE
; 365 : strcpy(description, "The requested format is unavailable");
001e1 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CE@PCLEMLLO@The?5requested?5format?5is?5unavail@
001e8 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
001ec e8 00 00 00 00 call strcpy
001f1 e9 a9 00 00 00 jmp $LN21@glfwInputE
$LN20@glfwInputE:
; 366 : else if (code == GLFW_NO_WINDOW_CONTEXT)
001f6 81 bd e0 06 00
00 0a 00 01 00 cmp DWORD PTR code$[rbp], 65546 ; 0001000aH
00200 75 15 jne SHORT $LN22@glfwInputE
; 367 : strcpy(description, "The specified window has no context");
00202 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CE@OJFJMLEI@The?5specified?5window?5has?5no?5con@
00209 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
0020d e8 00 00 00 00 call strcpy
00212 e9 88 00 00 00 jmp $LN23@glfwInputE
$LN22@glfwInputE:
; 368 : else if (code == GLFW_CURSOR_UNAVAILABLE)
00217 81 bd e0 06 00
00 0b 00 01 00 cmp DWORD PTR code$[rbp], 65547 ; 0001000bH
00221 75 12 jne SHORT $LN24@glfwInputE
; 369 : strcpy(description, "The specified cursor shape is unavailable");
00223 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CK@NHHHNGID@The?5specified?5cursor?5shape?5is?5u@
0022a 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
0022e e8 00 00 00 00 call strcpy
00233 eb 6a jmp SHORT $LN25@glfwInputE
$LN24@glfwInputE:
; 370 : else if (code == GLFW_FEATURE_UNAVAILABLE)
00235 81 bd e0 06 00
00 0c 00 01 00 cmp DWORD PTR code$[rbp], 65548 ; 0001000cH
0023f 75 12 jne SHORT $LN26@glfwInputE
; 371 : strcpy(description, "The requested feature cannot be implemented for this platform");
00241 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0DO@OLPMIGEJ@The?5requested?5feature?5cannot?5be@
00248 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
0024c e8 00 00 00 00 call strcpy
00251 eb 4c jmp SHORT $LN27@glfwInputE
$LN26@glfwInputE:
; 372 : else if (code == GLFW_FEATURE_UNIMPLEMENTED)
00253 81 bd e0 06 00
00 0d 00 01 00 cmp DWORD PTR code$[rbp], 65549 ; 0001000dH
0025d 75 12 jne SHORT $LN28@glfwInputE
; 373 : strcpy(description, "The requested feature has not yet been implemented for this platform");
0025f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0EF@PCMNMHKP@The?5requested?5feature?5has?5not?5y@
00266 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
0026a e8 00 00 00 00 call strcpy
0026f eb 2e jmp SHORT $LN29@glfwInputE
$LN28@glfwInputE:
; 374 : else if (code == GLFW_PLATFORM_UNAVAILABLE)
00271 81 bd e0 06 00
00 0e 00 01 00 cmp DWORD PTR code$[rbp], 65550 ; 0001000eH
0027b 75 12 jne SHORT $LN30@glfwInputE
; 375 : strcpy(description, "The requested platform is unavailable");
0027d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CG@DAAALEIC@The?5requested?5platform?5is?5unava@
00284 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
00288 e8 00 00 00 00 call strcpy
0028d eb 10 jmp SHORT $LN31@glfwInputE
$LN30@glfwInputE:
; 376 : else
; 377 : strcpy(description, "ERROR: UNKNOWN GLFW ERROR");
0028f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BK@PMMAHJAK@ERROR?3?5UNKNOWN?5GLFW?5ERROR@
00296 48 8d 4d 30 lea rcx, QWORD PTR description$[rbp]
0029a e8 00 00 00 00 call strcpy
$LN31@glfwInputE:
$LN29@glfwInputE:
$LN27@glfwInputE:
$LN25@glfwInputE:
$LN23@glfwInputE:
$LN21@glfwInputE:
$LN19@glfwInputE:
$LN17@glfwInputE:
$LN15@glfwInputE:
$LN13@glfwInputE:
$LN11@glfwInputE:
$LN9@glfwInputE:
$LN7@glfwInputE:
$LN5@glfwInputE:
$LN3@glfwInputE:
; 378 : }
; 379 :
; 380 : if (_glfw.initialized)
0029f 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
002a6 74 6d je SHORT $LN32@glfwInputE
; 381 : {
; 382 : error = _glfwPlatformGetTls(&_glfw.errorSlot);
002a8 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
002af e8 00 00 00 00 call _glfwPlatformGetTls
002b4 48 89 45 08 mov QWORD PTR error$[rbp], rax
; 383 : if (!error)
002b8 48 83 7d 08 00 cmp QWORD PTR error$[rbp], 0
002bd 75 54 jne SHORT $LN34@glfwInputE
; 384 : {
; 385 : error = _glfw_calloc(1, sizeof(_GLFWerror));
002bf ba 10 04 00 00 mov edx, 1040 ; 00000410H
002c4 b9 01 00 00 00 mov ecx, 1
002c9 e8 00 00 00 00 call _glfw_calloc
002ce 48 89 45 08 mov QWORD PTR error$[rbp], rax
; 386 : _glfwPlatformSetTls(&_glfw.errorSlot, error);
002d2 48 8b 55 08 mov rdx, QWORD PTR error$[rbp]
002d6 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
002dd e8 00 00 00 00 call _glfwPlatformSetTls
; 387 : _glfwPlatformLockMutex(&_glfw.errorLock);
002e2 48 8d 0d b0 19
00 00 lea rcx, OFFSET FLAT:_glfw+6576
002e9 e8 00 00 00 00 call _glfwPlatformLockMutex
; 388 : error->next = _glfw.errorListHead;
002ee 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
002f2 48 8b 0d 68 07
00 00 mov rcx, QWORD PTR _glfw+1896
002f9 48 89 08 mov QWORD PTR [rax], rcx
; 389 : _glfw.errorListHead = error;
002fc 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
00300 48 89 05 68 07
00 00 mov QWORD PTR _glfw+1896, rax
; 390 : _glfwPlatformUnlockMutex(&_glfw.errorLock);
00307 48 8d 0d b0 19
00 00 lea rcx, OFFSET FLAT:_glfw+6576
0030e e8 00 00 00 00 call _glfwPlatformUnlockMutex
$LN34@glfwInputE:
; 391 : }
; 392 : }
00313 eb 0b jmp SHORT $LN33@glfwInputE
$LN32@glfwInputE:
; 393 : else
; 394 : error = &_glfwMainThreadError;
00315 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwMainThreadError
0031c 48 89 45 08 mov QWORD PTR error$[rbp], rax
$LN33@glfwInputE:
; 395 :
; 396 : error->code = code;
00320 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
00324 8b 8d e0 06 00
00 mov ecx, DWORD PTR code$[rbp]
0032a 89 48 08 mov DWORD PTR [rax+8], ecx
; 397 : strcpy(error->description, description);
0032d 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
00331 48 83 c0 0c add rax, 12
00335 48 8d 55 30 lea rdx, QWORD PTR description$[rbp]
00339 48 8b c8 mov rcx, rax
0033c e8 00 00 00 00 call strcpy
; 398 :
; 399 : if (_glfwErrorCallback)
00341 48 83 3d 00 00
00 00 00 cmp QWORD PTR _glfwErrorCallback, 0
00349 74 10 je SHORT $LN35@glfwInputE
; 400 : _glfwErrorCallback(code, description);
0034b 48 8d 55 30 lea rdx, QWORD PTR description$[rbp]
0034f 8b 8d e0 06 00
00 mov ecx, DWORD PTR code$[rbp]
00355 ff 15 00 00 00
00 call QWORD PTR _glfwErrorCallback
$LN35@glfwInputE:
$LN36@glfwInputE:
; 401 : }
0035b 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
0035f 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:_glfwInputError$rtcFrameData
00366 e8 00 00 00 00 call _RTC_CheckStackVars
0036b 48 8b 8d b8 06
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
00372 48 33 cd xor rcx, rbp
00375 e8 00 00 00 00 call __security_check_cookie
0037a 48 8d a5 c8 06
00 00 lea rsp, QWORD PTR [rbp+1736]
00381 5f pop rdi
00382 5d pop rbp
00383 c3 ret 0
_glfwInputError ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwSetErrorCallback
_TEXT SEGMENT
t$1 = 8
cbfun$ = 256
glfwSetErrorCallback PROC ; COMDAT
; 546 : {
$LN3:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 08 01
00 00 sub rsp, 264 ; 00000108H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 547 : _GLFW_SWAP(GLFWerrorfun, _glfwErrorCallback, cbfun);
0001f 48 8b 05 00 00
00 00 mov rax, QWORD PTR _glfwErrorCallback
00026 48 89 45 08 mov QWORD PTR t$1[rbp], rax
0002a 48 8b 85 00 01
00 00 mov rax, QWORD PTR cbfun$[rbp]
00031 48 89 05 00 00
00 00 mov QWORD PTR _glfwErrorCallback, rax
00038 48 8b 45 08 mov rax, QWORD PTR t$1[rbp]
0003c 48 89 85 00 01
00 00 mov QWORD PTR cbfun$[rbp], rax
; 548 : return cbfun;
00043 48 8b 85 00 01
00 00 mov rax, QWORD PTR cbfun$[rbp]
; 549 : }
0004a 48 8d a5 e8 00
00 00 lea rsp, QWORD PTR [rbp+232]
00051 5f pop rdi
00052 5d pop rbp
00053 c3 ret 0
glfwSetErrorCallback ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwGetError
_TEXT SEGMENT
error$ = 8
code$ = 36
description$ = 288
glfwGetError PROC ; COMDAT
; 522 : {
$LN8:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 57 push rdi
00007 48 81 ec 28 01
00 00 sub rsp, 296 ; 00000128H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 523 : _GLFWerror* error;
; 524 : int code = GLFW_NO_ERROR;
0001f c7 45 24 00 00
00 00 mov DWORD PTR code$[rbp], 0
; 525 :
; 526 : if (description)
00026 48 83 bd 20 01
00 00 00 cmp QWORD PTR description$[rbp], 0
0002e 74 0e je SHORT $LN2@glfwGetErr
; 527 : *description = NULL;
00030 48 8b 85 20 01
00 00 mov rax, QWORD PTR description$[rbp]
00037 48 c7 00 00 00
00 00 mov QWORD PTR [rax], 0
$LN2@glfwGetErr:
; 528 :
; 529 : if (_glfw.initialized)
0003e 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00045 74 12 je SHORT $LN3@glfwGetErr
; 530 : error = _glfwPlatformGetTls(&_glfw.errorSlot);
00047 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
0004e e8 00 00 00 00 call _glfwPlatformGetTls
00053 48 89 45 08 mov QWORD PTR error$[rbp], rax
00057 eb 0b jmp SHORT $LN4@glfwGetErr
$LN3@glfwGetErr:
; 531 : else
; 532 : error = &_glfwMainThreadError;
00059 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwMainThreadError
00060 48 89 45 08 mov QWORD PTR error$[rbp], rax
$LN4@glfwGetErr:
; 533 :
; 534 : if (error)
00064 48 83 7d 08 00 cmp QWORD PTR error$[rbp], 0
00069 74 37 je SHORT $LN5@glfwGetErr
; 535 : {
; 536 : code = error->code;
0006b 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
0006f 8b 40 08 mov eax, DWORD PTR [rax+8]
00072 89 45 24 mov DWORD PTR code$[rbp], eax
; 537 : error->code = GLFW_NO_ERROR;
00075 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
00079 c7 40 08 00 00
00 00 mov DWORD PTR [rax+8], 0
; 538 : if (description && code)
00080 48 83 bd 20 01
00 00 00 cmp QWORD PTR description$[rbp], 0
00088 74 18 je SHORT $LN6@glfwGetErr
0008a 83 7d 24 00 cmp DWORD PTR code$[rbp], 0
0008e 74 12 je SHORT $LN6@glfwGetErr
; 539 : *description = error->description;
00090 48 8b 45 08 mov rax, QWORD PTR error$[rbp]
00094 48 83 c0 0c add rax, 12
00098 48 8b 8d 20 01
00 00 mov rcx, QWORD PTR description$[rbp]
0009f 48 89 01 mov QWORD PTR [rcx], rax
$LN6@glfwGetErr:
$LN5@glfwGetErr:
; 540 : }
; 541 :
; 542 : return code;
000a2 8b 45 24 mov eax, DWORD PTR code$[rbp]
; 543 : }
000a5 48 8d a5 08 01
00 00 lea rsp, QWORD PTR [rbp+264]
000ac 5f pop rdi
000ad 5d pop rbp
000ae c3 ret 0
glfwGetError ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwGetVersion
_TEXT SEGMENT
major$ = 224
minor$ = 232
rev$ = 240
glfwGetVersion PROC ; COMDAT
; 512 : {
$LN6:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 55 push rbp
00010 57 push rdi
00011 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 513 : if (major != NULL)
00029 48 83 bd e0 00
00 00 00 cmp QWORD PTR major$[rbp], 0
00031 74 0d je SHORT $LN2@glfwGetVer
; 514 : *major = GLFW_VERSION_MAJOR;
00033 48 8b 85 e0 00
00 00 mov rax, QWORD PTR major$[rbp]
0003a c7 00 03 00 00
00 mov DWORD PTR [rax], 3
$LN2@glfwGetVer:
; 515 : if (minor != NULL)
00040 48 83 bd e8 00
00 00 00 cmp QWORD PTR minor$[rbp], 0
00048 74 0d je SHORT $LN3@glfwGetVer
; 516 : *minor = GLFW_VERSION_MINOR;
0004a 48 8b 85 e8 00
00 00 mov rax, QWORD PTR minor$[rbp]
00051 c7 00 04 00 00
00 mov DWORD PTR [rax], 4
$LN3@glfwGetVer:
; 517 : if (rev != NULL)
00057 48 83 bd f0 00
00 00 00 cmp QWORD PTR rev$[rbp], 0
0005f 74 0d je SHORT $LN4@glfwGetVer
; 518 : *rev = GLFW_VERSION_REVISION;
00061 48 8b 85 f0 00
00 00 mov rax, QWORD PTR rev$[rbp]
00068 c7 00 00 00 00
00 mov DWORD PTR [rax], 0
$LN4@glfwGetVer:
; 519 : }
0006e 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00075 5f pop rdi
00076 5d pop rbp
00077 c3 ret 0
glfwGetVersion ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwInitAllocator
_TEXT SEGMENT
allocator$ = 224
glfwInitAllocator PROC ; COMDAT
; 494 : {
$LN7:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 56 push rsi
00007 57 push rdi
00008 48 81 ec e0 00
00 00 sub rsp, 224 ; 000000e0H
0000f 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00014 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001b e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 495 : if (allocator)
00020 48 83 bd e0 00
00 00 00 cmp QWORD PTR allocator$[rbp], 0
00028 74 56 je SHORT $LN2@glfwInitAl
; 496 : {
; 497 : if (allocator->allocate && allocator->reallocate && allocator->deallocate)
0002a 48 8b 85 e0 00
00 00 mov rax, QWORD PTR allocator$[rbp]
00031 48 83 38 00 cmp QWORD PTR [rax], 0
00035 74 36 je SHORT $LN4@glfwInitAl
00037 48 8b 85 e0 00
00 00 mov rax, QWORD PTR allocator$[rbp]
0003e 48 83 78 08 00 cmp QWORD PTR [rax+8], 0
00043 74 28 je SHORT $LN4@glfwInitAl
00045 48 8b 85 e0 00
00 00 mov rax, QWORD PTR allocator$[rbp]
0004c 48 83 78 10 00 cmp QWORD PTR [rax+16], 0
00051 74 1a je SHORT $LN4@glfwInitAl
; 498 : _glfwInitAllocator = *allocator;
00053 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:_glfwInitAllocator
0005a 48 8b f8 mov rdi, rax
0005d 48 8b b5 e0 00
00 00 mov rsi, QWORD PTR allocator$[rbp]
00064 b9 20 00 00 00 mov ecx, 32 ; 00000020H
00069 f3 a4 rep movsb
0006b eb 11 jmp SHORT $LN5@glfwInitAl
$LN4@glfwInitAl:
; 499 : else
; 500 : _glfwInputError(GLFW_INVALID_VALUE, "Missing function in allocator");
0006d 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BO@NOJEGBJM@Missing?5function?5in?5allocator@
00074 b9 04 00 01 00 mov ecx, 65540 ; 00010004H
00079 e8 00 00 00 00 call _glfwInputError
$LN5@glfwInitAl:
; 501 : }
0007e eb 14 jmp SHORT $LN3@glfwInitAl
$LN2@glfwInitAl:
; 502 : else
; 503 : memset(&_glfwInitAllocator, 0, sizeof(GLFWallocator));
00080 41 b8 20 00 00
00 mov r8d, 32 ; 00000020H
00086 33 d2 xor edx, edx
00088 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:_glfwInitAllocator
0008f e8 00 00 00 00 call memset
$LN3@glfwInitAl:
; 504 : }
00094 48 8d a5 c0 00
00 00 lea rsp, QWORD PTR [rbp+192]
0009b 5f pop rdi
0009c 5e pop rsi
0009d 5d pop rbp
0009e c3 ret 0
glfwInitAllocator ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwInitHint
_TEXT SEGMENT
tv64 = 192
hint$ = 240
value$ = 248
glfwInitHint PROC ; COMDAT
; 463 : {
$LN13:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00008 55 push rbp
00009 57 push rdi
0000a 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00011 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00016 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
0001d e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 464 : switch (hint)
00022 8b 85 f0 00 00
00 mov eax, DWORD PTR hint$[rbp]
00028 89 85 c0 00 00
00 mov DWORD PTR tv64[rbp], eax
0002e 81 bd c0 00 00
00 01 10 05 00 cmp DWORD PTR tv64[rbp], 331777 ; 00051001H
00038 7f 35 jg SHORT $LN12@glfwInitHi
0003a 81 bd c0 00 00
00 01 10 05 00 cmp DWORD PTR tv64[rbp], 331777 ; 00051001H
00044 74 79 je SHORT $LN7@glfwInitHi
00046 81 bd c0 00 00
00 01 00 05 00 cmp DWORD PTR tv64[rbp], 327681 ; 00050001H
00050 74 43 je SHORT $LN4@glfwInitHi
00052 81 bd c0 00 00
00 02 00 05 00 cmp DWORD PTR tv64[rbp], 327682 ; 00050002H
0005c 74 45 je SHORT $LN5@glfwInitHi
0005e 81 bd c0 00 00
00 03 00 05 00 cmp DWORD PTR tv64[rbp], 327683 ; 00050003H
00068 74 47 je SHORT $LN6@glfwInitHi
0006a e9 88 00 00 00 jmp $LN2@glfwInitHi
$LN12@glfwInitHi:
0006f 81 bd c0 00 00
00 02 10 05 00 cmp DWORD PTR tv64[rbp], 331778 ; 00051002H
00079 74 52 je SHORT $LN8@glfwInitHi
0007b 81 bd c0 00 00
00 01 20 05 00 cmp DWORD PTR tv64[rbp], 335873 ; 00052001H
00085 74 54 je SHORT $LN9@glfwInitHi
00087 81 bd c0 00 00
00 01 30 05 00 cmp DWORD PTR tv64[rbp], 339969 ; 00053001H
00091 74 56 je SHORT $LN10@glfwInitHi
00093 eb 62 jmp SHORT $LN2@glfwInitHi
$LN4@glfwInitHi:
; 465 : {
; 466 : case GLFW_JOYSTICK_HAT_BUTTONS:
; 467 : _glfwInitHints.hatButtons = value;
00095 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
0009b 89 05 00 00 00
00 mov DWORD PTR _glfwInitHints, eax
; 468 : return;
000a1 eb 6c jmp SHORT $LN1@glfwInitHi
$LN5@glfwInitHi:
; 469 : case GLFW_ANGLE_PLATFORM_TYPE:
; 470 : _glfwInitHints.angleType = value;
000a3 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000a9 89 05 04 00 00
00 mov DWORD PTR _glfwInitHints+4, eax
; 471 : return;
000af eb 5e jmp SHORT $LN1@glfwInitHi
$LN6@glfwInitHi:
; 472 : case GLFW_PLATFORM:
; 473 : _glfwInitHints.platformID = value;
000b1 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000b7 89 05 08 00 00
00 mov DWORD PTR _glfwInitHints+8, eax
; 474 : return;
000bd eb 50 jmp SHORT $LN1@glfwInitHi
$LN7@glfwInitHi:
; 475 : case GLFW_COCOA_CHDIR_RESOURCES:
; 476 : _glfwInitHints.ns.chdir = value;
000bf 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000c5 89 05 1c 00 00
00 mov DWORD PTR _glfwInitHints+28, eax
; 477 : return;
000cb eb 42 jmp SHORT $LN1@glfwInitHi
$LN8@glfwInitHi:
; 478 : case GLFW_COCOA_MENUBAR:
; 479 : _glfwInitHints.ns.menubar = value;
000cd 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000d3 89 05 18 00 00
00 mov DWORD PTR _glfwInitHints+24, eax
; 480 : return;
000d9 eb 34 jmp SHORT $LN1@glfwInitHi
$LN9@glfwInitHi:
; 481 : case GLFW_X11_XCB_VULKAN_SURFACE:
; 482 : _glfwInitHints.x11.xcbVulkanSurface = value;
000db 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000e1 89 05 20 00 00
00 mov DWORD PTR _glfwInitHints+32, eax
; 483 : return;
000e7 eb 26 jmp SHORT $LN1@glfwInitHi
$LN10@glfwInitHi:
; 484 : case GLFW_WAYLAND_LIBDECOR:
; 485 : _glfwInitHints.wl.libdecorMode = value;
000e9 8b 85 f8 00 00
00 mov eax, DWORD PTR value$[rbp]
000ef 89 05 24 00 00
00 mov DWORD PTR _glfwInitHints+36, eax
; 486 : return;
000f5 eb 18 jmp SHORT $LN1@glfwInitHi
$LN2@glfwInitHi:
; 487 : }
; 488 :
; 489 : _glfwInputError(GLFW_INVALID_ENUM,
000f7 44 8b 85 f0 00
00 00 mov r8d, DWORD PTR hint$[rbp]
000fe 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@HDECIKCI@Invalid?5init?5hint?50x?$CF08X@
00105 b9 03 00 01 00 mov ecx, 65539 ; 00010003H
0010a e8 00 00 00 00 call _glfwInputError
$LN1@glfwInitHi:
; 490 : "Invalid init hint 0x%08X", hint);
; 491 : }
0010f 48 8d a5 d8 00
00 00 lea rsp, QWORD PTR [rbp+216]
00116 5f pop rdi
00117 5d pop rbp
00118 c3 ret 0
glfwInitHint ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwTerminate
_TEXT SEGMENT
glfwTerminate PROC ; COMDAT
; 455 : {
$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:__8D6B5D77_init@c
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 456 : if (!_glfw.initialized)
0001b 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00022 75 02 jne SHORT $LN2@glfwTermin
; 457 : return;
00024 eb 05 jmp SHORT $LN1@glfwTermin
$LN2@glfwTermin:
; 458 :
; 459 : terminate();
00026 e8 00 00 00 00 call terminate
$LN1@glfwTermin:
; 460 : }
0002b 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00032 5f pop rdi
00033 5d pop rbp
00034 c3 ret 0
glfwTerminate ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
; COMDAT glfwInit
_TEXT SEGMENT
glfwInit PROC ; COMDAT
; 409 : {
$LN9:
00000 40 55 push rbp
00002 56 push rsi
00003 57 push rdi
00004 48 81 ec e0 00
00 00 sub rsp, 224 ; 000000e0H
0000b 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00010 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__8D6B5D77_init@c
00017 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 410 : if (_glfw.initialized)
0001c 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
00023 74 0a je SHORT $LN2@glfwInit
; 411 : return GLFW_TRUE;
00025 b8 01 00 00 00 mov eax, 1
0002a e9 24 01 00 00 jmp $LN1@glfwInit
$LN2@glfwInit:
; 412 :
; 413 : memset(&_glfw, 0, sizeof(_glfw));
0002f 41 b8 28 2d 00
00 mov r8d, 11560 ; 00002d28H
00035 33 d2 xor edx, edx
00037 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:_glfw
0003e e8 00 00 00 00 call memset
; 414 : _glfw.hints.init = _glfwInitHints;
00043 48 8d 05 68 02
00 00 lea rax, OFFSET FLAT:_glfw+616
0004a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:_glfwInitHints
00051 48 8b f8 mov rdi, rax
00054 48 8b f1 mov rsi, rcx
00057 b9 28 00 00 00 mov ecx, 40 ; 00000028H
0005c f3 a4 rep movsb
; 415 :
; 416 : _glfw.allocator = _glfwInitAllocator;
0005e 48 8d 05 08 00
00 00 lea rax, OFFSET FLAT:_glfw+8
00065 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:_glfwInitAllocator
0006c 48 8b f8 mov rdi, rax
0006f 48 8b f1 mov rsi, rcx
00072 b9 20 00 00 00 mov ecx, 32 ; 00000020H
00077 f3 a4 rep movsb
; 417 : if (!_glfw.allocator.allocate)
00079 48 83 3d 08 00
00 00 00 cmp QWORD PTR _glfw+8, 0
00081 75 2a jne SHORT $LN3@glfwInit
; 418 : {
; 419 : _glfw.allocator.allocate = defaultAllocate;
00083 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:defaultAllocate
0008a 48 89 05 08 00
00 00 mov QWORD PTR _glfw+8, rax
; 420 : _glfw.allocator.reallocate = defaultReallocate;
00091 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:defaultReallocate
00098 48 89 05 10 00
00 00 mov QWORD PTR _glfw+16, rax
; 421 : _glfw.allocator.deallocate = defaultDeallocate;
0009f 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:defaultDeallocate
000a6 48 89 05 18 00
00 00 mov QWORD PTR _glfw+24, rax
$LN3@glfwInit:
; 422 : }
; 423 :
; 424 : if (!_glfwSelectPlatform(_glfw.hints.init.platformID, &_glfw.platform))
000ad 48 8d 15 28 00
00 00 lea rdx, OFFSET FLAT:_glfw+40
000b4 8b 0d 70 02 00
00 mov ecx, DWORD PTR _glfw+624
000ba e8 00 00 00 00 call _glfwSelectPlatform
000bf 85 c0 test eax, eax
000c1 75 07 jne SHORT $LN4@glfwInit
; 425 : return GLFW_FALSE;
000c3 33 c0 xor eax, eax
000c5 e9 89 00 00 00 jmp $LN1@glfwInit
$LN4@glfwInit:
; 426 :
; 427 : if (!_glfw.platform.init())
000ca ff 15 30 00 00
00 call QWORD PTR _glfw+48
000d0 85 c0 test eax, eax
000d2 75 09 jne SHORT $LN5@glfwInit
; 428 : {
; 429 : terminate();
000d4 e8 00 00 00 00 call terminate
; 430 : return GLFW_FALSE;
000d9 33 c0 xor eax, eax
000db eb 76 jmp SHORT $LN1@glfwInit
$LN5@glfwInit:
; 431 : }
; 432 :
; 433 : if (!_glfwPlatformCreateMutex(&_glfw.errorLock) ||
; 434 : !_glfwPlatformCreateTls(&_glfw.errorSlot) ||
000dd 48 8d 0d b0 19
00 00 lea rcx, OFFSET FLAT:_glfw+6576
000e4 e8 00 00 00 00 call _glfwPlatformCreateMutex
000e9 85 c0 test eax, eax
000eb 74 20 je SHORT $LN7@glfwInit
000ed 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
000f4 e8 00 00 00 00 call _glfwPlatformCreateTls
000f9 85 c0 test eax, eax
000fb 74 10 je SHORT $LN7@glfwInit
000fd 48 8d 0d a4 19
00 00 lea rcx, OFFSET FLAT:_glfw+6564
00104 e8 00 00 00 00 call _glfwPlatformCreateTls
00109 85 c0 test eax, eax
0010b 75 09 jne SHORT $LN6@glfwInit
$LN7@glfwInit:
; 435 : !_glfwPlatformCreateTls(&_glfw.contextSlot))
; 436 : {
; 437 : terminate();
0010d e8 00 00 00 00 call terminate
; 438 : return GLFW_FALSE;
00112 33 c0 xor eax, eax
00114 eb 3d jmp SHORT $LN1@glfwInit
$LN6@glfwInit:
; 439 : }
; 440 :
; 441 : _glfwPlatformSetTls(&_glfw.errorSlot, &_glfwMainThreadError);
00116 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:_glfwMainThreadError
0011d 48 8d 0d 9c 19
00 00 lea rcx, OFFSET FLAT:_glfw+6556
00124 e8 00 00 00 00 call _glfwPlatformSetTls
; 442 :
; 443 : _glfwInitGamepadMappings();
00129 e8 00 00 00 00 call _glfwInitGamepadMappings
; 444 :
; 445 : _glfwPlatformInitTimer();
0012e e8 00 00 00 00 call _glfwPlatformInitTimer
; 446 : _glfw.timer.offset = _glfwPlatformGetTimerValue();
00133 e8 00 00 00 00 call _glfwPlatformGetTimerValue
00138 48 89 05 e0 19
00 00 mov QWORD PTR _glfw+6624, rax
; 447 :
; 448 : _glfw.initialized = GLFW_TRUE;
0013f c7 05 00 00 00
00 01 00 00 00 mov DWORD PTR _glfw, 1
; 449 :
; 450 : glfwDefaultWindowHints();
00149 e8 00 00 00 00 call glfwDefaultWindowHints
; 451 : return GLFW_TRUE;
0014e b8 01 00 00 00 mov eax, 1
$LN1@glfwInit:
; 452 : }
00153 48 8d a5 c0 00
00 00 lea rsp, QWORD PTR [rbp+192]
0015a 5f pop rdi
0015b 5e pop rsi
0015c 5d pop rbp
0015d c3 ret 0
glfwInit ENDP
_TEXT ENDS
END