daily update on 20240226 by nitload youmu

This commit is contained in:
YoumuLiu
2024-02-27 00:43:29 +08:00
parent a2241a5a58
commit 06e39f7a31
543 changed files with 230273 additions and 21423 deletions
@@ -0,0 +1,437 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0
include listing.inc
INCLUDELIB OLDNAMES
PUBLIC ??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@ ; `string'
PUBLIC ??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@ ; `string'
PUBLIC ??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@ ; `string'
PUBLIC ??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@ ; `string'
PUBLIC ??_C@_0CM@CMAENEMJ@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@ ; `string'
; COMDAT ??_C@_0CM@CMAENEMJ@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@
CONST SEGMENT
??_C@_0CM@CMAENEMJ@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@ DB '3.4.0 Win3'
DB '2 WGL Null EGL OSMesa VisualC DLL', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@
CONST SEGMENT
??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@ DB 'The requeste'
DB 'd platform is not supported', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@
CONST SEGMENT
??_C@_0CI@PGLFEKFM@Failed?5to?5detect?5any?5supported?5@ DB 'Failed to de'
DB 'tect any supported platform', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@
CONST SEGMENT
??_C@_0CM@EOHJLMIG@This?5binary?5only?5supports?5the?5N@ DB 'This binary '
DB 'only supports the Null platform', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
CONST SEGMENT
??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@ DB 'Invalid platform'
DB ' ID 0x%08X', 00H ; `string'
ORG $+8
supportedPlatforms DD 060001H
ORG $+4
DQ FLAT:_glfwConnectWin32
PUBLIC glfwGetVersionString
PUBLIC glfwPlatformSupported
PUBLIC glfwGetPlatform
PUBLIC _glfwSelectPlatform
; COMDAT pdata
pdata SEGMENT
$pdata$glfwPlatformSupported DD imagerel $LN17
DD imagerel $LN17+96
DD imagerel $unwind$glfwPlatformSupported
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$glfwGetPlatform DD imagerel $LN5
DD imagerel $LN5+43
DD imagerel $unwind$glfwGetPlatform
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_glfwSelectPlatform DD imagerel $LN37
DD imagerel $LN37+151
DD imagerel $unwind$_glfwSelectPlatform
; COMDAT xdata
xdata SEGMENT
$unwind$_glfwSelectPlatform DD 010401H
DD 04204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwGetPlatform DD 010401H
DD 04204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$glfwPlatformSupported DD 010401H
DD 04204H
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
; COMDAT _glfwSelectPlatform
_TEXT SEGMENT
desiredID$ = 48
platform$ = 56
_glfwSelectPlatform PROC ; COMDAT
; 61 : {
$LN37:
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
00004 44 8b c1 mov r8d, ecx
; 62 : const size_t count = sizeof(supportedPlatforms) / sizeof(supportedPlatforms[0]);
; 63 : size_t i;
; 64 :
; 65 : if (desiredID != GLFW_ANY_PLATFORM &&
; 66 : desiredID != GLFW_PLATFORM_WIN32 &&
; 67 : desiredID != GLFW_PLATFORM_COCOA &&
; 68 : desiredID != GLFW_PLATFORM_WAYLAND &&
; 69 : desiredID != GLFW_PLATFORM_X11 &&
00007 81 f9 00 00 06
00 cmp ecx, 393216 ; 00060000H
0000d 74 7a je SHORT $LN34@glfwSelect
0000f 8d 81 ff ff f9
ff lea eax, DWORD PTR [rcx-393217]
00015 83 f8 03 cmp eax, 3
00018 76 29 jbe SHORT $LN12@glfwSelect
0001a 81 f9 05 00 06
00 cmp ecx, 393221 ; 00060005H
00020 74 18 je SHORT $LN32@glfwSelect
; 70 : desiredID != GLFW_PLATFORM_NULL)
; 71 : {
; 72 : _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", desiredID);
00022 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
00029 b9 03 00 01 00 mov ecx, 65539 ; 00010003H
0002e e8 00 00 00 00 call _glfwInputError
; 73 : return GLFW_FALSE;
00033 33 c0 xor eax, eax
; 112 : }
00035 48 83 c4 28 add rsp, 40 ; 00000028H
00039 c3 ret 0
$LN32@glfwSelect:
0003a 48 83 c4 28 add rsp, 40 ; 00000028H
; 74 : }
; 75 :
; 76 : // Only allow the Null platform if specifically requested
; 77 : if (desiredID == GLFW_PLATFORM_NULL)
; 78 : return _glfwConnectNull(desiredID, platform);
0003e e9 00 00 00 00 jmp _glfwConnectNull
$LN12@glfwSelect:
; 91 :
; 92 : for (i = 0; i < count; i++)
; 93 : {
; 94 : if (supportedPlatforms[i].connect(desiredID, platform))
; 95 : return GLFW_TRUE;
; 96 : }
; 97 :
; 98 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "Failed to detect any supported platform");
; 99 : }
; 100 : else
; 101 : {
; 102 : for (i = 0; i < count; i++)
00043 4c 8d 0d 00 00
00 00 lea r9, OFFSET FLAT:supportedPlatforms
0004a 33 c0 xor eax, eax
0004c 49 8b c9 mov rcx, r9
0004f 90 npad 1
$LL7@glfwSelect:
; 103 : {
; 104 : if (supportedPlatforms[i].ID == desiredID)
00050 44 39 01 cmp DWORD PTR [rcx], r8d
00053 74 25 je SHORT $LN25@glfwSelect
; 91 :
; 92 : for (i = 0; i < count; i++)
; 93 : {
; 94 : if (supportedPlatforms[i].connect(desiredID, platform))
; 95 : return GLFW_TRUE;
; 96 : }
; 97 :
; 98 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "Failed to detect any supported platform");
; 99 : }
; 100 : else
; 101 : {
; 102 : for (i = 0; i < count; i++)
00055 48 ff c0 inc rax
00058 48 83 c1 10 add rcx, 16
0005c 48 83 f8 01 cmp rax, 1
00060 72 ee jb SHORT $LL7@glfwSelect
; 106 : }
; 107 :
; 108 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "The requested platform is not supported");
; 109 : }
; 110 :
; 111 : return GLFW_FALSE;
00062 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0CI@HCGBBANC@The?5requested?5platform?5is?5not?5s@
00069 b9 0e 00 01 00 mov ecx, 65550 ; 0001000eH
0006e e8 00 00 00 00 call _glfwInputError
00073 33 c0 xor eax, eax
; 112 : }
00075 48 83 c4 28 add rsp, 40 ; 00000028H
00079 c3 ret 0
$LN25@glfwSelect:
; 105 : return supportedPlatforms[i].connect(desiredID, platform);
0007a 48 03 c0 add rax, rax
0007d 41 8b c8 mov ecx, r8d
; 112 : }
00080 48 83 c4 28 add rsp, 40 ; 00000028H
; 105 : return supportedPlatforms[i].connect(desiredID, platform);
00084 49 ff 64 c1 08 rex_jmp QWORD PTR [r9+rax*8+8]
$LN34@glfwSelect:
; 74 : }
; 75 :
; 76 : // Only allow the Null platform if specifically requested
; 77 : if (desiredID == GLFW_PLATFORM_NULL)
; 78 : return _glfwConnectNull(desiredID, platform);
00089 b9 01 00 06 00 mov ecx, 393217 ; 00060001H
; 112 : }
0008e 48 83 c4 28 add rsp, 40 ; 00000028H
; 79 : else if (count == 0)
; 80 : {
; 81 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "This binary only supports the Null platform");
; 82 : return GLFW_FALSE;
; 83 : }
; 84 :
; 85 : if (desiredID == GLFW_ANY_PLATFORM)
; 86 : {
; 87 : // If there is exactly one platform available for auto-selection, let it emit the
; 88 : // error on failure as the platform-specific error description may be more helpful
; 89 : if (count == 1)
; 90 : return supportedPlatforms[0].connect(supportedPlatforms[0].ID, platform);
00092 e9 00 00 00 00 jmp _glfwConnectWin32
_glfwSelectPlatform ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
; COMDAT glfwGetPlatform
_TEXT SEGMENT
glfwGetPlatform PROC ; COMDAT
; 119 : {
$LN5:
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
; 120 : _GLFW_REQUIRE_INIT_OR_RETURN(0);
00004 83 3d 00 00 00
00 00 cmp DWORD PTR _glfw, 0
0000b 75 13 jne SHORT $LN2@glfwGetPla
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
; 122 : }
0001b 48 83 c4 28 add rsp, 40 ; 00000028H
0001f c3 ret 0
$LN2@glfwGetPla:
; 121 : return _glfw.platform.platformID;
00020 8b 05 28 00 00
00 mov eax, DWORD PTR _glfw+40
; 122 : }
00026 48 83 c4 28 add rsp, 40 ; 00000028H
0002a c3 ret 0
glfwGetPlatform ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
; COMDAT glfwPlatformSupported
_TEXT SEGMENT
platformID$ = 48
glfwPlatformSupported PROC ; COMDAT
; 125 : {
$LN17:
00000 48 83 ec 28 sub rsp, 40 ; 00000028H
; 126 : const size_t count = sizeof(supportedPlatforms) / sizeof(supportedPlatforms[0]);
; 127 : size_t i;
; 128 :
; 129 : if (platformID != GLFW_PLATFORM_WIN32 &&
; 130 : platformID != GLFW_PLATFORM_COCOA &&
; 131 : platformID != GLFW_PLATFORM_WAYLAND &&
; 132 : platformID != GLFW_PLATFORM_X11 &&
00004 8d 81 ff ff f9
ff lea eax, DWORD PTR [rcx-393217]
0000a 83 f8 03 cmp eax, 3
0000d 76 23 jbe SHORT $LN6@glfwPlatfo
0000f 81 f9 05 00 06
00 cmp ecx, 393221 ; 00060005H
00015 74 3f je SHORT $LN10@glfwPlatfo
; 133 : platformID != GLFW_PLATFORM_NULL)
; 134 : {
; 135 : _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", platformID);
00017 44 8b c1 mov r8d, ecx
0001a 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@PBGFNEKP@Invalid?5platform?5ID?50x?$CF08X@
00021 b9 03 00 01 00 mov ecx, 65539 ; 00010003H
00026 e8 00 00 00 00 call _glfwInputError
; 136 : return GLFW_FALSE;
0002b 33 c0 xor eax, eax
; 149 : }
0002d 48 83 c4 28 add rsp, 40 ; 00000028H
00031 c3 ret 0
$LN6@glfwPlatfo:
; 137 : }
; 138 :
; 139 : if (platformID == GLFW_PLATFORM_NULL)
; 140 : return GLFW_TRUE;
; 141 :
; 142 : for (i = 0; i < count; i++)
00032 33 c0 xor eax, eax
00034 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:supportedPlatforms
0003b 0f 1f 44 00 00 npad 5
$LL4@glfwPlatfo:
; 143 : {
; 144 : if (platformID == supportedPlatforms[i].ID)
00040 3b 0c 10 cmp ecx, DWORD PTR [rax+rdx]
00043 74 11 je SHORT $LN10@glfwPlatfo
; 137 : }
; 138 :
; 139 : if (platformID == GLFW_PLATFORM_NULL)
; 140 : return GLFW_TRUE;
; 141 :
; 142 : for (i = 0; i < count; i++)
00045 48 83 c0 10 add rax, 16
00049 48 83 f8 10 cmp rax, 16
0004d 72 f1 jb SHORT $LL4@glfwPlatfo
; 146 : }
; 147 :
; 148 : return GLFW_FALSE;
0004f 33 c0 xor eax, eax
; 149 : }
00051 48 83 c4 28 add rsp, 40 ; 00000028H
00055 c3 ret 0
$LN10@glfwPlatfo:
; 145 : return GLFW_TRUE;
00056 b8 01 00 00 00 mov eax, 1
; 149 : }
0005b 48 83 c4 28 add rsp, 40 ; 00000028H
0005f c3 ret 0
glfwPlatformSupported ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\Ô´´úÂë\StgSharpGraphic\code\glfw\platform.c
; COMDAT glfwGetVersionString
_TEXT SEGMENT
glfwGetVersionString PROC ; COMDAT
; 153 : return _GLFW_MAKE_VERSION(GLFW_VERSION_MAJOR,
00000 48 8d 05 00 00
00 00 lea rax, OFFSET FLAT:??_C@_0CM@CMAENEMJ@3?44?40?5Win32?5WGL?5Null?5EGL?5OSMesa@
; 154 : GLFW_VERSION_MINOR,
; 155 : GLFW_VERSION_REVISION)
; 156 : #if defined(_GLFW_WIN32)
; 157 : " Win32 WGL"
; 158 : #endif
; 159 : #if defined(_GLFW_COCOA)
; 160 : " Cocoa NSGL"
; 161 : #endif
; 162 : #if defined(_GLFW_WAYLAND)
; 163 : " Wayland"
; 164 : #endif
; 165 : #if defined(_GLFW_X11)
; 166 : " X11 GLX"
; 167 : #endif
; 168 : " Null"
; 169 : " EGL"
; 170 : " OSMesa"
; 171 : #if defined(__MINGW64_VERSION_MAJOR)
; 172 : " MinGW-w64"
; 173 : #elif defined(__MINGW32__)
; 174 : " MinGW"
; 175 : #elif defined(_MSC_VER)
; 176 : " VisualC"
; 177 : #endif
; 178 : #if defined(_GLFW_USE_HYBRID_HPG) || defined(_GLFW_USE_OPTIMUS_HPG)
; 179 : " hybrid-GPU"
; 180 : #endif
; 181 : #if defined(_POSIX_MONOTONIC_CLOCK)
; 182 : " monotonic"
; 183 : #endif
; 184 : #if defined(_GLFW_BUILD_DLL)
; 185 : #if defined(_WIN32)
; 186 : " DLL"
; 187 : #elif defined(__APPLE__)
; 188 : " dynamic"
; 189 : #else
; 190 : " shared"
; 191 : #endif
; 192 : #endif
; 193 : ;
; 194 : }
00007 c3 ret 0
glfwGetVersionString ENDP
_TEXT ENDS
END