Function at 0x18002a710
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.18002a0c0
test ebx, ebx
je 0x18002a803
cmp ebx, 1
jne 0x18002a8d4
cmp byte [0x18006476a], 0
jne 0x18002a8d4
lea rdx, str.utils::swapchain_attached.
mov byte [0x18006476a], bl
mov ecx, 3
call fcn.18002dfa0
lea rcx, [0x180022570]
call fcn.180010110
lea rcx, [0x18001e970]
call fcn.18000fe40
lea rcx, [0x180024ef0]
call fcn.18000fff0
lea rcx, [0x1800202d0]
call fcn.180010080
lea rcx, [0x180020860]
call fcn.18000fed0
lea rcx, [0x18001e000]
call fcn.18000ff60
lea rcx, [0x18001a1f0]
call fcn.1800103e0
mov rax, qword gs:[0x58]
mov edx, dword [0x180064f08]
mov ecx, 0x2c
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180064b98], eax
jg 0x18002a91b
mov rax, qword [0x180064b90]
test rax, rax
je 0x18002a7e9
lea rdx, [0x1800226b0]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x180064ba8], eax
jg 0x18002a963
mov rax, qword [0x180064ba0]
jmp 0x18002a8bb
lea rcx, [0x180022570]
call fcn.1800108f0
lea rcx, [0x18001e970]
call fcn.1800106b0
lea rcx, [0x180024ef0]
call fcn.180010860
mov rax, qword gs:[0x58]
mov edx, dword [0x180064f08]
mov ecx, 0x2c
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180064bc8], eax
jg 0x18002a9b2
mov rax, qword [0x180064bc0]
test rax, rax
je 0x18002a86a
lea rdx, [0x1800202d0]
mov ecx, 8
call rax
lea rcx, [0x180020860]
call fcn.180010740
lea rcx, [0x18001e000]
call fcn.1800107d0
mov eax, dword [rbx]
cmp dword [0x180064bd8], eax
jg 0x18002a9fa
mov rax, qword [0x180064bd0]
test rax, rax
je 0x18002a8aa
lea rdx, [0x1800226b0]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x180064be8], eax
jg 0x18002a8da
mov rax, qword [0x180064be0]
test rax, rax
je 0x18002a8d4
lea rdx, [0x18001e9e0]
mov ecx, 0xa
add rsp, 0x20
pop rbx
jmp rax
add rsp, 0x20
pop rbx
ret
lea rcx, [0x180064be8]
call fcn.18003063c
cmp dword [0x180064be8], 0xffffffff
jne 0x18002a8b4
xor ecx, ecx
call fcn.18002dda0
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180064be8]
mov qword [0x180064be0], rax
call fcn.1800305d0
jmp 0x18002a8b4
lea rcx, [0x180064b98]
call fcn.18003063c
cmp dword [0x180064b98], 0xffffffff
jne 0x18002a7cf
xor ecx, ecx
call fcn.18002dda0
mov rcx, rax
lea rdx, [0x18005b328]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180064b98]
mov qword [0x180064b90], rax
call fcn.1800305d0
jmp 0x18002a7cf
lea rcx, [0x180064ba8]
call fcn.18003063c
cmp dword [0x180064ba8], 0xffffffff
jne 0x18002a7f7
xor ecx, ecx
call fcn.18002dda0
mov rcx, rax
lea rdx, [0x18005b328]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180064ba8]
mov qword [0x180064ba0], rax
call fcn.1800305d0
mov rax, qword [0x180064ba0]
jmp 0x18002a8bb
lea rcx, [0x180064bc8]
call fcn.18003063c
cmp dword [0x180064bc8], 0xffffffff
jne 0x18002a850
xor ecx, ecx
call fcn.18002dda0
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180064bc8]
mov qword [0x180064bc0], rax
call fcn.1800305d0
jmp 0x18002a850
lea rcx, [0x180064bd8]
call fcn.18003063c
cmp dword [0x180064bd8], 0xffffffff
jne 0x18002a890
xor ecx, ecx
call fcn.18002dda0
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180064bd8]
mov qword [0x180064bd0], rax
call fcn.1800305d0
jmp 0x18002a890