Function at 0x22dc0b6a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [0x22ddac700]
mov edx, dword [rsi + 0x10]
mov eax, edx
xor eax, ecx
mov ebx, ecx
test al, 0x40
je 0x22dc0b6c5
test cl, 0x40
jne 0x22dc0b8a8
test al, 2
jne 0x22dc0b7a0
test al, 4
je 0x22dc0b6da
test bl, 4
jne 0x22dc0b918
test al, 8
je 0x22dc0b6e7
test bl, 8
jne 0x22dc0b960
test al, 0x80
je 0x22dc0b6f4
test bl, 0x80
jne 0x22dc0b9b0
test ah, 2
je 0x22dc0b702
test bh, 2
jne 0x22dc0b9f0
test ah, 4
je 0x22dc0b710
test bh, 4
jne 0x22dc0ba30
test ah, 8
je 0x22dc0b71e
test bh, 8
jne 0x22dc0ba48
test ah, 0x10
je 0x22dc0b72c
test bh, 0x10
jne 0x22dc0b7b8
test ah, 1
je 0x22dc0b736
test bh, 1
jne 0x22dc0b790
test al, 0x10
je 0x22dc0b743
test bl, 0x10
jne 0x22dc0b7e0
test ah, 0x20
je 0x22dc0b751
test bh, 0x20
jne 0x22dc0b800
test ah, 0x40
je 0x22dc0b75f
test bh, 0x40
jne 0x22dc0b820
test al, 0x20
je 0x22dc0b76c
test bl, 0x20
jne 0x22dc0b868
test eax, 0x10000
je 0x22dc0b77f
and ebx, 0x10000
jne 0x22dc0b888
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
or dh, 1
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b736
call fcn.22dc0b330
mov edx, dword [rsi + 0x10]
mov eax, ebx
xor eax, edx
jmp 0x22dc0b6cd
mov rcx, qword [rsi]
mov edx, 0x20007
mov r8d, 1
call fcn.22dadd700
mov edx, dword [rsi + 0x10]
or dh, 0x10
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b72c
lea rdx, str.WINDOW:_Framebuffer_transparency_can_only_by_configured_before_window_initialization
mov ecx, 4
call fcn.22dce6140
mov eax, dword [rsi + 0x10]
xor eax, ebx
jmp 0x22dc0b743
lea rdx, str.WINDOW:_High_DPI_can_only_by_configured_before_window_initialization
mov ecx, 4
call fcn.22dce6140
mov eax, dword [rsi + 0x10]
xor eax, ebx
jmp 0x22dc0b751
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bb40
mov rax, qword [0x22ddae300]
mov eax, dword [rax]
test eax, eax
je 0x22dc0bb10
mov dword [r12 + 0x1c], 1
mov edx, 1
mov rcx, r12
call fcn.22dae2e00
mov eax, dword [rsi + 0x10]
or ah, 0x40
mov dword [rsi + 0x10], eax
xor eax, ebx
jmp 0x22dc0b75f
lea rdx, str.WINDOW:_MSAA_can_only_by_configured_before_window_initialization
mov ecx, 4
call fcn.22dce6140
mov eax, dword [rsi + 0x10]
xor eax, ebx
jmp 0x22dc0b76c
lea rdx, str.RPI:_Interlaced_mode_can_only_by_configured_before_window_initialization
mov ecx, 4
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp fcn.22dce6140
mov r12, qword [0x22ddae300]
mov r11d, dword [r12]
test r11d, r11d
je 0x22dc0ba80
cmp dword [r12 + 0x162c], 1
je 0x22dc0b8e1
mov r8d, 0x40
lea rdx, str.C:Users_vivio.nimblepkgs2_nimraylib_now_0.15.0_f136f0da2803a36acc6b869bbc8b621193f1849ccsources_raylib_mangledexternal_glfw_src_win32_thread.c
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.msvcrt.dll__wassert]
mov ecx, dword [r12 + 0x1630]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x22dc0bc20
mov ecx, 1
call qword [rax + 0x260]
mov edx, dword [rsi + 0x10]
or edx, 0x40
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b6c5
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bb60
mov rax, qword [0x22ddae300]
mov r10d, dword [rax]
test r10d, r10d
je 0x22dc0baf8
mov dword [r12 + 8], 1
cmp qword [r12 + 0x50], 0
je 0x22dc0bc00
mov edx, dword [rsi + 0x10]
or edx, 4
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b6da
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bbe0
mov rax, qword [0x22ddae300]
mov r9d, dword [rax]
test r9d, r9d
je 0x22dc0bae0
mov dword [r12 + 0xc], 0
cmp qword [r12 + 0x50], 0
je 0x22dc0bc10
mov edx, dword [rsi + 0x10]
or edx, 8
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b6e7
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bbc0
mov rax, qword [0x22ddae300]
mov r8d, dword [rax]
test r8d, r8d
je 0x22dc0bac8
cmp qword [r12 + 0x50], 0
je 0x22dc0bab0
mov edx, dword [rsi + 0x10]
or dl, 0x80
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b6f4
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bba0
mov rax, qword [0x22ddae300]
mov ecx, dword [rax]
test ecx, ecx
je 0x22dc0ba98
mov edx, 6
mov rcx, qword [r12 + 0x358]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rsi + 0x10]
mov eax, ebx
xor eax, edx
jmp 0x22dc0b702
call fcn.22dc082b0
mov edx, dword [rsi + 0x10]
mov eax, ebx
xor eax, edx
jmp 0x22dc0b710
mov r12, qword [rsi]
test r12, r12
je 0x22dc0bb80
mov rax, qword [0x22ddae300]
mov edx, dword [rax]
test edx, edx
je 0x22dc0bb28
mov dword [r12 + 0x18], 0
mov edx, dword [rsi + 0x10]
or dh, 8
mov eax, edx
mov dword [rsi + 0x10], edx
xor eax, ebx
jmp 0x22dc0b71e
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0b903
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
mov edx, dword [rsi + 0x10]
mov eax, ebx
xor eax, edx
jmp 0x22dc0b702
mov rcx, qword [r12 + 0x358]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x22dc0b9db
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0b9db
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0b994
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0b94c
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0b853
xor edx, edx
mov ecx, 0x10001
call fcn.22dad20f0
jmp 0x22dc0ba6e
mov r8d, 0x36f
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0b82c
mov r8d, 0x36f
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0b924
mov r8d, 0x36f
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0ba54
mov r8d, 0x2e0
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0b9fc
mov r8d, 0x319
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0b9bc
mov r8d, 0x36f
lea rdx, [0x22dd92c48]
lea rcx, [0x22dd92d64]
call qword [sym.imp.msvcrt.dll__wassert]
jmp 0x22dc0b96c
mov rcx, r12
call fcn.22dadd560
jmp 0x22dc0b94c
mov rcx, r12
call fcn.22dadd560
jmp 0x22dc0b994
lea rdx, str.Cannot_set_swap_interval_without_a_current_OpenGL_or_OpenGL_ES_context
mov ecx, 0x10002
call fcn.22dad20f0
jmp 0x22dc0b903