Files
stgsharp/源代码/StgShqrpGraphic/x64/Debug/StgSharpGraphic.cod
T

797 lines
21 KiB
Plaintext

; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC infolog
_DATA SEGMENT
COMM report:QWORD
_DATA ENDS
_BSS SEGMENT
infolog DQ 0200H 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
__ED683015_stdint@h DB 01H
__018B5678_khrplatform@h DB 01H
__79FC18F0_glad@h DB 01H
__1B0272D9_corecrt@h DB 01H
__13F5961F_stddef@h DB 01H
__986CAB3E_glfw3@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
__74484FB3_corecrt_wctype@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
__F7492337_framework@h DB 01H
__44420885_corecrt_stdio_config@h DB 01H
__AB601D8D_corecrt_wstdio@h DB 01H
__C1EC35D3_stdio@h DB 01H
__11E77DD3_mmintrin@h DB 01H
__45DED006_corecrt_malloc@h DB 01H
__FA77ED4C_malloc@h DB 01H
__9D836611_xmmintrin@h DB 01H
__F8E1EFDD_emmintrin@h DB 01H
__27408754_pmmintrin@h DB 01H
__9799F4D6_tmmintrin@h DB 01H
__BEA2E155_smmintrin@h DB 01H
__DBC06899_nmmintrin@h DB 01H
__0E7B92D7_wmmintrin@h DB 01H
__C5EFDFD0_zmmintrin@h DB 01H
__F2FB7D1A_immintrin@h DB 01H
__C508448F_StgSharpGraphic@h DB 01H
__52DA9D07_StgSharpGraphic@c DB 01H
msvcjmc ENDS
PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC printf
PUBLIC printShaderCode
PUBLIC initGL
PUBLIC initGLAD
PUBLIC loadShaderCode
PUBLIC linkShaderProgram
PUBLIC readLog
PUBLIC __JustMyCode_Default
EXTRN gladLoadGLLoader:PROC
EXTRN glfwInit:PROC
EXTRN glfwWindowHint:PROC
EXTRN glfwGetProcAddress:PROC
EXTRN __imp___acrt_iob_func:PROC
EXTRN __imp___stdio_common_vfprintf:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN glad_glCompileShader:QWORD
EXTRN glad_glCreateShader:QWORD
EXTRN glad_glGetProgramiv:QWORD
EXTRN glad_glGetProgramInfoLog:QWORD
EXTRN glad_glGetShaderiv:QWORD
EXTRN glad_glGetShaderInfoLog:QWORD
EXTRN glad_glLinkProgram:QWORD
EXTRN glad_glShaderSource:QWORD
EXTRN __security_cookie:QWORD
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+36
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vfprintf_l DD imagerel $LN3
DD imagerel $LN3+83
DD imagerel $unwind$_vfprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$printf DD imagerel $LN3
DD imagerel $LN3+129
DD imagerel $unwind$printf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$printShaderCode DD imagerel $LN3
DD imagerel $LN3+45
DD imagerel $unwind$printShaderCode
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$initGL DD imagerel $LN3
DD imagerel $LN3+82
DD imagerel $unwind$initGL
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$initGLAD DD imagerel $LN3
DD imagerel $LN3+41
DD imagerel $unwind$initGLAD
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$loadShaderCode DD imagerel $LN5
DD imagerel $LN5+201
DD imagerel $unwind$loadShaderCode
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$linkShaderProgram DD imagerel $LN5
DD imagerel $LN5+136
DD imagerel $unwind$linkShaderProgram
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$readLog DD imagerel $LN3
DD imagerel $LN3+49
DD imagerel $unwind$readLog
pdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$readLog DD 025030b01H
DD 0b206230bH
DD 05002H
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DB 018H
DB 076H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$linkShaderProgram DD 025031c19H
DD 0d209230eH
DD 05005H
DD imagerel __GSHandlerCheck
DD 068H
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DB 01dH
DB 0b7H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$loadShaderCode DD 025032119H
DD 0d20e2313H
DD 0500aH
DD imagerel __GSHandlerCheck
DD 068H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$initGLAD DD 025030b01H
DD 0b206230bH
DD 05002H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$initGL DD 025031201H
DD 0b20d2312H
DD 05009H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$printShaderCode DD 025030f01H
DD 0b20a230fH
DD 05006H
xdata ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DB 02bH
DB 06fH
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$printf DD 025032f19H
DD 0f21c2321H
DD 05015H
DD imagerel __GSHandlerCheck
DD 070H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 035031e01H
DD 0d219331eH
DD 05015H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 025030b01H
DD 0b206230bH
DD 05002H
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT readLog
_TEXT SEGMENT
readLog PROC ; COMDAT
; 76 : {
$LN3:
00000 40 55 push rbp
00002 48 83 ec 60 sub rsp, 96 ; 00000060H
00006 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000b 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00012 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 77 : return infolog[0];
00017 b8 08 00 00 00 mov eax, 8
0001c 48 6b c0 00 imul rax, rax, 0
00020 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:infolog
00027 48 8b 04 01 mov rax, QWORD PTR [rcx+rax]
; 78 : }
0002b 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
0002f 5d pop rbp
00030 c3 ret 0
readLog ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT linkShaderProgram
_TEXT SEGMENT
success$ = 0
__$ArrayPad$ = 72
shaderProgram$ = 96
linkShaderProgram PROC ; COMDAT
; 57 : {
$LN5:
00000 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00004 55 push rbp
00005 48 83 ec 70 sub rsp, 112 ; 00000070H
00009 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000e 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00015 48 33 c5 xor rax, rbp
00018 48 89 45 48 mov QWORD PTR __$ArrayPad$[rbp], rax
0001c 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00023 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 58 : glLinkProgram(shaderProgram);
00028 8b 4d 60 mov ecx, DWORD PTR shaderProgram$[rbp]
0002b ff 15 00 00 00
00 call QWORD PTR glad_glLinkProgram
; 59 :
; 60 : int success;
; 61 : glGetProgramiv(shaderProgram, GL_LINK_STATUS, &success);
00031 4c 8d 45 00 lea r8, QWORD PTR success$[rbp]
00035 ba 82 8b 00 00 mov edx, 35714 ; 00008b82H
0003a 8b 4d 60 mov ecx, DWORD PTR shaderProgram$[rbp]
0003d ff 15 00 00 00
00 call QWORD PTR glad_glGetProgramiv
; 62 : if (!success)
00043 83 7d 00 00 cmp DWORD PTR success$[rbp], 0
00047 75 2a jne SHORT $LN2@linkShader
; 63 : {
; 64 : glGetProgramInfoLog(shaderProgram, 512, NULL, infolog);
00049 4c 8d 0d 00 00
00 00 lea r9, OFFSET FLAT:infolog
00050 45 33 c0 xor r8d, r8d
00053 ba 00 02 00 00 mov edx, 512 ; 00000200H
00058 8b 4d 60 mov ecx, DWORD PTR shaderProgram$[rbp]
0005b ff 15 00 00 00
00 call QWORD PTR glad_glGetProgramInfoLog
; 65 : printf(infolog);
00061 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:infolog
00068 e8 00 00 00 00 call printf
; 66 : return 0;
0006d 33 c0 xor eax, eax
0006f eb 05 jmp SHORT $LN1@linkShader
; 67 : }
00071 eb 03 jmp SHORT $LN3@linkShader
$LN2@linkShader:
; 68 : else
; 69 : {
; 70 : return shaderProgram;
00073 8b 45 60 mov eax, DWORD PTR shaderProgram$[rbp]
$LN3@linkShader:
$LN1@linkShader:
; 71 : }
; 72 :
; 73 : }
00076 48 8b 4d 48 mov rcx, QWORD PTR __$ArrayPad$[rbp]
0007a 48 33 cd xor rcx, rbp
0007d e8 00 00 00 00 call __security_check_cookie
00082 48 8d 65 50 lea rsp, QWORD PTR [rbp+80]
00086 5d pop rbp
00087 c3 ret 0
linkShaderProgram ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT loadShaderCode
_TEXT SEGMENT
shader$ = 0
success$ = 4
__$ArrayPad$ = 72
shaderCode$ = 96
shadertype$ = 104
loadShaderCode PROC ; COMDAT
; 37 : {
$LN5:
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 48 83 ec 70 sub rsp, 112 ; 00000070H
0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00013 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
0001a 48 33 c5 xor rax, rbp
0001d 48 89 45 48 mov QWORD PTR __$ArrayPad$[rbp], rax
00021 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00028 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 38 : unsigned int shader = glCreateShader(shadertype);
0002d 8b 4d 68 mov ecx, DWORD PTR shadertype$[rbp]
00030 ff 15 00 00 00
00 call QWORD PTR glad_glCreateShader
00036 89 45 00 mov DWORD PTR shader$[rbp], eax
; 39 : glShaderSource(shader, 1, &shaderCode, NULL);
00039 45 33 c9 xor r9d, r9d
0003c 4c 8d 45 60 lea r8, QWORD PTR shaderCode$[rbp]
00040 ba 01 00 00 00 mov edx, 1
00045 8b 4d 00 mov ecx, DWORD PTR shader$[rbp]
00048 ff 15 00 00 00
00 call QWORD PTR glad_glShaderSource
; 40 : glCompileShader(shader);
0004e 8b 4d 00 mov ecx, DWORD PTR shader$[rbp]
00051 ff 15 00 00 00
00 call QWORD PTR glad_glCompileShader
; 41 : int success;
; 42 : glGetShaderiv(shader, GL_COMPILE_STATUS, &success);
00057 4c 8d 45 04 lea r8, QWORD PTR success$[rbp]
0005b ba 81 8b 00 00 mov edx, 35713 ; 00008b81H
00060 8b 4d 00 mov ecx, DWORD PTR shader$[rbp]
00063 ff 15 00 00 00
00 call QWORD PTR glad_glGetShaderiv
; 43 : if (!success)
00069 83 7d 04 00 cmp DWORD PTR success$[rbp], 0
0006d 75 45 jne SHORT $LN2@loadShader
; 44 : {
; 45 : glGetShaderInfoLog(shader, 512, NULL, infolog);
0006f 4c 8d 0d 00 00
00 00 lea r9, OFFSET FLAT:infolog
00076 45 33 c0 xor r8d, r8d
00079 ba 00 02 00 00 mov edx, 512 ; 00000200H
0007e 8b 4d 00 mov ecx, DWORD PTR shader$[rbp]
00081 ff 15 00 00 00
00 call QWORD PTR glad_glGetShaderInfoLog
; 46 : infolog[511] = '\0';
00087 b8 08 00 00 00 mov eax, 8
0008c 48 69 c0 ff 01
00 00 imul rax, rax, 511 ; 000001ffH
00093 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:infolog
0009a 48 c7 04 01 00
00 00 00 mov QWORD PTR [rcx+rax], 0
; 47 : printf(infolog);
000a2 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:infolog
000a9 e8 00 00 00 00 call printf
; 48 : return 0;
000ae 33 c0 xor eax, eax
000b0 eb 05 jmp SHORT $LN1@loadShader
; 49 : }
000b2 eb 03 jmp SHORT $LN3@loadShader
$LN2@loadShader:
; 50 : else
; 51 : {
; 52 : return shader;
000b4 8b 45 00 mov eax, DWORD PTR shader$[rbp]
$LN3@loadShader:
$LN1@loadShader:
; 53 : }
; 54 : }
000b7 48 8b 4d 48 mov rcx, QWORD PTR __$ArrayPad$[rbp]
000bb 48 33 cd xor rcx, rbp
000be e8 00 00 00 00 call __security_check_cookie
000c3 48 8d 65 50 lea rsp, QWORD PTR [rbp+80]
000c7 5d pop rbp
000c8 c3 ret 0
loadShaderCode ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT initGLAD
_TEXT SEGMENT
initGLAD PROC ; COMDAT
; 32 : {
$LN3:
00000 40 55 push rbp
00002 48 83 ec 60 sub rsp, 96 ; 00000060H
00006 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000b 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00012 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 33 : return gladLoadGLLoader((GLADloadproc)glfwGetProcAddress);
00017 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:glfwGetProcAddress
0001e e8 00 00 00 00 call gladLoadGLLoader
; 34 : }
00023 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
00027 5d pop rbp
00028 c3 ret 0
initGLAD ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT initGL
_TEXT SEGMENT
majorVersion$ = 80
minorVersion$ = 88
initGL PROC ; COMDAT
; 19 : {
$LN3:
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 48 83 ec 60 sub rsp, 96 ; 00000060H
0000d 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00012 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00019 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 20 : glfwInit();
0001e e8 00 00 00 00 call glfwInit
; 21 : glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, majorVersion);
00023 8b 55 50 mov edx, DWORD PTR majorVersion$[rbp]
00026 b9 02 20 02 00 mov ecx, 139266 ; 00022002H
0002b e8 00 00 00 00 call glfwWindowHint
; 22 : glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, minorVersion);
00030 8b 55 58 mov edx, DWORD PTR minorVersion$[rbp]
00033 b9 03 20 02 00 mov ecx, 139267 ; 00022003H
00038 e8 00 00 00 00 call glfwWindowHint
; 23 : glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
0003d ba 01 20 03 00 mov edx, 204801 ; 00032001H
00042 b9 08 20 02 00 mov ecx, 139272 ; 00022008H
00047 e8 00 00 00 00 call glfwWindowHint
; 24 :
; 25 : #ifdef __APPLE__
; 26 : glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
; 27 : #endif // __APPLE__
; 28 : }
0004c 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
00050 5d pop rbp
00051 c3 ret 0
initGL ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgShqrpGraphic\StgSharpGraphic.c
; COMDAT printShaderCode
_TEXT SEGMENT
code$ = 80
printShaderCode PROC ; COMDAT
; 14 : {
$LN3:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 55 push rbp
00006 48 83 ec 60 sub rsp, 96 ; 00000060H
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__52DA9D07_StgSharpGraphic@c
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 15 : printf(*code);
0001b 48 8b 45 50 mov rax, QWORD PTR code$[rbp]
0001f 48 8b 08 mov rcx, QWORD PTR [rax]
00022 e8 00 00 00 00 call printf
; 16 : }
00027 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
0002b 5d pop rbp
0002c c3 ret 0
printShaderCode ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h
; COMDAT printf
_TEXT SEGMENT
_Result$ = 0
_ArgList$ = 8
__$ArrayPad$ = 80
_Format$ = 112
printf PROC ; COMDAT
; 956 : {
$LN3:
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
0000f 4c 89 4c 24 20 mov QWORD PTR [rsp+32], r9
00014 55 push rbp
00015 48 81 ec 80 00
00 00 sub rsp, 128 ; 00000080H
0001c 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00021 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00028 48 33 c5 xor rax, rbp
0002b 48 89 45 50 mov QWORD PTR __$ArrayPad$[rbp], rax
0002f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__C1EC35D3_stdio@h
00036 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 957 : int _Result;
; 958 : va_list _ArgList;
; 959 : __crt_va_start(_ArgList, _Format);
0003b 48 8d 45 78 lea rax, QWORD PTR _Format$[rbp+8]
0003f 48 89 45 08 mov QWORD PTR _ArgList$[rbp], rax
; 960 : _Result = _vfprintf_l(stdout, _Format, NULL, _ArgList);
00043 b9 01 00 00 00 mov ecx, 1
00048 ff 15 00 00 00
00 call QWORD PTR __imp___acrt_iob_func
0004e 4c 8b 4d 08 mov r9, QWORD PTR _ArgList$[rbp]
00052 45 33 c0 xor r8d, r8d
00055 48 8b 55 70 mov rdx, QWORD PTR _Format$[rbp]
00059 48 8b c8 mov rcx, rax
0005c e8 00 00 00 00 call _vfprintf_l
00061 89 45 00 mov DWORD PTR _Result$[rbp], eax
; 961 : __crt_va_end(_ArgList);
00064 48 c7 45 08 00
00 00 00 mov QWORD PTR _ArgList$[rbp], 0
; 962 : return _Result;
0006c 8b 45 00 mov eax, DWORD PTR _Result$[rbp]
; 963 : }
0006f 48 8b 4d 50 mov rcx, QWORD PTR __$ArrayPad$[rbp]
00073 48 33 cd xor rcx, rbp
00076 e8 00 00 00 00 call __security_check_cookie
0007b 48 8d 65 60 lea rsp, QWORD PTR [rbp+96]
0007f 5d pop rbp
00080 c3 ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /ZI
; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 80
_Format$ = 88
_Locale$ = 96
_ArgList$ = 104
_vfprintf_l PROC ; COMDAT
; 644 : {
$LN3:
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 48 83 ec 70 sub rsp, 112 ; 00000070H
00019 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48]
0001e 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__C1EC35D3_stdio@h
00025 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 645 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
0002a e8 00 00 00 00 call __local_stdio_printf_options
0002f 48 8b 4d 68 mov rcx, QWORD PTR _ArgList$[rbp]
00033 48 89 4c 24 20 mov QWORD PTR [rsp+32], rcx
00038 4c 8b 4d 60 mov r9, QWORD PTR _Locale$[rbp]
0003c 4c 8b 45 58 mov r8, QWORD PTR _Format$[rbp]
00040 48 8b 55 50 mov rdx, QWORD PTR _Stream$[rbp]
00044 48 8b 08 mov rcx, QWORD PTR [rax]
00047 ff 15 00 00 00
00 call QWORD PTR __imp___stdio_common_vfprintf
; 646 : }
0004d 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
00051 5d pop rbp
00052 c3 ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /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 48 83 ec 60 sub rsp, 96 ; 00000060H
00006 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000b 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__44420885_corecrt_stdio_config@h
00012 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
; 91 : static unsigned __int64 _OptionsStorage;
; 92 : return &_OptionsStorage;
00017 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 : }
0001e 48 8d 65 40 lea rsp, QWORD PTR [rbp+64]
00022 5d pop rbp
00023 c3 ret 0
__local_stdio_printf_options ENDP
_TEXT ENDS
END