Function at 0x1800227f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x40
movss xmm0, dword [0x1802cb584]
movaps xmmword [rsp + 0x20], xmm7
xorps xmm7, xmm7
ucomiss xmm0, xmm7
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
mov r14d, 4
movaps xmmword [rsp + 0x30], xmm6
jne 0x18002286e
call fcn.18000fe60
mov rbx, rax
test rax, rax
jne 0x180022837
xorps xmm0, xmm0
jmp 0x180022866
mov ecx, dword [0x1802cb2a0]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov eax, dword [r14 + rax]
cmp dword [0x1802cbdb0], eax
jg 0x180022add
mov rax, qword [0x1802cbc10]
movss xmm0, dword [rax + rbx]
movss dword [0x1802cb584], xmm0
call fcn.18000fe60
mov rcx, qword [0x1802cb3d8]
xor edi, edi
add rcx, 0x3bdd1a8
movabs rbp, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x1800228c0
lea rax, [rcx + 8]
cmp rax, rbp
jae 0x1800228c0
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x1800228c0
lea rax, [rbx + 8]
cmp rax, rbp
jae 0x1800228c0
mov rbx, qword [rbx]
jmp 0x1800228c3
mov rbx, rdi
cmp byte [0x1802cb487], dil
movss xmm6, dword [0x180274304]
subss xmm6, dword [0x180292278]
je 0x180022909
mov ecx, dword [0x1802cb534]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180022909
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x18002292b
lea rax, [rbx + 4]
cmp rax, rbp
jae 0x18002292b
movss dword [rbx], xmm6
jmp 0x18002292b
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18002292b
lea rax, [rcx + 4]
cmp rax, rbp
jae 0x18002292b
movss xmm0, dword [0x1802922b0]
movss dword [rcx], xmm0
cmp byte [0x1802cb4de], dil
je 0x180022983
mov rcx, qword [0x1802cb660]
lea rdx, str.il2cpp_resolve_icall
movss xmm6, dword [0x1802922bc]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::set_aspect__
call rax
mov rcx, qword [0x1802cb660]
lea rdx, str.il2cpp_resolve_icall
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::get_main__
call rax
call rax
movaps xmm1, xmm6
mov rcx, rax
call rbx
cmp byte [0x1802cb509], dil
mov rbx, qword [rsp + 0x50]
je 0x1800229cf
call fcn.18000fe60
lea rcx, [rax + 0x838]
cmp rcx, 0x40000
jbe 0x1800229cf
lea rax, [rcx + 4]
cmp rax, rbp
jae 0x1800229b6
mov edx, dword [rcx]
or edx, 4
jmp 0x1800229cd
cmp rcx, 0x40000
jbe 0x1800229cf
lea rax, [rcx + 4]
mov edx, 4
cmp rax, rbp
jae 0x1800229cf
mov dword [rcx], edx
cmp byte [0x1802cb4d9], dil
je 0x180022a17
call fcn.18000fe60
lea rcx, [rax + 0x838]
cmp rcx, 0x40000
jbe 0x180022a17
lea rax, [rcx + 4]
cmp rax, rbp
jae 0x1800229fa
mov edx, dword [rcx]
jmp 0x180022a0e
cmp rcx, 0x40000
jbe 0x180022a17
lea rax, [rcx + 4]
mov edx, edi
cmp rax, rbp
jae 0x180022a17
cmp edx, 4
sete dil
mov dword [rcx], edi
cmp byte [0x1802cb4ea], 0
mov rdi, qword [rsp + 0x58]
je 0x180022a62
mov ecx, dword [0x1802cb2a0]
mov rax, qword gs:[0x58]
movss xmm6, dword [0x18029229c]
mov rax, qword [rax + rcx*8]
mov eax, dword [r14 + rax]
cmp dword [0x1802cc3ec], eax
jg 0x180022b18
mov rax, qword [0x1802cbb88]
mov rcx, qword [rax + 0xb8]
movss dword [rcx], xmm6
cmp byte [0x1802cb518], 0
movaps xmm6, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
je 0x180022ad2
mov ecx, dword [0x1802cb54c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180022ad2
call fcn.18000fe60
add rax, 0x840
cmp rax, 0x40000
jbe 0x180022ad2
lea rcx, [rax + 8]
cmp rcx, rbp
jae 0x180022ad2
mov rcx, qword [rax]
movss xmm1, dword [0x1802740d0]
add rcx, 0x40
cmp rcx, 0x40000
jbe 0x180022ad2
lea rax, [rcx + 0xc]
cmp rax, rbp
jae 0x180022ad2
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rcx], xmm0
movss dword [rcx + 8], xmm7
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbp
ret
lea rcx, [0x1802cbdb0]
call fcn.1800fbd08
cmp dword [0x1802cbdb0], 0xffffffff
jne 0x18002285a
mov ecx, 0xc566d10
call fcn.180009d30
lea rcx, [0x1802cbdb0]
mov qword [0x1802cbc10], rax
call fcn.1800fbc9c
jmp 0x18002285a
lea rcx, [0x1802cc3ec]
call fcn.1800fbd08
cmp dword [0x1802cc3ec], 0xffffffff
jne 0x180022a50
mov ecx, 0x75db24b0
call fcn.180007b90
lea rcx, [0x1802cc3ec]
mov qword [0x1802cbb88], rax
call fcn.1800fbc9c
jmp 0x180022a50