; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0 include listing.inc INCLUDELIB OLDNAMES PUBLIC infolog EXTRN __imp___stdio_common_vfprintf:PROC EXTRN __imp___acrt_iob_func:PROC ALIGN 8 infolog DQ 0200H DUP (?) COMM currentContext:QWORD COMM glfw:QWORD _DATA ENDS PUBLIC readLog PUBLIC linkShaderProgram PUBLIC loadShaderCode PUBLIC initGL PUBLIC printShaderCode PUBLIC printf PUBLIC _vfprintf_l ; COMDAT pdata pdata SEGMENT $pdata$linkShaderProgram DD imagerel $LN7 DD imagerel $LN7+140 DD imagerel $unwind$linkShaderProgram pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$loadShaderCode DD imagerel $LN7 DD imagerel $LN7+191 DD imagerel $unwind$loadShaderCode pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$initGL DD imagerel $LN160 DD imagerel $LN160+1722 DD imagerel $unwind$initGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$printf DD imagerel $LN6 DD imagerel $LN6+85 DD imagerel $unwind$printf pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$_vfprintf_l DD imagerel $LN4 DD imagerel $LN4+68 DD imagerel $unwind$_vfprintf_l pdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$_vfprintf_l DD 060f01H DD 09640fH DD 08340fH DD 0700b520fH xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$printf DD 041b01H DD 07017521bH DD 030156016H xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$initGL DD 060f01H DD 07640fH DD 06340fH DD 0700b320fH xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$loadShaderCode DD 021519H DD 030027206H DD imagerel __GSHandlerCheck DD 030H xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$linkShaderProgram DD 021519H DD 030025206H DD imagerel __GSHandlerCheck DD 028H ; Function compile flags: /Ogtpy ; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h ; COMDAT _vfprintf_l _TEXT SEGMENT _Stream$ = 64 _Format$ = 72 _Locale$dead$ = 80 _ArgList$ = 88 _vfprintf_l PROC ; COMDAT ; 644 : { $LN4: 00000 48 89 5c 24 08 mov QWORD PTR [rsp+8], rbx 00005 48 89 74 24 10 mov QWORD PTR [rsp+16], rsi 0000a 57 push rdi 0000b 48 83 ec 30 sub rsp, 48 ; 00000030H 0000f 49 8b d9 mov rbx, r9 00012 48 8b fa mov rdi, rdx 00015 48 8b f1 mov rsi, rcx ; 645 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList); 00018 e8 00 00 00 00 call __local_stdio_printf_options 0001d 45 33 c9 xor r9d, r9d 00020 48 89 5c 24 20 mov QWORD PTR [rsp+32], rbx 00025 4c 8b c7 mov r8, rdi 00028 48 8b d6 mov rdx, rsi 0002b 48 8b 08 mov rcx, QWORD PTR [rax] 0002e ff 15 00 00 00 00 call QWORD PTR __imp___stdio_common_vfprintf ; 646 : } 00034 48 8b 5c 24 40 mov rbx, QWORD PTR [rsp+64] 00039 48 8b 74 24 48 mov rsi, QWORD PTR [rsp+72] 0003e 48 83 c4 30 add rsp, 48 ; 00000030H 00042 5f pop rdi 00043 c3 ret 0 _vfprintf_l ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h ; COMDAT printf _TEXT SEGMENT _Format$ = 80 printf PROC ; COMDAT ; 956 : { $LN6: 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 53 push rbx 00015 56 push rsi 00016 57 push rdi 00017 48 83 ec 30 sub rsp, 48 ; 00000030H 0001b 48 8b f9 mov rdi, rcx ; 957 : int _Result; ; 958 : va_list _ArgList; ; 959 : __crt_va_start(_ArgList, _Format); 0001e 48 8d 74 24 58 lea rsi, QWORD PTR _Format$[rsp+8] ; 960 : _Result = _vfprintf_l(stdout, _Format, NULL, _ArgList); 00023 b9 01 00 00 00 mov ecx, 1 00028 ff 15 00 00 00 00 call QWORD PTR __imp___acrt_iob_func 0002e 48 8b d8 mov rbx, rax ; 645 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList); 00031 e8 00 00 00 00 call __local_stdio_printf_options 00036 45 33 c9 xor r9d, r9d 00039 48 89 74 24 20 mov QWORD PTR [rsp+32], rsi 0003e 4c 8b c7 mov r8, rdi 00041 48 8b d3 mov rdx, rbx 00044 48 8b 08 mov rcx, QWORD PTR [rax] 00047 ff 15 00 00 00 00 call QWORD PTR __imp___stdio_common_vfprintf ; 961 : __crt_va_end(_ArgList); ; 962 : return _Result; ; 963 : } 0004d 48 83 c4 30 add rsp, 48 ; 00000030H 00051 5f pop rdi 00052 5e pop rsi 00053 5b pop rbx 00054 c3 ret 0 printf ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; COMDAT printShaderCode _TEXT SEGMENT code$ = 8 printShaderCode PROC ; COMDAT ; 15 : printf(*code); 00000 48 8b 09 mov rcx, QWORD PTR [rcx] 00003 e9 00 00 00 00 jmp printf printShaderCode ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\window.c ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; COMDAT initGL _TEXT SEGMENT majorVersion$ = 48 minorVersion$ = 56 ptr$ = 64 initGL PROC ; COMDAT ; 21 : { $LN160: 00000 48 89 5c 24 08 mov QWORD PTR [rsp+8], rbx 00005 48 89 74 24 10 mov QWORD PTR [rsp+16], rsi 0000a 57 push rdi 0000b 48 83 ec 20 sub rsp, 32 ; 00000020H 0000f 49 8b d8 mov rbx, r8 00012 8b f2 mov esi, edx 00014 8b f9 mov edi, ecx ; 22 : glfwInit(); 00016 e8 00 00 00 00 call glfwInit ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\window.c ; 300 : _GLFW_REQUIRE_INIT(); 0001b 8b 05 00 00 00 00 mov eax, DWORD PTR _glfw 00021 85 c0 test eax, eax 00023 75 14 jne SHORT $LN6@initGL 00025 33 d2 xor edx, edx 00027 b9 01 00 01 00 mov ecx, 65537 ; 00010001H 0002c e8 00 00 00 00 call _glfwInputError 00031 8b 05 00 00 00 00 mov eax, DWORD PTR _glfw 00037 eb 06 jmp SHORT $LN3@initGL $LN6@initGL: ; 301 : ; 302 : switch (hint) ; 303 : { ; 304 : case GLFW_RED_BITS: ; 305 : _glfw.hints.framebuffer.redBits = value; ; 306 : return; ; 307 : case GLFW_GREEN_BITS: ; 308 : _glfw.hints.framebuffer.greenBits = value; ; 309 : return; ; 310 : case GLFW_BLUE_BITS: ; 311 : _glfw.hints.framebuffer.blueBits = value; ; 312 : return; ; 313 : case GLFW_ALPHA_BITS: ; 314 : _glfw.hints.framebuffer.alphaBits = value; ; 315 : return; ; 316 : case GLFW_DEPTH_BITS: ; 317 : _glfw.hints.framebuffer.depthBits = value; ; 318 : return; ; 319 : case GLFW_STENCIL_BITS: ; 320 : _glfw.hints.framebuffer.stencilBits = value; ; 321 : return; ; 322 : case GLFW_ACCUM_RED_BITS: ; 323 : _glfw.hints.framebuffer.accumRedBits = value; ; 324 : return; ; 325 : case GLFW_ACCUM_GREEN_BITS: ; 326 : _glfw.hints.framebuffer.accumGreenBits = value; ; 327 : return; ; 328 : case GLFW_ACCUM_BLUE_BITS: ; 329 : _glfw.hints.framebuffer.accumBlueBits = value; ; 330 : return; ; 331 : case GLFW_ACCUM_ALPHA_BITS: ; 332 : _glfw.hints.framebuffer.accumAlphaBits = value; ; 333 : return; ; 334 : case GLFW_AUX_BUFFERS: ; 335 : _glfw.hints.framebuffer.auxBuffers = value; ; 336 : return; ; 337 : case GLFW_STEREO: ; 338 : _glfw.hints.framebuffer.stereo = value ? GLFW_TRUE : GLFW_FALSE; ; 339 : return; ; 340 : case GLFW_DOUBLEBUFFER: ; 341 : _glfw.hints.framebuffer.doublebuffer = value ? GLFW_TRUE : GLFW_FALSE; ; 342 : return; ; 343 : case GLFW_TRANSPARENT_FRAMEBUFFER: ; 344 : _glfw.hints.framebuffer.transparent = value ? GLFW_TRUE : GLFW_FALSE; ; 345 : return; ; 346 : case GLFW_SAMPLES: ; 347 : _glfw.hints.framebuffer.samples = value; ; 348 : return; ; 349 : case GLFW_SRGB_CAPABLE: ; 350 : _glfw.hints.framebuffer.sRGB = value ? GLFW_TRUE : GLFW_FALSE; ; 351 : return; ; 352 : case GLFW_RESIZABLE: ; 353 : _glfw.hints.window.resizable = value ? GLFW_TRUE : GLFW_FALSE; ; 354 : return; ; 355 : case GLFW_DECORATED: ; 356 : _glfw.hints.window.decorated = value ? GLFW_TRUE : GLFW_FALSE; ; 357 : return; ; 358 : case GLFW_FOCUSED: ; 359 : _glfw.hints.window.focused = value ? GLFW_TRUE : GLFW_FALSE; ; 360 : return; ; 361 : case GLFW_AUTO_ICONIFY: ; 362 : _glfw.hints.window.autoIconify = value ? GLFW_TRUE : GLFW_FALSE; ; 363 : return; ; 364 : case GLFW_FLOATING: ; 365 : _glfw.hints.window.floating = value ? GLFW_TRUE : GLFW_FALSE; ; 366 : return; ; 367 : case GLFW_MAXIMIZED: ; 368 : _glfw.hints.window.maximized = value ? GLFW_TRUE : GLFW_FALSE; ; 369 : return; ; 370 : case GLFW_VISIBLE: ; 371 : _glfw.hints.window.visible = value ? GLFW_TRUE : GLFW_FALSE; ; 372 : return; ; 373 : case GLFW_POSITION_X: ; 374 : _glfw.hints.window.xpos = value; ; 375 : return; ; 376 : case GLFW_POSITION_Y: ; 377 : _glfw.hints.window.ypos = value; ; 378 : return; ; 379 : case GLFW_COCOA_RETINA_FRAMEBUFFER: ; 380 : _glfw.hints.window.ns.retina = value ? GLFW_TRUE : GLFW_FALSE; ; 381 : return; ; 382 : case GLFW_WIN32_KEYBOARD_MENU: ; 383 : _glfw.hints.window.win32.keymenu = value ? GLFW_TRUE : GLFW_FALSE; ; 384 : return; ; 385 : case GLFW_COCOA_GRAPHICS_SWITCHING: ; 386 : _glfw.hints.context.nsgl.offline = value ? GLFW_TRUE : GLFW_FALSE; ; 387 : return; ; 388 : case GLFW_SCALE_TO_MONITOR: ; 389 : _glfw.hints.window.scaleToMonitor = value ? GLFW_TRUE : GLFW_FALSE; ; 390 : return; ; 391 : case GLFW_CENTER_CURSOR: ; 392 : _glfw.hints.window.centerCursor = value ? GLFW_TRUE : GLFW_FALSE; ; 393 : return; ; 394 : case GLFW_FOCUS_ON_SHOW: ; 395 : _glfw.hints.window.focusOnShow = value ? GLFW_TRUE : GLFW_FALSE; ; 396 : return; ; 397 : case GLFW_MOUSE_PASSTHROUGH: ; 398 : _glfw.hints.window.mousePassthrough = value ? GLFW_TRUE : GLFW_FALSE; ; 399 : return; ; 400 : case GLFW_CLIENT_API: ; 401 : _glfw.hints.context.client = value; ; 402 : return; ; 403 : case GLFW_CONTEXT_CREATION_API: ; 404 : _glfw.hints.context.source = value; ; 405 : return; ; 406 : case GLFW_CONTEXT_VERSION_MAJOR: ; 407 : _glfw.hints.context.major = value; 00039 89 3d 30 07 00 00 mov DWORD PTR _glfw+1840, edi $LN3@initGL: ; 300 : _GLFW_REQUIRE_INIT(); 0003f 85 c0 test eax, eax 00041 75 14 jne SHORT $LN57@initGL 00043 33 d2 xor edx, edx 00045 b9 01 00 01 00 mov ecx, 65537 ; 00010001H 0004a e8 00 00 00 00 call _glfwInputError 0004f 8b 05 00 00 00 00 mov eax, DWORD PTR _glfw 00055 eb 06 jmp SHORT $LN54@initGL $LN57@initGL: ; 408 : return; ; 409 : case GLFW_CONTEXT_VERSION_MINOR: ; 410 : _glfw.hints.context.minor = value; 00057 89 35 34 07 00 00 mov DWORD PTR _glfw+1844, esi $LN54@initGL: ; 300 : _GLFW_REQUIRE_INIT(); 0005d 85 c0 test eax, eax 0005f 75 0e jne SHORT $LN108@initGL 00061 33 d2 xor edx, edx 00063 b9 01 00 01 00 mov ecx, 65537 ; 00010001H 00068 e8 00 00 00 00 call _glfwInputError 0006d eb 0a jmp SHORT $LN105@initGL $LN108@initGL: ; 411 : return; ; 412 : case GLFW_CONTEXT_ROBUSTNESS: ; 413 : _glfw.hints.context.robustness = value; ; 414 : return; ; 415 : case GLFW_OPENGL_FORWARD_COMPAT: ; 416 : _glfw.hints.context.forward = value ? GLFW_TRUE : GLFW_FALSE; ; 417 : return; ; 418 : case GLFW_CONTEXT_DEBUG: ; 419 : _glfw.hints.context.debug = value ? GLFW_TRUE : GLFW_FALSE; ; 420 : return; ; 421 : case GLFW_CONTEXT_NO_ERROR: ; 422 : _glfw.hints.context.noerror = value ? GLFW_TRUE : GLFW_FALSE; ; 423 : return; ; 424 : case GLFW_OPENGL_PROFILE: ; 425 : _glfw.hints.context.profile = value; 0006f c7 05 44 07 00 00 01 20 03 00 mov DWORD PTR _glfw+1860, 204801 ; 00032001H $LN105@initGL: ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; 35 : glfw->Init = glfwInit; 00079 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwInit 00080 48 89 1d 00 00 00 00 mov QWORD PTR glfw, rbx 00087 48 89 03 mov QWORD PTR [rbx], rax ; 36 : glfw->Terminate = glfwTerminate; 0008a 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwTerminate 00091 48 89 43 08 mov QWORD PTR [rbx+8], rax ; 37 : glfw->InitHint = glfwInitHint; 00095 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwInitHint 0009c 48 89 43 10 mov QWORD PTR [rbx+16], rax ; 38 : glfw->GetVersion = glfwGetVersion; 000a0 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetVersion 000a7 48 89 43 18 mov QWORD PTR [rbx+24], rax ; 39 : glfw->GetVersionString = glfwGetVersionString; 000ab 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetVersionString 000b2 48 89 43 20 mov QWORD PTR [rbx+32], rax ; 40 : glfw->GetError = glfwGetError; 000b6 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetError 000bd 48 89 43 28 mov QWORD PTR [rbx+40], rax ; 41 : glfw->SetErrorCallback = glfwSetErrorCallback; 000c1 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetErrorCallback 000c8 48 89 43 30 mov QWORD PTR [rbx+48], rax ; 42 : glfw->GetMonitors = glfwGetMonitors; 000cc 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitors 000d3 48 89 43 38 mov QWORD PTR [rbx+56], rax ; 43 : glfw->GetPrimaryMonitor = glfwGetPrimaryMonitor; 000d7 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetPrimaryMonitor 000de 48 89 43 40 mov QWORD PTR [rbx+64], rax ; 44 : glfw->GetMonitorPos = glfwGetMonitorPos; 000e2 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorPos 000e9 48 89 43 48 mov QWORD PTR [rbx+72], rax ; 45 : glfw->GetMonitorWorkarea = glfwGetMonitorWorkarea; 000ed 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorWorkarea 000f4 48 89 43 50 mov QWORD PTR [rbx+80], rax ; 46 : glfw->GetMonitorPhysicalSize = glfwGetMonitorPhysicalSize; 000f8 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorPhysicalSize 000ff 48 89 43 58 mov QWORD PTR [rbx+88], rax ; 47 : glfw->GetMonitorContentScale = glfwGetMonitorContentScale; 00103 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorContentScale 0010a 48 89 43 60 mov QWORD PTR [rbx+96], rax ; 48 : glfw->GetMonitorName = glfwGetMonitorName; 0010e 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorName 00115 48 89 43 68 mov QWORD PTR [rbx+104], rax ; 49 : glfw->SetMonitorUserPointer = glfwSetMonitorUserPointer; 00119 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetMonitorUserPointer 00120 48 89 43 70 mov QWORD PTR [rbx+112], rax ; 50 : glfw->GetMonitorUserPointer = glfwGetMonitorUserPointer; 00124 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMonitorUserPointer 0012b 48 89 43 78 mov QWORD PTR [rbx+120], rax ; 51 : glfw->SetMonitorCallback = glfwSetMonitorCallback; 0012f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetMonitorCallback 00136 48 89 83 80 00 00 00 mov QWORD PTR [rbx+128], rax ; 52 : glfw->GetVideoModes = glfwGetVideoModes; 0013d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetVideoModes 00144 48 89 83 88 00 00 00 mov QWORD PTR [rbx+136], rax ; 53 : glfw->GetVideoMode = glfwGetVideoMode; 0014b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetVideoMode 00152 48 89 83 90 00 00 00 mov QWORD PTR [rbx+144], rax ; 54 : glfw->SetGamma = glfwSetGamma; 00159 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetGamma 00160 48 89 83 98 00 00 00 mov QWORD PTR [rbx+152], rax ; 55 : glfw->GetGammaRamp = glfwGetGammaRamp; 00167 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetGammaRamp 0016e 48 89 83 a0 00 00 00 mov QWORD PTR [rbx+160], rax ; 56 : glfw->SetGammaRamp = glfwSetGammaRamp; 00175 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetGammaRamp 0017c 48 89 83 a8 00 00 00 mov QWORD PTR [rbx+168], rax ; 57 : glfw->DefaultWindowHints = glfwDefaultWindowHints; 00183 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwDefaultWindowHints 0018a 48 89 83 b0 00 00 00 mov QWORD PTR [rbx+176], rax ; 58 : glfw->WindowHint = glfwWindowHint; 00191 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwWindowHint 00198 48 89 83 b8 00 00 00 mov QWORD PTR [rbx+184], rax ; 59 : glfw->WindowHintString = glfwWindowHintString; 0019f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwWindowHintString 001a6 48 89 83 c0 00 00 00 mov QWORD PTR [rbx+192], rax ; 60 : glfw->CreateWindowProc = glfwCreateWindow; 001ad 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwCreateWindow 001b4 48 89 83 c8 00 00 00 mov QWORD PTR [rbx+200], rax ; 61 : glfw->DestroyWindow = glfwDestroyWindow; 001bb 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwDestroyWindow 001c2 48 89 83 d0 00 00 00 mov QWORD PTR [rbx+208], rax ; 62 : glfw->WindowShouldClose = glfwWindowShouldClose; 001c9 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwWindowShouldClose 001d0 48 89 83 d8 00 00 00 mov QWORD PTR [rbx+216], rax ; 63 : glfw->SetWindowShouldClose = glfwSetWindowShouldClose; 001d7 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowShouldClose 001de 48 89 83 e0 00 00 00 mov QWORD PTR [rbx+224], rax ; 64 : glfw->SetWindowTitle = glfwSetWindowTitle; 001e5 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowTitle 001ec 48 89 83 e8 00 00 00 mov QWORD PTR [rbx+232], rax ; 65 : glfw->SetWindowIcon = glfwSetWindowIcon; 001f3 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowIcon 001fa 48 89 83 f0 00 00 00 mov QWORD PTR [rbx+240], rax ; 66 : glfw->GetWindowPos = glfwGetWindowPos; 00201 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowPos 00208 48 89 83 f8 00 00 00 mov QWORD PTR [rbx+248], rax ; 67 : glfw->SetWindowPos = glfwSetWindowPos; 0020f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowPos 00216 48 89 83 00 01 00 00 mov QWORD PTR [rbx+256], rax ; 68 : glfw->GetWindowSize = glfwGetWindowSize; 0021d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowSize 00224 48 89 83 08 01 00 00 mov QWORD PTR [rbx+264], rax ; 69 : glfw->SetWindowSizeLimits = glfwSetWindowSizeLimits; 0022b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowSizeLimits 00232 48 89 83 10 01 00 00 mov QWORD PTR [rbx+272], rax ; 70 : glfw->SetWindowAspectRatio = glfwSetWindowAspectRatio; 00239 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowAspectRatio 00240 48 89 83 18 01 00 00 mov QWORD PTR [rbx+280], rax ; 71 : glfw->SetWindowSize = glfwSetWindowSize; 00247 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowSize 0024e 48 89 83 20 01 00 00 mov QWORD PTR [rbx+288], rax ; 72 : glfw->GetFramebufferSize = glfwGetFramebufferSize; 00255 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetFramebufferSize 0025c 48 89 83 28 01 00 00 mov QWORD PTR [rbx+296], rax ; 73 : glfw->GetWindowFrameSize = glfwGetWindowFrameSize; 00263 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowFrameSize 0026a 48 89 83 30 01 00 00 mov QWORD PTR [rbx+304], rax ; 74 : glfw->GetWindowContentScale = glfwGetWindowContentScale; 00271 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowContentScale 00278 48 89 83 38 01 00 00 mov QWORD PTR [rbx+312], rax ; 75 : glfw->GetWindowOpacity = glfwGetWindowOpacity; 0027f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowOpacity 00286 48 89 83 40 01 00 00 mov QWORD PTR [rbx+320], rax ; 76 : glfw->SetWindowOpacity = glfwSetWindowOpacity; 0028d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowOpacity 00294 48 89 83 48 01 00 00 mov QWORD PTR [rbx+328], rax ; 77 : glfw->IconifyWindow = glfwIconifyWindow; 0029b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwIconifyWindow 002a2 48 89 83 50 01 00 00 mov QWORD PTR [rbx+336], rax ; 78 : glfw->RestoreWindow = glfwRestoreWindow; 002a9 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwRestoreWindow 002b0 48 89 83 58 01 00 00 mov QWORD PTR [rbx+344], rax ; 79 : glfw->MaximizeWindow = glfwMaximizeWindow; 002b7 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwMaximizeWindow 002be 48 89 83 60 01 00 00 mov QWORD PTR [rbx+352], rax ; 80 : glfw->ShowWindow = glfwShowWindow; 002c5 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwShowWindow 002cc 48 89 83 68 01 00 00 mov QWORD PTR [rbx+360], rax ; 81 : glfw->HideWindow = glfwHideWindow; 002d3 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwHideWindow 002da 48 89 83 70 01 00 00 mov QWORD PTR [rbx+368], rax ; 82 : glfw->FocusWindow = glfwFocusWindow; 002e1 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwFocusWindow 002e8 48 89 83 78 01 00 00 mov QWORD PTR [rbx+376], rax ; 83 : glfw->RequestWindowAttention = glfwRequestWindowAttention; 002ef 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwRequestWindowAttention 002f6 48 89 83 80 01 00 00 mov QWORD PTR [rbx+384], rax ; 84 : glfw->GetWindowMonitor = glfwGetWindowMonitor; 002fd 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowMonitor 00304 48 89 83 88 01 00 00 mov QWORD PTR [rbx+392], rax ; 85 : glfw->SetWindowMonitor = glfwSetWindowMonitor; 0030b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowMonitor 00312 48 89 83 90 01 00 00 mov QWORD PTR [rbx+400], rax ; 86 : glfw->GetWindowAttrib = glfwGetWindowAttrib; 00319 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowAttrib 00320 48 89 83 98 01 00 00 mov QWORD PTR [rbx+408], rax ; 87 : glfw->SetWindowAttrib = glfwSetWindowAttrib; 00327 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowAttrib 0032e 48 89 83 a0 01 00 00 mov QWORD PTR [rbx+416], rax ; 88 : glfw->SetWindowUserPointer = glfwSetWindowUserPointer; 00335 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowUserPointer 0033c 48 89 83 a8 01 00 00 mov QWORD PTR [rbx+424], rax ; 89 : glfw->GetWindowUserPointer = glfwGetWindowUserPointer; 00343 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetWindowUserPointer 0034a 48 89 83 b0 01 00 00 mov QWORD PTR [rbx+432], rax ; 90 : glfw->SetWindowPosCallback = glfwSetWindowPosCallback; 00351 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowPosCallback 00358 48 89 83 b8 01 00 00 mov QWORD PTR [rbx+440], rax ; 91 : glfw->SetWindowSizeCallback = glfwSetWindowSizeCallback; 0035f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowSizeCallback 00366 48 89 83 c0 01 00 00 mov QWORD PTR [rbx+448], rax ; 92 : glfw->SetWindowCloseCallback = glfwSetWindowCloseCallback; 0036d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowCloseCallback 00374 48 89 83 c8 01 00 00 mov QWORD PTR [rbx+456], rax ; 93 : glfw->SetWindowRefreshCallback = glfwSetWindowRefreshCallback; 0037b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowRefreshCallback 00382 48 89 83 d0 01 00 00 mov QWORD PTR [rbx+464], rax ; 94 : glfw->SetWindowFocusCallback = glfwSetWindowFocusCallback; 00389 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowFocusCallback 00390 48 89 83 d8 01 00 00 mov QWORD PTR [rbx+472], rax ; 95 : glfw->SetWindowIconifyCallback = glfwSetWindowIconifyCallback; 00397 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowIconifyCallback 0039e 48 89 83 e0 01 00 00 mov QWORD PTR [rbx+480], rax ; 96 : glfw->SetWindowMaximizeCallback = glfwSetWindowMaximizeCallback; 003a5 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowMaximizeCallback 003ac 48 89 83 e8 01 00 00 mov QWORD PTR [rbx+488], rax ; 97 : glfw->SetFramebufferSizeCallback = glfwSetFramebufferSizeCallback; 003b3 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetFramebufferSizeCallback 003ba 48 89 83 f0 01 00 00 mov QWORD PTR [rbx+496], rax ; 98 : glfw->SetWindowContentScaleCallback = glfwSetWindowContentScaleCallback; 003c1 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetWindowContentScaleCallback 003c8 48 89 83 f8 01 00 00 mov QWORD PTR [rbx+504], rax ; 99 : glfw->PollEvents = glfwPollEvents; 003cf 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwPollEvents 003d6 48 89 83 00 02 00 00 mov QWORD PTR [rbx+512], rax ; 100 : glfw->WaitEvents = glfwWaitEvents; 003dd 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwWaitEvents 003e4 48 89 83 08 02 00 00 mov QWORD PTR [rbx+520], rax ; 101 : glfw->WaitEventsTimeout = glfwWaitEventsTimeout; 003eb 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwWaitEventsTimeout 003f2 48 89 83 10 02 00 00 mov QWORD PTR [rbx+528], rax ; 102 : glfw->PostEmptyEvent = glfwPostEmptyEvent; 003f9 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwPostEmptyEvent 00400 48 89 83 18 02 00 00 mov QWORD PTR [rbx+536], rax ; 103 : glfw->GetInputMode = glfwGetInputMode; 00407 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetInputMode 0040e 48 89 83 20 02 00 00 mov QWORD PTR [rbx+544], rax ; 104 : glfw->SetInputMode = glfwSetInputMode; 00415 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetInputMode 0041c 48 89 83 28 02 00 00 mov QWORD PTR [rbx+552], rax ; 105 : glfw->RawMouseMotionSupported = glfwRawMouseMotionSupported; 00423 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwRawMouseMotionSupported 0042a 48 89 83 30 02 00 00 mov QWORD PTR [rbx+560], rax ; 106 : glfw->GetKeyName = glfwGetKeyName; 00431 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetKeyName 00438 48 89 83 38 02 00 00 mov QWORD PTR [rbx+568], rax ; 107 : glfw->GetKeyScancode = glfwGetKeyScancode; 0043f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetKeyScancode 00446 48 89 83 40 02 00 00 mov QWORD PTR [rbx+576], rax ; 108 : glfw->GetKey = glfwGetKey; 0044d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetKey 00454 48 89 83 48 02 00 00 mov QWORD PTR [rbx+584], rax ; 109 : glfw->GetMouseButton = glfwGetMouseButton; 0045b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetMouseButton 00462 48 89 83 50 02 00 00 mov QWORD PTR [rbx+592], rax ; 110 : glfw->GetCursorPos = glfwGetCursorPos; 00469 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetCursorPos 00470 48 89 83 58 02 00 00 mov QWORD PTR [rbx+600], rax ; 111 : glfw->SetCursorPos = glfwSetCursorPos; 00477 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCursorPos 0047e 48 89 83 60 02 00 00 mov QWORD PTR [rbx+608], rax ; 112 : glfw->CreateCursor = glfwCreateCursor; 00485 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwCreateCursor 0048c 48 89 83 68 02 00 00 mov QWORD PTR [rbx+616], rax ; 113 : glfw->CreateStandardCursor = glfwCreateStandardCursor; 00493 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwCreateStandardCursor 0049a 48 89 83 70 02 00 00 mov QWORD PTR [rbx+624], rax ; 114 : glfw->DestroyCursor = glfwDestroyCursor; 004a1 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwDestroyCursor 004a8 48 89 83 78 02 00 00 mov QWORD PTR [rbx+632], rax ; 115 : glfw->SetCursor = glfwSetCursor; 004af 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCursor 004b6 48 89 83 80 02 00 00 mov QWORD PTR [rbx+640], rax ; 116 : glfw->SetKeyCallback = glfwSetKeyCallback; 004bd 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetKeyCallback 004c4 48 89 83 88 02 00 00 mov QWORD PTR [rbx+648], rax ; 117 : glfw->SetCharCallback = glfwSetCharCallback; 004cb 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCharCallback 004d2 48 89 83 90 02 00 00 mov QWORD PTR [rbx+656], rax ; 118 : glfw->SetCharModsCallback = glfwSetCharModsCallback; 004d9 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCharModsCallback 004e0 48 89 83 98 02 00 00 mov QWORD PTR [rbx+664], rax ; 119 : glfw->SetMouseButtonCallback = glfwSetMouseButtonCallback; 004e7 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetMouseButtonCallback 004ee 48 89 83 a0 02 00 00 mov QWORD PTR [rbx+672], rax ; 120 : glfw->SetCursorPosCallback = glfwSetCursorPosCallback; 004f5 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCursorPosCallback 004fc 48 89 83 a8 02 00 00 mov QWORD PTR [rbx+680], rax ; 121 : glfw->SetCursorEnterCallback = glfwSetCursorEnterCallback; 00503 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetCursorEnterCallback 0050a 48 89 83 b0 02 00 00 mov QWORD PTR [rbx+688], rax ; 122 : glfw->SetScrollCallback = glfwSetScrollCallback; 00511 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetScrollCallback 00518 48 89 83 b8 02 00 00 mov QWORD PTR [rbx+696], rax ; 123 : glfw->SetDropCallback = glfwSetDropCallback; 0051f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetDropCallback 00526 48 89 83 c0 02 00 00 mov QWORD PTR [rbx+704], rax ; 124 : glfw->JoystickPresent = glfwJoystickPresent; 0052d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwJoystickPresent 00534 48 89 83 c8 02 00 00 mov QWORD PTR [rbx+712], rax ; 125 : glfw->GetJoystickAxes = glfwGetJoystickAxes; 0053b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickAxes 00542 48 89 83 d0 02 00 00 mov QWORD PTR [rbx+720], rax ; 126 : glfw->GetJoystickButtons = glfwGetJoystickButtons; 00549 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickButtons 00550 48 89 83 d8 02 00 00 mov QWORD PTR [rbx+728], rax ; 127 : glfw->GetJoystickHats = glfwGetJoystickHats; 00557 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickHats 0055e 48 89 83 e0 02 00 00 mov QWORD PTR [rbx+736], rax ; 128 : glfw->GetJoystickName = glfwGetJoystickName; 00565 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickName 0056c 48 89 83 e8 02 00 00 mov QWORD PTR [rbx+744], rax ; 129 : glfw->GetJoystickGUID = glfwGetJoystickGUID; 00573 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickGUID 0057a 48 89 83 f0 02 00 00 mov QWORD PTR [rbx+752], rax ; 130 : glfw->SetJoystickUserPointer = glfwSetJoystickUserPointer; 00581 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetJoystickUserPointer 00588 48 89 83 f8 02 00 00 mov QWORD PTR [rbx+760], rax ; 131 : glfw->GetJoystickUserPointer = glfwGetJoystickUserPointer; 0058f 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetJoystickUserPointer 00596 48 89 83 00 03 00 00 mov QWORD PTR [rbx+768], rax ; 132 : glfw->JoystickIsGamepad = glfwJoystickIsGamepad; 0059d 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwJoystickIsGamepad 005a4 48 89 83 08 03 00 00 mov QWORD PTR [rbx+776], rax ; 133 : glfw->SetJoystickCallback = glfwSetJoystickCallback; 005ab 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetJoystickCallback 005b2 48 89 83 10 03 00 00 mov QWORD PTR [rbx+784], rax ; 134 : glfw->UpdateGamepadMappings = glfwUpdateGamepadMappings; 005b9 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwUpdateGamepadMappings 005c0 48 89 83 18 03 00 00 mov QWORD PTR [rbx+792], rax ; 135 : glfw->GetGamepadName = glfwGetGamepadName; 005c7 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetGamepadName 005ce 48 89 83 20 03 00 00 mov QWORD PTR [rbx+800], rax ; 136 : glfw->GetGamepadState = glfwGetGamepadState; 005d5 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetGamepadState ; 137 : glfw->SetClipboardString = glfwSetClipboardString; ; 138 : glfw->GetClipboardString = glfwGetClipboardString; ; 139 : glfw->GetTime = glfwGetTime; ; 140 : glfw->SetTime = glfwSetTime; ; 141 : glfw->GetTimerValue = glfwGetTimerValue; ; 142 : glfw->GetTimerFrequency = glfwGetTimerFrequency; ; 143 : glfw->MakeContextCurrent = glfwMakeContextCurrent; ; 144 : glfw->GetCurrentContext = glfwGetCurrentContext; ; 145 : glfw->SwapBuffers = glfwSwapBuffers; ; 146 : glfw->SwapInterval = glfwSwapInterval; ; 147 : glfw->ExtensionSupported = glfwExtensionSupported; ; 148 : glfw->GetProcAddress = glfwGetProcAddress; ; 149 : glfw->VulkanSupported = glfwVulkanSupported; ; 150 : glfw->GetRequiredInstanceExtensions = glfwGetRequiredInstanceExtensions; ; 151 : #if defined(VK_VERSION_1_0) ; 152 : glfw->GetInstanceProcAddress = glfwGetInstanceProcAddress; ; 153 : glfw->GetPhysicalDevicePresentationSupport = glfwGetPhysicalDevicePresentationSupport; ; 154 : glfw->CreateWindowSurface = glfwCreateWindowSurface; ; 155 : #endif ; 156 : #pragma endregion ; 157 : ; 158 : return glfw; ; 159 : } 005dc 48 8b 74 24 38 mov rsi, QWORD PTR [rsp+56] 005e1 48 89 83 28 03 00 00 mov QWORD PTR [rbx+808], rax 005e8 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetClipboardString 005ef 48 89 83 30 03 00 00 mov QWORD PTR [rbx+816], rax 005f6 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetClipboardString 005fd 48 89 83 38 03 00 00 mov QWORD PTR [rbx+824], rax 00604 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetTime 0060b 48 89 83 40 03 00 00 mov QWORD PTR [rbx+832], rax 00612 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSetTime 00619 48 89 83 48 03 00 00 mov QWORD PTR [rbx+840], rax 00620 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetTimerValue 00627 48 89 83 50 03 00 00 mov QWORD PTR [rbx+848], rax 0062e 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetTimerFrequency 00635 48 89 83 58 03 00 00 mov QWORD PTR [rbx+856], rax 0063c 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwMakeContextCurrent 00643 48 89 83 60 03 00 00 mov QWORD PTR [rbx+864], rax 0064a 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetCurrentContext 00651 48 89 83 68 03 00 00 mov QWORD PTR [rbx+872], rax 00658 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSwapBuffers 0065f 48 89 83 70 03 00 00 mov QWORD PTR [rbx+880], rax 00666 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwSwapInterval 0066d 48 89 83 78 03 00 00 mov QWORD PTR [rbx+888], rax 00674 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwExtensionSupported 0067b 48 89 83 80 03 00 00 mov QWORD PTR [rbx+896], rax 00682 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetProcAddress 00689 48 89 83 88 03 00 00 mov QWORD PTR [rbx+904], rax 00690 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwVulkanSupported 00697 48 89 83 90 03 00 00 mov QWORD PTR [rbx+912], rax 0069e 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:glfwGetRequiredInstanceExtensions 006a5 48 89 83 98 03 00 00 mov QWORD PTR [rbx+920], rax 006ac 48 8b c3 mov rax, rbx 006af 48 8b 5c 24 30 mov rbx, QWORD PTR [rsp+48] 006b4 48 83 c4 20 add rsp, 32 ; 00000020H 006b8 5f pop rdi 006b9 c3 ret 0 initGL ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; COMDAT loadShaderCode _TEXT SEGMENT shaderCode$GSCopy$ = 32 success$ = 40 __$ArrayPad$ = 48 shaderCode$ = 80 shadertype$ = 88 loadShaderCode PROC ; COMDAT ; 164 : { $LN7: 00000 40 53 push rbx 00002 48 83 ec 40 sub rsp, 64 ; 00000040H 00006 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 0000d 48 33 c4 xor rax, rsp 00010 48 89 44 24 30 mov QWORD PTR __$ArrayPad$[rsp], rax ; 165 : ; 166 : unsigned int shader = currentContext->CreateShader(shadertype); 00015 48 8b 05 00 00 00 00 mov rax, QWORD PTR currentContext 0001c 48 89 4c 24 20 mov QWORD PTR shaderCode$GSCopy$[rsp], rcx 00021 8b ca mov ecx, edx 00023 ff 90 f0 13 00 00 call QWORD PTR [rax+5104] ; 167 : currentContext->ShaderSource(shader, 1, &shaderCode, NULL); 00029 4c 8b 15 00 00 00 00 mov r10, QWORD PTR currentContext 00030 4c 8d 44 24 20 lea r8, QWORD PTR shaderCode$GSCopy$[rsp] 00035 45 33 c9 xor r9d, r9d 00038 8b c8 mov ecx, eax 0003a 8b d8 mov ebx, eax 0003c 41 8d 51 01 lea edx, QWORD PTR [r9+1] 00040 41 ff 92 50 41 00 00 call QWORD PTR [r10+16720] ; 168 : currentContext->CompileShader(shader); 00047 48 8b 15 00 00 00 00 mov rdx, QWORD PTR currentContext 0004e 8b cb mov ecx, ebx 00050 ff 92 18 11 00 00 call QWORD PTR [rdx+4376] ; 169 : int success; ; 170 : currentContext->GetShaderiv(shader, GL_COMPILE_STATUS, &success); 00056 4c 8b 0d 00 00 00 00 mov r9, QWORD PTR currentContext 0005d 4c 8d 44 24 28 lea r8, QWORD PTR success$[rsp] 00062 ba 81 8b 00 00 mov edx, 35713 ; 00008b81H 00067 8b cb mov ecx, ebx 00069 41 ff 91 40 25 00 00 call QWORD PTR [r9+9536] ; 171 : if (!success) 00070 83 7c 24 28 00 cmp DWORD PTR success$[rsp], 0 00075 75 33 jne SHORT $LN2@loadShader ; 172 : { ; 173 : currentContext->GetShaderInfoLog(shader, 512, NULL, infolog); 00077 48 8b 05 00 00 00 00 mov rax, QWORD PTR currentContext 0007e 4c 8d 0d 00 00 00 00 lea r9, OFFSET FLAT:infolog 00085 45 33 c0 xor r8d, r8d 00088 ba 00 02 00 00 mov edx, 512 ; 00000200H 0008d 8b cb mov ecx, ebx 0008f ff 90 20 25 00 00 call QWORD PTR [rax+9504] ; 174 : return 0; 00095 33 c0 xor eax, eax ; 179 : } ; 180 : } 00097 48 8b 4c 24 30 mov rcx, QWORD PTR __$ArrayPad$[rsp] 0009c 48 33 cc xor rcx, rsp 0009f e8 00 00 00 00 call __security_check_cookie 000a4 48 83 c4 40 add rsp, 64 ; 00000040H 000a8 5b pop rbx 000a9 c3 ret 0 $LN2@loadShader: ; 175 : } ; 176 : else ; 177 : { ; 178 : return shader; 000aa 8b c3 mov eax, ebx ; 179 : } ; 180 : } 000ac 48 8b 4c 24 30 mov rcx, QWORD PTR __$ArrayPad$[rsp] 000b1 48 33 cc xor rcx, rsp 000b4 e8 00 00 00 00 call __security_check_cookie 000b9 48 83 c4 40 add rsp, 64 ; 00000040H 000bd 5b pop rbx 000be c3 ret 0 loadShaderCode ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; COMDAT linkShaderProgram _TEXT SEGMENT success$ = 32 __$ArrayPad$ = 40 shaderProgram$ = 64 linkShaderProgram PROC ; COMDAT ; 183 : { $LN7: 00000 40 53 push rbx 00002 48 83 ec 30 sub rsp, 48 ; 00000030H 00006 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 0000d 48 33 c4 xor rax, rsp 00010 48 89 44 24 28 mov QWORD PTR __$ArrayPad$[rsp], rax ; 184 : currentContext->LinkProgram(shaderProgram); 00015 48 8b 05 00 00 00 00 mov rax, QWORD PTR currentContext 0001c 8b d9 mov ebx, ecx 0001e ff 90 80 2c 00 00 call QWORD PTR [rax+11392] ; 185 : ; 186 : int success; ; 187 : currentContext->GetProgramiv(shaderProgram, GL_LINK_STATUS, &success); 00024 48 8b 05 00 00 00 00 mov rax, QWORD PTR currentContext 0002b 4c 8d 44 24 20 lea r8, QWORD PTR success$[rsp] 00030 ba 82 8b 00 00 mov edx, 35714 ; 00008b82H 00035 8b cb mov ecx, ebx 00037 ff 90 48 24 00 00 call QWORD PTR [rax+9288] ; 188 : if (!success) 0003d 83 7c 24 20 00 cmp DWORD PTR success$[rsp], 0 00042 75 33 jne SHORT $LN2@linkShader ; 189 : { ; 190 : currentContext->GetProgramInfoLog(shaderProgram, 512, NULL, infolog); 00044 48 8b 05 00 00 00 00 mov rax, QWORD PTR currentContext 0004b 4c 8d 0d 00 00 00 00 lea r9, OFFSET FLAT:infolog 00052 45 33 c0 xor r8d, r8d 00055 ba 00 02 00 00 mov edx, 512 ; 00000200H 0005a 8b cb mov ecx, ebx 0005c ff 90 98 23 00 00 call QWORD PTR [rax+9112] ; 191 : return 0; 00062 33 c0 xor eax, eax ; 196 : } ; 197 : ; 198 : } 00064 48 8b 4c 24 28 mov rcx, QWORD PTR __$ArrayPad$[rsp] 00069 48 33 cc xor rcx, rsp 0006c e8 00 00 00 00 call __security_check_cookie 00071 48 83 c4 30 add rsp, 48 ; 00000030H 00075 5b pop rbx 00076 c3 ret 0 $LN2@linkShader: ; 192 : } ; 193 : else ; 194 : { ; 195 : return shaderProgram; 00077 8b c3 mov eax, ebx ; 196 : } ; 197 : ; 198 : } 00079 48 8b 4c 24 28 mov rcx, QWORD PTR __$ArrayPad$[rsp] 0007e 48 33 cc xor rcx, rsp 00081 e8 00 00 00 00 call __security_check_cookie 00086 48 83 c4 30 add rsp, 48 ; 00000030H 0008a 5b pop rbx 0008b c3 ret 0 linkShaderProgram ENDP _TEXT ENDS ; Function compile flags: /Ogtpy ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\StgSharpGraphic.c ; COMDAT readLog _TEXT SEGMENT readLog PROC ; COMDAT ; 202 : infolog[511] = '\0'; 00000 48 c7 05 f8 0f 00 00 00 00 00 00 mov QWORD PTR infolog+4088, 0 ; 203 : return &infolog; 0000b 48 8d 05 00 00 00 00 lea rax, OFFSET FLAT:infolog ; 204 : } 00012 c3 ret 0 readLog ENDP _TEXT ENDS END