5111 lines
157 KiB
Plaintext
5111 lines
157 KiB
Plaintext
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
|
||
|
||
include listing.inc
|
||
|
||
INCLUDELIB OLDNAMES
|
||
|
||
PUBLIC ??_C@_07PBILKAFL@Success@ ; `string'
|
||
PUBLIC ??_C@_0CH@KLCPDMM@EGL?5is?5not?5or?5could?5not?5be?5init@ ; `string'
|
||
PUBLIC ??_C@_0CH@MMCOKIKC@EGL?5cannot?5access?5a?5requested?5r@ ; `string'
|
||
PUBLIC ??_C@_0DN@GNDEENDO@EGL?5failed?5to?5allocate?5resource@ ; `string'
|
||
PUBLIC ??_C@_0EO@EKFIJHGG@An?5unrecognized?5attribute?5or?5at@ ; `string'
|
||
PUBLIC ??_C@_0ED@GAJEHCGA@An?5EGLContext?5argument?5does?5not@ ; `string'
|
||
PUBLIC ??_C@_0EL@BBAGGFOK@An?5EGLConfig?5argument?5does?5not?5@ ; `string'
|
||
PUBLIC ??_C@_0GG@ODICGIHF@The?5current?5surface?5of?5the?5call@ ; `string'
|
||
PUBLIC ??_C@_0EE@ICKHNPHB@An?5EGLDisplay?5argument?5does?5not@ ; `string'
|
||
PUBLIC ??_C@_0FB@EPGEGHDL@An?5EGLSurface?5argument?5does?5not@ ; `string'
|
||
PUBLIC ??_C@_0BL@OIILILNJ@Arguments?5are?5inconsistent@ ; `string'
|
||
PUBLIC ??_C@_0CI@KAHNKLLC@One?5or?5more?5argument?5values?5are@ ; `string'
|
||
PUBLIC ??_C@_0EE@NKCAIGPH@A?5NativePixmapType?5argument?5doe@ ; `string'
|
||
PUBLIC ??_C@_0EE@FBMMOIJB@A?5NativeWindowType?5argument?5doe@ ; `string'
|
||
PUBLIC ??_C@_0DL@GNLICFMC@The?5application?5must?5destroy?5al@ ; `string'
|
||
PUBLIC ??_C@_0BJ@KDFAHDEK@ERROR?3?5UNKNOWN?5EGL?5ERROR@ ; `string'
|
||
PUBLIC ??_C@_0CE@CNKFDGDO@EGL?3?5Stereo?5rendering?5not?5suppo@ ; `string'
|
||
PUBLIC ??_C@_0BM@KHOPPJNJ@EGL?3?5No?5EGLConfigs?5returned@ ; `string'
|
||
PUBLIC ??_C@_0CO@HAIMLOLL@EGL?3?5Failed?5to?5find?5support?5for@ ; `string'
|
||
PUBLIC ??_C@_0DF@BPPFPGID@EGL?3?5Failed?5to?5find?5support?5for@ ; `string'
|
||
PUBLIC ??_C@_0CH@EMJGILEP@EGL?3?5Failed?5to?5find?5support?5for@ ; `string'
|
||
PUBLIC ??_C@_0CJ@JPDPLHCM@EGL?3?5Failed?5to?5find?5a?5suitable?5@ ; `string'
|
||
PUBLIC ??_C@_0CI@MPJNGPNP@EGL?3?5Failed?5to?5make?5context?5cur@ ; `string'
|
||
PUBLIC ??_C@_0CJ@NBJEEEJD@EGL?3?5Failed?5to?5clear?5current?5co@ ; `string'
|
||
PUBLIC ??_C@_0EN@CIIGDABJ@EGL?3?5The?5context?5must?5be?5curren@ ; `string'
|
||
PUBLIC ??_C@_0L@ELKKGGMD@libEGL?4dll@ ; `string'
|
||
PUBLIC ??_C@_07EAKGIKCB@EGL?4dll@ ; `string'
|
||
PUBLIC ??_C@_0BH@NFNALLIN@EGL?3?5Library?5not?5found@ ; `string'
|
||
PUBLIC ??_C@_03LPIGJBNC@lib@ ; `string'
|
||
PUBLIC ??_C@_0BD@MAEGKKAE@eglGetConfigAttrib@ ; `string'
|
||
PUBLIC ??_C@_0O@OMNEJBKO@eglGetConfigs@ ; `string'
|
||
PUBLIC ??_C@_0O@BMJFLKOA@eglGetDisplay@ ; `string'
|
||
PUBLIC ??_C@_0M@PPADKGOK@eglGetError@ ; `string'
|
||
PUBLIC ??_C@_0O@EEJFKEKH@eglInitialize@ ; `string'
|
||
PUBLIC ??_C@_0N@IGFNFAOP@eglTerminate@ ; `string'
|
||
PUBLIC ??_C@_0L@HJOCIPHF@eglBindAPI@ ; `string'
|
||
PUBLIC ??_C@_0BB@KEKMNHDF@eglCreateContext@ ; `string'
|
||
PUBLIC ??_C@_0BC@ICHKG@eglDestroySurface@ ; `string'
|
||
PUBLIC ??_C@_0BC@BNOBCLNJ@eglDestroyContext@ ; `string'
|
||
PUBLIC ??_C@_0BH@MDMCFBDG@eglCreateWindowSurface@ ; `string'
|
||
PUBLIC ??_C@_0P@PNPBPNLI@eglMakeCurrent@ ; `string'
|
||
PUBLIC ??_C@_0P@DEBOOHKH@eglSwapBuffers@ ; `string'
|
||
PUBLIC ??_C@_0BA@BGJPOLDF@eglSwapInterval@ ; `string'
|
||
PUBLIC ??_C@_0P@HJKEKLKD@eglQueryString@ ; `string'
|
||
PUBLIC ??_C@_0BC@HONLJDPH@eglGetProcAddress@ ; `string'
|
||
PUBLIC ??_C@_0CK@DCPJCPHH@EGL?3?5Failed?5to?5load?5required?5en@ ; `string'
|
||
PUBLIC ??_C@_0BG@IPJFJLIC@EGL_EXT_platform_base@ ; `string'
|
||
PUBLIC ??_C@_0BF@FMIKFMMH@EGL_EXT_platform_x11@ ; `string'
|
||
PUBLIC ??_C@_0BJ@KIPDFNMM@EGL_EXT_platform_wayland@ ; `string'
|
||
PUBLIC ??_C@_0BJ@MBCLFEBK@EGL_ANGLE_platform_angle@ ; `string'
|
||
PUBLIC ??_C@_0CA@NIHAEPLD@EGL_ANGLE_platform_angle_opengl@ ; `string'
|
||
PUBLIC ??_C@_0BN@OHLJPDPM@EGL_ANGLE_platform_angle_d3d@ ; `string'
|
||
PUBLIC ??_C@_0CA@HGIOILGO@EGL_ANGLE_platform_angle_vulkan@ ; `string'
|
||
PUBLIC ??_C@_0BP@NMKFFDCO@EGL_ANGLE_platform_angle_metal@ ; `string'
|
||
PUBLIC ??_C@_0BJ@KEAIGPHD@eglGetPlatformDisplayEXT@ ; `string'
|
||
PUBLIC ??_C@_0CC@NGDHIGBI@eglCreatePlatformWindowSurfaceE@ ; `string'
|
||
PUBLIC ??_C@_0CD@CODEPNKE@EGL?3?5Failed?5to?5get?5EGL?5display?3@ ; `string'
|
||
PUBLIC ??_C@_0CC@DOIEFDD@EGL?3?5Failed?5to?5initialize?5EGL?3?5@ ; `string'
|
||
PUBLIC ??_C@_0BH@GIBFIFPN@EGL_KHR_create_context@ ; `string'
|
||
PUBLIC ??_C@_0CA@OJFEOPKP@EGL_KHR_create_context_no_error@ ; `string'
|
||
PUBLIC ??_C@_0BG@GOAKKGGB@EGL_KHR_gl_colorspace@ ; `string'
|
||
PUBLIC ??_C@_0BP@CDGGFNNF@EGL_KHR_get_all_proc_addresses@ ; `string'
|
||
PUBLIC ??_C@_0BO@IDEEMGNC@EGL_KHR_context_flush_control@ ; `string'
|
||
PUBLIC ??_C@_0BH@JADLEPAM@EGL_EXT_present_opaque@ ; `string'
|
||
PUBLIC ??_C@_0BH@PDIOJKKP@EGL?3?5API?5not?5available@ ; `string'
|
||
PUBLIC ??_C@_0CC@NIBJMOI@EGL?3?5Failed?5to?5bind?5OpenGL?5ES?3?5@ ; `string'
|
||
PUBLIC ??_C@_0BP@PHOHHIJJ@EGL?3?5Failed?5to?5bind?5OpenGL?3?5?$CFs@ ; `string'
|
||
PUBLIC ??_C@_0CC@GOIKODMM@EGL?3?5Failed?5to?5create?5context?3?5@ ; `string'
|
||
PUBLIC ??_C@_0CJ@MHLGDLLP@EGL?3?5Failed?5to?5create?5window?5su@ ; `string'
|
||
PUBLIC ??_C@_0O@KOJFNJDA@GLESv1_CM?4dll@ ; `string'
|
||
PUBLIC ??_C@_0P@MADFBLIB@libGLES_CM?4dll@ ; `string'
|
||
PUBLIC ??_C@_0L@CEBLLDFF@GLESv2?4dll@ ; `string'
|
||
PUBLIC ??_C@_0O@HFAAEHFL@libGLESv2?4dll@ ; `string'
|
||
PUBLIC ??_C@_0CD@JDEAKJCI@EGL?3?5Failed?5to?5load?5client?5libr@ ; `string'
|
||
; COMDAT ??_C@_0CD@JDEAKJCI@EGL?3?5Failed?5to?5load?5client?5libr@
|
||
CONST SEGMENT
|
||
??_C@_0CD@JDEAKJCI@EGL?3?5Failed?5to?5load?5client?5libr@ DB 'EGL: Failed'
|
||
DB ' to load client library', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0O@HFAAEHFL@libGLESv2?4dll@
|
||
CONST SEGMENT
|
||
??_C@_0O@HFAAEHFL@libGLESv2?4dll@ DB 'libGLESv2.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0L@CEBLLDFF@GLESv2?4dll@
|
||
CONST SEGMENT
|
||
??_C@_0L@CEBLLDFF@GLESv2?4dll@ DB 'GLESv2.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0P@MADFBLIB@libGLES_CM?4dll@
|
||
CONST SEGMENT
|
||
??_C@_0P@MADFBLIB@libGLES_CM?4dll@ DB 'libGLES_CM.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0O@KOJFNJDA@GLESv1_CM?4dll@
|
||
CONST SEGMENT
|
||
??_C@_0O@KOJFNJDA@GLESv1_CM?4dll@ DB 'GLESv1_CM.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CJ@MHLGDLLP@EGL?3?5Failed?5to?5create?5window?5su@
|
||
CONST SEGMENT
|
||
??_C@_0CJ@MHLGDLLP@EGL?3?5Failed?5to?5create?5window?5su@ DB 'EGL: Failed'
|
||
DB ' to create window surface: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CC@GOIKODMM@EGL?3?5Failed?5to?5create?5context?3?5@
|
||
CONST SEGMENT
|
||
??_C@_0CC@GOIKODMM@EGL?3?5Failed?5to?5create?5context?3?5@ DB 'EGL: Faile'
|
||
DB 'd to create context: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BP@PHOHHIJJ@EGL?3?5Failed?5to?5bind?5OpenGL?3?5?$CFs@
|
||
CONST SEGMENT
|
||
??_C@_0BP@PHOHHIJJ@EGL?3?5Failed?5to?5bind?5OpenGL?3?5?$CFs@ DB 'EGL: Fai'
|
||
DB 'led to bind OpenGL: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CC@NIBJMOI@EGL?3?5Failed?5to?5bind?5OpenGL?5ES?3?5@
|
||
CONST SEGMENT
|
||
??_C@_0CC@NIBJMOI@EGL?3?5Failed?5to?5bind?5OpenGL?5ES?3?5@ DB 'EGL: Faile'
|
||
DB 'd to bind OpenGL ES: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BH@PDIOJKKP@EGL?3?5API?5not?5available@
|
||
CONST SEGMENT
|
||
??_C@_0BH@PDIOJKKP@EGL?3?5API?5not?5available@ DB 'EGL: API not available'
|
||
DB 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BH@JADLEPAM@EGL_EXT_present_opaque@
|
||
CONST SEGMENT
|
||
??_C@_0BH@JADLEPAM@EGL_EXT_present_opaque@ DB 'EGL_EXT_present_opaque', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BO@IDEEMGNC@EGL_KHR_context_flush_control@
|
||
CONST SEGMENT
|
||
??_C@_0BO@IDEEMGNC@EGL_KHR_context_flush_control@ DB 'EGL_KHR_context_flu'
|
||
DB 'sh_control', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BP@CDGGFNNF@EGL_KHR_get_all_proc_addresses@
|
||
CONST SEGMENT
|
||
??_C@_0BP@CDGGFNNF@EGL_KHR_get_all_proc_addresses@ DB 'EGL_KHR_get_all_pr'
|
||
DB 'oc_addresses', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BG@GOAKKGGB@EGL_KHR_gl_colorspace@
|
||
CONST SEGMENT
|
||
??_C@_0BG@GOAKKGGB@EGL_KHR_gl_colorspace@ DB 'EGL_KHR_gl_colorspace', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CA@OJFEOPKP@EGL_KHR_create_context_no_error@
|
||
CONST SEGMENT
|
||
??_C@_0CA@OJFEOPKP@EGL_KHR_create_context_no_error@ DB 'EGL_KHR_create_co'
|
||
DB 'ntext_no_error', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BH@GIBFIFPN@EGL_KHR_create_context@
|
||
CONST SEGMENT
|
||
??_C@_0BH@GIBFIFPN@EGL_KHR_create_context@ DB 'EGL_KHR_create_context', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CC@DOIEFDD@EGL?3?5Failed?5to?5initialize?5EGL?3?5@
|
||
CONST SEGMENT
|
||
??_C@_0CC@DOIEFDD@EGL?3?5Failed?5to?5initialize?5EGL?3?5@ DB 'EGL: Failed'
|
||
DB ' to initialize EGL: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CD@CODEPNKE@EGL?3?5Failed?5to?5get?5EGL?5display?3@
|
||
CONST SEGMENT
|
||
??_C@_0CD@CODEPNKE@EGL?3?5Failed?5to?5get?5EGL?5display?3@ DB 'EGL: Faile'
|
||
DB 'd to get EGL display: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CC@NGDHIGBI@eglCreatePlatformWindowSurfaceE@
|
||
CONST SEGMENT
|
||
??_C@_0CC@NGDHIGBI@eglCreatePlatformWindowSurfaceE@ DB 'eglCreatePlatform'
|
||
DB 'WindowSurfaceEXT', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BJ@KEAIGPHD@eglGetPlatformDisplayEXT@
|
||
CONST SEGMENT
|
||
??_C@_0BJ@KEAIGPHD@eglGetPlatformDisplayEXT@ DB 'eglGetPlatformDisplayEXT'
|
||
DB 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BP@NMKFFDCO@EGL_ANGLE_platform_angle_metal@
|
||
CONST SEGMENT
|
||
??_C@_0BP@NMKFFDCO@EGL_ANGLE_platform_angle_metal@ DB 'EGL_ANGLE_platform'
|
||
DB '_angle_metal', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CA@HGIOILGO@EGL_ANGLE_platform_angle_vulkan@
|
||
CONST SEGMENT
|
||
??_C@_0CA@HGIOILGO@EGL_ANGLE_platform_angle_vulkan@ DB 'EGL_ANGLE_platfor'
|
||
DB 'm_angle_vulkan', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BN@OHLJPDPM@EGL_ANGLE_platform_angle_d3d@
|
||
CONST SEGMENT
|
||
??_C@_0BN@OHLJPDPM@EGL_ANGLE_platform_angle_d3d@ DB 'EGL_ANGLE_platform_a'
|
||
DB 'ngle_d3d', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CA@NIHAEPLD@EGL_ANGLE_platform_angle_opengl@
|
||
CONST SEGMENT
|
||
??_C@_0CA@NIHAEPLD@EGL_ANGLE_platform_angle_opengl@ DB 'EGL_ANGLE_platfor'
|
||
DB 'm_angle_opengl', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BJ@MBCLFEBK@EGL_ANGLE_platform_angle@
|
||
CONST SEGMENT
|
||
??_C@_0BJ@MBCLFEBK@EGL_ANGLE_platform_angle@ DB 'EGL_ANGLE_platform_angle'
|
||
DB 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BJ@KIPDFNMM@EGL_EXT_platform_wayland@
|
||
CONST SEGMENT
|
||
??_C@_0BJ@KIPDFNMM@EGL_EXT_platform_wayland@ DB 'EGL_EXT_platform_wayland'
|
||
DB 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BF@FMIKFMMH@EGL_EXT_platform_x11@
|
||
CONST SEGMENT
|
||
??_C@_0BF@FMIKFMMH@EGL_EXT_platform_x11@ DB 'EGL_EXT_platform_x11', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BG@IPJFJLIC@EGL_EXT_platform_base@
|
||
CONST SEGMENT
|
||
??_C@_0BG@IPJFJLIC@EGL_EXT_platform_base@ DB 'EGL_EXT_platform_base', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CK@DCPJCPHH@EGL?3?5Failed?5to?5load?5required?5en@
|
||
CONST SEGMENT
|
||
??_C@_0CK@DCPJCPHH@EGL?3?5Failed?5to?5load?5required?5en@ DB 'EGL: Failed'
|
||
DB ' to load required entry points', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BC@HONLJDPH@eglGetProcAddress@
|
||
CONST SEGMENT
|
||
??_C@_0BC@HONLJDPH@eglGetProcAddress@ DB 'eglGetProcAddress', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0P@HJKEKLKD@eglQueryString@
|
||
CONST SEGMENT
|
||
??_C@_0P@HJKEKLKD@eglQueryString@ DB 'eglQueryString', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BA@BGJPOLDF@eglSwapInterval@
|
||
CONST SEGMENT
|
||
??_C@_0BA@BGJPOLDF@eglSwapInterval@ DB 'eglSwapInterval', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0P@DEBOOHKH@eglSwapBuffers@
|
||
CONST SEGMENT
|
||
??_C@_0P@DEBOOHKH@eglSwapBuffers@ DB 'eglSwapBuffers', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0P@PNPBPNLI@eglMakeCurrent@
|
||
CONST SEGMENT
|
||
??_C@_0P@PNPBPNLI@eglMakeCurrent@ DB 'eglMakeCurrent', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BH@MDMCFBDG@eglCreateWindowSurface@
|
||
CONST SEGMENT
|
||
??_C@_0BH@MDMCFBDG@eglCreateWindowSurface@ DB 'eglCreateWindowSurface', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BC@BNOBCLNJ@eglDestroyContext@
|
||
CONST SEGMENT
|
||
??_C@_0BC@BNOBCLNJ@eglDestroyContext@ DB 'eglDestroyContext', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BC@ICHKG@eglDestroySurface@
|
||
CONST SEGMENT
|
||
??_C@_0BC@ICHKG@eglDestroySurface@ DB 'eglDestroySurface', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BB@KEKMNHDF@eglCreateContext@
|
||
CONST SEGMENT
|
||
??_C@_0BB@KEKMNHDF@eglCreateContext@ DB 'eglCreateContext', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0L@HJOCIPHF@eglBindAPI@
|
||
CONST SEGMENT
|
||
??_C@_0L@HJOCIPHF@eglBindAPI@ DB 'eglBindAPI', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0N@IGFNFAOP@eglTerminate@
|
||
CONST SEGMENT
|
||
??_C@_0N@IGFNFAOP@eglTerminate@ DB 'eglTerminate', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0O@EEJFKEKH@eglInitialize@
|
||
CONST SEGMENT
|
||
??_C@_0O@EEJFKEKH@eglInitialize@ DB 'eglInitialize', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0M@PPADKGOK@eglGetError@
|
||
CONST SEGMENT
|
||
??_C@_0M@PPADKGOK@eglGetError@ DB 'eglGetError', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0O@BMJFLKOA@eglGetDisplay@
|
||
CONST SEGMENT
|
||
??_C@_0O@BMJFLKOA@eglGetDisplay@ DB 'eglGetDisplay', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0O@OMNEJBKO@eglGetConfigs@
|
||
CONST SEGMENT
|
||
??_C@_0O@OMNEJBKO@eglGetConfigs@ DB 'eglGetConfigs', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BD@MAEGKKAE@eglGetConfigAttrib@
|
||
CONST SEGMENT
|
||
??_C@_0BD@MAEGKKAE@eglGetConfigAttrib@ DB 'eglGetConfigAttrib', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_03LPIGJBNC@lib@
|
||
CONST SEGMENT
|
||
??_C@_03LPIGJBNC@lib@ DB 'lib', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BH@NFNALLIN@EGL?3?5Library?5not?5found@
|
||
CONST SEGMENT
|
||
??_C@_0BH@NFNALLIN@EGL?3?5Library?5not?5found@ DB 'EGL: Library not found'
|
||
DB 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_07EAKGIKCB@EGL?4dll@
|
||
CONST SEGMENT
|
||
??_C@_07EAKGIKCB@EGL?4dll@ DB 'EGL.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0L@ELKKGGMD@libEGL?4dll@
|
||
CONST SEGMENT
|
||
??_C@_0L@ELKKGGMD@libEGL?4dll@ DB 'libEGL.dll', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EN@CIIGDABJ@EGL?3?5The?5context?5must?5be?5curren@
|
||
CONST SEGMENT
|
||
??_C@_0EN@CIIGDABJ@EGL?3?5The?5context?5must?5be?5curren@ DB 'EGL: The co'
|
||
DB 'ntext must be current on the calling thread when swapping buf'
|
||
DB 'fers', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CJ@NBJEEEJD@EGL?3?5Failed?5to?5clear?5current?5co@
|
||
CONST SEGMENT
|
||
??_C@_0CJ@NBJEEEJD@EGL?3?5Failed?5to?5clear?5current?5co@ DB 'EGL: Failed'
|
||
DB ' to clear current context: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CI@MPJNGPNP@EGL?3?5Failed?5to?5make?5context?5cur@
|
||
CONST SEGMENT
|
||
??_C@_0CI@MPJNGPNP@EGL?3?5Failed?5to?5make?5context?5cur@ DB 'EGL: Failed'
|
||
DB ' to make context current: %s', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CJ@JPDPLHCM@EGL?3?5Failed?5to?5find?5a?5suitable?5@
|
||
CONST SEGMENT
|
||
??_C@_0CJ@JPDPLHCM@EGL?3?5Failed?5to?5find?5a?5suitable?5@ DB 'EGL: Faile'
|
||
DB 'd to find a suitable EGLConfig', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CH@EMJGILEP@EGL?3?5Failed?5to?5find?5support?5for@
|
||
CONST SEGMENT
|
||
??_C@_0CH@EMJGILEP@EGL?3?5Failed?5to?5find?5support?5for@ DB 'EGL: Failed'
|
||
DB ' to find support for OpenGL', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0DF@BPPFPGID@EGL?3?5Failed?5to?5find?5support?5for@
|
||
CONST SEGMENT
|
||
??_C@_0DF@BPPFPGID@EGL?3?5Failed?5to?5find?5support?5for@ DB 'EGL: Failed'
|
||
DB ' to find support for OpenGL ES 2 or later', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CO@HAIMLOLL@EGL?3?5Failed?5to?5find?5support?5for@
|
||
CONST SEGMENT
|
||
??_C@_0CO@HAIMLOLL@EGL?3?5Failed?5to?5find?5support?5for@ DB 'EGL: Failed'
|
||
DB ' to find support for OpenGL ES 1.x', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BM@KHOPPJNJ@EGL?3?5No?5EGLConfigs?5returned@
|
||
CONST SEGMENT
|
||
??_C@_0BM@KHOPPJNJ@EGL?3?5No?5EGLConfigs?5returned@ DB 'EGL: No EGLConfig'
|
||
DB 's returned', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CE@CNKFDGDO@EGL?3?5Stereo?5rendering?5not?5suppo@
|
||
CONST SEGMENT
|
||
??_C@_0CE@CNKFDGDO@EGL?3?5Stereo?5rendering?5not?5suppo@ DB 'EGL: Stereo '
|
||
DB 'rendering not supported', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BJ@KDFAHDEK@ERROR?3?5UNKNOWN?5EGL?5ERROR@
|
||
CONST SEGMENT
|
||
??_C@_0BJ@KDFAHDEK@ERROR?3?5UNKNOWN?5EGL?5ERROR@ DB 'ERROR: UNKNOWN EGL E'
|
||
DB 'RROR', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0DL@GNLICFMC@The?5application?5must?5destroy?5al@
|
||
CONST SEGMENT
|
||
??_C@_0DL@GNLICFMC@The?5application?5must?5destroy?5al@ DB 'The applicati'
|
||
DB 'on must destroy all contexts and reinitialise', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EE@FBMMOIJB@A?5NativeWindowType?5argument?5doe@
|
||
CONST SEGMENT
|
||
??_C@_0EE@FBMMOIJB@A?5NativeWindowType?5argument?5doe@ DB 'A NativeWindow'
|
||
DB 'Type argument does not refer to a valid native window', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EE@NKCAIGPH@A?5NativePixmapType?5argument?5doe@
|
||
CONST SEGMENT
|
||
??_C@_0EE@NKCAIGPH@A?5NativePixmapType?5argument?5doe@ DB 'A NativePixmap'
|
||
DB 'Type argument does not refer to a valid native pixmap', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CI@KAHNKLLC@One?5or?5more?5argument?5values?5are@
|
||
CONST SEGMENT
|
||
??_C@_0CI@KAHNKLLC@One?5or?5more?5argument?5values?5are@ DB 'One or more '
|
||
DB 'argument values are invalid', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0BL@OIILILNJ@Arguments?5are?5inconsistent@
|
||
CONST SEGMENT
|
||
??_C@_0BL@OIILILNJ@Arguments?5are?5inconsistent@ DB 'Arguments are incons'
|
||
DB 'istent', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0FB@EPGEGHDL@An?5EGLSurface?5argument?5does?5not@
|
||
CONST SEGMENT
|
||
??_C@_0FB@EPGEGHDL@An?5EGLSurface?5argument?5does?5not@ DB 'An EGLSurface'
|
||
DB ' argument does not name a valid surface configured for GL ren'
|
||
DB 'dering', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EE@ICKHNPHB@An?5EGLDisplay?5argument?5does?5not@
|
||
CONST SEGMENT
|
||
??_C@_0EE@ICKHNPHB@An?5EGLDisplay?5argument?5does?5not@ DB 'An EGLDisplay'
|
||
DB ' argument does not name a valid EGL display connection', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0GG@ODICGIHF@The?5current?5surface?5of?5the?5call@
|
||
CONST SEGMENT
|
||
??_C@_0GG@ODICGIHF@The?5current?5surface?5of?5the?5call@ DB 'The current '
|
||
DB 'surface of the calling thread is a window, pixel buffer or pi'
|
||
DB 'xmap that is no longer valid', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EL@BBAGGFOK@An?5EGLConfig?5argument?5does?5not?5@
|
||
CONST SEGMENT
|
||
??_C@_0EL@BBAGGFOK@An?5EGLConfig?5argument?5does?5not?5@ DB 'An EGLConfig'
|
||
DB ' argument does not name a valid EGL frame buffer configuratio'
|
||
DB 'n', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0ED@GAJEHCGA@An?5EGLContext?5argument?5does?5not@
|
||
CONST SEGMENT
|
||
??_C@_0ED@GAJEHCGA@An?5EGLContext?5argument?5does?5not@ DB 'An EGLContext'
|
||
DB ' argument does not name a valid EGL rendering context', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0EO@EKFIJHGG@An?5unrecognized?5attribute?5or?5at@
|
||
CONST SEGMENT
|
||
??_C@_0EO@EKFIJHGG@An?5unrecognized?5attribute?5or?5at@ DB 'An unrecogniz'
|
||
DB 'ed attribute or attribute value was passed in the attribute l'
|
||
DB 'ist', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0DN@GNDEENDO@EGL?5failed?5to?5allocate?5resource@
|
||
CONST SEGMENT
|
||
??_C@_0DN@GNDEENDO@EGL?5failed?5to?5allocate?5resource@ DB 'EGL failed to'
|
||
DB ' allocate resources for the requested operation', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CH@MMCOKIKC@EGL?5cannot?5access?5a?5requested?5r@
|
||
CONST SEGMENT
|
||
??_C@_0CH@MMCOKIKC@EGL?5cannot?5access?5a?5requested?5r@ DB 'EGL cannot a'
|
||
DB 'ccess a requested resource', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_0CH@KLCPDMM@EGL?5is?5not?5or?5could?5not?5be?5init@
|
||
CONST SEGMENT
|
||
??_C@_0CH@KLCPDMM@EGL?5is?5not?5or?5could?5not?5be?5init@ DB 'EGL is not '
|
||
DB 'or could not be initialized', 00H ; `string'
|
||
CONST ENDS
|
||
; COMDAT ??_C@_07PBILKAFL@Success@
|
||
CONST SEGMENT
|
||
??_C@_07PBILKAFL@Success@ DB 'Success', 00H ; `string'
|
||
PUBLIC glfwGetEGLSurface
|
||
PUBLIC glfwGetEGLContext
|
||
PUBLIC glfwGetEGLDisplay
|
||
PUBLIC _glfwCreateContextEGL
|
||
PUBLIC _glfwTerminateEGL
|
||
PUBLIC _glfwInitEGL
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$glfwGetEGLSurface DD imagerel $LN6
|
||
DD imagerel $LN6+75
|
||
DD imagerel $unwind$glfwGetEGLSurface
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$glfwGetEGLContext DD imagerel $LN6
|
||
DD imagerel $LN6+75
|
||
DD imagerel $unwind$glfwGetEGLContext
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$glfwGetEGLDisplay DD imagerel $LN5
|
||
DD imagerel $LN5+44
|
||
DD imagerel $unwind$glfwGetEGLDisplay
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$_glfwCreateContextEGL DD imagerel $LN102
|
||
DD imagerel $LN102+1325
|
||
DD imagerel $unwind$_glfwCreateContextEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$_glfwTerminateEGL DD imagerel $LN8
|
||
DD imagerel $LN8+67
|
||
DD imagerel $unwind$_glfwTerminateEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$_glfwInitEGL DD imagerel $LN419
|
||
DD imagerel $LN419+2687
|
||
DD imagerel $unwind$_glfwInitEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$destroyContextEGL DD imagerel destroyContextEGL
|
||
DD imagerel destroyContextEGL+140
|
||
DD imagerel $unwind$destroyContextEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$getProcAddressEGL DD imagerel getProcAddressEGL
|
||
DD imagerel getProcAddressEGL+68
|
||
DD imagerel $unwind$getProcAddressEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$extensionSupportedEGL DD imagerel extensionSupportedEGL
|
||
DD imagerel extensionSupportedEGL+64
|
||
DD imagerel $unwind$extensionSupportedEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$swapBuffersEGL DD imagerel swapBuffersEGL
|
||
DD imagerel swapBuffersEGL+74
|
||
DD imagerel $unwind$swapBuffersEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$makeContextCurrentEGL DD imagerel makeContextCurrentEGL
|
||
DD imagerel makeContextCurrentEGL+170
|
||
DD imagerel $unwind$makeContextCurrentEGL
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$chooseEGLConfig DD imagerel chooseEGLConfig
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel $unwind$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$0$chooseEGLConfig DD imagerel chooseEGLConfig+175
|
||
DD imagerel chooseEGLConfig+183
|
||
DD imagerel $chain$0$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$3$chooseEGLConfig DD imagerel chooseEGLConfig+183
|
||
DD imagerel chooseEGLConfig+893
|
||
DD imagerel $chain$3$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$4$chooseEGLConfig DD imagerel chooseEGLConfig+893
|
||
DD imagerel chooseEGLConfig+1017
|
||
DD imagerel $chain$4$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$5$chooseEGLConfig DD imagerel chooseEGLConfig+1017
|
||
DD imagerel chooseEGLConfig+1058
|
||
DD imagerel $chain$5$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$6$chooseEGLConfig DD imagerel chooseEGLConfig+1058
|
||
DD imagerel chooseEGLConfig+1084
|
||
DD imagerel $chain$6$chooseEGLConfig
|
||
pdata ENDS
|
||
; COMDAT pdata
|
||
pdata SEGMENT
|
||
$pdata$getEGLConfigAttrib DD imagerel getEGLConfigAttrib
|
||
DD imagerel getEGLConfigAttrib+65
|
||
DD imagerel $unwind$getEGLConfigAttrib
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$getEGLConfigAttrib DD 011319H
|
||
DD 06204H
|
||
DD imagerel __GSHandlerCheck
|
||
DD 028H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$chain$6$chooseEGLConfig DD 021H
|
||
DD imagerel chooseEGLConfig
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel $unwind$chooseEGLConfig
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$chain$5$chooseEGLConfig DD 020021H
|
||
DD 012f400H
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel chooseEGLConfig+183
|
||
DD imagerel $chain$0$chooseEGLConfig
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$chain$4$chooseEGLConfig DD 040021H
|
||
DD 012f400H
|
||
DD 013c400H
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel chooseEGLConfig+183
|
||
DD imagerel $chain$0$chooseEGLConfig
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$chain$3$chooseEGLConfig DD 061821H
|
||
DD 012f418H
|
||
DD 013c410H
|
||
DD 0146408H
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel chooseEGLConfig+183
|
||
DD imagerel $chain$0$chooseEGLConfig
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$chain$0$chooseEGLConfig DD 020821H
|
||
DD 01a3408H
|
||
DD imagerel chooseEGLConfig
|
||
DD imagerel chooseEGLConfig+175
|
||
DD imagerel $unwind$chooseEGLConfig
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$chooseEGLConfig DD 062119H
|
||
DD 0150113H
|
||
DD 0d005e007H
|
||
DD 050027003H
|
||
DD imagerel __GSHandlerCheck
|
||
DD 080H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$makeContextCurrentEGL DD 020601H
|
||
DD 030023206H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$swapBuffersEGL DD 020601H
|
||
DD 030023206H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$extensionSupportedEGL DD 020601H
|
||
DD 030023206H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$getProcAddressEGL DD 020601H
|
||
DD 030023206H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$destroyContextEGL DD 020601H
|
||
DD 030023206H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$_glfwInitEGL DD 066519H
|
||
DD 0d6465H
|
||
DD 0c345dH
|
||
DD 070029206H
|
||
DD imagerel __GSHandlerCheck
|
||
DD 040H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$_glfwTerminateEGL DD 010401H
|
||
DD 04204H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$_glfwCreateContextEGL DD 092519H
|
||
DD 0220117H
|
||
DD 0e009f00bH
|
||
DD 07005c007H
|
||
DD 030036004H
|
||
DD 05002H
|
||
DD imagerel __GSHandlerCheck
|
||
DD 0100H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$glfwGetEGLDisplay DD 010401H
|
||
DD 04204H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$glfwGetEGLContext DD 010401H
|
||
DD 04204H
|
||
xdata ENDS
|
||
; COMDAT xdata
|
||
xdata SEGMENT
|
||
$unwind$glfwGetEGLSurface DD 010401H
|
||
DD 04204H
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT getEGLErrorString
|
||
_TEXT SEGMENT
|
||
error$ = 8
|
||
getEGLErrorString PROC ; COMDAT
|
||
|
||
; 42 : switch (error)
|
||
|
||
00000 81 c1 00 d0 ff
|
||
ff add ecx, -12288 ; ffffffffffffd000H
|
||
00006 83 f9 0e cmp ecx, 14
|
||
00009 0f 87 8e 00 00
|
||
00 ja $LN19@getEGLErro
|
||
0000f 48 63 c1 movsxd rax, ecx
|
||
00012 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:__ImageBase
|
||
00019 8b 8c 82 00 00
|
||
00 00 mov ecx, DWORD PTR $LN21@getEGLErro[rdx+rax*4]
|
||
00020 48 03 ca add rcx, rdx
|
||
00023 ff e1 jmp rcx
|
||
$LN4@getEGLErro:
|
||
|
||
; 43 : {
|
||
; 44 : case EGL_SUCCESS:
|
||
; 45 : return "Success";
|
||
|
||
00025 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_07PBILKAFL@Success@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0002c c3 ret 0
|
||
$LN5@getEGLErro:
|
||
|
||
; 46 : case EGL_NOT_INITIALIZED:
|
||
; 47 : return "EGL is not or could not be initialized";
|
||
|
||
0002d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0CH@KLCPDMM@EGL?5is?5not?5or?5could?5not?5be?5init@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00034 c3 ret 0
|
||
$LN6@getEGLErro:
|
||
|
||
; 48 : case EGL_BAD_ACCESS:
|
||
; 49 : return "EGL cannot access a requested resource";
|
||
|
||
00035 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0CH@MMCOKIKC@EGL?5cannot?5access?5a?5requested?5r@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0003c c3 ret 0
|
||
$LN7@getEGLErro:
|
||
|
||
; 50 : case EGL_BAD_ALLOC:
|
||
; 51 : return "EGL failed to allocate resources for the requested operation";
|
||
|
||
0003d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0DN@GNDEENDO@EGL?5failed?5to?5allocate?5resource@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00044 c3 ret 0
|
||
$LN8@getEGLErro:
|
||
|
||
; 52 : case EGL_BAD_ATTRIBUTE:
|
||
; 53 : return "An unrecognized attribute or attribute value was passed in the attribute list";
|
||
|
||
00045 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0EO@EKFIJHGG@An?5unrecognized?5attribute?5or?5at@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0004c c3 ret 0
|
||
$LN9@getEGLErro:
|
||
|
||
; 54 : case EGL_BAD_CONTEXT:
|
||
; 55 : return "An EGLContext argument does not name a valid EGL rendering context";
|
||
|
||
0004d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0ED@GAJEHCGA@An?5EGLContext?5argument?5does?5not@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00054 c3 ret 0
|
||
$LN10@getEGLErro:
|
||
|
||
; 56 : case EGL_BAD_CONFIG:
|
||
; 57 : return "An EGLConfig argument does not name a valid EGL frame buffer configuration";
|
||
|
||
00055 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0EL@BBAGGFOK@An?5EGLConfig?5argument?5does?5not?5@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0005c c3 ret 0
|
||
$LN11@getEGLErro:
|
||
|
||
; 58 : case EGL_BAD_CURRENT_SURFACE:
|
||
; 59 : return "The current surface of the calling thread is a window, pixel buffer or pixmap that is no longer valid";
|
||
|
||
0005d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0GG@ODICGIHF@The?5current?5surface?5of?5the?5call@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00064 c3 ret 0
|
||
$LN12@getEGLErro:
|
||
|
||
; 60 : case EGL_BAD_DISPLAY:
|
||
; 61 : return "An EGLDisplay argument does not name a valid EGL display connection";
|
||
|
||
00065 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0EE@ICKHNPHB@An?5EGLDisplay?5argument?5does?5not@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0006c c3 ret 0
|
||
$LN13@getEGLErro:
|
||
|
||
; 62 : case EGL_BAD_SURFACE:
|
||
; 63 : return "An EGLSurface argument does not name a valid surface configured for GL rendering";
|
||
|
||
0006d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0FB@EPGEGHDL@An?5EGLSurface?5argument?5does?5not@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00074 c3 ret 0
|
||
$LN14@getEGLErro:
|
||
|
||
; 64 : case EGL_BAD_MATCH:
|
||
; 65 : return "Arguments are inconsistent";
|
||
|
||
00075 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0BL@OIILILNJ@Arguments?5are?5inconsistent@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0007c c3 ret 0
|
||
$LN15@getEGLErro:
|
||
|
||
; 66 : case EGL_BAD_PARAMETER:
|
||
; 67 : return "One or more argument values are invalid";
|
||
|
||
0007d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0CI@KAHNKLLC@One?5or?5more?5argument?5values?5are@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00084 c3 ret 0
|
||
$LN16@getEGLErro:
|
||
|
||
; 68 : case EGL_BAD_NATIVE_PIXMAP:
|
||
; 69 : return "A NativePixmapType argument does not refer to a valid native pixmap";
|
||
|
||
00085 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0EE@NKCAIGPH@A?5NativePixmapType?5argument?5doe@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0008c c3 ret 0
|
||
$LN17@getEGLErro:
|
||
|
||
; 70 : case EGL_BAD_NATIVE_WINDOW:
|
||
; 71 : return "A NativeWindowType argument does not refer to a valid native window";
|
||
|
||
0008d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0EE@FBMMOIJB@A?5NativeWindowType?5argument?5doe@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
00094 c3 ret 0
|
||
$LN18@getEGLErro:
|
||
|
||
; 72 : case EGL_CONTEXT_LOST:
|
||
; 73 : return "The application must destroy all contexts and reinitialise";
|
||
|
||
00095 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0DL@GNLICFMC@The?5application?5must?5destroy?5al@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
0009c c3 ret 0
|
||
$LN19@getEGLErro:
|
||
|
||
; 74 : default:
|
||
; 75 : return "ERROR: UNKNOWN EGL ERROR";
|
||
|
||
0009d 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0BJ@KDFAHDEK@ERROR?3?5UNKNOWN?5EGL?5ERROR@
|
||
|
||
; 76 : }
|
||
; 77 : }
|
||
|
||
000a4 c3 ret 0
|
||
000a5 0f 1f 00 npad 3
|
||
$LN21@getEGLErro:
|
||
000a8 00 00 00 00 DD $LN4@getEGLErro
|
||
000ac 00 00 00 00 DD $LN5@getEGLErro
|
||
000b0 00 00 00 00 DD $LN6@getEGLErro
|
||
000b4 00 00 00 00 DD $LN7@getEGLErro
|
||
000b8 00 00 00 00 DD $LN8@getEGLErro
|
||
000bc 00 00 00 00 DD $LN10@getEGLErro
|
||
000c0 00 00 00 00 DD $LN9@getEGLErro
|
||
000c4 00 00 00 00 DD $LN11@getEGLErro
|
||
000c8 00 00 00 00 DD $LN12@getEGLErro
|
||
000cc 00 00 00 00 DD $LN14@getEGLErro
|
||
000d0 00 00 00 00 DD $LN16@getEGLErro
|
||
000d4 00 00 00 00 DD $LN17@getEGLErro
|
||
000d8 00 00 00 00 DD $LN15@getEGLErro
|
||
000dc 00 00 00 00 DD $LN13@getEGLErro
|
||
000e0 00 00 00 00 DD $LN18@getEGLErro
|
||
getEGLErrorString ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT getEGLConfigAttrib
|
||
_TEXT SEGMENT
|
||
value$ = 32
|
||
__$ArrayPad$ = 40
|
||
config$ = 64
|
||
attrib$ = 72
|
||
getEGLConfigAttrib PROC ; COMDAT
|
||
|
||
; 82 : {
|
||
|
||
00000 48 83 ec 38 sub rsp, 56 ; 00000038H
|
||
00004 48 8b 05 00 00
|
||
00 00 mov rax, QWORD PTR __security_cookie
|
||
0000b 48 33 c4 xor rax, rsp
|
||
0000e 48 89 44 24 28 mov QWORD PTR __$ArrayPad$[rsp], rax
|
||
|
||
; 83 : int value;
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
00013 44 8b c2 mov r8d, edx
|
||
00016 4c 8d 4c 24 20 lea r9, QWORD PTR value$[rsp]
|
||
0001b 48 8b d1 mov rdx, rcx
|
||
0001e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00025 ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 85 : return value;
|
||
|
||
0002b 8b 44 24 20 mov eax, DWORD PTR value$[rsp]
|
||
|
||
; 86 : }
|
||
|
||
0002f 48 8b 4c 24 28 mov rcx, QWORD PTR __$ArrayPad$[rsp]
|
||
00034 48 33 cc xor rcx, rsp
|
||
00037 e8 00 00 00 00 call __security_check_cookie
|
||
0003c 48 83 c4 38 add rsp, 56 ; 00000038H
|
||
00040 c3 ret 0
|
||
getEGLConfigAttrib ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT chooseEGLConfig
|
||
_TEXT SEGMENT
|
||
wrongApiAvailable$1$ = 32
|
||
usableConfigs$1$ = 40
|
||
nativeConfigs$1$ = 48
|
||
fbconfig$GSCopy$1$ = 56
|
||
result$GSCopy$1$ = 64
|
||
ctxconfig$1$ = 72
|
||
nativeCount$ = 80
|
||
usableCount$1$ = 84
|
||
value$1 = 84
|
||
value$2 = 88
|
||
value$3 = 92
|
||
value$4 = 96
|
||
value$5 = 100
|
||
value$6 = 104
|
||
value$7 = 108
|
||
value$8 = 112
|
||
value$9 = 116
|
||
value$10 = 120
|
||
__$ArrayPad$ = 128
|
||
ctxconfig$ = 208
|
||
fbconfig$ = 216
|
||
result$ = 224
|
||
chooseEGLConfig PROC ; COMDAT
|
||
|
||
; 93 : {
|
||
|
||
00000 40 55 push rbp
|
||
00002 57 push rdi
|
||
00003 41 55 push r13
|
||
00005 41 56 push r14
|
||
00007 48 8d 6c 24 c1 lea rbp, QWORD PTR [rsp-63]
|
||
0000c 48 81 ec a8 00
|
||
00 00 sub rsp, 168 ; 000000a8H
|
||
00013 48 8b 05 00 00
|
||
00 00 mov rax, QWORD PTR __security_cookie
|
||
0001a 48 33 c4 xor rax, rsp
|
||
0001d 48 89 45 17 mov QWORD PTR __$ArrayPad$[rbp-105], rax
|
||
|
||
; 94 : EGLConfig* nativeConfigs;
|
||
; 95 : _GLFWfbconfig* usableConfigs;
|
||
; 96 : const _GLFWfbconfig* closest;
|
||
; 97 : int i, nativeCount, usableCount, apiBit;
|
||
; 98 : GLFWbool wrongApiAvailable = GLFW_FALSE;
|
||
|
||
00021 33 ff xor edi, edi
|
||
00023 4c 89 45 d7 mov QWORD PTR result$GSCopy$1$[rbp-105], r8
|
||
|
||
; 99 :
|
||
; 100 : if (ctxconfig->client == GLFW_OPENGL_ES_API)
|
||
|
||
00027 81 39 02 00 03
|
||
00 cmp DWORD PTR [rcx], 196610 ; 00030002H
|
||
0002d 48 8b c1 mov rax, rcx
|
||
00030 48 89 55 cf mov QWORD PTR fbconfig$GSCopy$1$[rbp-105], rdx
|
||
00034 44 8b f7 mov r14d, edi
|
||
00037 48 89 4d df mov QWORD PTR ctxconfig$1$[rbp-105], rcx
|
||
0003b 89 7d b7 mov DWORD PTR wrongApiAvailable$1$[rbp-105], edi
|
||
0003e 75 15 jne SHORT $LN5@chooseEGLC
|
||
|
||
; 101 : {
|
||
; 102 : if (ctxconfig->major == 1)
|
||
; 103 : apiBit = EGL_OPENGL_ES_BIT;
|
||
; 104 : else
|
||
; 105 : apiBit = EGL_OPENGL_ES2_BIT;
|
||
; 106 : }
|
||
|
||
00040 41 bd 01 00 00
|
||
00 mov r13d, 1
|
||
00046 b9 04 00 00 00 mov ecx, 4
|
||
0004b 44 39 68 08 cmp DWORD PTR [rax+8], r13d
|
||
0004f 44 0f 45 e9 cmovne r13d, ecx
|
||
00053 eb 06 jmp SHORT $LN6@chooseEGLC
|
||
$LN5@chooseEGLC:
|
||
|
||
; 107 : else
|
||
; 108 : apiBit = EGL_OPENGL_BIT;
|
||
|
||
00055 41 bd 08 00 00
|
||
00 mov r13d, 8
|
||
$LN6@chooseEGLC:
|
||
|
||
; 109 :
|
||
; 110 : if (fbconfig->stereo)
|
||
|
||
0005b 39 7a 2c cmp DWORD PTR [rdx+44], edi
|
||
0005e 74 18 je SHORT $LN9@chooseEGLC
|
||
|
||
; 111 : {
|
||
; 112 : _glfwInputError(GLFW_FORMAT_UNAVAILABLE, "EGL: Stereo rendering not supported");
|
||
|
||
00060 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CE@CNKFDGDO@EGL?3?5Stereo?5rendering?5not?5suppo@
|
||
00067 b9 09 00 01 00 mov ecx, 65545 ; 00010009H
|
||
0006c e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 113 : return GLFW_FALSE;
|
||
|
||
00071 33 c0 xor eax, eax
|
||
00073 e9 aa 03 00 00 jmp $LN1@chooseEGLC
|
||
$LN9@chooseEGLC:
|
||
|
||
; 114 : }
|
||
; 115 :
|
||
; 116 : eglGetConfigs(_glfw.egl.display, NULL, 0, &nativeCount);
|
||
|
||
00078 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0007f 4c 8d 4d e7 lea r9, QWORD PTR nativeCount$[rbp-105]
|
||
00083 45 33 c0 xor r8d, r8d
|
||
00086 33 d2 xor edx, edx
|
||
00088 ff 15 58 1a 00
|
||
00 call QWORD PTR _glfw+6744
|
||
|
||
; 117 : if (!nativeCount)
|
||
|
||
0008e 39 7d e7 cmp DWORD PTR nativeCount$[rbp-105], edi
|
||
00091 75 18 jne SHORT $LN10@chooseEGLC
|
||
|
||
; 118 : {
|
||
; 119 : _glfwInputError(GLFW_API_UNAVAILABLE, "EGL: No EGLConfigs returned");
|
||
|
||
00093 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BM@KHOPPJNJ@EGL?3?5No?5EGLConfigs?5returned@
|
||
0009a b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
0009f e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 120 : return GLFW_FALSE;
|
||
|
||
000a4 33 c0 xor eax, eax
|
||
000a6 e9 77 03 00 00 jmp $LN1@chooseEGLC
|
||
$LN10@chooseEGLC:
|
||
|
||
; 121 : }
|
||
; 122 :
|
||
; 123 : nativeConfigs = _glfw_calloc(nativeCount, sizeof(EGLConfig));
|
||
|
||
000ab 48 63 45 e7 movsxd rax, DWORD PTR nativeCount$[rbp-105]
|
||
000af 48 89 9c 24 d0
|
||
00 00 00 mov QWORD PTR [rsp+208], rbx
|
||
000b7 48 89 b4 24 a0
|
||
00 00 00 mov QWORD PTR [rsp+160], rsi
|
||
000bf 4c 89 a4 24 98
|
||
00 00 00 mov QWORD PTR [rsp+152], r12
|
||
000c7 4c 89 bc 24 90
|
||
00 00 00 mov QWORD PTR [rsp+144], r15
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
|
||
; 273 : if (count && size)
|
||
|
||
000cf 48 85 c0 test rax, rax
|
||
000d2 74 58 je SHORT $LN36@chooseEGLC
|
||
|
||
; 274 : {
|
||
; 275 : void* block;
|
||
; 276 :
|
||
; 277 : if (count > SIZE_MAX / size)
|
||
|
||
000d4 48 b9 ff ff ff
|
||
ff ff ff ff 1f mov rcx, 2305843009213693951 ; 1fffffffffffffffH
|
||
000de 48 3b c1 cmp rax, rcx
|
||
000e1 76 0e jbe SHORT $LN38@chooseEGLC
|
||
|
||
; 278 : {
|
||
; 279 : _glfwInputError(GLFW_INVALID_VALUE, "Allocation size overflow");
|
||
|
||
000e3 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@
|
||
000ea b9 04 00 01 00 mov ecx, 65540 ; 00010004H
|
||
|
||
; 280 : return NULL;
|
||
|
||
000ef eb 36 jmp SHORT $LN89@chooseEGLC
|
||
$LN38@chooseEGLC:
|
||
|
||
; 281 : }
|
||
; 282 :
|
||
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
|
||
|
||
000f1 48 8b 15 20 00
|
||
00 00 mov rdx, QWORD PTR _glfw+32
|
||
000f8 48 8d 1c c5 00
|
||
00 00 00 lea rbx, QWORD PTR [rax*8]
|
||
00100 48 8b cb mov rcx, rbx
|
||
00103 ff 15 08 00 00
|
||
00 call QWORD PTR _glfw+8
|
||
|
||
; 284 : if (block)
|
||
|
||
00109 48 85 c0 test rax, rax
|
||
0010c 74 12 je SHORT $LN39@chooseEGLC
|
||
|
||
; 285 : return memset(block, 0, count * size);
|
||
|
||
0010e 4c 8b c3 mov r8, rbx
|
||
00111 33 d2 xor edx, edx
|
||
00113 48 8b c8 mov rcx, rax
|
||
00116 e8 00 00 00 00 call memset
|
||
0011b 4c 8b e0 mov r12, rax
|
||
0011e eb 0f jmp SHORT $LN86@chooseEGLC
|
||
$LN39@chooseEGLC:
|
||
|
||
; 286 : else
|
||
; 287 : {
|
||
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
|
||
|
||
00120 33 d2 xor edx, edx
|
||
00122 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
|
||
$LN89@chooseEGLC:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 124 : eglGetConfigs(_glfw.egl.display, nativeConfigs, nativeCount, &nativeCount);
|
||
|
||
00127 e8 00 00 00 00 call _glfwInputError
|
||
$LN36@chooseEGLC:
|
||
0012c 4c 8b e7 mov r12, rdi
|
||
$LN86@chooseEGLC:
|
||
0012f 44 8b 45 e7 mov r8d, DWORD PTR nativeCount$[rbp-105]
|
||
00133 4c 8d 4d e7 lea r9, QWORD PTR nativeCount$[rbp-105]
|
||
00137 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0013e 49 8b d4 mov rdx, r12
|
||
00141 4c 89 65 c7 mov QWORD PTR nativeConfigs$1$[rbp-105], r12
|
||
00145 ff 15 58 1a 00
|
||
00 call QWORD PTR _glfw+6744
|
||
|
||
; 125 :
|
||
; 126 : usableConfigs = _glfw_calloc(nativeCount, sizeof(_GLFWfbconfig));
|
||
|
||
0014b 48 63 45 e7 movsxd rax, DWORD PTR nativeCount$[rbp-105]
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
|
||
; 273 : if (count && size)
|
||
|
||
0014f 48 85 c0 test rax, rax
|
||
00152 74 58 je SHORT $LN43@chooseEGLC
|
||
|
||
; 274 : {
|
||
; 275 : void* block;
|
||
; 276 :
|
||
; 277 : if (count > SIZE_MAX / size)
|
||
|
||
00154 49 b8 8e e3 38
|
||
8e e3 38 8e 03 mov r8, 256204778801521550 ; 038e38e38e38e38eH
|
||
0015e 49 3b c0 cmp rax, r8
|
||
00161 76 0e jbe SHORT $LN45@chooseEGLC
|
||
|
||
; 278 : {
|
||
; 279 : _glfwInputError(GLFW_INVALID_VALUE, "Allocation size overflow");
|
||
|
||
00163 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@IHHANIOG@Allocation?5size?5overflow@
|
||
0016a b9 04 00 01 00 mov ecx, 65540 ; 00010004H
|
||
|
||
; 280 : return NULL;
|
||
|
||
0016f eb 36 jmp SHORT $LN90@chooseEGLC
|
||
$LN45@chooseEGLC:
|
||
|
||
; 281 : }
|
||
; 282 :
|
||
; 283 : block = _glfw.allocator.allocate(count * size, _glfw.allocator.user);
|
||
|
||
00171 48 8b 15 20 00
|
||
00 00 mov rdx, QWORD PTR _glfw+32
|
||
00178 48 8d 1c c0 lea rbx, QWORD PTR [rax+rax*8]
|
||
0017c 48 c1 e3 03 shl rbx, 3
|
||
00180 48 8b cb mov rcx, rbx
|
||
00183 ff 15 08 00 00
|
||
00 call QWORD PTR _glfw+8
|
||
|
||
; 284 : if (block)
|
||
|
||
00189 48 85 c0 test rax, rax
|
||
0018c 74 12 je SHORT $LN46@chooseEGLC
|
||
|
||
; 285 : return memset(block, 0, count * size);
|
||
|
||
0018e 4c 8b c3 mov r8, rbx
|
||
00191 33 d2 xor edx, edx
|
||
00193 48 8b c8 mov rcx, rax
|
||
00196 e8 00 00 00 00 call memset
|
||
0019b 4c 8b f8 mov r15, rax
|
||
0019e eb 0f jmp SHORT $LN87@chooseEGLC
|
||
$LN46@chooseEGLC:
|
||
|
||
; 286 : else
|
||
; 287 : {
|
||
; 288 : _glfwInputError(GLFW_OUT_OF_MEMORY, NULL);
|
||
|
||
001a0 33 d2 xor edx, edx
|
||
001a2 b9 05 00 01 00 mov ecx, 65541 ; 00010005H
|
||
$LN90@chooseEGLC:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 127 : usableCount = 0;
|
||
|
||
001a7 e8 00 00 00 00 call _glfwInputError
|
||
$LN43@chooseEGLC:
|
||
001ac 4c 8b ff mov r15, rdi
|
||
$LN87@chooseEGLC:
|
||
001af 44 8b c7 mov r8d, edi
|
||
001b2 4c 89 7d bf mov QWORD PTR usableConfigs$1$[rbp-105], r15
|
||
|
||
; 128 :
|
||
; 129 : for (i = 0; i < nativeCount; i++)
|
||
|
||
001b6 8b f7 mov esi, edi
|
||
001b8 39 7d e7 cmp DWORD PTR nativeCount$[rbp-105], edi
|
||
001bb 0f 8e a0 01 00
|
||
00 jle $LN3@chooseEGLC
|
||
001c1 4d 8b f4 mov r14, r12
|
||
001c4 49 8d 7f 08 lea rdi, QWORD PTR [r15+8]
|
||
001c8 4c 8b 65 cf mov r12, QWORD PTR fbconfig$GSCopy$1$[rbp-105]
|
||
001cc 44 8b fe mov r15d, esi
|
||
001cf 90 npad 1
|
||
$LL4@chooseEGLC:
|
||
|
||
; 130 : {
|
||
; 131 : const EGLConfig n = nativeConfigs[i];
|
||
|
||
001d0 49 8b 1e mov rbx, QWORD PTR [r14]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
001d3 4c 8d 4d eb lea r9, QWORD PTR value$1[rbp-105]
|
||
001d7 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
001de 48 8b d3 mov rdx, rbx
|
||
001e1 41 b8 3f 30 00
|
||
00 mov r8d, 12351 ; 0000303fH
|
||
001e7 ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 132 : _GLFWfbconfig* u = usableConfigs + usableCount;
|
||
; 133 :
|
||
; 134 : // Only consider RGB(A) EGLConfigs
|
||
; 135 : if (getEGLConfigAttrib(n, EGL_COLOR_BUFFER_TYPE) != EGL_RGB_BUFFER)
|
||
|
||
001ed 81 7d eb 8e 30
|
||
00 00 cmp DWORD PTR value$1[rbp-105], 12430 ; 0000308eH
|
||
001f4 0f 85 42 01 00
|
||
00 jne $LN2@chooseEGLC
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
001fa 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00201 4c 8d 4d ef lea r9, QWORD PTR value$2[rbp-105]
|
||
00205 41 b8 33 30 00
|
||
00 mov r8d, 12339 ; 00003033H
|
||
0020b 48 8b d3 mov rdx, rbx
|
||
0020e ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 136 : continue;
|
||
; 137 :
|
||
; 138 : // Only consider window EGLConfigs
|
||
; 139 : if (!(getEGLConfigAttrib(n, EGL_SURFACE_TYPE) & EGL_WINDOW_BIT))
|
||
|
||
00214 f6 45 ef 04 test BYTE PTR value$2[rbp-105], 4
|
||
00218 0f 84 1e 01 00
|
||
00 je $LN2@chooseEGLC
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
0021e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00225 4c 8d 4d f3 lea r9, QWORD PTR value$3[rbp-105]
|
||
00229 41 b8 40 30 00
|
||
00 mov r8d, 12352 ; 00003040H
|
||
0022f 48 8b d3 mov rdx, rbx
|
||
00232 ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 140 : continue;
|
||
; 141 :
|
||
; 142 : #if defined(_GLFW_X11)
|
||
; 143 : if (_glfw.platform.platformID == GLFW_PLATFORM_X11)
|
||
; 144 : {
|
||
; 145 : XVisualInfo vi = { 0 };
|
||
; 146 :
|
||
; 147 : // Only consider EGLConfigs with associated Visuals
|
||
; 148 : vi.visualid = getEGLConfigAttrib(n, EGL_NATIVE_VISUAL_ID);
|
||
; 149 : if (!vi.visualid)
|
||
; 150 : continue;
|
||
; 151 :
|
||
; 152 : if (fbconfig->transparent)
|
||
; 153 : {
|
||
; 154 : int count;
|
||
; 155 : XVisualInfo* vis =
|
||
; 156 : XGetVisualInfo(_glfw.x11.display, VisualIDMask, &vi, &count);
|
||
; 157 : if (vis)
|
||
; 158 : {
|
||
; 159 : u->transparent = _glfwIsVisualTransparentX11(vis[0].visual);
|
||
; 160 : XFree(vis);
|
||
; 161 : }
|
||
; 162 : }
|
||
; 163 : }
|
||
; 164 : #endif // _GLFW_X11
|
||
; 165 :
|
||
; 166 : if (!(getEGLConfigAttrib(n, EGL_RENDERABLE_TYPE) & apiBit))
|
||
|
||
00238 44 85 6d f3 test DWORD PTR value$3[rbp-105], r13d
|
||
0023c 75 0c jne SHORT $LN13@chooseEGLC
|
||
|
||
; 167 : {
|
||
; 168 : wrongApiAvailable = GLFW_TRUE;
|
||
|
||
0023e c7 45 b7 01 00
|
||
00 00 mov DWORD PTR wrongApiAvailable$1$[rbp-105], 1
|
||
|
||
; 169 : continue;
|
||
|
||
00245 e9 f2 00 00 00 jmp $LN2@chooseEGLC
|
||
$LN13@chooseEGLC:
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
0024a 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00251 4c 8d 4d f7 lea r9, QWORD PTR value$4[rbp-105]
|
||
00255 41 b8 24 30 00
|
||
00 mov r8d, 12324 ; 00003024H
|
||
0025b 48 8b d3 mov rdx, rbx
|
||
0025e ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 170 : }
|
||
; 171 :
|
||
; 172 : u->redBits = getEGLConfigAttrib(n, EGL_RED_SIZE);
|
||
|
||
00264 8b 45 f7 mov eax, DWORD PTR value$4[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
00267 4c 8d 4d fb lea r9, QWORD PTR value$5[rbp-105]
|
||
|
||
; 170 : }
|
||
; 171 :
|
||
; 172 : u->redBits = getEGLConfigAttrib(n, EGL_RED_SIZE);
|
||
|
||
0026b 89 47 f8 mov DWORD PTR [rdi-8], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
0026e 41 b8 23 30 00
|
||
00 mov r8d, 12323 ; 00003023H
|
||
00274 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0027b 48 8b d3 mov rdx, rbx
|
||
0027e ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 173 : u->greenBits = getEGLConfigAttrib(n, EGL_GREEN_SIZE);
|
||
|
||
00284 8b 45 fb mov eax, DWORD PTR value$5[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
00287 4c 8d 4d ff lea r9, QWORD PTR value$6[rbp-105]
|
||
|
||
; 173 : u->greenBits = getEGLConfigAttrib(n, EGL_GREEN_SIZE);
|
||
|
||
0028b 89 47 fc mov DWORD PTR [rdi-4], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
0028e 41 b8 22 30 00
|
||
00 mov r8d, 12322 ; 00003022H
|
||
00294 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0029b 48 8b d3 mov rdx, rbx
|
||
0029e ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 174 : u->blueBits = getEGLConfigAttrib(n, EGL_BLUE_SIZE);
|
||
|
||
002a4 8b 45 ff mov eax, DWORD PTR value$6[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002a7 4c 8d 4d 03 lea r9, QWORD PTR value$7[rbp-105]
|
||
|
||
; 174 : u->blueBits = getEGLConfigAttrib(n, EGL_BLUE_SIZE);
|
||
|
||
002ab 89 07 mov DWORD PTR [rdi], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002ad 41 b8 21 30 00
|
||
00 mov r8d, 12321 ; 00003021H
|
||
002b3 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
002ba 48 8b d3 mov rdx, rbx
|
||
002bd ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 175 :
|
||
; 176 : u->alphaBits = getEGLConfigAttrib(n, EGL_ALPHA_SIZE);
|
||
|
||
002c3 8b 45 03 mov eax, DWORD PTR value$7[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002c6 4c 8d 4d 07 lea r9, QWORD PTR value$8[rbp-105]
|
||
|
||
; 175 :
|
||
; 176 : u->alphaBits = getEGLConfigAttrib(n, EGL_ALPHA_SIZE);
|
||
|
||
002ca 89 47 04 mov DWORD PTR [rdi+4], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002cd 41 b8 25 30 00
|
||
00 mov r8d, 12325 ; 00003025H
|
||
002d3 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
002da 48 8b d3 mov rdx, rbx
|
||
002dd ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 177 : u->depthBits = getEGLConfigAttrib(n, EGL_DEPTH_SIZE);
|
||
|
||
002e3 8b 45 07 mov eax, DWORD PTR value$8[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002e6 4c 8d 4d 0b lea r9, QWORD PTR value$9[rbp-105]
|
||
|
||
; 177 : u->depthBits = getEGLConfigAttrib(n, EGL_DEPTH_SIZE);
|
||
|
||
002ea 89 47 08 mov DWORD PTR [rdi+8], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
002ed 41 b8 26 30 00
|
||
00 mov r8d, 12326 ; 00003026H
|
||
002f3 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
002fa 48 8b d3 mov rdx, rbx
|
||
002fd ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 178 : u->stencilBits = getEGLConfigAttrib(n, EGL_STENCIL_SIZE);
|
||
|
||
00303 8b 45 0b mov eax, DWORD PTR value$9[rbp-105]
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
00306 4c 8d 4d 0f lea r9, QWORD PTR value$10[rbp-105]
|
||
|
||
; 178 : u->stencilBits = getEGLConfigAttrib(n, EGL_STENCIL_SIZE);
|
||
|
||
0030a 89 47 0c mov DWORD PTR [rdi+12], eax
|
||
|
||
; 84 : eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value);
|
||
|
||
0030d 41 b8 31 30 00
|
||
00 mov r8d, 12337 ; 00003031H
|
||
00313 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0031a 48 8b d3 mov rdx, rbx
|
||
0031d ff 15 50 1a 00
|
||
00 call QWORD PTR _glfw+6736
|
||
|
||
; 179 :
|
||
; 180 : #if defined(_GLFW_WAYLAND)
|
||
; 181 : if (_glfw.platform.platformID == GLFW_PLATFORM_WAYLAND)
|
||
; 182 : {
|
||
; 183 : // NOTE: The wl_surface opaque region is no guarantee that its buffer
|
||
; 184 : // is presented as opaque, if it also has an alpha channel
|
||
; 185 : // HACK: If EGL_EXT_present_opaque is unavailable, ignore any config
|
||
; 186 : // with an alpha channel to ensure the buffer is opaque
|
||
; 187 : if (!_glfw.egl.EXT_present_opaque)
|
||
; 188 : {
|
||
; 189 : if (!fbconfig->transparent && u->alphaBits > 0)
|
||
; 190 : continue;
|
||
; 191 : }
|
||
; 192 : }
|
||
; 193 : #endif // _GLFW_WAYLAND
|
||
; 194 :
|
||
; 195 : u->samples = getEGLConfigAttrib(n, EGL_SAMPLES);
|
||
|
||
00323 8b 45 0f mov eax, DWORD PTR value$10[rbp-105]
|
||
|
||
; 196 : u->doublebuffer = fbconfig->doublebuffer;
|
||
; 197 :
|
||
; 198 : u->handle = (uintptr_t)n;
|
||
; 199 : usableCount++;
|
||
|
||
00326 41 ff c7 inc r15d
|
||
00329 89 47 28 mov DWORD PTR [rdi+40], eax
|
||
0032c 41 8b 44 24 38 mov eax, DWORD PTR [r12+56]
|
||
00331 89 47 30 mov DWORD PTR [rdi+48], eax
|
||
00334 48 89 5f 38 mov QWORD PTR [rdi+56], rbx
|
||
00338 48 83 c7 48 add rdi, 72 ; 00000048H
|
||
$LN2@chooseEGLC:
|
||
|
||
; 128 :
|
||
; 129 : for (i = 0; i < nativeCount; i++)
|
||
|
||
0033c ff c6 inc esi
|
||
0033e 49 83 c6 08 add r14, 8
|
||
00342 3b 75 e7 cmp esi, DWORD PTR nativeCount$[rbp-105]
|
||
00345 0f 8c 85 fe ff
|
||
ff jl $LL4@chooseEGLC
|
||
0034b 4c 8b 65 c7 mov r12, QWORD PTR nativeConfigs$1$[rbp-105]
|
||
0034f 33 ff xor edi, edi
|
||
00351 44 8b 75 b7 mov r14d, DWORD PTR wrongApiAvailable$1$[rbp-105]
|
||
00355 44 89 7d eb mov DWORD PTR usableCount$1$[rbp-105], r15d
|
||
00359 4c 8b 7d bf mov r15, QWORD PTR usableConfigs$1$[rbp-105]
|
||
0035d 44 8b 45 eb mov r8d, DWORD PTR usableCount$1$[rbp-105]
|
||
$LN3@chooseEGLC:
|
||
|
||
; 200 : }
|
||
; 201 :
|
||
; 202 : closest = _glfwChooseFBConfig(fbconfig, usableConfigs, usableCount);
|
||
|
||
00361 48 8b 4d cf mov rcx, QWORD PTR fbconfig$GSCopy$1$[rbp-105]
|
||
00365 49 8b d7 mov rdx, r15
|
||
00368 e8 00 00 00 00 call _glfwChooseFBConfig
|
||
0036d 48 8b b4 24 a0
|
||
00 00 00 mov rsi, QWORD PTR [rsp+160]
|
||
00375 48 8b d8 mov rbx, rax
|
||
|
||
; 203 : if (closest)
|
||
|
||
00378 48 85 c0 test rax, rax
|
||
0037b 74 0d je SHORT $LN14@chooseEGLC
|
||
|
||
; 204 : *result = (EGLConfig)closest->handle;
|
||
|
||
0037d 48 8b 4d d7 mov rcx, QWORD PTR result$GSCopy$1$[rbp-105]
|
||
00381 48 8b 40 40 mov rax, QWORD PTR [rax+64]
|
||
00385 48 89 01 mov QWORD PTR [rcx], rax
|
||
00388 eb 4d jmp SHORT $LN17@chooseEGLC
|
||
$LN14@chooseEGLC:
|
||
|
||
; 205 : else
|
||
; 206 : {
|
||
; 207 : if (wrongApiAvailable)
|
||
|
||
0038a 45 85 f6 test r14d, r14d
|
||
0038d 74 37 je SHORT $LN16@chooseEGLC
|
||
|
||
; 208 : {
|
||
; 209 : if (ctxconfig->client == GLFW_OPENGL_ES_API)
|
||
|
||
0038f 48 8b 45 df mov rax, QWORD PTR ctxconfig$1$[rbp-105]
|
||
00393 81 38 02 00 03
|
||
00 cmp DWORD PTR [rax], 196610 ; 00030002H
|
||
00399 75 1d jne SHORT $LN18@chooseEGLC
|
||
|
||
; 210 : {
|
||
; 211 : if (ctxconfig->major == 1)
|
||
; 212 : {
|
||
; 213 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
; 214 : "EGL: Failed to find support for OpenGL ES 1.x");
|
||
; 215 : }
|
||
; 216 : else
|
||
; 217 : {
|
||
; 218 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
; 219 : "EGL: Failed to find support for OpenGL ES 2 or later");
|
||
; 220 : }
|
||
; 221 : }
|
||
|
||
0039b 83 78 08 01 cmp DWORD PTR [rax+8], 1
|
||
0039f 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:??_C@_0DF@BPPFPGID@EGL?3?5Failed?5to?5find?5support?5for@
|
||
003a6 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CO@HAIMLOLL@EGL?3?5Failed?5to?5find?5support?5for@
|
||
003ad 48 0f 45 d1 cmovne rdx, rcx
|
||
|
||
; 225 : "EGL: Failed to find support for OpenGL");
|
||
; 226 : }
|
||
; 227 : }
|
||
|
||
003b1 b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
003b6 eb 1a jmp SHORT $LN88@chooseEGLC
|
||
$LN18@chooseEGLC:
|
||
|
||
; 222 : else
|
||
; 223 : {
|
||
; 224 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
003b8 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CH@EMJGILEP@EGL?3?5Failed?5to?5find?5support?5for@
|
||
|
||
; 225 : "EGL: Failed to find support for OpenGL");
|
||
; 226 : }
|
||
; 227 : }
|
||
|
||
003bf b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
003c4 eb 0c jmp SHORT $LN88@chooseEGLC
|
||
$LN16@chooseEGLC:
|
||
|
||
; 228 : else
|
||
; 229 : {
|
||
; 230 : _glfwInputError(GLFW_FORMAT_UNAVAILABLE,
|
||
|
||
003c6 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@JPDPLHCM@EGL?3?5Failed?5to?5find?5a?5suitable?5@
|
||
003cd b9 09 00 01 00 mov ecx, 65545 ; 00010009H
|
||
$LN88@chooseEGLC:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
|
||
; 320 : if (block)
|
||
|
||
003d2 e8 00 00 00 00 call _glfwInputError
|
||
$LN17@chooseEGLC:
|
||
003d7 4d 85 e4 test r12, r12
|
||
003da 74 10 je SHORT $LN26@chooseEGLC
|
||
|
||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||
|
||
003dc 48 8b 15 20 00
|
||
00 00 mov rdx, QWORD PTR _glfw+32
|
||
003e3 49 8b cc mov rcx, r12
|
||
003e6 ff 15 18 00 00
|
||
00 call QWORD PTR _glfw+24
|
||
$LN26@chooseEGLC:
|
||
003ec 4c 8b a4 24 98
|
||
00 00 00 mov r12, QWORD PTR [rsp+152]
|
||
|
||
; 320 : if (block)
|
||
|
||
003f4 4d 85 ff test r15, r15
|
||
003f7 74 10 je SHORT $LN29@chooseEGLC
|
||
|
||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||
|
||
003f9 48 8b 15 20 00
|
||
00 00 mov rdx, QWORD PTR _glfw+32
|
||
00400 49 8b cf mov rcx, r15
|
||
00403 ff 15 18 00 00
|
||
00 call QWORD PTR _glfw+24
|
||
$LN29@chooseEGLC:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 238 : return closest != NULL;
|
||
|
||
00409 4c 8b bc 24 90
|
||
00 00 00 mov r15, QWORD PTR [rsp+144]
|
||
00411 48 85 db test rbx, rbx
|
||
00414 48 8b 9c 24 d0
|
||
00 00 00 mov rbx, QWORD PTR [rsp+208]
|
||
0041c 40 0f 95 c7 setne dil
|
||
00420 8b c7 mov eax, edi
|
||
$LN1@chooseEGLC:
|
||
|
||
; 239 : }
|
||
|
||
00422 48 8b 4d 17 mov rcx, QWORD PTR __$ArrayPad$[rbp-105]
|
||
00426 48 33 cc xor rcx, rsp
|
||
00429 e8 00 00 00 00 call __security_check_cookie
|
||
0042e 48 81 c4 a8 00
|
||
00 00 add rsp, 168 ; 000000a8H
|
||
00435 41 5e pop r14
|
||
00437 41 5d pop r13
|
||
00439 5f pop rdi
|
||
0043a 5d pop rbp
|
||
0043b c3 ret 0
|
||
chooseEGLConfig ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT makeContextCurrentEGL
|
||
_TEXT SEGMENT
|
||
window$ = 48
|
||
makeContextCurrentEGL PROC ; COMDAT
|
||
|
||
; 242 : {
|
||
|
||
00000 40 53 push rbx
|
||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||
00006 48 8b d9 mov rbx, rcx
|
||
|
||
; 243 : if (window)
|
||
|
||
00009 48 85 c9 test rcx, rcx
|
||
0000c 74 48 je SHORT $LN2@makeContex
|
||
|
||
; 244 : {
|
||
; 245 : if (!eglMakeCurrent(_glfw.egl.display,
|
||
|
||
0000e 48 8b 91 90 02
|
||
00 00 mov rdx, QWORD PTR [rcx+656]
|
||
00015 4c 8b 89 88 02
|
||
00 00 mov r9, QWORD PTR [rcx+648]
|
||
0001c 4c 8b c2 mov r8, rdx
|
||
0001f 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00026 ff 15 a8 1a 00
|
||
00 call QWORD PTR _glfw+6824
|
||
0002c 85 c0 test eax, eax
|
||
0002e 75 65 jne SHORT $LN5@makeContex
|
||
|
||
; 246 : window->context.egl.surface,
|
||
; 247 : window->context.egl.surface,
|
||
; 248 : window->context.egl.handle))
|
||
; 249 : {
|
||
; 250 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
00030 ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
00036 8b c8 mov ecx, eax
|
||
00038 e8 00 00 00 00 call getEGLErrorString
|
||
0003d 4c 8b c0 mov r8, rax
|
||
00040 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CI@MPJNGPNP@EGL?3?5Failed?5to?5make?5context?5cur@
|
||
00047 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||
|
||
; 271 : }
|
||
|
||
0004c 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
00050 5b pop rbx
|
||
|
||
; 246 : window->context.egl.surface,
|
||
; 247 : window->context.egl.surface,
|
||
; 248 : window->context.egl.handle))
|
||
; 249 : {
|
||
; 250 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
00051 e9 00 00 00 00 jmp _glfwInputError
|
||
$LN2@makeContex:
|
||
|
||
; 251 : "EGL: Failed to make context current: %s",
|
||
; 252 : getEGLErrorString(eglGetError()));
|
||
; 253 : return;
|
||
; 254 : }
|
||
; 255 : }
|
||
; 256 : else
|
||
; 257 : {
|
||
; 258 : if (!eglMakeCurrent(_glfw.egl.display,
|
||
|
||
00056 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0005d 45 33 c9 xor r9d, r9d
|
||
00060 45 33 c0 xor r8d, r8d
|
||
00063 33 d2 xor edx, edx
|
||
00065 ff 15 a8 1a 00
|
||
00 call QWORD PTR _glfw+6824
|
||
0006b 85 c0 test eax, eax
|
||
0006d 75 26 jne SHORT $LN5@makeContex
|
||
|
||
; 259 : EGL_NO_SURFACE,
|
||
; 260 : EGL_NO_SURFACE,
|
||
; 261 : EGL_NO_CONTEXT))
|
||
; 262 : {
|
||
; 263 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
0006f ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
00075 8b c8 mov ecx, eax
|
||
00077 e8 00 00 00 00 call getEGLErrorString
|
||
0007c 4c 8b c0 mov r8, rax
|
||
0007f 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@NBJEEEJD@EGL?3?5Failed?5to?5clear?5current?5co@
|
||
00086 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||
|
||
; 271 : }
|
||
|
||
0008b 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
0008f 5b pop rbx
|
||
|
||
; 259 : EGL_NO_SURFACE,
|
||
; 260 : EGL_NO_SURFACE,
|
||
; 261 : EGL_NO_CONTEXT))
|
||
; 262 : {
|
||
; 263 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
00090 e9 00 00 00 00 jmp _glfwInputError
|
||
$LN5@makeContex:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
|
||
; 72 : TlsSetValue(tls->win32.index, value);
|
||
|
||
00095 8b 0d a8 19 00
|
||
00 mov ecx, DWORD PTR _glfw+6568
|
||
0009b 48 8b d3 mov rdx, rbx
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 271 : }
|
||
|
||
0009e 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
000a2 5b pop rbx
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
|
||
; 72 : TlsSetValue(tls->win32.index, value);
|
||
|
||
000a3 48 ff 25 00 00
|
||
00 00 rex_jmp QWORD PTR __imp_TlsSetValue
|
||
makeContextCurrentEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT swapBuffersEGL
|
||
_TEXT SEGMENT
|
||
window$ = 48
|
||
swapBuffersEGL PROC ; COMDAT
|
||
|
||
; 274 : {
|
||
|
||
00000 40 53 push rbx
|
||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||
00006 48 8b d9 mov rbx, rcx
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
|
||
; 66 : return TlsGetValue(tls->win32.index);
|
||
|
||
00009 8b 0d a8 19 00
|
||
00 mov ecx, DWORD PTR _glfw+6568
|
||
0000f ff 15 00 00 00
|
||
00 call QWORD PTR __imp_TlsGetValue
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 275 : if (window != _glfwPlatformGetTls(&_glfw.contextSlot))
|
||
|
||
00015 48 3b d8 cmp rbx, rax
|
||
00018 74 16 je SHORT $LN2@swapBuffer
|
||
|
||
; 276 : {
|
||
; 277 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
0001a 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0EN@CIIGDABJ@EGL?3?5The?5context?5must?5be?5curren@
|
||
00021 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||
|
||
; 292 : }
|
||
|
||
00026 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
0002a 5b pop rbx
|
||
|
||
; 276 : {
|
||
; 277 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
0002b e9 00 00 00 00 jmp _glfwInputError
|
||
$LN2@swapBuffer:
|
||
|
||
; 278 : "EGL: The context must be current on the calling thread when swapping buffers");
|
||
; 279 : return;
|
||
; 280 : }
|
||
; 281 :
|
||
; 282 : #if defined(_GLFW_WAYLAND)
|
||
; 283 : if (_glfw.platform.platformID == GLFW_PLATFORM_WAYLAND)
|
||
; 284 : {
|
||
; 285 : // NOTE: Swapping buffers on a hidden window on Wayland makes it visible
|
||
; 286 : if (!window->wl.visible)
|
||
; 287 : return;
|
||
; 288 : }
|
||
; 289 : #endif
|
||
; 290 :
|
||
; 291 : eglSwapBuffers(_glfw.egl.display, window->context.egl.surface);
|
||
|
||
00030 48 8b 93 90 02
|
||
00 00 mov rdx, QWORD PTR [rbx+656]
|
||
00037 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
|
||
; 292 : }
|
||
|
||
0003e 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
00042 5b pop rbx
|
||
|
||
; 278 : "EGL: The context must be current on the calling thread when swapping buffers");
|
||
; 279 : return;
|
||
; 280 : }
|
||
; 281 :
|
||
; 282 : #if defined(_GLFW_WAYLAND)
|
||
; 283 : if (_glfw.platform.platformID == GLFW_PLATFORM_WAYLAND)
|
||
; 284 : {
|
||
; 285 : // NOTE: Swapping buffers on a hidden window on Wayland makes it visible
|
||
; 286 : if (!window->wl.visible)
|
||
; 287 : return;
|
||
; 288 : }
|
||
; 289 : #endif
|
||
; 290 :
|
||
; 291 : eglSwapBuffers(_glfw.egl.display, window->context.egl.surface);
|
||
|
||
00043 48 ff 25 b0 1a
|
||
00 00 rex_jmp QWORD PTR _glfw+6832
|
||
swapBuffersEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT swapIntervalEGL
|
||
_TEXT SEGMENT
|
||
interval$ = 8
|
||
swapIntervalEGL PROC ; COMDAT
|
||
|
||
; 296 : eglSwapInterval(_glfw.egl.display, interval);
|
||
|
||
00000 8b d1 mov edx, ecx
|
||
00002 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00009 48 ff 25 b8 1a
|
||
00 00 rex_jmp QWORD PTR _glfw+6840
|
||
swapIntervalEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT extensionSupportedEGL
|
||
_TEXT SEGMENT
|
||
extension$ = 48
|
||
extensionSupportedEGL PROC ; COMDAT
|
||
|
||
; 300 : {
|
||
|
||
00000 40 53 push rbx
|
||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||
00006 48 8b d9 mov rbx, rcx
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00009 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
0000e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00015 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
|
||
; 302 : if (extensions)
|
||
|
||
0001b 48 85 c0 test rax, rax
|
||
0001e 74 1a je SHORT $LN3@extensionS
|
||
|
||
; 303 : {
|
||
; 304 : if (_glfwStringInExtensionString(extension, extensions))
|
||
|
||
00020 48 8b d0 mov rdx, rax
|
||
00023 48 8b cb mov rcx, rbx
|
||
00026 e8 00 00 00 00 call _glfwStringInExtensionString
|
||
0002b 33 c9 xor ecx, ecx
|
||
0002d 85 c0 test eax, eax
|
||
0002f 0f 95 c1 setne cl
|
||
00032 8b c1 mov eax, ecx
|
||
|
||
; 305 : return GLFW_TRUE;
|
||
; 306 : }
|
||
; 307 :
|
||
; 308 : return GLFW_FALSE;
|
||
; 309 : }
|
||
|
||
00034 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
00038 5b pop rbx
|
||
00039 c3 ret 0
|
||
$LN3@extensionS:
|
||
0003a 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
0003e 5b pop rbx
|
||
0003f c3 ret 0
|
||
extensionSupportedEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT getProcAddressEGL
|
||
_TEXT SEGMENT
|
||
procname$ = 48
|
||
getProcAddressEGL PROC ; COMDAT
|
||
|
||
; 312 : {
|
||
|
||
00000 40 53 push rbx
|
||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||
00006 48 8b d9 mov rbx, rcx
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_thread.c
|
||
|
||
; 66 : return TlsGetValue(tls->win32.index);
|
||
|
||
00009 8b 0d a8 19 00
|
||
00 mov ecx, DWORD PTR _glfw+6568
|
||
0000f ff 15 00 00 00
|
||
00 call QWORD PTR __imp_TlsGetValue
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 315 : if (window->context.egl.client)
|
||
|
||
00015 48 8b 88 98 02
|
||
00 00 mov rcx, QWORD PTR [rax+664]
|
||
0001c 48 85 c9 test rcx, rcx
|
||
0001f 74 0e je SHORT $LN3@getProcAdd
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
|
||
|
||
00021 48 8b d3 mov rdx, rbx
|
||
00024 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 319 : if (proc)
|
||
|
||
0002a 48 85 c0 test rax, rax
|
||
0002d 75 0f jne SHORT $LN1@getProcAdd
|
||
$LN3@getProcAdd:
|
||
|
||
; 320 : return proc;
|
||
; 321 : }
|
||
; 322 :
|
||
; 323 : return eglGetProcAddress(procname);
|
||
|
||
0002f 48 8b cb mov rcx, rbx
|
||
|
||
; 324 : }
|
||
|
||
00032 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
00036 5b pop rbx
|
||
|
||
; 320 : return proc;
|
||
; 321 : }
|
||
; 322 :
|
||
; 323 : return eglGetProcAddress(procname);
|
||
|
||
00037 48 ff 25 c8 1a
|
||
00 00 rex_jmp QWORD PTR _glfw+6856
|
||
$LN1@getProcAdd:
|
||
|
||
; 324 : }
|
||
|
||
0003e 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
00042 5b pop rbx
|
||
00043 c3 ret 0
|
||
getProcAddressEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT destroyContextEGL
|
||
_TEXT SEGMENT
|
||
window$ = 48
|
||
destroyContextEGL PROC ; COMDAT
|
||
|
||
; 327 : {
|
||
|
||
00000 40 53 push rbx
|
||
00002 48 83 ec 20 sub rsp, 32 ; 00000020H
|
||
|
||
; 328 : // NOTE: Do not unload libGL.so.1 while the X11 display is still open,
|
||
; 329 : // as it will make XCloseDisplay segfault
|
||
; 330 : if (_glfw.platform.platformID != GLFW_PLATFORM_X11 ||
|
||
|
||
00006 81 3d 28 00 00
|
||
00 04 00 06 00 cmp DWORD PTR _glfw+40, 393220 ; 00060004H
|
||
00010 48 8b d9 mov rbx, rcx
|
||
00013 75 0c jne SHORT $LN3@destroyCon
|
||
00015 81 b9 08 02 00
|
||
00 01 00 03 00 cmp DWORD PTR [rcx+520], 196609 ; 00030001H
|
||
0001f 74 1d je SHORT $LN4@destroyCon
|
||
$LN3@destroyCon:
|
||
|
||
; 331 : window->context.client != GLFW_OPENGL_API)
|
||
; 332 : {
|
||
; 333 : if (window->context.egl.client)
|
||
|
||
00021 48 8b 89 98 02
|
||
00 00 mov rcx, QWORD PTR [rcx+664]
|
||
00028 48 85 c9 test rcx, rcx
|
||
0002b 74 11 je SHORT $LN4@destroyCon
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 44 : FreeLibrary((HMODULE)module);
|
||
|
||
0002d ff 15 00 00 00
|
||
00 call QWORD PTR __imp_FreeLibrary
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 336 : window->context.egl.client = NULL;
|
||
|
||
00033 48 c7 83 98 02
|
||
00 00 00 00 00
|
||
00 mov QWORD PTR [rbx+664], 0
|
||
$LN4@destroyCon:
|
||
|
||
; 337 : }
|
||
; 338 : }
|
||
; 339 :
|
||
; 340 : if (window->context.egl.surface)
|
||
|
||
0003e 48 8b 93 90 02
|
||
00 00 mov rdx, QWORD PTR [rbx+656]
|
||
00045 48 85 d2 test rdx, rdx
|
||
00048 74 18 je SHORT $LN5@destroyCon
|
||
|
||
; 341 : {
|
||
; 342 : eglDestroySurface(_glfw.egl.display, window->context.egl.surface);
|
||
|
||
0004a 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00051 ff 15 90 1a 00
|
||
00 call QWORD PTR _glfw+6800
|
||
|
||
; 343 : window->context.egl.surface = EGL_NO_SURFACE;
|
||
|
||
00057 48 c7 83 90 02
|
||
00 00 00 00 00
|
||
00 mov QWORD PTR [rbx+656], 0
|
||
$LN5@destroyCon:
|
||
|
||
; 344 : }
|
||
; 345 :
|
||
; 346 : if (window->context.egl.handle)
|
||
|
||
00062 48 8b 93 88 02
|
||
00 00 mov rdx, QWORD PTR [rbx+648]
|
||
00069 48 85 d2 test rdx, rdx
|
||
0006c 74 18 je SHORT $LN6@destroyCon
|
||
|
||
; 347 : {
|
||
; 348 : eglDestroyContext(_glfw.egl.display, window->context.egl.handle);
|
||
|
||
0006e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00075 ff 15 98 1a 00
|
||
00 call QWORD PTR _glfw+6808
|
||
|
||
; 349 : window->context.egl.handle = EGL_NO_CONTEXT;
|
||
|
||
0007b 48 c7 83 88 02
|
||
00 00 00 00 00
|
||
00 mov QWORD PTR [rbx+648], 0
|
||
$LN6@destroyCon:
|
||
|
||
; 350 : }
|
||
; 351 : }
|
||
|
||
00086 48 83 c4 20 add rsp, 32 ; 00000020H
|
||
0008a 5b pop rbx
|
||
0008b c3 ret 0
|
||
destroyContextEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT _glfwInitEGL
|
||
_TEXT SEGMENT
|
||
sonames$ = 32
|
||
attribs$ = 56
|
||
__$ArrayPad$ = 64
|
||
_glfwInitEGL PROC ; COMDAT
|
||
|
||
; 361 : {
|
||
|
||
$LN419:
|
||
00000 40 57 push rdi
|
||
00002 48 83 ec 50 sub rsp, 80 ; 00000050H
|
||
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 40 mov QWORD PTR __$ArrayPad$[rsp], rax
|
||
|
||
; 362 : int i;
|
||
; 363 : EGLint* attribs = NULL;
|
||
|
||
00015 33 ff xor edi, edi
|
||
|
||
; 364 : const char* extensions;
|
||
; 365 : const char* sonames[] =
|
||
|
||
00017 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0L@ELKKGGMD@libEGL?4dll@
|
||
|
||
; 366 : {
|
||
; 367 : #if defined(_GLFW_EGL_LIBRARY)
|
||
; 368 : _GLFW_EGL_LIBRARY,
|
||
; 369 : #elif defined(_GLFW_WIN32)
|
||
; 370 : "libEGL.dll",
|
||
; 371 : "EGL.dll",
|
||
; 372 : #elif defined(_GLFW_COCOA)
|
||
; 373 : "libEGL.dylib",
|
||
; 374 : #elif defined(__CYGWIN__)
|
||
; 375 : "libEGL-1.so",
|
||
; 376 : #elif defined(__OpenBSD__) || defined(__NetBSD__)
|
||
; 377 : "libEGL.so",
|
||
; 378 : #else
|
||
; 379 : "libEGL.so.1",
|
||
; 380 : #endif
|
||
; 381 : NULL
|
||
; 382 : };
|
||
; 383 :
|
||
; 384 : if (_glfw.egl.handle)
|
||
|
||
0001e 48 39 3d 48 1a
|
||
00 00 cmp QWORD PTR _glfw+6728, rdi
|
||
00025 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:??_C@_07EAKGIKCB@EGL?4dll@
|
||
0002c 48 89 7c 24 38 mov QWORD PTR attribs$[rsp], rdi
|
||
00031 48 89 44 24 20 mov QWORD PTR sonames$[rsp], rax
|
||
00036 48 89 4c 24 28 mov QWORD PTR sonames$[rsp+8], rcx
|
||
0003b 48 89 7c 24 30 mov QWORD PTR sonames$[rsp+16], rdi
|
||
00040 74 16 je SHORT $LN5@glfwInitEG
|
||
|
||
; 385 : return GLFW_TRUE;
|
||
|
||
00042 8d 47 01 lea eax, QWORD PTR [rdi+1]
|
||
|
||
; 538 : }
|
||
|
||
00045 48 8b 4c 24 40 mov rcx, QWORD PTR __$ArrayPad$[rsp]
|
||
0004a 48 33 cc xor rcx, rsp
|
||
0004d e8 00 00 00 00 call __security_check_cookie
|
||
00052 48 83 c4 50 add rsp, 80 ; 00000050H
|
||
00056 5f pop rdi
|
||
00057 c3 ret 0
|
||
$LN5@glfwInitEG:
|
||
00058 48 89 5c 24 60 mov QWORD PTR [rsp+96], rbx
|
||
0005d 48 8b df mov rbx, rdi
|
||
00060 48 89 74 24 68 mov QWORD PTR [rsp+104], rsi
|
||
|
||
; 386 :
|
||
; 387 : for (i = 0; sonames[i]; i++)
|
||
|
||
00065 8b f7 mov esi, edi
|
||
$LL4@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 39 : return LoadLibraryA(path);
|
||
|
||
00067 48 8b c8 mov rcx, rax
|
||
0006a ff 15 00 00 00
|
||
00 call QWORD PTR __imp_LoadLibraryA
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 389 : _glfw.egl.handle = _glfwPlatformLoadModule(sonames[i]);
|
||
|
||
00070 48 89 05 48 1a
|
||
00 00 mov QWORD PTR _glfw+6728, rax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 39 : return LoadLibraryA(path);
|
||
|
||
00077 48 8b c8 mov rcx, rax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 389 : _glfw.egl.handle = _glfwPlatformLoadModule(sonames[i]);
|
||
|
||
0007a 48 85 c0 test rax, rax
|
||
|
||
; 390 : if (_glfw.egl.handle)
|
||
|
||
0007d 75 0f jne SHORT $LN240@glfwInitEG
|
||
|
||
; 386 :
|
||
; 387 : for (i = 0; sonames[i]; i++)
|
||
|
||
0007f 48 8b 44 dc 28 mov rax, QWORD PTR sonames$[rsp+rbx*8+8]
|
||
00084 48 ff c3 inc rbx
|
||
00087 ff c6 inc esi
|
||
00089 48 85 c0 test rax, rax
|
||
0008c 75 d9 jne SHORT $LL4@glfwInitEG
|
||
$LN240@glfwInitEG:
|
||
|
||
; 391 : break;
|
||
; 392 : }
|
||
; 393 :
|
||
; 394 : if (!_glfw.egl.handle)
|
||
|
||
0008e 48 85 c9 test rcx, rcx
|
||
00091 75 16 jne SHORT $LN7@glfwInitEG
|
||
|
||
; 395 : {
|
||
; 396 : _glfwInputError(GLFW_API_UNAVAILABLE, "EGL: Library not found");
|
||
|
||
00093 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@NFNALLIN@EGL?3?5Library?5not?5found@
|
||
0009a b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
0009f e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 397 : return GLFW_FALSE;
|
||
|
||
000a4 e9 b7 09 00 00 jmp $LN54@glfwInitEG
|
||
$LN7@glfwInitEG:
|
||
|
||
; 400 : _glfw.egl.prefix = (strncmp(sonames[i], "lib", 3) == 0);
|
||
|
||
000a9 48 63 ce movsxd rcx, esi
|
||
000ac 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_03LPIGJBNC@lib@
|
||
000b3 41 b8 03 00 00
|
||
00 mov r8d, 3
|
||
000b9 48 8b 4c cc 20 mov rcx, QWORD PTR sonames$[rsp+rcx*8]
|
||
000be ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strncmp
|
||
000c4 8b cf mov ecx, edi
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
|
||
|
||
000c6 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BD@MAEGKKAE@eglGetConfigAttrib@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 400 : _glfw.egl.prefix = (strncmp(sonames[i], "lib", 3) == 0);
|
||
|
||
000cd 85 c0 test eax, eax
|
||
000cf 0f 94 c1 sete cl
|
||
000d2 89 0d 08 1a 00
|
||
00 mov DWORD PTR _glfw+6664, ecx
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
|
||
|
||
000d8 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
000df ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
000e5 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
000ec 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0O@OMNEJBKO@eglGetConfigs@
|
||
000f3 48 89 05 50 1a
|
||
00 00 mov QWORD PTR _glfw+6736, rax
|
||
000fa ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00100 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00107 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0O@BMJFLKOA@eglGetDisplay@
|
||
0010e 48 89 05 58 1a
|
||
00 00 mov QWORD PTR _glfw+6744, rax
|
||
00115 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
0011b 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00122 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0M@PPADKGOK@eglGetError@
|
||
00129 48 89 05 60 1a
|
||
00 00 mov QWORD PTR _glfw+6752, rax
|
||
00130 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00136 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
0013d 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0O@EEJFKEKH@eglInitialize@
|
||
00144 48 89 05 68 1a
|
||
00 00 mov QWORD PTR _glfw+6760, rax
|
||
0014b ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00151 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00158 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0N@IGFNFAOP@eglTerminate@
|
||
0015f 48 89 05 70 1a
|
||
00 00 mov QWORD PTR _glfw+6768, rax
|
||
00166 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
0016c 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00173 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0L@HJOCIPHF@eglBindAPI@
|
||
0017a 48 89 05 78 1a
|
||
00 00 mov QWORD PTR _glfw+6776, rax
|
||
00181 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00187 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
0018e 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BB@KEKMNHDF@eglCreateContext@
|
||
00195 48 89 05 80 1a
|
||
00 00 mov QWORD PTR _glfw+6784, rax
|
||
0019c ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
001a2 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
001a9 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BC@ICHKG@eglDestroySurface@
|
||
001b0 48 89 05 88 1a
|
||
00 00 mov QWORD PTR _glfw+6792, rax
|
||
001b7 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
001bd 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
001c4 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BC@BNOBCLNJ@eglDestroyContext@
|
||
001cb 48 89 05 90 1a
|
||
00 00 mov QWORD PTR _glfw+6800, rax
|
||
001d2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
001d8 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
001df 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@MDMCFBDG@eglCreateWindowSurface@
|
||
001e6 48 89 05 98 1a
|
||
00 00 mov QWORD PTR _glfw+6808, rax
|
||
001ed ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
001f3 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
001fa 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0P@PNPBPNLI@eglMakeCurrent@
|
||
00201 48 89 05 a0 1a
|
||
00 00 mov QWORD PTR _glfw+6816, rax
|
||
00208 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
0020e 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00215 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0P@DEBOOHKH@eglSwapBuffers@
|
||
0021c 48 89 05 a8 1a
|
||
00 00 mov QWORD PTR _glfw+6824, rax
|
||
00223 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00229 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00230 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BA@BGJPOLDF@eglSwapInterval@
|
||
00237 48 89 05 b0 1a
|
||
00 00 mov QWORD PTR _glfw+6832, rax
|
||
0023e ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
00244 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
0024b 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0P@HJKEKLKD@eglQueryString@
|
||
00252 48 89 05 b8 1a
|
||
00 00 mov QWORD PTR _glfw+6840, rax
|
||
00259 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
0025f 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00266 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BC@HONLJDPH@eglGetProcAddress@
|
||
0026d 48 89 05 c0 1a
|
||
00 00 mov QWORD PTR _glfw+6848, rax
|
||
00274 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_GetProcAddress
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 449 : !_glfw.egl.QueryString ||
|
||
|
||
0027a 48 39 3d 50 1a
|
||
00 00 cmp QWORD PTR _glfw+6736, rdi
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 49 : return (GLFWproc)GetProcAddress((HMODULE)module, name);
|
||
|
||
00281 48 8b c8 mov rcx, rax
|
||
00284 48 89 05 c8 1a
|
||
00 00 mov QWORD PTR _glfw+6856, rax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 449 : !_glfw.egl.QueryString ||
|
||
|
||
0028b 0f 84 8c 07 00
|
||
00 je $LN9@glfwInitEG
|
||
00291 48 39 3d 58 1a
|
||
00 00 cmp QWORD PTR _glfw+6744, rdi
|
||
00298 0f 84 7f 07 00
|
||
00 je $LN9@glfwInitEG
|
||
0029e 48 39 3d 60 1a
|
||
00 00 cmp QWORD PTR _glfw+6752, rdi
|
||
002a5 0f 84 72 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002ab 48 39 3d 68 1a
|
||
00 00 cmp QWORD PTR _glfw+6760, rdi
|
||
002b2 0f 84 65 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002b8 48 39 3d 70 1a
|
||
00 00 cmp QWORD PTR _glfw+6768, rdi
|
||
002bf 0f 84 58 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002c5 48 39 3d 78 1a
|
||
00 00 cmp QWORD PTR _glfw+6776, rdi
|
||
002cc 0f 84 4b 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002d2 48 39 3d 80 1a
|
||
00 00 cmp QWORD PTR _glfw+6784, rdi
|
||
002d9 0f 84 3e 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002df 48 39 3d 88 1a
|
||
00 00 cmp QWORD PTR _glfw+6792, rdi
|
||
002e6 0f 84 31 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002ec 48 39 3d 90 1a
|
||
00 00 cmp QWORD PTR _glfw+6800, rdi
|
||
002f3 0f 84 24 07 00
|
||
00 je $LN9@glfwInitEG
|
||
002f9 48 39 3d 98 1a
|
||
00 00 cmp QWORD PTR _glfw+6808, rdi
|
||
00300 0f 84 17 07 00
|
||
00 je $LN9@glfwInitEG
|
||
00306 48 39 3d a0 1a
|
||
00 00 cmp QWORD PTR _glfw+6816, rdi
|
||
0030d 0f 84 0a 07 00
|
||
00 je $LN9@glfwInitEG
|
||
00313 48 39 3d a8 1a
|
||
00 00 cmp QWORD PTR _glfw+6824, rdi
|
||
0031a 0f 84 fd 06 00
|
||
00 je $LN9@glfwInitEG
|
||
00320 48 39 3d b0 1a
|
||
00 00 cmp QWORD PTR _glfw+6832, rdi
|
||
00327 0f 84 f0 06 00
|
||
00 je $LN9@glfwInitEG
|
||
0032d 48 39 3d b8 1a
|
||
00 00 cmp QWORD PTR _glfw+6840, rdi
|
||
00334 0f 84 e3 06 00
|
||
00 je $LN9@glfwInitEG
|
||
0033a 48 8b 05 c0 1a
|
||
00 00 mov rax, QWORD PTR _glfw+6848
|
||
00341 48 85 c0 test rax, rax
|
||
00344 0f 84 d3 06 00
|
||
00 je $LN9@glfwInitEG
|
||
0034a 48 85 c9 test rcx, rcx
|
||
0034d 0f 84 ca 06 00
|
||
00 je $LN9@glfwInitEG
|
||
|
||
; 457 : }
|
||
; 458 :
|
||
; 459 : extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
|
||
|
||
00353 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
00358 33 c9 xor ecx, ecx
|
||
0035a ff d0 call rax
|
||
0035c 48 8b d8 mov rbx, rax
|
||
|
||
; 460 : if (extensions && eglGetError() == EGL_SUCCESS)
|
||
|
||
0035f 48 85 c0 test rax, rax
|
||
00362 74 19 je SHORT $LN10@glfwInitEG
|
||
00364 ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
0036a 3d 00 30 00 00 cmp eax, 12288 ; 00003000H
|
||
0036f 75 0c jne SHORT $LN10@glfwInitEG
|
||
|
||
; 461 : _glfw.egl.EXT_client_extensions = GLFW_TRUE;
|
||
|
||
00371 c7 05 20 1a 00
|
||
00 01 00 00 00 mov DWORD PTR _glfw+6688, 1
|
||
|
||
; 462 :
|
||
; 463 : if (_glfw.egl.EXT_client_extensions)
|
||
|
||
0037b eb 0c jmp SHORT $LN323@glfwInitEG
|
||
$LN10@glfwInitEG:
|
||
0037d 39 3d 20 1a 00
|
||
00 cmp DWORD PTR _glfw+6688, edi
|
||
00383 0f 84 7c 02 00
|
||
00 je $LN11@glfwInitEG
|
||
$LN323@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00389 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BG@IPJFJLIC@EGL_EXT_platform_base@
|
||
00390 48 8b cb mov rcx, rbx
|
||
00393 48 8b f3 mov rsi, rbx
|
||
00396 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
0039c 48 85 c0 test rax, rax
|
||
0039f 74 2d je SHORT $LN241@glfwInitEG
|
||
$LL62@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
003a1 48 8d 48 15 lea rcx, QWORD PTR [rax+21]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
003a5 48 3b c6 cmp rax, rsi
|
||
003a8 74 06 je SHORT $LN67@glfwInitEG
|
||
003aa 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
003ae 75 09 jne SHORT $LN324@glfwInitEG
|
||
$LN67@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
003b0 f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
003b3 0f 84 ad 02 00
|
||
00 je $LN242@glfwInitEG
|
||
$LN324@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
003b9 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BG@IPJFJLIC@EGL_EXT_platform_base@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
003c0 48 8b f1 mov rsi, rcx
|
||
003c3 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
003c9 48 85 c0 test rax, rax
|
||
003cc 75 d3 jne SHORT $LL62@glfwInitEG
|
||
$LN241@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
003ce 8b c7 mov eax, edi
|
||
$LN61@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
003d0 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BF@FMIKFMMH@EGL_EXT_platform_x11@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 465 : _glfw.egl.EXT_platform_base =
|
||
|
||
003d7 89 05 24 1a 00
|
||
00 mov DWORD PTR _glfw+6692, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
003dd 48 8b cb mov rcx, rbx
|
||
003e0 48 8b f3 mov rsi, rbx
|
||
003e3 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
003e9 48 85 c0 test rax, rax
|
||
003ec 74 2f je SHORT $LN243@glfwInitEG
|
||
003ee 66 90 npad 2
|
||
$LL72@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
003f0 48 8d 48 14 lea rcx, QWORD PTR [rax+20]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
003f4 48 3b c6 cmp rax, rsi
|
||
003f7 74 06 je SHORT $LN77@glfwInitEG
|
||
003f9 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
003fd 75 09 jne SHORT $LN325@glfwInitEG
|
||
$LN77@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
003ff f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00402 0f 84 68 02 00
|
||
00 je $LN244@glfwInitEG
|
||
$LN325@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00408 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BF@FMIKFMMH@EGL_EXT_platform_x11@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0040f 48 8b f1 mov rsi, rcx
|
||
00412 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00418 48 85 c0 test rax, rax
|
||
0041b 75 d3 jne SHORT $LL72@glfwInitEG
|
||
$LN243@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
0041d 8b c7 mov eax, edi
|
||
$LN71@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0041f 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@KIPDFNMM@EGL_EXT_platform_wayland@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 467 : _glfw.egl.EXT_platform_x11 =
|
||
|
||
00426 89 05 28 1a 00
|
||
00 mov DWORD PTR _glfw+6696, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0042c 48 8b cb mov rcx, rbx
|
||
0042f 48 8b f3 mov rsi, rbx
|
||
00432 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00438 48 85 c0 test rax, rax
|
||
0043b 74 30 je SHORT $LN245@glfwInitEG
|
||
0043d 0f 1f 00 npad 3
|
||
$LL82@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00440 48 8d 48 18 lea rcx, QWORD PTR [rax+24]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00444 48 3b c6 cmp rax, rsi
|
||
00447 74 06 je SHORT $LN87@glfwInitEG
|
||
00449 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0044d 75 09 jne SHORT $LN326@glfwInitEG
|
||
$LN87@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0044f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00452 0f 84 22 02 00
|
||
00 je $LN246@glfwInitEG
|
||
$LN326@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00458 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@KIPDFNMM@EGL_EXT_platform_wayland@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0045f 48 8b f1 mov rsi, rcx
|
||
00462 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00468 48 85 c0 test rax, rax
|
||
0046b 75 d3 jne SHORT $LL82@glfwInitEG
|
||
$LN245@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
0046d 8b c7 mov eax, edi
|
||
$LN81@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0046f 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@MBCLFEBK@EGL_ANGLE_platform_angle@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 469 : _glfw.egl.EXT_platform_wayland =
|
||
|
||
00476 89 05 2c 1a 00
|
||
00 mov DWORD PTR _glfw+6700, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0047c 48 8b cb mov rcx, rbx
|
||
0047f 48 8b f3 mov rsi, rbx
|
||
00482 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00488 48 85 c0 test rax, rax
|
||
0048b 74 30 je SHORT $LN247@glfwInitEG
|
||
0048d 0f 1f 00 npad 3
|
||
$LL92@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00490 48 8d 48 18 lea rcx, QWORD PTR [rax+24]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00494 48 3b c6 cmp rax, rsi
|
||
00497 74 06 je SHORT $LN97@glfwInitEG
|
||
00499 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0049d 75 09 jne SHORT $LN98@glfwInitEG
|
||
$LN97@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0049f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
004a2 0f 84 dc 01 00
|
||
00 je $LN248@glfwInitEG
|
||
$LN98@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
004a8 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BJ@MBCLFEBK@EGL_ANGLE_platform_angle@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
004af 48 8b f1 mov rsi, rcx
|
||
004b2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
004b8 48 85 c0 test rax, rax
|
||
004bb 75 d3 jne SHORT $LL92@glfwInitEG
|
||
$LN247@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
004bd 8b c7 mov eax, edi
|
||
$LN91@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
004bf 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@NIHAEPLD@EGL_ANGLE_platform_angle_opengl@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 471 : _glfw.egl.ANGLE_platform_angle =
|
||
|
||
004c6 89 05 34 1a 00
|
||
00 mov DWORD PTR _glfw+6708, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
004cc 48 8b cb mov rcx, rbx
|
||
004cf 48 8b f3 mov rsi, rbx
|
||
004d2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
004d8 48 85 c0 test rax, rax
|
||
004db 74 30 je SHORT $LN249@glfwInitEG
|
||
004dd 0f 1f 00 npad 3
|
||
$LL122@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
004e0 48 8d 48 1f lea rcx, QWORD PTR [rax+31]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
004e4 48 3b c6 cmp rax, rsi
|
||
004e7 74 06 je SHORT $LN127@glfwInitEG
|
||
004e9 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
004ed 75 09 jne SHORT $LN128@glfwInitEG
|
||
$LN127@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
004ef f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
004f2 0f 84 96 01 00
|
||
00 je $LN250@glfwInitEG
|
||
$LN128@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
004f8 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@NIHAEPLD@EGL_ANGLE_platform_angle_opengl@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
004ff 48 8b f1 mov rsi, rcx
|
||
00502 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00508 48 85 c0 test rax, rax
|
||
0050b 75 d3 jne SHORT $LL122@glfwInitEG
|
||
$LN249@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
0050d 8b c7 mov eax, edi
|
||
$LN121@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0050f 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BN@OHLJPDPM@EGL_ANGLE_platform_angle_d3d@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 473 : _glfw.egl.ANGLE_platform_angle_opengl =
|
||
|
||
00516 89 05 38 1a 00
|
||
00 mov DWORD PTR _glfw+6712, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0051c 48 8b cb mov rcx, rbx
|
||
0051f 48 8b f3 mov rsi, rbx
|
||
00522 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00528 48 85 c0 test rax, rax
|
||
0052b 74 30 je SHORT $LN251@glfwInitEG
|
||
0052d 0f 1f 00 npad 3
|
||
$LL132@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00530 48 8d 48 1c lea rcx, QWORD PTR [rax+28]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00534 48 3b c6 cmp rax, rsi
|
||
00537 74 06 je SHORT $LN137@glfwInitEG
|
||
00539 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0053d 75 09 jne SHORT $LN138@glfwInitEG
|
||
$LN137@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0053f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00542 0f 84 50 01 00
|
||
00 je $LN252@glfwInitEG
|
||
$LN138@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00548 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BN@OHLJPDPM@EGL_ANGLE_platform_angle_d3d@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0054f 48 8b f1 mov rsi, rcx
|
||
00552 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00558 48 85 c0 test rax, rax
|
||
0055b 75 d3 jne SHORT $LL132@glfwInitEG
|
||
$LN251@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
0055d 8b c7 mov eax, edi
|
||
$LN131@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0055f 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@HGIOILGO@EGL_ANGLE_platform_angle_vulkan@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 475 : _glfw.egl.ANGLE_platform_angle_d3d =
|
||
|
||
00566 89 05 3c 1a 00
|
||
00 mov DWORD PTR _glfw+6716, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0056c 48 8b cb mov rcx, rbx
|
||
0056f 48 8b f3 mov rsi, rbx
|
||
00572 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00578 48 85 c0 test rax, rax
|
||
0057b 74 30 je SHORT $LN253@glfwInitEG
|
||
0057d 0f 1f 00 npad 3
|
||
$LL102@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00580 48 8d 48 1f lea rcx, QWORD PTR [rax+31]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00584 48 3b c6 cmp rax, rsi
|
||
00587 74 06 je SHORT $LN107@glfwInitEG
|
||
00589 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0058d 75 09 jne SHORT $LN108@glfwInitEG
|
||
$LN107@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0058f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00592 0f 84 0a 01 00
|
||
00 je $LN254@glfwInitEG
|
||
$LN108@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00598 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@HGIOILGO@EGL_ANGLE_platform_angle_vulkan@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0059f 48 8b f1 mov rsi, rcx
|
||
005a2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
005a8 48 85 c0 test rax, rax
|
||
005ab 75 d3 jne SHORT $LL102@glfwInitEG
|
||
$LN253@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
005ad 8b c7 mov eax, edi
|
||
$LN101@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
005af 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BP@NMKFFDCO@EGL_ANGLE_platform_angle_metal@
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 477 : _glfw.egl.ANGLE_platform_angle_vulkan =
|
||
|
||
005b6 89 05 40 1a 00
|
||
00 mov DWORD PTR _glfw+6720, eax
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
005bc 48 8b cb mov rcx, rbx
|
||
005bf ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
005c5 48 85 c0 test rax, rax
|
||
005c8 74 33 je SHORT $LN255@glfwInitEG
|
||
005ca 66 0f 1f 44 00
|
||
00 npad 6
|
||
$LL112@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
005d0 48 8d 48 1e lea rcx, QWORD PTR [rax+30]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
005d4 48 3b c3 cmp rax, rbx
|
||
005d7 74 06 je SHORT $LN117@glfwInitEG
|
||
005d9 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
005dd 75 09 jne SHORT $LN118@glfwInitEG
|
||
$LN117@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
005df f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
005e2 0f 84 c4 00 00
|
||
00 je $LN256@glfwInitEG
|
||
$LN118@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
005e8 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BP@NMKFFDCO@EGL_ANGLE_platform_angle_metal@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
005ef 48 8b d9 mov rbx, rcx
|
||
005f2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
005f8 48 85 c0 test rax, rax
|
||
005fb 75 d3 jne SHORT $LL112@glfwInitEG
|
||
$LN255@glfwInitEG:
|
||
|
||
; 596 : return GLFW_FALSE;
|
||
|
||
005fd 8b c7 mov eax, edi
|
||
$LN111@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 479 : _glfw.egl.ANGLE_platform_angle_metal =
|
||
|
||
005ff 89 05 44 1a 00
|
||
00 mov DWORD PTR _glfw+6724, eax
|
||
$LN11@glfwInitEG:
|
||
|
||
; 480 : _glfwStringInExtensionString("EGL_ANGLE_platform_angle_metal", extensions);
|
||
; 481 : }
|
||
; 482 :
|
||
; 483 : if (_glfw.egl.EXT_platform_base)
|
||
|
||
00605 39 3d 24 1a 00
|
||
00 cmp DWORD PTR _glfw+6692, edi
|
||
0060b 74 28 je SHORT $LN12@glfwInitEG
|
||
|
||
; 484 : {
|
||
; 485 : _glfw.egl.GetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)
|
||
|
||
0060d 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:??_C@_0BJ@KEAIGPHD@eglGetPlatformDisplayEXT@
|
||
00614 ff 15 c8 1a 00
|
||
00 call QWORD PTR _glfw+6856
|
||
|
||
; 486 : eglGetProcAddress("eglGetPlatformDisplayEXT");
|
||
; 487 : _glfw.egl.CreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)
|
||
|
||
0061a 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:??_C@_0CC@NGDHIGBI@eglCreatePlatformWindowSurfaceE@
|
||
00621 48 89 05 d0 1a
|
||
00 00 mov QWORD PTR _glfw+6864, rax
|
||
00628 ff 15 c8 1a 00
|
||
00 call QWORD PTR _glfw+6856
|
||
0062e 48 89 05 d8 1a
|
||
00 00 mov QWORD PTR _glfw+6872, rax
|
||
$LN12@glfwInitEG:
|
||
|
||
; 488 : eglGetProcAddress("eglCreatePlatformWindowSurfaceEXT");
|
||
; 489 : }
|
||
; 490 :
|
||
; 491 : _glfw.egl.platform = _glfw.platform.getEGLPlatform(&attribs);
|
||
|
||
00635 48 8d 4c 24 38 lea rcx, QWORD PTR attribs$[rsp]
|
||
0063a ff 15 38 02 00
|
||
00 call QWORD PTR _glfw+568
|
||
00640 89 05 f0 19 00
|
||
00 mov DWORD PTR _glfw+6640, eax
|
||
00646 85 c0 test eax, eax
|
||
|
||
; 492 : if (_glfw.egl.platform)
|
||
|
||
00648 74 6c je SHORT $LN13@glfwInitEG
|
||
|
||
; 493 : {
|
||
; 494 : _glfw.egl.display =
|
||
|
||
0064a ff 15 40 02 00
|
||
00 call QWORD PTR _glfw+576
|
||
00650 4c 8b 44 24 38 mov r8, QWORD PTR attribs$[rsp]
|
||
00655 48 8b d0 mov rdx, rax
|
||
00658 8b 0d f0 19 00
|
||
00 mov ecx, DWORD PTR _glfw+6640
|
||
0065e ff 15 d0 1a 00
|
||
00 call QWORD PTR _glfw+6864
|
||
|
||
; 495 : eglGetPlatformDisplayEXT(_glfw.egl.platform,
|
||
; 496 : _glfw.platform.getEGLNativeDisplay(),
|
||
; 497 : attribs);
|
||
; 498 : }
|
||
|
||
00664 eb 5f jmp SHORT $LN417@glfwInitEG
|
||
$LN242@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 608 : return GLFW_TRUE;
|
||
|
||
00666 b8 01 00 00 00 mov eax, 1
|
||
0066b e9 60 fd ff ff jmp $LN61@glfwInitEG
|
||
$LN244@glfwInitEG:
|
||
00670 b8 01 00 00 00 mov eax, 1
|
||
00675 e9 a5 fd ff ff jmp $LN71@glfwInitEG
|
||
$LN246@glfwInitEG:
|
||
0067a b8 01 00 00 00 mov eax, 1
|
||
0067f e9 eb fd ff ff jmp $LN81@glfwInitEG
|
||
$LN248@glfwInitEG:
|
||
00684 b8 01 00 00 00 mov eax, 1
|
||
00689 e9 31 fe ff ff jmp $LN91@glfwInitEG
|
||
$LN250@glfwInitEG:
|
||
0068e b8 01 00 00 00 mov eax, 1
|
||
00693 e9 77 fe ff ff jmp $LN121@glfwInitEG
|
||
$LN252@glfwInitEG:
|
||
00698 b8 01 00 00 00 mov eax, 1
|
||
0069d e9 bd fe ff ff jmp $LN131@glfwInitEG
|
||
$LN254@glfwInitEG:
|
||
006a2 b8 01 00 00 00 mov eax, 1
|
||
006a7 e9 03 ff ff ff jmp $LN101@glfwInitEG
|
||
$LN256@glfwInitEG:
|
||
006ac b8 01 00 00 00 mov eax, 1
|
||
006b1 e9 49 ff ff ff jmp $LN111@glfwInitEG
|
||
$LN13@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 500 : _glfw.egl.display = eglGetDisplay(_glfw.platform.getEGLNativeDisplay());
|
||
|
||
006b6 ff 15 40 02 00
|
||
00 call QWORD PTR _glfw+576
|
||
006bc 48 8b c8 mov rcx, rax
|
||
006bf ff 15 60 1a 00
|
||
00 call QWORD PTR _glfw+6752
|
||
$LN417@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\init.c
|
||
|
||
; 320 : if (block)
|
||
|
||
006c5 48 8b 4c 24 38 mov rcx, QWORD PTR attribs$[rsp]
|
||
006ca 48 89 05 f8 19
|
||
00 00 mov QWORD PTR _glfw+6648, rax
|
||
006d1 48 85 c9 test rcx, rcx
|
||
006d4 74 14 je SHORT $LN59@glfwInitEG
|
||
|
||
; 321 : _glfw.allocator.deallocate(block, _glfw.allocator.user);
|
||
|
||
006d6 48 8b 15 20 00
|
||
00 00 mov rdx, QWORD PTR _glfw+32
|
||
006dd ff 15 18 00 00
|
||
00 call QWORD PTR _glfw+24
|
||
006e3 48 8b 05 f8 19
|
||
00 00 mov rax, QWORD PTR _glfw+6648
|
||
$LN59@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 504 : if (_glfw.egl.display == EGL_NO_DISPLAY)
|
||
|
||
006ea 48 85 c0 test rax, rax
|
||
006ed 75 2b jne SHORT $LN15@glfwInitEG
|
||
|
||
; 505 : {
|
||
; 506 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
006ef ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
006f5 8b c8 mov ecx, eax
|
||
006f7 e8 00 00 00 00 call getEGLErrorString
|
||
006fc 4c 8b c0 mov r8, rax
|
||
006ff 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CD@CODEPNKE@EGL?3?5Failed?5to?5get?5EGL?5display?3@
|
||
00706 b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
0070b e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 507 : "EGL: Failed to get EGL display: %s",
|
||
; 508 : getEGLErrorString(eglGetError()));
|
||
; 509 :
|
||
; 510 : _glfwTerminateEGL();
|
||
|
||
00710 e8 00 00 00 00 call _glfwTerminateEGL
|
||
|
||
; 511 : return GLFW_FALSE;
|
||
|
||
00715 e9 46 03 00 00 jmp $LN54@glfwInitEG
|
||
$LN15@glfwInitEG:
|
||
|
||
; 512 : }
|
||
; 513 :
|
||
; 514 : if (!eglInitialize(_glfw.egl.display, &_glfw.egl.major, &_glfw.egl.minor))
|
||
|
||
0071a 4c 8d 05 04 1a
|
||
00 00 lea r8, OFFSET FLAT:_glfw+6660
|
||
00721 48 8b c8 mov rcx, rax
|
||
00724 48 8d 15 00 1a
|
||
00 00 lea rdx, OFFSET FLAT:_glfw+6656
|
||
0072b ff 15 70 1a 00
|
||
00 call QWORD PTR _glfw+6768
|
||
00731 85 c0 test eax, eax
|
||
00733 75 2b jne SHORT $LN16@glfwInitEG
|
||
|
||
; 515 : {
|
||
; 516 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
00735 ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
0073b 8b c8 mov ecx, eax
|
||
0073d e8 00 00 00 00 call getEGLErrorString
|
||
00742 4c 8b c0 mov r8, rax
|
||
00745 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CC@DOIEFDD@EGL?3?5Failed?5to?5initialize?5EGL?3?5@
|
||
0074c b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
00751 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 517 : "EGL: Failed to initialize EGL: %s",
|
||
; 518 : getEGLErrorString(eglGetError()));
|
||
; 519 :
|
||
; 520 : _glfwTerminateEGL();
|
||
|
||
00756 e8 00 00 00 00 call _glfwTerminateEGL
|
||
|
||
; 521 : return GLFW_FALSE;
|
||
|
||
0075b e9 00 03 00 00 jmp $LN54@glfwInitEG
|
||
$LN16@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00760 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00767 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
0076c ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
00772 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
00775 48 85 c0 test rax, rax
|
||
00778 74 43 je SHORT $LN143@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0077a 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@GIBFIFPN@EGL_KHR_create_context@
|
||
00781 48 8b c8 mov rcx, rax
|
||
00784 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
0078a 48 85 c0 test rax, rax
|
||
0078d 74 2e je SHORT $LN143@glfwInitEG
|
||
0078f 90 npad 1
|
||
$LL146@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00790 48 8d 48 16 lea rcx, QWORD PTR [rax+22]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00794 48 3b c3 cmp rax, rbx
|
||
00797 74 06 je SHORT $LN151@glfwInitEG
|
||
00799 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0079d 75 09 jne SHORT $LN327@glfwInitEG
|
||
$LN151@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0079f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
007a2 0f 84 31 02 00
|
||
00 je $LN338@glfwInitEG
|
||
$LN327@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
007a8 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@GIBFIFPN@EGL_KHR_create_context@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
007af 48 8b d9 mov rbx, rcx
|
||
007b2 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
007b8 48 85 c0 test rax, rax
|
||
007bb 75 d3 jne SHORT $LL146@glfwInitEG
|
||
$LN143@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 308 : return GLFW_FALSE;
|
||
|
||
007bd 8b c7 mov eax, edi
|
||
$LN141@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
007bf 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
007c6 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
|
||
; 522 : }
|
||
; 523 :
|
||
; 524 : _glfw.egl.KHR_create_context =
|
||
|
||
007cb 89 05 0c 1a 00
|
||
00 mov DWORD PTR _glfw+6668, eax
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
007d1 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
007d7 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
007da 48 85 c0 test rax, rax
|
||
007dd 74 42 je SHORT $LN157@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
007df 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@OJFEOPKP@EGL_KHR_create_context_no_error@
|
||
007e6 48 8b c8 mov rcx, rax
|
||
007e9 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
007ef 48 85 c0 test rax, rax
|
||
007f2 74 2d je SHORT $LN157@glfwInitEG
|
||
$LL160@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
007f4 48 8d 48 1f lea rcx, QWORD PTR [rax+31]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
007f8 48 3b c3 cmp rax, rbx
|
||
007fb 74 06 je SHORT $LN165@glfwInitEG
|
||
007fd 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
00801 75 09 jne SHORT $LN328@glfwInitEG
|
||
$LN165@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
00803 f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00806 0f 84 d7 01 00
|
||
00 je $LN337@glfwInitEG
|
||
$LN328@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
0080c 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CA@OJFEOPKP@EGL_KHR_create_context_no_error@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
00813 48 8b d9 mov rbx, rcx
|
||
00816 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
0081c 48 85 c0 test rax, rax
|
||
0081f 75 d3 jne SHORT $LL160@glfwInitEG
|
||
$LN157@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 308 : return GLFW_FALSE;
|
||
|
||
00821 8b c7 mov eax, edi
|
||
$LN155@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00823 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0082a ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
|
||
; 525 : extensionSupportedEGL("EGL_KHR_create_context");
|
||
; 526 : _glfw.egl.KHR_create_context_no_error =
|
||
|
||
0082f 89 05 10 1a 00
|
||
00 mov DWORD PTR _glfw+6672, eax
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00835 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
0083b 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
0083e 48 85 c0 test rax, rax
|
||
00841 74 4a je SHORT $LN171@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00843 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BG@GOAKKGGB@EGL_KHR_gl_colorspace@
|
||
0084a 48 8b c8 mov rcx, rax
|
||
0084d ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00853 48 85 c0 test rax, rax
|
||
00856 74 35 je SHORT $LN171@glfwInitEG
|
||
00858 0f 1f 84 00 00
|
||
00 00 00 npad 8
|
||
$LL174@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00860 48 8d 48 15 lea rcx, QWORD PTR [rax+21]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00864 48 3b c3 cmp rax, rbx
|
||
00867 74 06 je SHORT $LN179@glfwInitEG
|
||
00869 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0086d 75 09 jne SHORT $LN329@glfwInitEG
|
||
$LN179@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0086f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00872 0f 84 75 01 00
|
||
00 je $LN336@glfwInitEG
|
||
$LN329@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00878 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BG@GOAKKGGB@EGL_KHR_gl_colorspace@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0087f 48 8b d9 mov rbx, rcx
|
||
00882 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00888 48 85 c0 test rax, rax
|
||
0088b 75 d3 jne SHORT $LL174@glfwInitEG
|
||
$LN171@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 308 : return GLFW_FALSE;
|
||
|
||
0088d 8b c7 mov eax, edi
|
||
$LN169@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
0088f 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00896 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
|
||
; 527 : extensionSupportedEGL("EGL_KHR_create_context_no_error");
|
||
; 528 : _glfw.egl.KHR_gl_colorspace =
|
||
|
||
0089b 89 05 14 1a 00
|
||
00 mov DWORD PTR _glfw+6676, eax
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
008a1 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
008a7 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
008aa 48 85 c0 test rax, rax
|
||
008ad 74 42 je SHORT $LN185@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
008af 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BP@CDGGFNNF@EGL_KHR_get_all_proc_addresses@
|
||
008b6 48 8b c8 mov rcx, rax
|
||
008b9 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
008bf 48 85 c0 test rax, rax
|
||
008c2 74 2d je SHORT $LN185@glfwInitEG
|
||
$LL188@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
008c4 48 8d 48 1e lea rcx, QWORD PTR [rax+30]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
008c8 48 3b c3 cmp rax, rbx
|
||
008cb 74 06 je SHORT $LN193@glfwInitEG
|
||
008cd 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
008d1 75 09 jne SHORT $LN330@glfwInitEG
|
||
$LN193@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
008d3 f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
008d6 0f 84 1b 01 00
|
||
00 je $LN335@glfwInitEG
|
||
$LN330@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
008dc 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BP@CDGGFNNF@EGL_KHR_get_all_proc_addresses@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
008e3 48 8b d9 mov rbx, rcx
|
||
008e6 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
008ec 48 85 c0 test rax, rax
|
||
008ef 75 d3 jne SHORT $LL188@glfwInitEG
|
||
$LN185@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 308 : return GLFW_FALSE;
|
||
|
||
008f1 8b c7 mov eax, edi
|
||
$LN183@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
008f3 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
008fa ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
|
||
; 529 : extensionSupportedEGL("EGL_KHR_gl_colorspace");
|
||
; 530 : _glfw.egl.KHR_get_all_proc_addresses =
|
||
|
||
008ff 89 05 18 1a 00
|
||
00 mov DWORD PTR _glfw+6680, eax
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00905 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
0090b 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
0090e 48 85 c0 test rax, rax
|
||
00911 74 4a je SHORT $LN199@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00913 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BO@IDEEMGNC@EGL_KHR_context_flush_control@
|
||
0091a 48 8b c8 mov rcx, rax
|
||
0091d ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00923 48 85 c0 test rax, rax
|
||
00926 74 35 je SHORT $LN199@glfwInitEG
|
||
00928 0f 1f 84 00 00
|
||
00 00 00 npad 8
|
||
$LL202@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
00930 48 8d 48 1d lea rcx, QWORD PTR [rax+29]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
00934 48 3b c3 cmp rax, rbx
|
||
00937 74 06 je SHORT $LN207@glfwInitEG
|
||
00939 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
0093d 75 09 jne SHORT $LN331@glfwInitEG
|
||
$LN207@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
0093f f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
00942 0f 84 b9 00 00
|
||
00 je $LN334@glfwInitEG
|
||
$LN331@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00948 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BO@IDEEMGNC@EGL_KHR_context_flush_control@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
0094f 48 8b d9 mov rbx, rcx
|
||
00952 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
00958 48 85 c0 test rax, rax
|
||
0095b 75 d3 jne SHORT $LL202@glfwInitEG
|
||
$LN199@glfwInitEG:
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 308 : return GLFW_FALSE;
|
||
|
||
0095d 8b c7 mov eax, edi
|
||
$LN197@glfwInitEG:
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
0095f 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00966 ba 55 30 00 00 mov edx, 12373 ; 00003055H
|
||
|
||
; 531 : extensionSupportedEGL("EGL_KHR_get_all_proc_addresses");
|
||
; 532 : _glfw.egl.KHR_context_flush_control =
|
||
|
||
0096b 89 05 1c 1a 00
|
||
00 mov DWORD PTR _glfw+6684, eax
|
||
|
||
; 301 : const char* extensions = eglQueryString(_glfw.egl.display, EGL_EXTENSIONS);
|
||
|
||
00971 ff 15 c0 1a 00
|
||
00 call QWORD PTR _glfw+6848
|
||
00977 48 8b d8 mov rbx, rax
|
||
|
||
; 302 : if (extensions)
|
||
|
||
0097a 48 85 c0 test rax, rax
|
||
0097d 0f 84 8d 00 00
|
||
00 je $LN213@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\context.c
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
00983 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@JADLEPAM@EGL_EXT_present_opaque@
|
||
0098a 48 8b c8 mov rcx, rax
|
||
0098d ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
|
||
; 595 : if (!where)
|
||
|
||
00993 48 85 c0 test rax, rax
|
||
00996 74 78 je SHORT $LN213@glfwInitEG
|
||
00998 0f 1f 84 00 00
|
||
00 00 00 npad 8
|
||
$LL216@glfwInitEG:
|
||
|
||
; 597 :
|
||
; 598 : terminator = where + strlen(string);
|
||
|
||
009a0 48 8d 48 16 lea rcx, QWORD PTR [rax+22]
|
||
|
||
; 599 : if (where == start || *(where - 1) == ' ')
|
||
|
||
009a4 48 3b c3 cmp rax, rbx
|
||
009a7 74 06 je SHORT $LN221@glfwInitEG
|
||
009a9 80 78 ff 20 cmp BYTE PTR [rax-1], 32 ; 00000020H
|
||
009ad 75 05 jne SHORT $LN332@glfwInitEG
|
||
$LN221@glfwInitEG:
|
||
|
||
; 600 : {
|
||
; 601 : if (*terminator == ' ' || *terminator == '\0')
|
||
|
||
009af f6 01 df test BYTE PTR [rcx], 223 ; 000000dfH
|
||
009b2 74 57 je SHORT $LN333@glfwInitEG
|
||
$LN332@glfwInitEG:
|
||
|
||
; 594 : where = strstr(start, string);
|
||
|
||
009b4 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@JADLEPAM@EGL_EXT_present_opaque@
|
||
|
||
; 602 : break;
|
||
; 603 : }
|
||
; 604 :
|
||
; 605 : start = terminator;
|
||
|
||
009bb 48 8b d9 mov rbx, rcx
|
||
009be ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strstr
|
||
009c4 48 85 c0 test rax, rax
|
||
009c7 75 d7 jne SHORT $LL216@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 537 : return GLFW_TRUE;
|
||
|
||
009c9 89 3d 30 1a 00
|
||
00 mov DWORD PTR _glfw+6704, edi
|
||
009cf b8 01 00 00 00 mov eax, 1
|
||
009d4 e9 89 00 00 00 jmp $LN416@glfwInitEG
|
||
$LN338@glfwInitEG:
|
||
|
||
; 305 : return GLFW_TRUE;
|
||
|
||
009d9 b8 01 00 00 00 mov eax, 1
|
||
009de e9 dc fd ff ff jmp $LN141@glfwInitEG
|
||
$LN337@glfwInitEG:
|
||
009e3 b8 01 00 00 00 mov eax, 1
|
||
009e8 e9 36 fe ff ff jmp $LN155@glfwInitEG
|
||
$LN336@glfwInitEG:
|
||
009ed b8 01 00 00 00 mov eax, 1
|
||
009f2 e9 98 fe ff ff jmp $LN169@glfwInitEG
|
||
$LN335@glfwInitEG:
|
||
009f7 b8 01 00 00 00 mov eax, 1
|
||
009fc e9 f2 fe ff ff jmp $LN183@glfwInitEG
|
||
$LN334@glfwInitEG:
|
||
00a01 b8 01 00 00 00 mov eax, 1
|
||
00a06 e9 54 ff ff ff jmp $LN197@glfwInitEG
|
||
$LN333@glfwInitEG:
|
||
00a0b bf 01 00 00 00 mov edi, 1
|
||
$LN213@glfwInitEG:
|
||
|
||
; 533 : extensionSupportedEGL("EGL_KHR_context_flush_control");
|
||
; 534 : _glfw.egl.EXT_present_opaque =
|
||
|
||
00a10 89 3d 30 1a 00
|
||
00 mov DWORD PTR _glfw+6704, edi
|
||
|
||
; 537 : return GLFW_TRUE;
|
||
|
||
00a16 b8 01 00 00 00 mov eax, 1
|
||
00a1b eb 45 jmp SHORT $LN416@glfwInitEG
|
||
$LN9@glfwInitEG:
|
||
|
||
; 450 : !_glfw.egl.GetProcAddress)
|
||
; 451 : {
|
||
; 452 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
00a1d 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CK@DCPJCPHH@EGL?3?5Failed?5to?5load?5required?5en@
|
||
00a24 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||
00a29 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 544 : if (_glfw.egl.display)
|
||
|
||
00a2e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00a35 48 85 c9 test rcx, rcx
|
||
00a38 74 0d je SHORT $LN53@glfwInitEG
|
||
|
||
; 545 : {
|
||
; 546 : eglTerminate(_glfw.egl.display);
|
||
|
||
00a3a ff 15 78 1a 00
|
||
00 call QWORD PTR _glfw+6776
|
||
|
||
; 547 : _glfw.egl.display = EGL_NO_DISPLAY;
|
||
|
||
00a40 48 89 3d f8 19
|
||
00 00 mov QWORD PTR _glfw+6648, rdi
|
||
$LN53@glfwInitEG:
|
||
|
||
; 548 : }
|
||
; 549 :
|
||
; 550 : if (_glfw.egl.handle)
|
||
|
||
00a47 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00a4e 48 85 c9 test rcx, rcx
|
||
00a51 74 0d je SHORT $LN54@glfwInitEG
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 44 : FreeLibrary((HMODULE)module);
|
||
|
||
00a53 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_FreeLibrary
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 553 : _glfw.egl.handle = NULL;
|
||
|
||
00a59 48 89 3d 48 1a
|
||
00 00 mov QWORD PTR _glfw+6728, rdi
|
||
$LN54@glfwInitEG:
|
||
|
||
; 453 : "EGL: Failed to load required entry points");
|
||
; 454 :
|
||
; 455 : _glfwTerminateEGL();
|
||
; 456 : return GLFW_FALSE;
|
||
|
||
00a60 33 c0 xor eax, eax
|
||
$LN416@glfwInitEG:
|
||
00a62 48 8b 5c 24 60 mov rbx, QWORD PTR [rsp+96]
|
||
00a67 48 8b 74 24 68 mov rsi, QWORD PTR [rsp+104]
|
||
|
||
; 538 : }
|
||
|
||
00a6c 48 8b 4c 24 40 mov rcx, QWORD PTR __$ArrayPad$[rsp]
|
||
00a71 48 33 cc xor rcx, rsp
|
||
00a74 e8 00 00 00 00 call __security_check_cookie
|
||
00a79 48 83 c4 50 add rsp, 80 ; 00000050H
|
||
00a7d 5f pop rdi
|
||
00a7e c3 ret 0
|
||
_glfwInitEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT _glfwTerminateEGL
|
||
_TEXT SEGMENT
|
||
_glfwTerminateEGL PROC ; COMDAT
|
||
|
||
; 543 : {
|
||
|
||
$LN8:
|
||
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
|
||
|
||
; 544 : if (_glfw.egl.display)
|
||
|
||
00004 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0000b 48 85 c9 test rcx, rcx
|
||
0000e 74 11 je SHORT $LN2@glfwTermin
|
||
|
||
; 545 : {
|
||
; 546 : eglTerminate(_glfw.egl.display);
|
||
|
||
00010 ff 15 78 1a 00
|
||
00 call QWORD PTR _glfw+6776
|
||
|
||
; 547 : _glfw.egl.display = EGL_NO_DISPLAY;
|
||
|
||
00016 48 c7 05 f8 19
|
||
00 00 00 00 00
|
||
00 mov QWORD PTR _glfw+6648, 0
|
||
$LN2@glfwTermin:
|
||
|
||
; 548 : }
|
||
; 549 :
|
||
; 550 : if (_glfw.egl.handle)
|
||
|
||
00021 48 8b 0d 48 1a
|
||
00 00 mov rcx, QWORD PTR _glfw+6728
|
||
00028 48 85 c9 test rcx, rcx
|
||
0002b 74 11 je SHORT $LN3@glfwTermin
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 44 : FreeLibrary((HMODULE)module);
|
||
|
||
0002d ff 15 00 00 00
|
||
00 call QWORD PTR __imp_FreeLibrary
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 553 : _glfw.egl.handle = NULL;
|
||
|
||
00033 48 c7 05 48 1a
|
||
00 00 00 00 00
|
||
00 mov QWORD PTR _glfw+6728, 0
|
||
$LN3@glfwTermin:
|
||
|
||
; 554 : }
|
||
; 555 : }
|
||
|
||
0003e 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
00042 c3 ret 0
|
||
_glfwTerminateEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT _glfwCreateContextEGL
|
||
_TEXT SEGMENT
|
||
glsonames$1 = 32
|
||
config$ = 32
|
||
attribs$ = 48
|
||
es2sonames$2 = 208
|
||
es1sonames$3 = 232
|
||
__$ArrayPad$ = 256
|
||
window$ = 336
|
||
ctxconfig$ = 344
|
||
fbconfig$ = 352
|
||
_glfwCreateContextEGL PROC ; COMDAT
|
||
|
||
; 569 : {
|
||
|
||
$LN102:
|
||
00000 40 55 push rbp
|
||
00002 53 push rbx
|
||
00003 56 push rsi
|
||
00004 57 push rdi
|
||
00005 41 54 push r12
|
||
00007 41 56 push r14
|
||
00009 41 57 push r15
|
||
0000b 48 8d 6c 24 f0 lea rbp, QWORD PTR [rsp-16]
|
||
00010 48 81 ec 10 01
|
||
00 00 sub rsp, 272 ; 00000110H
|
||
00017 48 8b 05 00 00
|
||
00 00 mov rax, QWORD PTR __security_cookie
|
||
0001e 48 33 c4 xor rax, rsp
|
||
00021 48 89 45 00 mov QWORD PTR __$ArrayPad$[rbp-256], rax
|
||
|
||
; 570 : EGLint attribs[40];
|
||
; 571 : EGLConfig config;
|
||
; 572 : EGLContext share = NULL;
|
||
|
||
00025 45 33 e4 xor r12d, r12d
|
||
00028 4d 8b f0 mov r14, r8
|
||
|
||
; 573 : EGLNativeWindowType native;
|
||
; 574 : int index = 0;
|
||
|
||
0002b 41 8b dc mov ebx, r12d
|
||
0002e 48 8b fa mov rdi, rdx
|
||
|
||
; 575 :
|
||
; 576 : if (!_glfw.egl.display)
|
||
|
||
00031 48 39 1d f8 19
|
||
00 00 cmp QWORD PTR _glfw+6648, rbx
|
||
00038 48 8b f1 mov rsi, rcx
|
||
0003b 45 8b fc mov r15d, r12d
|
||
0003e 75 18 jne SHORT $LN5@glfwCreate
|
||
|
||
; 577 : {
|
||
; 578 : _glfwInputError(GLFW_API_UNAVAILABLE, "EGL: API not available");
|
||
|
||
00040 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BH@PDIOJKKP@EGL?3?5API?5not?5available@
|
||
00047 b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
0004c e8 00 00 00 00 call _glfwInputError
|
||
$LN100@glfwCreate:
|
||
|
||
; 828 : }
|
||
|
||
00051 33 c0 xor eax, eax
|
||
00053 e9 b7 04 00 00 jmp $LN1@glfwCreate
|
||
$LN5@glfwCreate:
|
||
|
||
; 579 : return GLFW_FALSE;
|
||
; 580 : }
|
||
; 581 :
|
||
; 582 : if (ctxconfig->share)
|
||
|
||
00058 48 8b 42 28 mov rax, QWORD PTR [rdx+40]
|
||
0005c 48 85 c0 test rax, rax
|
||
0005f 74 07 je SHORT $LN6@glfwCreate
|
||
|
||
; 583 : share = ctxconfig->share->context.egl.handle;
|
||
|
||
00061 4c 8b b8 88 02
|
||
00 00 mov r15, QWORD PTR [rax+648]
|
||
$LN6@glfwCreate:
|
||
|
||
; 584 :
|
||
; 585 : if (!chooseEGLConfig(ctxconfig, fbconfig, &config))
|
||
|
||
00068 4c 8d 44 24 20 lea r8, QWORD PTR config$[rsp]
|
||
0006d 49 8b d6 mov rdx, r14
|
||
00070 48 8b cf mov rcx, rdi
|
||
00073 e8 00 00 00 00 call chooseEGLConfig
|
||
00078 85 c0 test eax, eax
|
||
0007a 74 d5 je SHORT $LN100@glfwCreate
|
||
|
||
; 586 : return GLFW_FALSE;
|
||
; 587 :
|
||
; 588 : if (ctxconfig->client == GLFW_OPENGL_ES_API)
|
||
|
||
0007c 81 3f 02 00 03
|
||
00 cmp DWORD PTR [rdi], 196610 ; 00030002H
|
||
00082 75 37 jne SHORT $LN8@glfwCreate
|
||
|
||
; 589 : {
|
||
; 590 : if (!eglBindAPI(EGL_OPENGL_ES_API))
|
||
|
||
00084 b9 a0 30 00 00 mov ecx, 12448 ; 000030a0H
|
||
00089 ff 15 80 1a 00
|
||
00 call QWORD PTR _glfw+6784
|
||
0008f 85 c0 test eax, eax
|
||
00091 75 5f jne SHORT $LN11@glfwCreate
|
||
|
||
; 591 : {
|
||
; 592 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
00093 ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
00099 8b c8 mov ecx, eax
|
||
0009b e8 00 00 00 00 call getEGLErrorString
|
||
000a0 4c 8b c0 mov r8, rax
|
||
000a3 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CC@NIBJMOI@EGL?3?5Failed?5to?5bind?5OpenGL?5ES?3?5@
|
||
000aa b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
000af e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 593 : "EGL: Failed to bind OpenGL ES: %s",
|
||
; 594 : getEGLErrorString(eglGetError()));
|
||
; 595 : return GLFW_FALSE;
|
||
|
||
000b4 33 c0 xor eax, eax
|
||
000b6 e9 54 04 00 00 jmp $LN1@glfwCreate
|
||
$LN8@glfwCreate:
|
||
|
||
; 596 : }
|
||
; 597 : }
|
||
; 598 : else
|
||
; 599 : {
|
||
; 600 : if (!eglBindAPI(EGL_OPENGL_API))
|
||
|
||
000bb b9 a2 30 00 00 mov ecx, 12450 ; 000030a2H
|
||
000c0 ff 15 80 1a 00
|
||
00 call QWORD PTR _glfw+6784
|
||
000c6 85 c0 test eax, eax
|
||
000c8 75 28 jne SHORT $LN11@glfwCreate
|
||
|
||
; 601 : {
|
||
; 602 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
000ca ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
000d0 8b c8 mov ecx, eax
|
||
000d2 e8 00 00 00 00 call getEGLErrorString
|
||
000d7 4c 8b c0 mov r8, rax
|
||
000da 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0BP@PHOHHIJJ@EGL?3?5Failed?5to?5bind?5OpenGL?3?5?$CFs@
|
||
000e1 b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
000e6 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 603 : "EGL: Failed to bind OpenGL: %s",
|
||
; 604 : getEGLErrorString(eglGetError()));
|
||
; 605 : return GLFW_FALSE;
|
||
|
||
000eb 33 c0 xor eax, eax
|
||
000ed e9 1d 04 00 00 jmp $LN1@glfwCreate
|
||
$LN11@glfwCreate:
|
||
|
||
; 606 : }
|
||
; 607 : }
|
||
; 608 :
|
||
; 609 : if (_glfw.egl.KHR_create_context)
|
||
|
||
000f2 39 1d 0c 1a 00
|
||
00 cmp DWORD PTR _glfw+6668, ebx
|
||
000f8 8b 0f mov ecx, DWORD PTR [rdi]
|
||
000fa 0f 84 13 01 00
|
||
00 je $LN12@glfwCreate
|
||
|
||
; 610 : {
|
||
; 611 : int mask = 0, flags = 0;
|
||
|
||
00100 45 8b cc mov r9d, r12d
|
||
00103 41 8b c4 mov eax, r12d
|
||
|
||
; 612 :
|
||
; 613 : if (ctxconfig->client == GLFW_OPENGL_API)
|
||
|
||
00106 81 f9 01 00 03
|
||
00 cmp ecx, 196609 ; 00030001H
|
||
0010c 75 2b jne SHORT $LN18@glfwCreate
|
||
|
||
; 614 : {
|
||
; 615 : if (ctxconfig->forward)
|
||
; 616 : flags |= EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR;
|
||
; 617 :
|
||
; 618 : if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE)
|
||
|
||
0010e 8b 47 10 mov eax, DWORD PTR [rdi+16]
|
||
00111 8b 4f 1c mov ecx, DWORD PTR [rdi+28]
|
||
00114 f7 d8 neg eax
|
||
00116 1b c0 sbb eax, eax
|
||
00118 83 e0 02 and eax, 2
|
||
0011b 81 f9 01 20 03
|
||
00 cmp ecx, 204801 ; 00032001H
|
||
00121 75 08 jne SHORT $LN16@glfwCreate
|
||
|
||
; 619 : mask |= EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR;
|
||
|
||
00123 41 b9 01 00 00
|
||
00 mov r9d, 1
|
||
00129 eb 0e jmp SHORT $LN18@glfwCreate
|
||
$LN16@glfwCreate:
|
||
|
||
; 620 : else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE)
|
||
|
||
0012b 81 f9 02 20 03
|
||
00 cmp ecx, 204802 ; 00032002H
|
||
00131 75 06 jne SHORT $LN18@glfwCreate
|
||
|
||
; 621 : mask |= EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR;
|
||
|
||
00133 41 b9 02 00 00
|
||
00 mov r9d, 2
|
||
$LN18@glfwCreate:
|
||
|
||
; 622 : }
|
||
; 623 :
|
||
; 624 : if (ctxconfig->debug)
|
||
; 625 : flags |= EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR;
|
||
; 626 :
|
||
; 627 : if (ctxconfig->robustness)
|
||
|
||
00139 44 8b c0 mov r8d, eax
|
||
0013c 41 83 c8 01 or r8d, 1
|
||
00140 39 5f 14 cmp DWORD PTR [rdi+20], ebx
|
||
00143 44 0f 44 c0 cmove r8d, eax
|
||
00147 8b 47 20 mov eax, DWORD PTR [rdi+32]
|
||
0014a 85 c0 test eax, eax
|
||
0014c 74 31 je SHORT $LN20@glfwCreate
|
||
|
||
; 628 : {
|
||
; 629 : if (ctxconfig->robustness == GLFW_NO_RESET_NOTIFICATION)
|
||
|
||
0014e 3d 01 10 03 00 cmp eax, 200705 ; 00031001H
|
||
00153 75 0a jne SHORT $LN21@glfwCreate
|
||
|
||
; 630 : {
|
||
; 631 : SET_ATTRIB(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR,
|
||
|
||
00155 c7 44 24 34 be
|
||
31 00 00 mov DWORD PTR attribs$[rsp+4], 12734 ; 000031beH
|
||
|
||
; 632 : EGL_NO_RESET_NOTIFICATION_KHR);
|
||
; 633 : }
|
||
|
||
0015d eb 0f jmp SHORT $LN98@glfwCreate
|
||
$LN21@glfwCreate:
|
||
|
||
; 634 : else if (ctxconfig->robustness == GLFW_LOSE_CONTEXT_ON_RESET)
|
||
|
||
0015f 3d 02 10 03 00 cmp eax, 200706 ; 00031002H
|
||
00164 75 15 jne SHORT $LN23@glfwCreate
|
||
|
||
; 635 : {
|
||
; 636 : SET_ATTRIB(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR,
|
||
|
||
00166 c7 44 24 34 bf
|
||
31 00 00 mov DWORD PTR attribs$[rsp+4], 12735 ; 000031bfH
|
||
$LN98@glfwCreate:
|
||
|
||
; 637 : EGL_LOSE_CONTEXT_ON_RESET_KHR);
|
||
; 638 : }
|
||
; 639 :
|
||
; 640 : flags |= EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR;
|
||
|
||
0016e bb 02 00 00 00 mov ebx, 2
|
||
00173 c7 44 24 30 bd
|
||
31 00 00 mov DWORD PTR attribs$[rsp], 12733 ; 000031bdH
|
||
$LN23@glfwCreate:
|
||
0017b 41 83 c8 04 or r8d, 4
|
||
$LN20@glfwCreate:
|
||
|
||
; 641 : }
|
||
; 642 :
|
||
; 643 : if (ctxconfig->noerror)
|
||
|
||
0017f 44 39 67 18 cmp DWORD PTR [rdi+24], r12d
|
||
00183 74 21 je SHORT $LN25@glfwCreate
|
||
|
||
; 644 : {
|
||
; 645 : if (_glfw.egl.KHR_create_context_no_error)
|
||
|
||
00185 44 39 25 10 1a
|
||
00 00 cmp DWORD PTR _glfw+6672, r12d
|
||
0018c 74 18 je SHORT $LN25@glfwCreate
|
||
|
||
; 646 : SET_ATTRIB(EGL_CONTEXT_OPENGL_NO_ERROR_KHR, GLFW_TRUE);
|
||
|
||
0018e 8b c3 mov eax, ebx
|
||
00190 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
00193 8d 59 01 lea ebx, DWORD PTR [rcx+1]
|
||
00196 c7 44 84 30 b3
|
||
31 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12723 ; 000031b3H
|
||
0019e c7 44 8c 30 01
|
||
00 00 00 mov DWORD PTR attribs$[rsp+rcx*4], 1
|
||
$LN25@glfwCreate:
|
||
|
||
; 647 : }
|
||
; 648 :
|
||
; 649 : if (ctxconfig->major != 1 || ctxconfig->minor != 0)
|
||
|
||
001a6 8b 57 08 mov edx, DWORD PTR [rdi+8]
|
||
001a9 83 fa 01 cmp edx, 1
|
||
001ac 75 06 jne SHORT $LN60@glfwCreate
|
||
001ae 44 39 67 0c cmp DWORD PTR [rdi+12], r12d
|
||
001b2 74 29 je SHORT $LN26@glfwCreate
|
||
$LN60@glfwCreate:
|
||
|
||
; 650 : {
|
||
; 651 : SET_ATTRIB(EGL_CONTEXT_MAJOR_VERSION_KHR, ctxconfig->major);
|
||
|
||
001b4 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
001b7 8b c3 mov eax, ebx
|
||
001b9 c7 44 84 30 98
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12440 ; 00003098H
|
||
|
||
; 652 : SET_ATTRIB(EGL_CONTEXT_MINOR_VERSION_KHR, ctxconfig->minor);
|
||
|
||
001c1 8b 47 0c mov eax, DWORD PTR [rdi+12]
|
||
001c4 89 54 8c 30 mov DWORD PTR attribs$[rsp+rcx*4], edx
|
||
001c8 8d 49 01 lea ecx, DWORD PTR [rcx+1]
|
||
001cb 8d 51 01 lea edx, DWORD PTR [rcx+1]
|
||
001ce c7 44 8c 30 fb
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rcx*4], 12539 ; 000030fbH
|
||
001d6 89 44 94 30 mov DWORD PTR attribs$[rsp+rdx*4], eax
|
||
001da 8d 5a 01 lea ebx, DWORD PTR [rdx+1]
|
||
$LN26@glfwCreate:
|
||
|
||
; 653 : }
|
||
; 654 :
|
||
; 655 : if (mask)
|
||
|
||
001dd 45 85 c9 test r9d, r9d
|
||
001e0 74 15 je SHORT $LN28@glfwCreate
|
||
|
||
; 656 : SET_ATTRIB(EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR, mask);
|
||
|
||
001e2 8b c3 mov eax, ebx
|
||
001e4 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
001e7 8d 59 01 lea ebx, DWORD PTR [rcx+1]
|
||
001ea c7 44 84 30 fd
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12541 ; 000030fdH
|
||
001f2 44 89 4c 8c 30 mov DWORD PTR attribs$[rsp+rcx*4], r9d
|
||
$LN28@glfwCreate:
|
||
|
||
; 657 :
|
||
; 658 : if (flags)
|
||
|
||
001f7 45 85 c0 test r8d, r8d
|
||
001fa 74 33 je SHORT $LN30@glfwCreate
|
||
|
||
; 659 : SET_ATTRIB(EGL_CONTEXT_FLAGS_KHR, flags);
|
||
|
||
001fc 8b c3 mov eax, ebx
|
||
001fe 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
00201 8d 59 01 lea ebx, DWORD PTR [rcx+1]
|
||
00204 c7 44 84 30 fc
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12540 ; 000030fcH
|
||
0020c 44 89 44 8c 30 mov DWORD PTR attribs$[rsp+rcx*4], r8d
|
||
|
||
; 660 : }
|
||
|
||
00211 eb 1c jmp SHORT $LN30@glfwCreate
|
||
$LN12@glfwCreate:
|
||
|
||
; 661 : else
|
||
; 662 : {
|
||
; 663 : if (ctxconfig->client == GLFW_OPENGL_ES_API)
|
||
|
||
00213 81 f9 02 00 03
|
||
00 cmp ecx, 196610 ; 00030002H
|
||
00219 75 14 jne SHORT $LN30@glfwCreate
|
||
|
||
; 664 : SET_ATTRIB(EGL_CONTEXT_CLIENT_VERSION, ctxconfig->major);
|
||
|
||
0021b 8b 47 08 mov eax, DWORD PTR [rdi+8]
|
||
0021e bb 02 00 00 00 mov ebx, 2
|
||
00223 89 44 24 34 mov DWORD PTR attribs$[rsp+4], eax
|
||
00227 c7 44 24 30 98
|
||
30 00 00 mov DWORD PTR attribs$[rsp], 12440 ; 00003098H
|
||
$LN30@glfwCreate:
|
||
|
||
; 665 : }
|
||
; 666 :
|
||
; 667 : if (_glfw.egl.KHR_context_flush_control)
|
||
|
||
0022f 44 39 25 1c 1a
|
||
00 00 cmp DWORD PTR _glfw+6684, r12d
|
||
00236 74 3d je SHORT $LN34@glfwCreate
|
||
|
||
; 668 : {
|
||
; 669 : if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_NONE)
|
||
|
||
00238 8b 47 24 mov eax, DWORD PTR [rdi+36]
|
||
0023b 3d 02 50 03 00 cmp eax, 217090 ; 00035002H
|
||
00240 75 14 jne SHORT $LN32@glfwCreate
|
||
|
||
; 670 : {
|
||
; 671 : SET_ATTRIB(EGL_CONTEXT_RELEASE_BEHAVIOR_KHR,
|
||
|
||
00242 8b c3 mov eax, ebx
|
||
00244 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
00247 c7 44 84 30 97
|
||
20 00 00 mov DWORD PTR attribs$[rsp+rax*4], 8343 ; 00002097H
|
||
0024f 44 89 64 8c 30 mov DWORD PTR attribs$[rsp+rcx*4], r12d
|
||
|
||
; 672 : EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR);
|
||
; 673 : }
|
||
|
||
00254 eb 1c jmp SHORT $LN99@glfwCreate
|
||
$LN32@glfwCreate:
|
||
|
||
; 674 : else if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_FLUSH)
|
||
|
||
00256 3d 01 50 03 00 cmp eax, 217089 ; 00035001H
|
||
0025b 75 18 jne SHORT $LN34@glfwCreate
|
||
|
||
; 675 : {
|
||
; 676 : SET_ATTRIB(EGL_CONTEXT_RELEASE_BEHAVIOR_KHR,
|
||
|
||
0025d 8b c3 mov eax, ebx
|
||
0025f 8d 4b 01 lea ecx, DWORD PTR [rbx+1]
|
||
00262 c7 44 84 30 97
|
||
20 00 00 mov DWORD PTR attribs$[rsp+rax*4], 8343 ; 00002097H
|
||
0026a c7 44 8c 30 98
|
||
20 00 00 mov DWORD PTR attribs$[rsp+rcx*4], 8344 ; 00002098H
|
||
$LN99@glfwCreate:
|
||
|
||
; 677 : EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR);
|
||
; 678 : }
|
||
; 679 : }
|
||
; 680 :
|
||
; 681 : SET_ATTRIB(EGL_NONE, EGL_NONE);
|
||
|
||
00272 8d 59 01 lea ebx, DWORD PTR [rcx+1]
|
||
$LN34@glfwCreate:
|
||
|
||
; 682 :
|
||
; 683 : window->context.egl.handle = eglCreateContext(_glfw.egl.display,
|
||
|
||
00275 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0027c 4c 8d 4c 24 30 lea r9, QWORD PTR attribs$[rsp]
|
||
00281 8b c3 mov eax, ebx
|
||
00283 4d 8b c7 mov r8, r15
|
||
00286 48 8b 5c 24 20 mov rbx, QWORD PTR config$[rsp]
|
||
0028b 48 8b d3 mov rdx, rbx
|
||
0028e c7 44 84 30 38
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12344 ; 00003038H
|
||
00296 c7 44 84 34 38
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4+4], 12344 ; 00003038H
|
||
0029e ff 15 88 1a 00
|
||
00 call QWORD PTR _glfw+6792
|
||
002a4 48 89 86 88 02
|
||
00 00 mov QWORD PTR [rsi+648], rax
|
||
|
||
; 684 : config, share, attribs);
|
||
; 685 :
|
||
; 686 : if (window->context.egl.handle == EGL_NO_CONTEXT)
|
||
|
||
002ab 48 85 c0 test rax, rax
|
||
002ae 75 28 jne SHORT $LN35@glfwCreate
|
||
|
||
; 687 : {
|
||
; 688 : _glfwInputError(GLFW_VERSION_UNAVAILABLE,
|
||
|
||
002b0 ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
002b6 8b c8 mov ecx, eax
|
||
002b8 e8 00 00 00 00 call getEGLErrorString
|
||
002bd 4c 8b c0 mov r8, rax
|
||
002c0 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CC@GOIKODMM@EGL?3?5Failed?5to?5create?5context?3?5@
|
||
002c7 b9 07 00 01 00 mov ecx, 65543 ; 00010007H
|
||
002cc e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 689 : "EGL: Failed to create context: %s",
|
||
; 690 : getEGLErrorString(eglGetError()));
|
||
; 691 : return GLFW_FALSE;
|
||
|
||
002d1 33 c0 xor eax, eax
|
||
002d3 e9 37 02 00 00 jmp $LN1@glfwCreate
|
||
$LN35@glfwCreate:
|
||
|
||
; 692 : }
|
||
; 693 :
|
||
; 694 : // Set up attributes for surface creation
|
||
; 695 : index = 0;
|
||
|
||
002d8 41 8b cc mov ecx, r12d
|
||
|
||
; 696 :
|
||
; 697 : if (fbconfig->sRGB)
|
||
|
||
002db 41 39 4e 34 cmp DWORD PTR [r14+52], ecx
|
||
002df 74 1d je SHORT $LN37@glfwCreate
|
||
|
||
; 698 : {
|
||
; 699 : if (_glfw.egl.KHR_gl_colorspace)
|
||
|
||
002e1 39 0d 14 1a 00
|
||
00 cmp DWORD PTR _glfw+6676, ecx
|
||
002e7 74 15 je SHORT $LN37@glfwCreate
|
||
|
||
; 700 : SET_ATTRIB(EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR);
|
||
|
||
002e9 c7 44 24 30 9d
|
||
30 00 00 mov DWORD PTR attribs$[rsp], 12445 ; 0000309dH
|
||
002f1 b9 02 00 00 00 mov ecx, 2
|
||
002f6 c7 44 24 34 89
|
||
30 00 00 mov DWORD PTR attribs$[rsp+4], 12425 ; 00003089H
|
||
$LN37@glfwCreate:
|
||
|
||
; 701 : }
|
||
; 702 :
|
||
; 703 : if (!fbconfig->doublebuffer)
|
||
|
||
002fe 45 39 66 38 cmp DWORD PTR [r14+56], r12d
|
||
00302 75 16 jne SHORT $LN38@glfwCreate
|
||
|
||
; 704 : SET_ATTRIB(EGL_RENDER_BUFFER, EGL_SINGLE_BUFFER);
|
||
|
||
00304 8b c1 mov eax, ecx
|
||
00306 ff c1 inc ecx
|
||
00308 c7 44 84 30 86
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12422 ; 00003086H
|
||
00310 c7 44 8c 30 85
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rcx*4], 12421 ; 00003085H
|
||
00318 ff c1 inc ecx
|
||
$LN38@glfwCreate:
|
||
|
||
; 705 :
|
||
; 706 : if (_glfw.egl.EXT_present_opaque)
|
||
|
||
0031a 44 39 25 30 1a
|
||
00 00 cmp DWORD PTR _glfw+6704, r12d
|
||
00321 74 1e je SHORT $LN39@glfwCreate
|
||
|
||
; 707 : SET_ATTRIB(EGL_PRESENT_OPAQUE_EXT, !fbconfig->transparent);
|
||
|
||
00323 8b c1 mov eax, ecx
|
||
00325 8d 51 01 lea edx, DWORD PTR [rcx+1]
|
||
00328 41 8b cc mov ecx, r12d
|
||
0032b 41 39 4e 3c cmp DWORD PTR [r14+60], ecx
|
||
0032f 0f 94 c1 sete cl
|
||
00332 c7 44 84 30 df
|
||
31 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12767 ; 000031dfH
|
||
0033a 89 4c 94 30 mov DWORD PTR attribs$[rsp+rdx*4], ecx
|
||
0033e 8d 4a 01 lea ecx, DWORD PTR [rdx+1]
|
||
$LN39@glfwCreate:
|
||
|
||
; 708 :
|
||
; 709 : SET_ATTRIB(EGL_NONE, EGL_NONE);
|
||
|
||
00341 8b c1 mov eax, ecx
|
||
|
||
; 710 :
|
||
; 711 : native = _glfw.platform.getEGLNativeWindow(window);
|
||
|
||
00343 48 8b ce mov rcx, rsi
|
||
00346 c7 44 84 30 38
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4], 12344 ; 00003038H
|
||
0034e c7 44 84 34 38
|
||
30 00 00 mov DWORD PTR attribs$[rsp+rax*4+4], 12344 ; 00003038H
|
||
00356 ff 15 48 02 00
|
||
00 call QWORD PTR _glfw+584
|
||
|
||
; 712 : // HACK: ANGLE does not implement eglCreatePlatformWindowSurfaceEXT
|
||
; 713 : // despite reporting EGL_EXT_platform_base
|
||
; 714 : if (_glfw.egl.platform && _glfw.egl.platform != EGL_PLATFORM_ANGLE_ANGLE)
|
||
|
||
0035c 8b 0d f0 19 00
|
||
00 mov ecx, DWORD PTR _glfw+6640
|
||
00362 85 c9 test ecx, ecx
|
||
00364 74 22 je SHORT $LN40@glfwCreate
|
||
00366 81 f9 02 32 00
|
||
00 cmp ecx, 12802 ; 00003202H
|
||
0036c 74 1a je SHORT $LN40@glfwCreate
|
||
|
||
; 715 : {
|
||
; 716 : window->context.egl.surface =
|
||
|
||
0036e 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
00375 4c 8d 4c 24 30 lea r9, QWORD PTR attribs$[rsp]
|
||
0037a 4c 8b c0 mov r8, rax
|
||
0037d 48 8b d3 mov rdx, rbx
|
||
00380 ff 15 d8 1a 00
|
||
00 call QWORD PTR _glfw+6872
|
||
|
||
; 717 : eglCreatePlatformWindowSurfaceEXT(_glfw.egl.display, config, native, attribs);
|
||
; 718 : }
|
||
|
||
00386 eb 18 jmp SHORT $LN41@glfwCreate
|
||
$LN40@glfwCreate:
|
||
|
||
; 719 : else
|
||
; 720 : {
|
||
; 721 : window->context.egl.surface =
|
||
|
||
00388 48 8b 0d f8 19
|
||
00 00 mov rcx, QWORD PTR _glfw+6648
|
||
0038f 4c 8d 4c 24 30 lea r9, QWORD PTR attribs$[rsp]
|
||
00394 4c 8b c0 mov r8, rax
|
||
00397 48 8b d3 mov rdx, rbx
|
||
0039a ff 15 a0 1a 00
|
||
00 call QWORD PTR _glfw+6816
|
||
$LN41@glfwCreate:
|
||
|
||
; 722 : eglCreateWindowSurface(_glfw.egl.display, config, native, attribs);
|
||
; 723 : }
|
||
; 724 :
|
||
; 725 : if (window->context.egl.surface == EGL_NO_SURFACE)
|
||
|
||
003a0 48 89 86 90 02
|
||
00 00 mov QWORD PTR [rsi+656], rax
|
||
003a7 48 85 c0 test rax, rax
|
||
003aa 75 28 jne SHORT $LN42@glfwCreate
|
||
|
||
; 726 : {
|
||
; 727 : _glfwInputError(GLFW_PLATFORM_ERROR,
|
||
|
||
003ac ff 15 68 1a 00
|
||
00 call QWORD PTR _glfw+6760
|
||
003b2 8b c8 mov ecx, eax
|
||
003b4 e8 00 00 00 00 call getEGLErrorString
|
||
003b9 4c 8b c0 mov r8, rax
|
||
003bc 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@MHLGDLLP@EGL?3?5Failed?5to?5create?5window?5su@
|
||
003c3 b9 08 00 01 00 mov ecx, 65544 ; 00010008H
|
||
003c8 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 728 : "EGL: Failed to create window surface: %s",
|
||
; 729 : getEGLErrorString(eglGetError()));
|
||
; 730 : return GLFW_FALSE;
|
||
|
||
003cd 33 c0 xor eax, eax
|
||
003cf e9 3b 01 00 00 jmp $LN1@glfwCreate
|
||
$LN42@glfwCreate:
|
||
|
||
; 731 : }
|
||
; 732 :
|
||
; 733 : window->context.egl.config = config;
|
||
|
||
003d4 48 89 9e 80 02
|
||
00 00 mov QWORD PTR [rsi+640], rbx
|
||
|
||
; 734 :
|
||
; 735 : // Load the appropriate client library
|
||
; 736 : if (!_glfw.egl.KHR_get_all_proc_addresses)
|
||
|
||
003db 44 39 25 18 1a
|
||
00 00 cmp DWORD PTR _glfw+6680, r12d
|
||
003e2 0f 85 ce 00 00
|
||
00 jne $LN50@glfwCreate
|
||
|
||
; 737 : {
|
||
; 738 : int i;
|
||
; 739 : const char** sonames;
|
||
; 740 : const char* es1sonames[] =
|
||
; 741 : {
|
||
; 742 : #if defined(_GLFW_GLESV1_LIBRARY)
|
||
; 743 : _GLFW_GLESV1_LIBRARY,
|
||
; 744 : #elif defined(_GLFW_WIN32)
|
||
; 745 : "GLESv1_CM.dll",
|
||
; 746 : "libGLES_CM.dll",
|
||
; 747 : #elif defined(_GLFW_COCOA)
|
||
; 748 : "libGLESv1_CM.dylib",
|
||
; 749 : #elif defined(__OpenBSD__) || defined(__NetBSD__)
|
||
; 750 : "libGLESv1_CM.so",
|
||
; 751 : #else
|
||
; 752 : "libGLESv1_CM.so.1",
|
||
; 753 : "libGLES_CM.so.1",
|
||
; 754 : #endif
|
||
; 755 : NULL
|
||
; 756 : };
|
||
; 757 : const char* es2sonames[] =
|
||
; 758 : {
|
||
; 759 : #if defined(_GLFW_GLESV2_LIBRARY)
|
||
; 760 : _GLFW_GLESV2_LIBRARY,
|
||
; 761 : #elif defined(_GLFW_WIN32)
|
||
; 762 : "GLESv2.dll",
|
||
; 763 : "libGLESv2.dll",
|
||
; 764 : #elif defined(_GLFW_COCOA)
|
||
; 765 : "libGLESv2.dylib",
|
||
; 766 : #elif defined(__CYGWIN__)
|
||
; 767 : "libGLESv2-2.so",
|
||
; 768 : #elif defined(__OpenBSD__) || defined(__NetBSD__)
|
||
; 769 : "libGLESv2.so",
|
||
; 770 : #else
|
||
; 771 : "libGLESv2.so.2",
|
||
; 772 : #endif
|
||
; 773 : NULL
|
||
; 774 : };
|
||
; 775 : const char* glsonames[] =
|
||
; 776 : {
|
||
; 777 : #if defined(_GLFW_OPENGL_LIBRARY)
|
||
; 778 : _GLFW_OPENGL_LIBRARY,
|
||
; 779 : #elif defined(_GLFW_WIN32)
|
||
; 780 : #elif defined(_GLFW_COCOA)
|
||
; 781 : #elif defined(__OpenBSD__) || defined(__NetBSD__)
|
||
; 782 : "libGL.so",
|
||
; 783 : #else
|
||
; 784 : "libOpenGL.so.0",
|
||
; 785 : "libGL.so.1",
|
||
; 786 : #endif
|
||
; 787 : NULL
|
||
; 788 : };
|
||
; 789 :
|
||
; 790 : if (ctxconfig->client == GLFW_OPENGL_ES_API)
|
||
|
||
003e8 81 3f 02 00 03
|
||
00 cmp DWORD PTR [rdi], 196610 ; 00030002H
|
||
003ee 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0O@KOJFNJDA@GLESv1_CM?4dll@
|
||
003f5 48 89 45 e8 mov QWORD PTR es1sonames$3[rbp-256], rax
|
||
003f9 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0P@MADFBLIB@libGLES_CM?4dll@
|
||
00400 48 89 45 f0 mov QWORD PTR es1sonames$3[rbp-248], rax
|
||
00404 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0L@CEBLLDFF@GLESv2?4dll@
|
||
0040b 48 89 45 d0 mov QWORD PTR es2sonames$2[rbp-256], rax
|
||
0040f 48 8d 05 00 00
|
||
00 00 lea rax, OFFSET FLAT:??_C@_0O@HFAAEHFL@libGLESv2?4dll@
|
||
00416 48 89 45 d8 mov QWORD PTR es2sonames$2[rbp-248], rax
|
||
0041a 4c 89 65 f8 mov QWORD PTR es1sonames$3[rbp-240], r12
|
||
0041e 4c 89 65 e0 mov QWORD PTR es2sonames$2[rbp-240], r12
|
||
00422 4c 89 64 24 20 mov QWORD PTR glsonames$1[rsp], r12
|
||
00427 75 6f jne SHORT $LN62@glfwCreate
|
||
|
||
; 791 : {
|
||
; 792 : if (ctxconfig->major == 1)
|
||
; 793 : sonames = es1sonames;
|
||
; 794 : else
|
||
; 795 : sonames = es2sonames;
|
||
; 796 : }
|
||
|
||
00429 83 7f 08 01 cmp DWORD PTR [rdi+8], 1
|
||
0042d 4c 8d 75 d0 lea r14, QWORD PTR es2sonames$2[rbp-256]
|
||
00431 48 8d 45 e8 lea rax, QWORD PTR es1sonames$3[rbp-256]
|
||
00435 4c 0f 44 f0 cmove r14, rax
|
||
00439 49 8b 1e mov rbx, QWORD PTR [r14]
|
||
|
||
; 797 : else
|
||
; 798 : sonames = glsonames;
|
||
; 799 :
|
||
; 800 : for (i = 0; sonames[i]; i++)
|
||
|
||
0043c 48 85 db test rbx, rbx
|
||
0043f 74 57 je SHORT $LN62@glfwCreate
|
||
|
||
; 647 : }
|
||
; 648 :
|
||
; 649 : if (ctxconfig->major != 1 || ctxconfig->minor != 0)
|
||
|
||
00441 49 8b fc mov rdi, r12
|
||
00444 0f 1f 40 00 0f
|
||
1f 84 00 00 00
|
||
00 00 npad 12
|
||
$LL4@glfwCreate:
|
||
|
||
; 801 : {
|
||
; 802 : // HACK: Match presence of lib prefix to increase chance of finding
|
||
; 803 : // a matching pair in the jungle that is Win32 EGL/GLES
|
||
; 804 : if (_glfw.egl.prefix != (strncmp(sonames[i], "lib", 3) == 0))
|
||
|
||
00450 41 b8 03 00 00
|
||
00 mov r8d, 3
|
||
00456 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_03LPIGJBNC@lib@
|
||
0045d 48 8b cb mov rcx, rbx
|
||
00460 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_strncmp
|
||
00466 85 c0 test eax, eax
|
||
00468 41 8b d4 mov edx, r12d
|
||
0046b 0f 94 c2 sete dl
|
||
0046e 39 15 08 1a 00
|
||
00 cmp DWORD PTR _glfw+6664, edx
|
||
00474 75 15 jne SHORT $LN2@glfwCreate
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\win32_module.c
|
||
|
||
; 39 : return LoadLibraryA(path);
|
||
|
||
00476 48 8b cb mov rcx, rbx
|
||
00479 ff 15 00 00 00
|
||
00 call QWORD PTR __imp_LoadLibraryA
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
|
||
; 807 : window->context.egl.client = _glfwPlatformLoadModule(sonames[i]);
|
||
|
||
0047f 48 89 86 98 02
|
||
00 00 mov QWORD PTR [rsi+664], rax
|
||
|
||
; 808 : if (window->context.egl.client)
|
||
|
||
00486 48 85 c0 test rax, rax
|
||
00489 75 0d jne SHORT $LN62@glfwCreate
|
||
$LN2@glfwCreate:
|
||
|
||
; 797 : else
|
||
; 798 : sonames = glsonames;
|
||
; 799 :
|
||
; 800 : for (i = 0; sonames[i]; i++)
|
||
|
||
0048b 49 8b 5c fe 08 mov rbx, QWORD PTR [r14+rdi*8+8]
|
||
00490 48 ff c7 inc rdi
|
||
00493 48 85 db test rbx, rbx
|
||
00496 75 b8 jne SHORT $LL4@glfwCreate
|
||
$LN62@glfwCreate:
|
||
|
||
; 809 : break;
|
||
; 810 : }
|
||
; 811 :
|
||
; 812 : if (!window->context.egl.client)
|
||
|
||
00498 4c 39 a6 98 02
|
||
00 00 cmp QWORD PTR [rsi+664], r12
|
||
0049f 75 15 jne SHORT $LN50@glfwCreate
|
||
|
||
; 813 : {
|
||
; 814 : _glfwInputError(GLFW_API_UNAVAILABLE,
|
||
|
||
004a1 48 8d 15 00 00
|
||
00 00 lea rdx, OFFSET FLAT:??_C@_0CD@JDEAKJCI@EGL?3?5Failed?5to?5load?5client?5libr@
|
||
004a8 b9 06 00 01 00 mov ecx, 65542 ; 00010006H
|
||
004ad e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 815 : "EGL: Failed to load client library");
|
||
; 816 : return GLFW_FALSE;
|
||
|
||
004b2 33 c0 xor eax, eax
|
||
004b4 eb 59 jmp SHORT $LN1@glfwCreate
|
||
$LN50@glfwCreate:
|
||
|
||
; 817 : }
|
||
; 818 : }
|
||
; 819 :
|
||
; 820 : window->context.makeCurrent = makeContextCurrentEGL;
|
||
|
||
004b6 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:makeContextCurrentEGL
|
||
|
||
; 821 : window->context.swapBuffers = swapBuffersEGL;
|
||
; 822 : window->context.swapInterval = swapIntervalEGL;
|
||
; 823 : window->context.extensionSupported = extensionSupportedEGL;
|
||
; 824 : window->context.getProcAddress = getProcAddressEGL;
|
||
; 825 : window->context.destroy = destroyContextEGL;
|
||
; 826 :
|
||
; 827 : return GLFW_TRUE;
|
||
|
||
004bd b8 01 00 00 00 mov eax, 1
|
||
004c2 48 89 8e 50 02
|
||
00 00 mov QWORD PTR [rsi+592], rcx
|
||
004c9 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:swapBuffersEGL
|
||
004d0 48 89 8e 58 02
|
||
00 00 mov QWORD PTR [rsi+600], rcx
|
||
004d7 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:swapIntervalEGL
|
||
004de 48 89 8e 60 02
|
||
00 00 mov QWORD PTR [rsi+608], rcx
|
||
004e5 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:extensionSupportedEGL
|
||
004ec 48 89 8e 68 02
|
||
00 00 mov QWORD PTR [rsi+616], rcx
|
||
004f3 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:getProcAddressEGL
|
||
004fa 48 89 8e 70 02
|
||
00 00 mov QWORD PTR [rsi+624], rcx
|
||
00501 48 8d 0d 00 00
|
||
00 00 lea rcx, OFFSET FLAT:destroyContextEGL
|
||
00508 48 89 8e 78 02
|
||
00 00 mov QWORD PTR [rsi+632], rcx
|
||
$LN1@glfwCreate:
|
||
|
||
; 828 : }
|
||
|
||
0050f 48 8b 4d 00 mov rcx, QWORD PTR __$ArrayPad$[rbp-256]
|
||
00513 48 33 cc xor rcx, rsp
|
||
00516 e8 00 00 00 00 call __security_check_cookie
|
||
0051b 48 81 c4 10 01
|
||
00 00 add rsp, 272 ; 00000110H
|
||
00522 41 5f pop r15
|
||
00524 41 5e pop r14
|
||
00526 41 5c pop r12
|
||
00528 5f pop rdi
|
||
00529 5e pop rsi
|
||
0052a 5b pop rbx
|
||
0052b 5d pop rbp
|
||
0052c c3 ret 0
|
||
_glfwCreateContextEGL ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT glfwGetEGLDisplay
|
||
_TEXT SEGMENT
|
||
glfwGetEGLDisplay PROC ; COMDAT
|
||
|
||
; 877 : {
|
||
|
||
$LN5:
|
||
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
|
||
|
||
; 878 : _GLFW_REQUIRE_INIT_OR_RETURN(EGL_NO_DISPLAY);
|
||
|
||
00004 83 3d 00 00 00
|
||
00 00 cmp DWORD PTR _glfw, 0
|
||
0000b 75 13 jne SHORT $LN2@glfwGetEGL
|
||
0000d 33 d2 xor edx, edx
|
||
0000f b9 01 00 01 00 mov ecx, 65537 ; 00010001H
|
||
00014 e8 00 00 00 00 call _glfwInputError
|
||
00019 33 c0 xor eax, eax
|
||
|
||
; 880 : }
|
||
|
||
0001b 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0001f c3 ret 0
|
||
$LN2@glfwGetEGL:
|
||
|
||
; 879 : return _glfw.egl.display;
|
||
|
||
00020 48 8b 05 f8 19
|
||
00 00 mov rax, QWORD PTR _glfw+6648
|
||
|
||
; 880 : }
|
||
|
||
00027 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0002b c3 ret 0
|
||
glfwGetEGLDisplay ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT glfwGetEGLContext
|
||
_TEXT SEGMENT
|
||
handle$ = 48
|
||
glfwGetEGLContext PROC ; COMDAT
|
||
|
||
; 883 : {
|
||
|
||
$LN6:
|
||
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
|
||
|
||
; 884 : _GLFWwindow* window = (_GLFWwindow*)handle;
|
||
; 885 : _GLFW_REQUIRE_INIT_OR_RETURN(EGL_NO_CONTEXT);
|
||
|
||
00004 83 3d 00 00 00
|
||
00 00 cmp DWORD PTR _glfw, 0
|
||
0000b 75 13 jne SHORT $LN2@glfwGetEGL
|
||
0000d 33 d2 xor edx, edx
|
||
0000f b9 01 00 01 00 mov ecx, 65537 ; 00010001H
|
||
00014 e8 00 00 00 00 call _glfwInputError
|
||
00019 33 c0 xor eax, eax
|
||
|
||
; 894 : }
|
||
|
||
0001b 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0001f c3 ret 0
|
||
$LN2@glfwGetEGL:
|
||
|
||
; 886 :
|
||
; 887 : if (window->context.source != GLFW_EGL_CONTEXT_API)
|
||
|
||
00020 81 b9 0c 02 00
|
||
00 02 60 03 00 cmp DWORD PTR [rcx+524], 221186 ; 00036002H
|
||
0002a 74 13 je SHORT $LN3@glfwGetEGL
|
||
|
||
; 888 : {
|
||
; 889 : _glfwInputError(GLFW_NO_WINDOW_CONTEXT, NULL);
|
||
|
||
0002c 33 d2 xor edx, edx
|
||
0002e b9 0a 00 01 00 mov ecx, 65546 ; 0001000aH
|
||
00033 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 890 : return EGL_NO_CONTEXT;
|
||
|
||
00038 33 c0 xor eax, eax
|
||
|
||
; 894 : }
|
||
|
||
0003a 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0003e c3 ret 0
|
||
$LN3@glfwGetEGL:
|
||
|
||
; 891 : }
|
||
; 892 :
|
||
; 893 : return window->context.egl.handle;
|
||
|
||
0003f 48 8b 81 88 02
|
||
00 00 mov rax, QWORD PTR [rcx+648]
|
||
|
||
; 894 : }
|
||
|
||
00046 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0004a c3 ret 0
|
||
glfwGetEGLContext ENDP
|
||
_TEXT ENDS
|
||
; Function compile flags: /Ogtpy
|
||
; File D:\NitloadIndustry\�о���Ŀ\1-Flagship\TH2020\ProjectFile\Դ����\StgSharpGraphic\code\glfw\egl_context.c
|
||
; COMDAT glfwGetEGLSurface
|
||
_TEXT SEGMENT
|
||
handle$ = 48
|
||
glfwGetEGLSurface PROC ; COMDAT
|
||
|
||
; 897 : {
|
||
|
||
$LN6:
|
||
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
|
||
|
||
; 898 : _GLFWwindow* window = (_GLFWwindow*)handle;
|
||
; 899 : _GLFW_REQUIRE_INIT_OR_RETURN(EGL_NO_SURFACE);
|
||
|
||
00004 83 3d 00 00 00
|
||
00 00 cmp DWORD PTR _glfw, 0
|
||
0000b 75 13 jne SHORT $LN2@glfwGetEGL
|
||
0000d 33 d2 xor edx, edx
|
||
0000f b9 01 00 01 00 mov ecx, 65537 ; 00010001H
|
||
00014 e8 00 00 00 00 call _glfwInputError
|
||
00019 33 c0 xor eax, eax
|
||
|
||
; 908 : }
|
||
|
||
0001b 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0001f c3 ret 0
|
||
$LN2@glfwGetEGL:
|
||
|
||
; 900 :
|
||
; 901 : if (window->context.source != GLFW_EGL_CONTEXT_API)
|
||
|
||
00020 81 b9 0c 02 00
|
||
00 02 60 03 00 cmp DWORD PTR [rcx+524], 221186 ; 00036002H
|
||
0002a 74 13 je SHORT $LN3@glfwGetEGL
|
||
|
||
; 902 : {
|
||
; 903 : _glfwInputError(GLFW_NO_WINDOW_CONTEXT, NULL);
|
||
|
||
0002c 33 d2 xor edx, edx
|
||
0002e b9 0a 00 01 00 mov ecx, 65546 ; 0001000aH
|
||
00033 e8 00 00 00 00 call _glfwInputError
|
||
|
||
; 904 : return EGL_NO_SURFACE;
|
||
|
||
00038 33 c0 xor eax, eax
|
||
|
||
; 908 : }
|
||
|
||
0003a 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0003e c3 ret 0
|
||
$LN3@glfwGetEGL:
|
||
|
||
; 905 : }
|
||
; 906 :
|
||
; 907 : return window->context.egl.surface;
|
||
|
||
0003f 48 8b 81 90 02
|
||
00 00 mov rax, QWORD PTR [rcx+656]
|
||
|
||
; 908 : }
|
||
|
||
00046 48 83 c4 28 add rsp, 40 ; 00000028H
|
||
0004a c3 ret 0
|
||
glfwGetEGLSurface ENDP
|
||
_TEXT ENDS
|
||
END
|